@opencode/core 0.0.0-dev-21244 → 0.0.0-dev-21252

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 (796) 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 +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{formatter-f534ymt6.js → pty-04zfcyt8.js} +11 -11
  8. package/dist/chunks/{formatter-gr37njw6.js → pty-09mdhsg2.js} +11 -11
  9. package/dist/chunks/{formatter-m3w3e65b.js → pty-0jxg87fr.js} +6 -6
  10. package/dist/chunks/{formatter-xj0ka1v1.js → pty-0prfbnza.js} +15 -15
  11. package/dist/chunks/{formatter-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{formatter-xc2rqamm.js → pty-16nt522w.js} +32 -32
  13. package/dist/chunks/{formatter-c2jwe8x1.js → pty-17h4d3k8.js} +25 -25
  14. package/dist/chunks/{formatter-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{formatter-w92k2e0p.js → pty-1p07q0wb.js} +6 -6
  16. package/dist/chunks/{formatter-t4x3hxzy.js → pty-1s33mprc.js} +19 -19
  17. package/dist/chunks/{formatter-k6eyzvgr.js → pty-1v2js5qj.js} +13 -13
  18. package/dist/chunks/pty-25875qsz.js +97 -0
  19. package/dist/chunks/{formatter-4adehn3m.js → pty-273j735v.js} +6 -6
  20. package/dist/chunks/{formatter-8ddypp76.js → pty-2edtnx9x.js} +9 -9
  21. package/dist/chunks/{formatter-qtjmeqcc.js → pty-2ggmd3qz.js} +9 -9
  22. package/dist/chunks/{formatter-kp329rnm.js → pty-2vfvkkyx.js} +4 -4
  23. package/dist/chunks/{formatter-5tx2tm3v.js → pty-2vx1pgcs.js} +19 -19
  24. package/dist/chunks/{formatter-rs9wx55j.js → pty-2x278s08.js} +33 -33
  25. package/dist/chunks/{formatter-0tcnq6v6.js → pty-38m8qhc5.js} +9 -9
  26. package/dist/chunks/{formatter-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  27. package/dist/chunks/{formatter-8p41qfym.js → pty-3hsqsy3q.js} +20 -20
  28. package/dist/chunks/{formatter-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
  29. package/dist/chunks/{formatter-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  30. package/dist/chunks/{formatter-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  31. package/dist/chunks/{formatter-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  32. package/dist/chunks/{formatter-3vtk7r3y.js → pty-4ar0dv3a.js} +20 -20
  33. package/dist/chunks/{formatter-4537tsak.js → pty-4bm5ja14.js} +4 -4
  34. package/dist/chunks/{formatter-g8nc3xyp.js → pty-4k4fvchf.js} +14 -14
  35. package/dist/chunks/{formatter-phz50fbd.js → pty-4xdpab2z.js} +5 -5
  36. package/dist/chunks/{formatter-p3z1s7cv.js → pty-4yqhvzx8.js} +27 -27
  37. package/dist/chunks/{formatter-xcd0eash.js → pty-51f5btjf.js} +6 -6
  38. package/dist/chunks/{formatter-wqvrfkn5.js → pty-56swpcfg.js} +11 -11
  39. package/dist/chunks/{formatter-57b9ws8p.js → pty-57b9ws8p.js} +1 -1
  40. package/dist/chunks/{formatter-qv499rce.js → pty-59j4ht07.js} +23 -23
  41. package/dist/chunks/{formatter-9k0q07qp.js → pty-5g9mj0x8.js} +36 -36
  42. package/dist/chunks/{formatter-5y480sgp.js → pty-5gzjtbzb.js} +8 -8
  43. package/dist/chunks/{formatter-my89cahe.js → pty-5k0aebbb.js} +22 -22
  44. package/dist/chunks/{formatter-x7bd6s3f.js → pty-5kgk83bb.js} +27 -27
  45. package/dist/chunks/{formatter-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  46. package/dist/chunks/{formatter-pt0v59x6.js → pty-5mq5fr1q.js} +11 -11
  47. package/dist/chunks/{formatter-v0b295w1.js → pty-5p4ea1z6.js} +16 -16
  48. package/dist/chunks/{formatter-jav1j83y.js → pty-5pa1jwxy.js} +12 -12
  49. package/dist/chunks/{formatter-1z4aes97.js → pty-5pckqsa0.js} +21 -21
  50. package/dist/chunks/{formatter-sb8qnayt.js → pty-5py0qphe.js} +19 -19
  51. package/dist/chunks/{formatter-bry1x5ad.js → pty-5q287mz9.js} +17 -17
  52. package/dist/chunks/{formatter-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  53. package/dist/chunks/{formatter-21cye1se.js → pty-5rqr18hk.js} +18 -18
  54. package/dist/chunks/{formatter-7jy01c2j.js → pty-5vvprwm6.js} +4 -4
  55. package/dist/chunks/{formatter-6ras8vtd.js → pty-613s401q.js} +22 -22
  56. package/dist/chunks/pty-619r8v3y.js +18 -0
  57. package/dist/chunks/{formatter-6827pfxn.js → pty-6827pfxn.js} +1 -1
  58. package/dist/chunks/{formatter-c5ggqzvz.js → pty-6kgydgrk.js} +12 -12
  59. package/dist/chunks/{formatter-p30hmy3j.js → pty-6sk5sj01.js} +25 -25
  60. package/dist/chunks/{formatter-f3wsxmbf.js → pty-6ts7sypm.js} +12 -12
  61. package/dist/chunks/{formatter-vp00rtyr.js → pty-6w7ed4zb.js} +14 -14
  62. package/dist/chunks/{formatter-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{formatter-b30s6mje.js → pty-75ar5t22.js} +11 -11
  64. package/dist/chunks/{formatter-svxhdcjy.js → pty-75v6ymbe.js} +11 -11
  65. package/dist/chunks/{formatter-775gj3j1.js → pty-775gj3j1.js} +2 -2
  66. package/dist/chunks/{formatter-ttfzm2et.js → pty-79efq26t.js} +20 -20
  67. package/dist/chunks/{formatter-ft3hqk2c.js → pty-79qaa2kf.js} +9 -9
  68. package/dist/chunks/{formatter-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{formatter-zjww4jny.js → pty-7d4ryxry.js} +25 -25
  70. package/dist/chunks/{formatter-d8c6spkq.js → pty-7jvyjmqp.js} +45 -45
  71. package/dist/chunks/{formatter-95c9qt52.js → pty-7qcm40ym.js} +11 -11
  72. package/dist/chunks/{formatter-84txncab.js → pty-84txncab.js} +1 -1
  73. package/dist/chunks/{formatter-yvvvp4gn.js → pty-89bb6baa.js} +8 -8
  74. package/dist/chunks/{formatter-1b9h5v8t.js → pty-8btm942h.js} +2 -2
  75. package/dist/chunks/{formatter-yz8mk3e2.js → pty-8c229cqm.js} +49 -49
  76. package/dist/chunks/{formatter-j34dxvpb.js → pty-8dff8bqa.js} +5 -5
  77. package/dist/chunks/{formatter-yyht7rfr.js → pty-8djhns2y.js} +3 -3
  78. package/dist/chunks/{formatter-xcexsawf.js → pty-8fmtb3sq.js} +35 -35
  79. package/dist/chunks/{formatter-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{formatter-yyjkxqgj.js → pty-8n5y01rv.js} +4 -4
  81. package/dist/chunks/{formatter-pg2r46xe.js → pty-8t56p07m.js} +23 -23
  82. package/dist/chunks/{formatter-5epte933.js → pty-8whp40kv.js} +3 -3
  83. package/dist/chunks/{formatter-szd00bka.js → pty-8xqdgpeg.js} +4 -4
  84. package/dist/chunks/{formatter-14tvmdth.js → pty-9587ae3r.js} +7 -7
  85. package/dist/chunks/{formatter-zrq3bjv4.js → pty-9kr8jvk4.js} +9 -9
  86. package/dist/chunks/{formatter-jm77avtd.js → pty-9m0hg6kw.js} +3 -3
  87. package/dist/chunks/{formatter-gd0tnyjc.js → pty-9vrga451.js} +1 -1
  88. package/dist/chunks/{formatter-w3wbfgm7.js → pty-9z80hxc4.js} +29 -29
  89. package/dist/chunks/{formatter-kqezzyfk.js → pty-a5jmndgx.js} +23 -23
  90. package/dist/chunks/{formatter-whwq5x3g.js → pty-aepr7q13.js} +185 -185
  91. package/dist/chunks/{formatter-q9s9zqn4.js → pty-ah7q5eh6.js} +10 -10
  92. package/dist/chunks/{formatter-heqwx97d.js → pty-ajfgb3zy.js} +6 -6
  93. package/dist/chunks/{formatter-yx0rmv9r.js → pty-ax36eyar.js} +8 -8
  94. package/dist/chunks/pty-b31pqyrf.js +26 -0
  95. package/dist/chunks/{formatter-vj5p38yv.js → pty-b3qw4ny2.js} +23 -18
  96. package/dist/chunks/{formatter-wyvwawjm.js → pty-b532nts2.js} +44 -44
  97. package/dist/chunks/{formatter-83wzpacr.js → pty-b5s7rv85.js} +21 -21
  98. package/dist/chunks/{formatter-7m4642cz.js → pty-b8fv3x8g.js} +14 -14
  99. package/dist/chunks/{formatter-y1m8s9mq.js → pty-be2m8mkb.js} +25 -25
  100. package/dist/chunks/{formatter-s91efq40.js → pty-bmv70x53.js} +32 -32
  101. package/dist/chunks/{formatter-d66rdyfa.js → pty-bqqqx74r.js} +42 -42
  102. package/dist/chunks/{formatter-2qgrx7zj.js → pty-bsg7vvxy.js} +17 -17
  103. package/dist/chunks/{formatter-rk974gg7.js → pty-bx3wj5v5.js} +21 -21
  104. package/dist/chunks/{formatter-bzeyqsqd.js → pty-bzeyqsqd.js} +1 -1
  105. package/dist/chunks/{formatter-98gbvst6.js → pty-bzqqb8ta.js} +3 -3
  106. package/dist/chunks/{formatter-rj3eygr5.js → pty-c41wscbt.js} +2 -2
  107. package/dist/chunks/{formatter-ans500eg.js → pty-c4mkfy92.js} +4 -4
  108. package/dist/chunks/{formatter-e80seqcp.js → pty-c7zza6wf.js} +3 -3
  109. package/dist/chunks/{formatter-sa8ekw3f.js → pty-c8ax2afj.js} +2 -2
  110. package/dist/chunks/{formatter-wp4vtpe6.js → pty-carp9cx2.js} +15 -15
  111. package/dist/chunks/{formatter-d1a28jh7.js → pty-d1a28jh7.js} +2 -2
  112. package/dist/chunks/{formatter-5gwznhg8.js → pty-d54gtgr2.js} +24 -24
  113. package/dist/chunks/{formatter-hfbyhya8.js → pty-d6ex36fs.js} +10 -10
  114. package/dist/chunks/{formatter-n6j8zy7f.js → pty-dbe6ax9h.js} +34 -34
  115. package/dist/chunks/{formatter-znhp5m3s.js → pty-dbvaw56v.js} +40 -40
  116. package/dist/chunks/{formatter-rzkcke2z.js → pty-dng94c05.js} +34 -34
  117. package/dist/chunks/{formatter-y71avatq.js → pty-dpkg50ah.js} +4 -4
  118. package/dist/chunks/{formatter-jg6jwpe0.js → pty-dwy6gwr4.js} +4 -4
  119. package/dist/chunks/{formatter-bbkhz5x0.js → pty-dys7k0s0.js} +11 -11
  120. package/dist/chunks/{formatter-6kt042be.js → pty-dyx7hmrq.js} +19 -19
  121. package/dist/chunks/{formatter-0gdmqesm.js → pty-eaj1djv9.js} +8 -8
  122. package/dist/chunks/{formatter-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{formatter-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{formatter-w1ba7bfx.js → pty-eh6ej367.js} +5 -5
  125. package/dist/chunks/{formatter-0w0hsyng.js → pty-emdb9ywx.js} +16 -16
  126. package/dist/chunks/{formatter-x835q0ad.js → pty-emtnyy8a.js} +18 -18
  127. package/dist/chunks/{formatter-me3jp302.js → pty-ep1c6evs.js} +19 -19
  128. package/dist/chunks/{formatter-c1fqxshp.js → pty-es1vcfrp.js} +3 -3
  129. package/dist/chunks/{formatter-44ak30pa.js → pty-espax8zg.js} +4 -4
  130. package/dist/chunks/{formatter-wpqhxtcy.js → pty-ev6dmhwt.js} +13 -13
  131. package/dist/chunks/{formatter-eakdd8w5.js → pty-ewzhehhx.js} +51 -51
  132. package/dist/chunks/{formatter-6bfs7xd7.js → pty-exxz27fe.js} +28 -28
  133. package/dist/chunks/{formatter-cpgtpatm.js → pty-eyqpj6mq.js} +11 -11
  134. package/dist/chunks/{formatter-p37cw4rj.js → pty-eys57y9b.js} +8 -8
  135. package/dist/chunks/{formatter-9pvd7fay.js → pty-eywv91wk.js} +31 -31
  136. package/dist/chunks/{formatter-r9y2scxt.js → pty-f59ep6tb.js} +11 -11
  137. package/dist/chunks/{formatter-kk4m4jz5.js → pty-f83dkk6g.js} +6 -6
  138. package/dist/chunks/{formatter-64ksbt32.js → pty-f8bebqmw.js} +9 -9
  139. package/dist/chunks/{formatter-fcy631f0.js → pty-fcy631f0.js} +1 -1
  140. package/dist/chunks/{formatter-c907h1r8.js → pty-fna3snnf.js} +26 -26
  141. package/dist/chunks/{formatter-hq3c8me3.js → pty-fxaymqdw.js} +4 -4
  142. package/dist/chunks/{formatter-6yz0wx8n.js → pty-g6yfr6ja.js} +5 -5
  143. package/dist/chunks/{formatter-hmzjb8dj.js → pty-gb91ecjr.js} +18 -18
  144. package/dist/chunks/{formatter-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{formatter-d20vf659.js → pty-gecaqdc7.js} +13 -13
  146. package/dist/chunks/{formatter-r0yrvwzz.js → pty-ghttpbhe.js} +27 -27
  147. package/dist/chunks/{formatter-yn9r1x73.js → pty-ghzt5075.js} +25 -25
  148. package/dist/chunks/{formatter-qne3fa44.js → pty-gj71zhbs.js} +5 -5
  149. package/dist/chunks/{formatter-ssx21478.js → pty-gp4w86nb.js} +22 -22
  150. package/dist/chunks/{formatter-gex9dnn3.js → pty-gq21vk3h.js} +20 -20
  151. package/dist/chunks/{formatter-x661k3y3.js → pty-gqtdsdt7.js} +4 -4
  152. package/dist/chunks/{formatter-5bkyxj6g.js → pty-h0bbvnbm.js} +98 -98
  153. package/dist/chunks/{formatter-5z12t68t.js → pty-h0c8h6v4.js} +17 -17
  154. package/dist/chunks/{formatter-za681khs.js → pty-h62q6qsm.js} +13 -13
  155. package/dist/chunks/{formatter-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{formatter-q8ksm80s.js → pty-h9sr2fx8.js} +40 -40
  157. package/dist/chunks/{formatter-hbv5rvvj.js → pty-h9t9rr5j.js} +8 -8
  158. package/dist/chunks/{formatter-ex98dt4j.js → pty-hccfxqt2.js} +22 -22
  159. package/dist/chunks/{formatter-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{formatter-sdjxx6pg.js → pty-hskj05ts.js} +36 -36
  161. package/dist/chunks/{formatter-j09zfasm.js → pty-j09zfasm.js} +3 -3
  162. package/dist/chunks/{formatter-p18ep857.js → pty-j1e1vdpa.js} +18 -18
  163. package/dist/chunks/{formatter-1y9yjfpn.js → pty-j4x75x50.js} +15 -15
  164. package/dist/chunks/{formatter-2xr74ag8.js → pty-j5y9yxpr.js} +33 -33
  165. package/dist/chunks/{formatter-xmrxjf82.js → pty-j7jn4qex.js} +32 -32
  166. package/dist/chunks/{formatter-9b22j2js.js → pty-j8hg5m6j.js} +14 -14
  167. package/dist/chunks/{formatter-2thwhjsv.js → pty-jqzezgch.js} +13 -13
  168. package/dist/chunks/{formatter-0v1kw2g7.js → pty-jym867d0.js} +14 -14
  169. package/dist/chunks/{formatter-q1yb1hsa.js → pty-k0dv98ax.js} +17 -17
  170. package/dist/chunks/{formatter-nvcb2me1.js → pty-k283101k.js} +9 -9
  171. package/dist/chunks/{formatter-7mg7dxek.js → pty-k4j5e150.js} +19 -19
  172. package/dist/chunks/{formatter-py38g5de.js → pty-k7vqg6gp.js} +10 -10
  173. package/dist/chunks/{formatter-yz37vbp4.js → pty-k8h85fj7.js} +2 -2
  174. package/dist/chunks/{formatter-tw9chead.js → pty-kawxgbzv.js} +18 -18
  175. package/dist/chunks/{formatter-63qcved5.js → pty-kgrkq9ry.js} +48 -48
  176. package/dist/chunks/{formatter-d4vyzb3t.js → pty-khtxvdmw.js} +34 -34
  177. package/dist/chunks/{formatter-5mr4v717.js → pty-kmnwckzv.js} +11 -11
  178. package/dist/chunks/{formatter-aky1dekn.js → pty-knfhyvcc.js} +11 -11
  179. package/dist/chunks/{formatter-cdnjftw5.js → pty-kr25s46q.js} +5 -5
  180. package/dist/chunks/{formatter-fc29xzdc.js → pty-kt7fyp0h.js} +62 -62
  181. package/dist/chunks/{formatter-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
  182. package/dist/chunks/{formatter-jekssrtq.js → pty-m1z5ek08.js} +5 -5
  183. package/dist/chunks/{formatter-y4t3c8zk.js → pty-m35e3w0r.js} +13 -13
  184. package/dist/chunks/{formatter-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{formatter-maspj1v3.js → pty-maspj1v3.js} +1 -1
  186. package/dist/chunks/{formatter-sh5y8zvm.js → pty-mf5sjjt4.js} +1 -1
  187. package/dist/chunks/{formatter-wjcqngme.js → pty-mftp4jgp.js} +13 -13
  188. package/dist/chunks/{formatter-nev18w5c.js → pty-mgq3c1d5.js} +5 -5
  189. package/dist/chunks/{formatter-mzfw0pb0.js → pty-mgxskf66.js} +37 -37
  190. package/dist/chunks/{formatter-r4ekbdnr.js → pty-mhwem8sv.js} +25 -25
  191. package/dist/chunks/{formatter-d3xt2zh4.js → pty-mqrd7sth.js} +5 -5
  192. package/dist/chunks/{formatter-ftwm2p4f.js → pty-ms4hbghf.js} +50 -50
  193. package/dist/chunks/{formatter-d9yrqh4n.js → pty-mthh58nh.js} +31 -31
  194. package/dist/chunks/{formatter-kcdx8ksy.js → pty-mx4xths8.js} +32 -32
  195. package/dist/chunks/{formatter-147shrta.js → pty-n1900k66.js} +1 -1
  196. package/dist/chunks/{formatter-q1xe5xm5.js → pty-nb8d4sea.js} +8 -8
  197. package/dist/chunks/{formatter-ea05sntr.js → pty-nqvxt6f2.js} +13 -13
  198. package/dist/chunks/{formatter-1z0c123x.js → pty-nzsdqqv9.js} +36 -36
  199. package/dist/chunks/{formatter-8f9p3crs.js → pty-p62ktq1b.js} +22 -22
  200. package/dist/chunks/{formatter-vywgh4c6.js → pty-pgf8gcr8.js} +35 -35
  201. package/dist/chunks/{formatter-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{formatter-pknna89w.js → pty-pknna89w.js} +1 -1
  203. package/dist/chunks/{formatter-f60jq6s2.js → pty-pyp098nx.js} +16 -16
  204. package/dist/chunks/{formatter-pzjmh3bc.js → pty-q0tnd1dz.js} +15 -15
  205. package/dist/chunks/{formatter-qgc12pw2.js → pty-qe7qwmvw.js} +46 -46
  206. package/dist/chunks/{formatter-7dqw4kz8.js → pty-qgn6gcr1.js} +5 -5
  207. package/dist/chunks/{formatter-zxczbdfd.js → pty-qj9dcjzw.js} +5 -5
  208. package/dist/chunks/{formatter-a7mmyf9t.js → pty-qk7mv1xs.js} +7 -7
  209. package/dist/chunks/{formatter-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{formatter-nxwm516h.js → pty-qrsxyz47.js} +11 -11
  211. package/dist/chunks/{formatter-qsdy395h.js → pty-qsdy395h.js} +1 -1
  212. package/dist/chunks/{formatter-wcpje083.js → pty-qsswj7nd.js} +9 -9
  213. package/dist/chunks/{formatter-0y9f2m8n.js → pty-r86349qm.js} +6 -6
  214. package/dist/chunks/{formatter-54ma36ye.js → pty-r94pvvab.js} +4 -4
  215. package/dist/chunks/{formatter-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{formatter-q34x7v2p.js → pty-rgg94day.js} +25 -25
  217. package/dist/chunks/{formatter-86y4chpd.js → pty-rqhgjz8j.js} +19 -19
  218. package/dist/chunks/{formatter-mphgtbj1.js → pty-ry6831an.js} +9 -9
  219. package/dist/chunks/{formatter-4z58m4b4.js → pty-rywzfdxh.js} +4 -4
  220. package/dist/chunks/{formatter-mmfyj663.js → pty-sbb270gk.js} +5 -5
  221. package/dist/chunks/{formatter-2fb2gztx.js → pty-sj1k89gn.js} +22 -22
  222. package/dist/chunks/{formatter-syv4x271.js → pty-syv4x271.js} +1 -1
  223. package/dist/chunks/{formatter-42rf9s8q.js → pty-sz1e9eqn.js} +26 -26
  224. package/dist/chunks/{formatter-5xac84sq.js → pty-t5bkfr6y.js} +23 -23
  225. package/dist/chunks/{formatter-appvh9ax.js → pty-t8c3xmsp.js} +6 -6
  226. package/dist/chunks/{formatter-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{formatter-89znhe33.js → pty-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{formatter-tdstcens.js → pty-tdstcens.js} +1 -1
  229. package/dist/chunks/{formatter-h83rqqxa.js → pty-tenjkvjc.js} +19 -19
  230. package/dist/chunks/{formatter-rert0e01.js → pty-tkb22qbm.js} +2 -2
  231. package/dist/chunks/{formatter-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{formatter-hbb7npd7.js → pty-tt8gc4fv.js} +6 -6
  233. package/dist/chunks/{formatter-vyf7jw62.js → pty-txbw3nms.js} +3 -3
  234. package/dist/chunks/{formatter-qapzhrk9.js → pty-tye2g5vs.js} +10 -10
  235. package/dist/chunks/{formatter-tyytaxap.js → pty-tyytaxap.js} +1 -1
  236. package/dist/chunks/{formatter-cebn8wab.js → pty-v2r51t0g.js} +8 -8
  237. package/dist/chunks/{formatter-a2ew8a62.js → pty-v5dkyp31.js} +4 -4
  238. package/dist/chunks/{formatter-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{formatter-a8k9xfsm.js → pty-v8wcx65a.js} +32 -32
  240. package/dist/chunks/{formatter-xxqjg4x2.js → pty-vak501x5.js} +75 -75
  241. package/dist/chunks/{formatter-veqvce7d.js → pty-veqvce7d.js} +1 -1
  242. package/dist/chunks/{formatter-kxk813jh.js → pty-vfjbdpbc.js} +22 -22
  243. package/dist/chunks/{formatter-jxqhfc7z.js → pty-vfmy936b.js} +12 -12
  244. package/dist/chunks/{formatter-8cr7kka4.js → pty-vj4msk15.js} +30 -30
  245. package/dist/chunks/{formatter-sg02e71r.js → pty-vjkhbcr1.js} +22 -22
  246. package/dist/chunks/{formatter-p07cp82q.js → pty-vq0fwg4j.js} +17 -17
  247. package/dist/chunks/{formatter-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{formatter-rbqdpnz1.js → pty-w0pcsx04.js} +5 -5
  249. package/dist/chunks/{formatter-gyrxp0ts.js → pty-w2veat89.js} +52 -52
  250. package/dist/chunks/{formatter-h289jyzk.js → pty-w3t90m8a.js} +16 -16
  251. package/dist/chunks/{formatter-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{formatter-ahej7gkg.js → pty-w579sh2t.js} +26 -26
  253. package/dist/chunks/{formatter-7cx595n2.js → pty-waskdk5r.js} +9 -9
  254. package/dist/chunks/{formatter-dqkkx36v.js → pty-wcnw1vw1.js} +4 -4
  255. package/dist/chunks/{formatter-wd87259q.js → pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{formatter-qdrw3gfp.js → pty-wez1ajrw.js} +7 -7
  257. package/dist/chunks/{formatter-0zcqa60s.js → pty-wq2f1mye.js} +16 -16
  258. package/dist/chunks/{formatter-zct15kyb.js → pty-wrh894z7.js} +31 -31
  259. package/dist/chunks/{formatter-ndc46fve.js → pty-ws3rr3fx.js} +35 -35
  260. package/dist/chunks/{formatter-a5399v6v.js → pty-wy73jbek.js} +13 -13
  261. package/dist/chunks/{formatter-ejgr9gnj.js → pty-x0tkdd4v.js} +18 -18
  262. package/dist/chunks/{formatter-v210v162.js → pty-x5jhdhzv.js} +5 -5
  263. package/dist/chunks/{formatter-gd1hgps2.js → pty-xg5ymnxc.js} +4 -4
  264. package/dist/chunks/{formatter-fgy909bt.js → pty-xnpn367r.js} +5 -5
  265. package/dist/chunks/{formatter-xgsj2745.js → pty-xrdmrr14.js} +5 -5
  266. package/dist/chunks/{formatter-fdms3n6w.js → pty-xrpg47n6.js} +9 -9
  267. package/dist/chunks/{formatter-swf92kzb.js → pty-xw6wytjz.js} +21 -21
  268. package/dist/chunks/{formatter-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{formatter-kmn2wpkp.js → pty-y6yhjvhw.js} +13 -13
  270. package/dist/chunks/{formatter-682gxy8b.js → pty-y7j6ns4a.js} +63 -63
  271. package/dist/chunks/{formatter-be0x380s.js → pty-y7vwj9hc.js} +36 -36
  272. package/dist/chunks/{formatter-f63t7jgq.js → pty-y94agb53.js} +32 -32
  273. package/dist/chunks/{formatter-k1b4tbj2.js → pty-ydh080vk.js} +28 -28
  274. package/dist/chunks/pty-yjxftd19.js +257 -0
  275. package/dist/chunks/{formatter-8n5tnz3w.js → pty-ypw97atq.js} +340 -336
  276. package/dist/chunks/{formatter-0cbn14fb.js → pty-yq97mf54.js} +22 -22
  277. package/dist/chunks/{formatter-bjx1sjef.js → pty-ywt8jp22.js} +9 -9
  278. package/dist/chunks/{formatter-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{formatter-3fc6dm20.js → pty-z18fegx4.js} +4 -4
  280. package/dist/chunks/{formatter-qacrhxhp.js → pty-z2b2xe7d.js} +6 -6
  281. package/dist/chunks/{formatter-baaqp4zd.js → pty-zcrspsvn.js} +4 -4
  282. package/dist/chunks/{formatter-4ty81hg4.js → pty-zdj3kqwc.js} +47 -47
  283. package/dist/chunks/{formatter-c916s19f.js → pty-znp2av2g.js} +88 -88
  284. package/dist/chunks/{formatter-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{formatter-pxtr2dvv.js → pty-ztsrdpdj.js} +5 -5
  286. package/dist/chunks/{formatter-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{formatter-93cy2f7w.js → pty-zz1sb3nm.js} +27 -27
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +74 -74
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +84 -82
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +84 -84
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -331
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -348
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +221 -221
  560. package/dist/project/schema.js +4 -4
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +101 -101
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +134 -134
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +125 -125
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +86 -86
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +88 -88
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +92 -92
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +162 -162
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +4 -4
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +120 -120
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +111 -111
  646. package/dist/tool/plugin/read.js +123 -123
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +211 -211
  650. package/dist/tool/plugin/todo.js +147 -0
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +110 -110
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/types/tool/plugin/todo.d.ts +29 -0
  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 +7 -7
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +94 -94
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/variant.js +93 -93
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +89 -89
  680. package/dist/voice.js +88 -88
  681. package/dist/websearch.js +84 -84
  682. package/dist/wellknown/plugin.js +78 -78
  683. package/dist/wellknown.js +83 -83
  684. package/dist/workspace/driver.js +7 -7
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +84 -84
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree/strategies.js +91 -91
  691. package/dist/worktree.js +96 -96
  692. package/package.json +8 -8
  693. package/dist/chunks/formatter-gt2yvw7a.js +0 -26
  694. package/dist/chunks/formatter-ht5y0zrb.js +0 -18
  695. package/dist/chunks/formatter-z5mqx5tk.js +0 -257
  696. /package/dist/chunks/{formatter-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{formatter-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{formatter-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{formatter-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{formatter-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{formatter-24dcb14g.js → pty-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{formatter-2710q6r3.js → pty-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{formatter-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{formatter-2bv980vf.js → pty-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{formatter-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{formatter-359p4xyc.js → pty-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{formatter-3asan66x.js → pty-3asan66x.js} +0 -0
  708. /package/dist/chunks/{formatter-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{formatter-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{formatter-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{formatter-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{formatter-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{formatter-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{formatter-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{formatter-53557ph1.js → pty-53557ph1.js} +0 -0
  716. /package/dist/chunks/{formatter-550bvhaj.js → pty-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{formatter-6prwharc.js → pty-6prwharc.js} +0 -0
  718. /package/dist/chunks/{formatter-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{formatter-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{formatter-7m9af43g.js → pty-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{formatter-822emrt2.js → pty-822emrt2.js} +0 -0
  722. /package/dist/chunks/{formatter-84wd9syh.js → pty-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{formatter-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{formatter-8n3pysct.js → pty-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{formatter-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{formatter-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{formatter-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{formatter-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{formatter-af5trqkr.js → pty-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{formatter-afrmfg78.js → pty-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{formatter-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{formatter-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{formatter-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{formatter-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{formatter-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{formatter-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{formatter-d9fn303g.js → pty-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{formatter-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{formatter-dajrwvna.js → pty-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{formatter-dap0rakb.js → pty-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{formatter-df08tz66.js → pty-df08tz66.js} +0 -0
  742. /package/dist/chunks/{formatter-dy18nga0.js → pty-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{formatter-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{formatter-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{formatter-ec1grn59.js → pty-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{formatter-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{formatter-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{formatter-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{formatter-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{formatter-faypxj3z.js → pty-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{formatter-fd410y7t.js → pty-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{formatter-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{formatter-g86h250q.js → pty-g86h250q.js} +0 -0
  754. /package/dist/chunks/{formatter-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{formatter-gftt206x.js → pty-gftt206x.js} +0 -0
  756. /package/dist/chunks/{formatter-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{formatter-hk9envan.js → pty-hk9envan.js} +0 -0
  758. /package/dist/chunks/{formatter-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{formatter-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{formatter-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{formatter-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{formatter-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{formatter-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{formatter-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{formatter-m18g726c.js → pty-m18g726c.js} +0 -0
  766. /package/dist/chunks/{formatter-mp448xyj.js → pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{formatter-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{formatter-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{formatter-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{formatter-njntx4h6.js → pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{formatter-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{formatter-pyv0edze.js → pty-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{formatter-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{formatter-q74kybfr.js → pty-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{formatter-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{formatter-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{formatter-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{formatter-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{formatter-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{formatter-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{formatter-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{formatter-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{formatter-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{formatter-w803qqfp.js → pty-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{formatter-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{formatter-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{formatter-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{formatter-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{formatter-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{formatter-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{formatter-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{formatter-y8f7s663.js → pty-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{formatter-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{formatter-ym463w8f.js → pty-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{formatter-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{formatter-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./formatter-0zcqa60s.js";
2
+ Service81,
3
+ node85
4
+ } from "./pty-wq2f1mye.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./formatter-0w0hsyng.js";
6
+ Service78,
7
+ node82
8
+ } from "./pty-emdb9ywx.js";
9
9
  import {
10
- Service80,
11
- node83
12
- } from "./formatter-5gwznhg8.js";
10
+ Service58,
11
+ node60
12
+ } from "./pty-d54gtgr2.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./formatter-gd4qta3r.js";
15
+ } from "./pty-gd4qta3r.js";
16
16
  import {
17
- Service62,
17
+ Service71,
18
18
  args2,
19
- node64
20
- } from "./formatter-42rf9s8q.js";
19
+ node75
20
+ } from "./pty-sz1e9eqn.js";
21
21
  import {
22
- Service61,
23
- node63
24
- } from "./formatter-5y480sgp.js";
22
+ Service86,
23
+ node90
24
+ } from "./pty-5gzjtbzb.js";
25
25
  import {
26
- Service43,
27
- node46
28
- } from "./formatter-yvvvp4gn.js";
26
+ Service54,
27
+ node56
28
+ } from "./pty-89bb6baa.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./formatter-5epte933.js";
31
+ } from "./pty-8whp40kv.js";
32
32
  import {
33
33
  latest2,
34
- Service67,
35
- node70
36
- } from "./formatter-gyrxp0ts.js";
34
+ Service55,
35
+ node57
36
+ } from "./pty-w2veat89.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./formatter-r9y2scxt.js";
40
+ } from "./pty-f59ep6tb.js";
41
41
  import {
42
42
  __export
43
- } from "./formatter-9rqn6x4v.js";
43
+ } from "./pty-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: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service42,
51
+ Service: () => Service53,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node45
54
+ node: () => node55
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 NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 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 Service42 extends Context.Service()("@opencode/Shell") {
74
+ class Service53 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(Service42, Effect.gen(function* () {
91
- const bus = yield* Service85;
92
- const location = yield* Service82;
90
+ var layer = () => Layer.effect(Service53, Effect.gen(function* () {
91
+ const bus = yield* Service81;
92
+ const location = yield* Service78;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service62;
95
- const environment = yield* Service80;
96
- const hooks = yield* Service61;
97
- const environments = yield* Service43;
98
- const config = yield* Service67;
94
+ const shell = yield* Service71;
95
+ const environment = yield* Service58;
96
+ const hooks = yield* Service86;
97
+ const environments = yield* Service54;
98
+ const config = yield* Service55;
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(Service42, 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 NotFoundError5({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service42, 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 NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ 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(Service42, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service42.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service53.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node45 = makeLocationNode({
342
- service: Service42,
341
+ var node55 = makeLocationNode({
342
+ service: Service53,
343
343
  layer: layer(),
344
344
  deps: [
345
- node89,
346
- node86,
345
+ node85,
346
+ node82,
347
347
  Global.node,
348
- node64,
349
- node83,
350
- node63,
351
- node46,
352
- node70,
348
+ node75,
349
+ node60,
350
+ node90,
351
+ node56,
352
+ node57,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node45, exports_shell4 };
357
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service53, cleanup2, node55, exports_shell4 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service60
4
- } from "./formatter-r0yrvwzz.js";
2
+ ID16,
3
+ Service76
4
+ } from "./pty-ghttpbhe.js";
5
5
  import {
6
- Service82
7
- } from "./formatter-0w0hsyng.js";
6
+ Service78
7
+ } from "./pty-emdb9ywx.js";
8
8
  import {
9
- Service67
10
- } from "./formatter-gyrxp0ts.js";
9
+ Service55
10
+ } from "./pty-w2veat89.js";
11
11
  import {
12
- Service62,
12
+ Service71,
13
13
  args2
14
- } from "./formatter-42rf9s8q.js";
14
+ } from "./pty-sz1e9eqn.js";
15
15
  import {
16
- Service26
17
- } from "./formatter-5bkyxj6g.js";
16
+ Service24
17
+ } from "./pty-h0bbvnbm.js";
18
18
  import {
19
- Service12
20
- } from "./formatter-t4x3hxzy.js";
19
+ Service13
20
+ } from "./pty-1s33mprc.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./formatter-8m6m0r52.js";
23
+ } from "./pty-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./formatter-9rqn6x4v.js";
26
+ } from "./pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin43
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin10
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin43 = define({
44
+ var Plugin10 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service67;
47
+ const config = yield* Service55;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin43 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service82;
57
+ const location = yield* Service78;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service62;
60
- const sessions = yield* Service26;
61
- const agents = yield* Service60;
62
- const subagents = yield* Service12;
59
+ const shell = yield* Service71;
60
+ const sessions = yield* Service24;
61
+ const agents = yield* Service76;
62
+ const subagents = yield* Service13;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin43 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin43, exports_command2 };
207
+ export { Plugin10, exports_command };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-b30s6mje.js";
3
+ } from "./pty-75ar5t22.js";
4
4
  import {
5
5
  OAuth3,
6
- Service74
7
- } from "./formatter-1z0c123x.js";
6
+ Service68
7
+ } from "./pty-nzsdqqv9.js";
8
8
  import {
9
- ID13,
9
+ ID8,
10
10
  MethodID2
11
- } from "./formatter-2xr74ag8.js";
11
+ } from "./pty-j5y9yxpr.js";
12
12
  import {
13
- ID12,
13
+ ID7,
14
14
  mergeOverlay2
15
- } from "./formatter-ndc46fve.js";
15
+ } from "./pty-ws3rr3fx.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID7.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID8.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service74;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service68;
73
+ yield* Effect.forEach(yield* credentials.list(ID8.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service8,
10
10
  bound: () => bound2,
11
- node: () => node5
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service8 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node5 = makeLocationNode({
19
- service: Service4,
18
+ var node9 = makeLocationNode({
19
+ service: Service8,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node5, bound2, exports_instance2 };
32
+ export { Service8, node9, bound2, exports_instance2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./formatter-hgz4x7wa.js";
3
+ } from "./pty-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./formatter-eej6y6fw.js";
6
+ } from "./pty-eej6y6fw.js";
7
7
  import {
8
- Service86,
9
- node90
10
- } from "./formatter-wpqhxtcy.js";
8
+ Service82,
9
+ node86
10
+ } from "./pty-ev6dmhwt.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./formatter-y71avatq.js";
13
+ } from "./pty-dpkg50ah.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node85
18
- } from "./formatter-yx0rmv9r.js";
17
+ node62
18
+ } from "./pty-ax36eyar.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./formatter-faypxj3z.js";
21
+ } from "./pty-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./formatter-9rqn6x4v.js";
24
+ } from "./pty-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID16,
31
- Info: () => Info26,
30
+ ID: () => ID5,
31
+ Info: () => Info15,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service81,
33
+ Service: () => Service59,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured11,
36
- node: () => node84
35
+ configured: () => configured8,
36
+ node: () => node61
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID16 = Workspace.ID;
44
+ var ID5 = Workspace.ID;
45
45
 
46
- class Info26 extends Schema.Class("Workspace.Info")({
47
- id: ID16,
46
+ class Info15 extends Schema.Class("Workspace.Info")({
47
+ id: ID5,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,25 +52,25 @@ class Info26 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID16,
59
+ workspaceID: ID5,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service81 extends Context.Service()("@opencode/Workspace") {
65
+ class Service59 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured11 = (options = {}) => makeGlobalNode({
68
- service: Service81,
67
+ var configured8 = (options = {}) => makeGlobalNode({
68
+ service: Service59,
69
69
  layer: layer(options),
70
- deps: [node90, node85]
70
+ deps: [node86, node62]
71
71
  });
72
- var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
73
- const db = (yield* Service86).db;
72
+ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
73
+ const db = (yield* Service82).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
76
76
  const connections = new Map;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info26({
89
+ const info = (row, binding) => new Info15({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service81.of({
167
+ return Service59.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID16.create();
169
+ const workspaceID = input.id ?? ID5.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node84 = configured11();
245
+ var node61 = configured8();
246
246
 
247
- export { ID16, Info26, NotFound2, CreateConflict2, Service81, configured11, node84, exports_workspace };
247
+ export { ID5, Info15, NotFound2, CreateConflict2, Service59, configured8, node61, exports_workspace };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./formatter-gd4qta3r.js";
3
+ } from "./pty-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./formatter-rdw6cm16.js";
6
+ } from "./pty-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./pty-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: () => Service44,
18
+ Service: () => Service57,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node47
21
+ node: () => node59
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 Service44 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service57 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(Service44, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service57, 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);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service44.of({
119
+ return Service57.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node47 = makeLocationNode({
137
- service: Service44,
136
+ var node59 = makeLocationNode({
137
+ service: Service57,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node47, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service57, node59, exports_tool_output2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./formatter-8m6m0r52.js";
3
+ } from "./pty-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./formatter-z5v4ffb3.js";
6
+ } from "./pty-z5v4ffb3.js";
7
7
  import {
8
- ID5,
8
+ ID12,
9
9
  Name2
10
- } from "./formatter-ahej7gkg.js";
10
+ } from "./pty-w579sh2t.js";
11
11
  import {
12
12
  __export
13
- } from "./formatter-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
62
62
  return {
63
63
  _tag: "Parsed",
64
64
  skill: {
65
- id: ID5.make(id),
65
+ id: ID12.make(id),
66
66
  name: Name2.make(frontmatter.name ?? id),
67
67
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
68
68
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service52
3
- } from "./formatter-xcd0eash.js";
2
+ Service44
3
+ } from "./pty-51f5btjf.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./formatter-ht5y0zrb.js";
6
+ } from "./pty-619r8v3y.js";
7
7
  import {
8
- Service42
9
- } from "./formatter-eakdd8w5.js";
8
+ Service53
9
+ } from "./pty-ewzhehhx.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./formatter-vzs5sf6e.js";
12
+ } from "./pty-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service52;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
25
+ const instances = yield* Service44;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};