@opencode/core 0.0.0-dev-20827 → 0.0.0-dev-20829

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 (788) 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/{instance-e55zmt9g.js → pty-0cnykqaq.js} +14 -14
  8. package/dist/chunks/{instance-p8kjk1y4.js → pty-0f36crf5.js} +57 -57
  9. package/dist/chunks/{instance-8pa4512d.js → pty-0hbbthgq.js} +5 -5
  10. package/dist/chunks/{instance-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{instance-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{instance-x2h9ec76.js → pty-0vygd7f8.js} +21 -21
  13. package/dist/chunks/{instance-vct9a0jq.js → pty-0xcfrkz9.js} +13 -13
  14. package/dist/chunks/{instance-p37cw4rj.js → pty-1ajx6rf5.js} +8 -8
  15. package/dist/chunks/{instance-de4tk2kz.js → pty-1dmh880y.js} +16 -16
  16. package/dist/chunks/{instance-r3pqm3re.js → pty-1gpb38yh.js} +9 -9
  17. package/dist/chunks/{instance-w2h15q85.js → pty-1pxz8ven.js} +5 -5
  18. package/dist/chunks/{instance-kbvqrc92.js → pty-1qxv4gah.js} +18 -18
  19. package/dist/chunks/{instance-a7bcxdzj.js → pty-1rh4yqvv.js} +9 -9
  20. package/dist/chunks/{instance-pddvn4ak.js → pty-1sheza49.js} +39 -39
  21. package/dist/chunks/{instance-ecb995cy.js → pty-281xas1t.js} +20 -20
  22. package/dist/chunks/{instance-9y3hqzrg.js → pty-28rwbfbs.js} +18 -18
  23. package/dist/chunks/{instance-qgn6gcr1.js → pty-2k8khapm.js} +5 -5
  24. package/dist/chunks/{instance-fxt8cxhv.js → pty-2kpekj74.js} +29 -29
  25. package/dist/chunks/{instance-029pw59f.js → pty-2n79zsqk.js} +3 -3
  26. package/dist/chunks/{instance-z5pd7bnx.js → pty-2rqksdxh.js} +31 -31
  27. package/dist/chunks/{instance-2vvh33eb.js → pty-2vvh33eb.js} +2 -2
  28. package/dist/chunks/{instance-6mt73k75.js → pty-32cjn77w.js} +9 -9
  29. package/dist/chunks/{instance-pvb6eze4.js → pty-32tw229e.js} +18 -18
  30. package/dist/chunks/{instance-33rvgmcv.js → pty-33gphc4y.js} +2 -2
  31. package/dist/chunks/{instance-kb81nczd.js → pty-34dz50e5.js} +21 -21
  32. package/dist/chunks/{instance-txdkr3s4.js → pty-3f2jm17j.js} +11 -11
  33. package/dist/chunks/{instance-w8rbtm3j.js → pty-3fbg59cn.js} +16 -16
  34. package/dist/chunks/{instance-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{instance-pt21w9jz.js → pty-3h6fbjms.js} +10 -10
  36. package/dist/chunks/{instance-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{instance-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{instance-9jaqn8p5.js → pty-3pkc36ya.js} +7 -7
  39. package/dist/chunks/{instance-eywxhyst.js → pty-3pq4wa5c.js} +9 -9
  40. package/dist/chunks/{instance-t93akgjb.js → pty-3qddgp4y.js} +27 -27
  41. package/dist/chunks/{instance-qh8vdwx1.js → pty-3rqkssp8.js} +6 -6
  42. package/dist/chunks/{instance-2dh2xdbt.js → pty-3s8fpsh7.js} +50 -50
  43. package/dist/chunks/{instance-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{instance-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{instance-zhtvqevc.js → pty-3zg7z3bw.js} +15 -15
  46. package/dist/chunks/{instance-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{instance-fbdvw7d5.js → pty-4qb8ma89.js} +29 -29
  48. package/dist/chunks/{instance-r2c0cc8a.js → pty-4rd96g3b.js} +18 -18
  49. package/dist/chunks/{instance-q1vnr78s.js → pty-4rt7dqfm.js} +5 -5
  50. package/dist/chunks/{instance-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{instance-kte28av3.js → pty-4wp3e6bz.js} +8 -8
  52. package/dist/chunks/{instance-acrgyb43.js → pty-4zyzs0ed.js} +23 -23
  53. package/dist/chunks/{instance-m8z4j9he.js → pty-508e6s6p.js} +4 -4
  54. package/dist/chunks/{instance-pe0vaf1g.js → pty-5315f502.js} +9 -9
  55. package/dist/chunks/{instance-gjwgx2c5.js → pty-5d607bsg.js} +9 -9
  56. package/dist/chunks/{instance-y7zbaxef.js → pty-5e3qmt7f.js} +1 -1
  57. package/dist/chunks/{instance-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{instance-hem2fds5.js → pty-5n9cp24j.js} +16 -16
  59. package/dist/chunks/{instance-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{instance-r82vzbv4.js → pty-5xfmpj1j.js} +8 -8
  61. package/dist/chunks/{instance-1e3tja1f.js → pty-5zkvyedw.js} +30 -30
  62. package/dist/chunks/{instance-5kbwm9w7.js → pty-61r3a0pq.js} +3 -3
  63. package/dist/chunks/{instance-83gvq0ye.js → pty-62g730j6.js} +4 -4
  64. package/dist/chunks/{instance-3dxwnv9s.js → pty-62gtt4vs.js} +26 -26
  65. package/dist/chunks/{instance-6n70g1xh.js → pty-688cz1j9.js} +13 -13
  66. package/dist/chunks/{instance-jp4d7tph.js → pty-6dp5gy92.js} +6 -6
  67. package/dist/chunks/{instance-1agwckrn.js → pty-6h6xfm99.js} +11 -11
  68. package/dist/chunks/{instance-wmmcjnbx.js → pty-6ma4rgg5.js} +28 -28
  69. package/dist/chunks/{instance-12khtxcx.js → pty-6q9eydss.js} +5 -5
  70. package/dist/chunks/{instance-4v7ngy20.js → pty-6rm5yzkt.js} +4 -4
  71. package/dist/chunks/{instance-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{instance-rgec3vff.js → pty-736mwy1a.js} +33 -33
  73. package/dist/chunks/{instance-eebbcbg0.js → pty-75ejmma1.js} +7 -7
  74. package/dist/chunks/{instance-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{instance-b487sczv.js → pty-7e6328vk.js} +7 -7
  76. package/dist/chunks/{instance-rkprpv83.js → pty-7fkffz83.js} +4 -4
  77. package/dist/chunks/{instance-vmg6wk38.js → pty-7g19e4tp.js} +91 -91
  78. package/dist/chunks/{instance-zqv63ykn.js → pty-7ssckh79.js} +11 -11
  79. package/dist/chunks/{instance-0trfysrn.js → pty-7twrzkxr.js} +20 -20
  80. package/dist/chunks/{instance-q1tvsmm7.js → pty-803mzads.js} +11 -11
  81. package/dist/chunks/{instance-yyn6mvd2.js → pty-816wh8nz.js} +13 -13
  82. package/dist/chunks/{instance-4ac1hn9f.js → pty-819j0yj5.js} +21 -21
  83. package/dist/chunks/{instance-a34xer23.js → pty-82ayfpam.js} +18 -18
  84. package/dist/chunks/{instance-rdec90m5.js → pty-835y4q1g.js} +13 -13
  85. package/dist/chunks/pty-882ve7ed.js +253 -0
  86. package/dist/chunks/{instance-5cj9vq0j.js → pty-8bzfeptx.js} +143 -143
  87. package/dist/chunks/{instance-48r0wrnn.js → pty-8fqzmfzp.js} +10 -10
  88. package/dist/chunks/{instance-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{instance-3mtcg1ph.js → pty-8ppnx5kq.js} +3 -3
  90. package/dist/chunks/{instance-3smzvwmj.js → pty-9m0tzg6a.js} +12 -12
  91. package/dist/chunks/{instance-7mkz6cpd.js → pty-9p8g6ccm.js} +1 -1
  92. package/dist/chunks/{instance-gw7gqfev.js → pty-9q77khpg.js} +3 -3
  93. package/dist/chunks/{instance-zny7atnq.js → pty-9qgy8jr1.js} +9 -9
  94. package/dist/chunks/{instance-y81ryenr.js → pty-9xf5g41x.js} +32 -32
  95. package/dist/chunks/{instance-9wqt6yc5.js → pty-a053vxgn.js} +16 -16
  96. package/dist/chunks/{instance-eahhehpg.js → pty-a89e0tac.js} +4 -4
  97. package/dist/chunks/{instance-2c3anf0v.js → pty-a9vjqg87.js} +4 -4
  98. package/dist/chunks/{instance-32des0by.js → pty-af1eyefv.js} +32 -32
  99. package/dist/chunks/{instance-8wp5nj2m.js → pty-axbkptea.js} +2 -2
  100. package/dist/chunks/{instance-kb7tk14c.js → pty-az7915bh.js} +18 -18
  101. package/dist/chunks/{instance-47jkzegy.js → pty-b674v2dg.js} +5 -5
  102. package/dist/chunks/{instance-bxqk5pf5.js → pty-bxqk5pf5.js} +2 -2
  103. package/dist/chunks/{instance-es1vcfrp.js → pty-c1fqxshp.js} +3 -3
  104. package/dist/chunks/{instance-rq1k9zhx.js → pty-c2z82zd3.js} +4 -4
  105. package/dist/chunks/{instance-xatakwe1.js → pty-c84f5e61.js} +13 -13
  106. package/dist/chunks/{instance-c2kw168f.js → pty-cnhye612.js} +14 -14
  107. package/dist/chunks/{instance-fe39dvrz.js → pty-cyfy6ny6.js} +20 -20
  108. package/dist/chunks/{instance-5qw0f10w.js → pty-d57w54x3.js} +16 -16
  109. package/dist/chunks/{instance-pmdm3hax.js → pty-d5h7yrcx.js} +45 -45
  110. package/dist/chunks/{instance-ppc4rg1w.js → pty-dcy4apwd.js} +11 -11
  111. package/dist/chunks/{instance-h9y3gc81.js → pty-dffyxrs7.js} +18 -18
  112. package/dist/chunks/{instance-0t8zfa62.js → pty-djsf3ra4.js} +20 -20
  113. package/dist/chunks/{instance-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  114. package/dist/chunks/{instance-h70qh0pf.js → pty-drmqggy3.js} +8 -8
  115. package/dist/chunks/{instance-vjjaysxc.js → pty-drnf6xwf.js} +2 -2
  116. package/dist/chunks/{instance-6wmwxeyx.js → pty-dxep3sqh.js} +26 -26
  117. package/dist/chunks/{instance-4c1c6x0j.js → pty-dxx87avg.js} +17 -17
  118. package/dist/chunks/{instance-ynmknp8q.js → pty-dys7k0s0.js} +11 -11
  119. package/dist/chunks/{instance-nma959mg.js → pty-e80seqcp.js} +3 -3
  120. package/dist/chunks/{instance-06y773be.js → pty-e920mvbt.js} +28 -28
  121. package/dist/chunks/{instance-cfx9nmr8.js → pty-ebqxd2ph.js} +24 -24
  122. package/dist/chunks/{instance-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{instance-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{instance-73z18d76.js → pty-efbe88xk.js} +21 -21
  125. package/dist/chunks/{instance-dqrdxvr6.js → pty-es811akx.js} +17 -17
  126. package/dist/chunks/{instance-c667ea02.js → pty-ev663pnx.js} +3 -3
  127. package/dist/chunks/{instance-knx1mpgn.js → pty-extdh6e7.js} +17 -17
  128. package/dist/chunks/{instance-dx0ahrbs.js → pty-f2mw6jyj.js} +11 -11
  129. package/dist/chunks/{instance-wqzzjrnt.js → pty-f3zadn6b.js} +15 -15
  130. package/dist/chunks/{instance-skv3wcb4.js → pty-fd80m7p3.js} +34 -34
  131. package/dist/chunks/{instance-xzfz3f2s.js → pty-fqq9xsk7.js} +11 -11
  132. package/dist/chunks/{instance-fgem0d3n.js → pty-fqtvmpfq.js} +8 -8
  133. package/dist/chunks/{instance-610qr0kb.js → pty-fzd7gkan.js} +97 -97
  134. package/dist/chunks/{instance-xp066kac.js → pty-fzep1s2p.js} +13 -13
  135. package/dist/chunks/{instance-vrga0r6z.js → pty-g2x3q6j9.js} +19 -19
  136. package/dist/chunks/{instance-xt3y6wcz.js → pty-g3er6je0.js} +1 -1
  137. package/dist/chunks/{instance-dpk9s60g.js → pty-g7g2pdja.js} +4 -4
  138. package/dist/chunks/{instance-1359n4t6.js → pty-g8e6zt8f.js} +11 -11
  139. package/dist/chunks/{instance-w2ccq8fn.js → pty-g8yq79xy.js} +20 -20
  140. package/dist/chunks/pty-gb9jrr1j.js +26 -0
  141. package/dist/chunks/{instance-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{instance-9mgbv78s.js → pty-gjscf0hp.js} +21 -21
  143. package/dist/chunks/{instance-gk8qb678.js → pty-gk8qb678.js} +1 -1
  144. package/dist/chunks/{instance-rzjekkwt.js → pty-gn2rf22p.js} +11 -11
  145. package/dist/chunks/{instance-gshs7jb6.js → pty-gncde6fa.js} +4 -4
  146. package/dist/chunks/{instance-gmxdk168.js → pty-gnp9y88q.js} +27 -27
  147. package/dist/chunks/{instance-pq5v3pd8.js → pty-gskmna2p.js} +25 -25
  148. package/dist/chunks/{instance-b7kxsjye.js → pty-gwkq74jr.js} +32 -32
  149. package/dist/chunks/{instance-kssbe8nb.js → pty-h64c4a83.js} +8 -8
  150. package/dist/chunks/{instance-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{instance-7kxapdtj.js → pty-h6ztf8yp.js} +1 -1
  152. package/dist/chunks/{instance-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
  153. package/dist/chunks/{instance-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{instance-hqhp0zxs.js → pty-hkffa77z.js} +4 -4
  155. package/dist/chunks/{instance-bz3703j4.js → pty-hnym75r4.js} +4 -4
  156. package/dist/chunks/{instance-2n295dmf.js → pty-hpfvhvya.js} +8 -8
  157. package/dist/chunks/{instance-91qna3x0.js → pty-j09zfasm.js} +3 -3
  158. package/dist/chunks/{instance-j56e64zr.js → pty-j56e64zr.js} +1 -1
  159. package/dist/chunks/{instance-1zpxtp3m.js → pty-j7d1263c.js} +10 -10
  160. package/dist/chunks/{instance-qmkfnjtm.js → pty-jbt4rr2d.js} +42 -42
  161. package/dist/chunks/{instance-39t8n9ky.js → pty-jefh3zb1.js} +19 -19
  162. package/dist/chunks/{instance-d96awtdb.js → pty-jf6x9176.js} +14 -14
  163. package/dist/chunks/{instance-kch01m1z.js → pty-jtgbyr4a.js} +28 -28
  164. package/dist/chunks/{instance-ja6nd376.js → pty-jvcn2d3z.js} +61 -61
  165. package/dist/chunks/{instance-pgxhr7ry.js → pty-jzg6w2y0.js} +9 -9
  166. package/dist/chunks/{instance-vxn6q82b.js → pty-k1y0s7m5.js} +38 -38
  167. package/dist/chunks/{instance-zmzkayzc.js → pty-k1zym2rk.js} +21 -21
  168. package/dist/chunks/{instance-dpwn1cem.js → pty-k3m00qb7.js} +11 -11
  169. package/dist/chunks/{instance-wjsxeca6.js → pty-k4ek9np0.js} +15 -15
  170. package/dist/chunks/{instance-eewvv2kc.js → pty-kf5rw7j4.js} +46 -46
  171. package/dist/chunks/{instance-fxaymqdw.js → pty-khmqacep.js} +4 -4
  172. package/dist/chunks/{instance-8mxs6q5q.js → pty-kj20kd1j.js} +41 -41
  173. package/dist/chunks/{instance-gst7axd9.js → pty-kne8f3cn.js} +4 -4
  174. package/dist/chunks/{instance-z5b3en8r.js → pty-kr6f0vqs.js} +25 -25
  175. package/dist/chunks/{instance-gsxqm9kc.js → pty-ks0ccrx6.js} +8 -8
  176. package/dist/chunks/{instance-a28eztqj.js → pty-kxkrnkd5.js} +40 -40
  177. package/dist/chunks/{instance-qepgs3zw.js → pty-m2ca2kay.js} +10 -10
  178. package/dist/chunks/{instance-81fjg4yx.js → pty-m329mjby.js} +12 -12
  179. package/dist/chunks/{instance-11626hss.js → pty-m632hd4m.js} +15 -15
  180. package/dist/chunks/{instance-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{instance-rkdvqggb.js → pty-ma48de29.js} +5 -5
  182. package/dist/chunks/{instance-0k1qxdkc.js → pty-mrhpe6wz.js} +9 -9
  183. package/dist/chunks/{instance-3ppptnan.js → pty-mx9vqzsb.js} +6 -6
  184. package/dist/chunks/{instance-kt2xfrns.js → pty-mxcn0d43.js} +77 -77
  185. package/dist/chunks/{instance-mxvxcxwy.js → pty-mxvxcxwy.js} +1 -1
  186. package/dist/chunks/{instance-hzrfc1p4.js → pty-my4zabxr.js} +3 -3
  187. package/dist/chunks/{instance-zgnxgcd3.js → pty-mzw0q7vr.js} +9 -9
  188. package/dist/chunks/{instance-zn53zvnm.js → pty-n8xxfej3.js} +32 -32
  189. package/dist/chunks/{instance-63a469gh.js → pty-na80sj88.js} +30 -30
  190. package/dist/chunks/{instance-vmw2309x.js → pty-nfs59v65.js} +30 -30
  191. package/dist/chunks/{instance-q7tf21sk.js → pty-ngjdjm4k.js} +12 -12
  192. package/dist/chunks/{instance-07jbz131.js → pty-ngvyj94h.js} +12 -12
  193. package/dist/chunks/{instance-j5q539aw.js → pty-nrekvyfh.js} +17 -17
  194. package/dist/chunks/{instance-111chvv6.js → pty-nv00r1cz.js} +3 -3
  195. package/dist/chunks/{instance-3c29hp53.js → pty-nyczhf3x.js} +4 -4
  196. package/dist/chunks/{instance-js94w814.js → pty-p0anqt4a.js} +33 -33
  197. package/dist/chunks/{instance-35xs4z06.js → pty-p8aeyc23.js} +25 -25
  198. package/dist/chunks/{instance-dd39q6h3.js → pty-pdc17wm4.js} +316 -316
  199. package/dist/chunks/{instance-xfewft5k.js → pty-pdz1473m.js} +2 -2
  200. package/dist/chunks/{instance-whjf4gy9.js → pty-pey5f48j.js} +1 -1
  201. package/dist/chunks/{instance-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{instance-pknna89w.js → pty-pknna89w.js} +1 -1
  203. package/dist/chunks/{instance-68wqtz75.js → pty-pnzf6mjf.js} +1 -1
  204. package/dist/chunks/{instance-em38mb3z.js → pty-pwzbey2q.js} +50 -50
  205. package/dist/chunks/{instance-rq46pevd.js → pty-pxj76zhh.js} +36 -36
  206. package/dist/chunks/{instance-98pzc9xt.js → pty-py0hhzem.js} +30 -30
  207. package/dist/chunks/{instance-ht9x2vd6.js → pty-pzfg0ztk.js} +11 -11
  208. package/dist/chunks/{instance-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
  209. package/dist/chunks/{instance-r9dk3pzz.js → pty-q2v8m3fk.js} +13 -13
  210. package/dist/chunks/{instance-z25cqdnr.js → pty-qazrcecv.js} +11 -11
  211. package/dist/chunks/pty-qc068m1q.js +18 -0
  212. package/dist/chunks/{instance-v5c6barj.js → pty-qcya3rg4.js} +22 -22
  213. package/dist/chunks/{instance-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{instance-drwq78ky.js → pty-qqeeq2t9.js} +7 -7
  215. package/dist/chunks/{instance-qsdy395h.js → pty-qsdy395h.js} +1 -1
  216. package/dist/chunks/{instance-6am9e49w.js → pty-qz98z2ah.js} +9 -9
  217. package/dist/chunks/{instance-yjbszvmy.js → pty-r44wx0p4.js} +14 -14
  218. package/dist/chunks/{instance-r2mctg0a.js → pty-r6pqh68g.js} +14 -14
  219. package/dist/chunks/{instance-54ma36ye.js → pty-r94pvvab.js} +4 -4
  220. package/dist/chunks/{instance-y85gn7vd.js → pty-razh9zgp.js} +36 -36
  221. package/dist/chunks/{instance-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{instance-dgcvqrm7.js → pty-re8fv4z8.js} +6 -6
  223. package/dist/chunks/{instance-tkb22qbm.js → pty-rert0e01.js} +2 -2
  224. package/dist/chunks/{instance-c41wscbt.js → pty-rj3eygr5.js} +2 -2
  225. package/dist/chunks/{instance-h92pexg6.js → pty-rqjzxqxs.js} +11 -11
  226. package/dist/chunks/{instance-0pv72p9d.js → pty-rrcp1k08.js} +11 -11
  227. package/dist/chunks/{instance-52gfmpss.js → pty-rwa6rxfx.js} +10 -10
  228. package/dist/chunks/{instance-6xp5z83v.js → pty-rwc2pc3v.js} +11 -11
  229. package/dist/chunks/{instance-6hh8tjw2.js → pty-ryr25ayn.js} +4 -4
  230. package/dist/chunks/{instance-x113b0xz.js → pty-s08bddtt.js} +17 -17
  231. package/dist/chunks/{instance-j3gj8bpw.js → pty-s0c7z8s7.js} +20 -20
  232. package/dist/chunks/{instance-rbrz49bg.js → pty-s17w1n1e.js} +26 -26
  233. package/dist/chunks/{instance-mf3tt33a.js → pty-s1sr5m6z.js} +12 -12
  234. package/dist/chunks/{instance-j60gn3pj.js → pty-s80jrect.js} +20 -20
  235. package/dist/chunks/{instance-t550f9t1.js → pty-s8d7rejh.js} +4 -4
  236. package/dist/chunks/{instance-bz0esz96.js → pty-s8qr3ezm.js} +32 -32
  237. package/dist/chunks/{instance-f383z995.js → pty-s9435745.js} +25 -25
  238. package/dist/chunks/{instance-c8ax2afj.js → pty-sa8ekw3f.js} +2 -2
  239. package/dist/chunks/{instance-b3f8fkhc.js → pty-scgrse2b.js} +5 -5
  240. package/dist/chunks/{instance-1c29c2dv.js → pty-sdmzpsns.js} +34 -34
  241. package/dist/chunks/{instance-znfzh5t4.js → pty-sh68mvxb.js} +33 -33
  242. package/dist/chunks/{instance-syv4x271.js → pty-syv4x271.js} +1 -1
  243. package/dist/chunks/{instance-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{instance-j1p9px45.js → pty-tbr92r1g.js} +13 -13
  245. package/dist/chunks/{instance-89znhe33.js → pty-tcezcvh9.js} +4 -4
  246. package/dist/chunks/{instance-tdstcens.js → pty-tdstcens.js} +1 -1
  247. package/dist/chunks/{instance-x5h44zm2.js → pty-thtzhryg.js} +15 -15
  248. package/dist/chunks/{instance-sqhmztbs.js → pty-tsf8s7tw.js} +38 -38
  249. package/dist/chunks/{instance-tyytaxap.js → pty-tyytaxap.js} +1 -1
  250. package/dist/chunks/{instance-mfhppze3.js → pty-v01rw2zy.js} +23 -23
  251. package/dist/chunks/{instance-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
  252. package/dist/chunks/{instance-y0afz0bn.js → pty-v68v43a8.js} +22 -22
  253. package/dist/chunks/{instance-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
  254. package/dist/chunks/{instance-veqvce7d.js → pty-veqvce7d.js} +1 -1
  255. package/dist/chunks/{instance-ng3918dk.js → pty-vh716j4k.js} +8 -8
  256. package/dist/chunks/{instance-rpwdzjd4.js → pty-vkp0w3yf.js} +14 -14
  257. package/dist/chunks/{instance-9vmcz4h6.js → pty-vqwz5fgy.js} +22 -22
  258. package/dist/chunks/{instance-kprj14vv.js → pty-vynmhvtw.js} +13 -13
  259. package/dist/chunks/{instance-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{instance-kszv5zxs.js → pty-w0y00tyh.js} +15 -15
  261. package/dist/chunks/{instance-84txncab.js → pty-w1eejvng.js} +5 -5
  262. package/dist/chunks/{instance-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{instance-5fec3t3w.js → pty-waskdk5r.js} +9 -9
  264. package/dist/chunks/{instance-wd87259q.js → pty-wd87259q.js} +1 -1
  265. package/dist/chunks/{instance-bjx1sjef.js → pty-wjr9rjd7.js} +6 -6
  266. package/dist/chunks/{instance-ykswskn7.js → pty-wjtb6svr.js} +32 -32
  267. package/dist/chunks/{instance-7n2qgph2.js → pty-wze0qs61.js} +28 -28
  268. package/dist/chunks/{instance-x36jn30v.js → pty-x24b9x88.js} +23 -23
  269. package/dist/chunks/{instance-k1n01d0g.js → pty-xbt9ga98.js} +18 -18
  270. package/dist/chunks/{instance-6hysr14g.js → pty-xkb1khsr.js} +26 -26
  271. package/dist/chunks/{instance-11dqjexa.js → pty-xrpg47n6.js} +9 -9
  272. package/dist/chunks/{instance-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{instance-z5pgf1ry.js → pty-y94gemam.js} +10 -10
  274. package/dist/chunks/{instance-wn3t7bpb.js → pty-yak2w91k.js} +3 -3
  275. package/dist/chunks/{instance-c75knw3b.js → pty-yj1m88h6.js} +11 -11
  276. package/dist/chunks/{instance-153cwxcv.js → pty-ynnr5y5c.js} +4 -4
  277. package/dist/chunks/{instance-yp2x3t23.js → pty-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{instance-3d182hk5.js → pty-ypeaesjs.js} +3 -3
  279. package/dist/chunks/{instance-1rn5pcm9.js → pty-yrcj3v3g.js} +4 -4
  280. package/dist/chunks/{instance-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{instance-n9n1my3y.js → pty-z2sr2ytx.js} +11 -11
  282. package/dist/chunks/{instance-5nsk3cgd.js → pty-zjm5cem5.js} +18 -18
  283. package/dist/chunks/{instance-461nxmbv.js → pty-zmhzecev.js} +5 -5
  284. package/dist/chunks/{instance-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{instance-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +120 -120
  295. package/dist/config/plugin/command.js +209 -209
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +118 -118
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +117 -117
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +72 -72
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +81 -81
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +95 -95
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +76 -76
  412. package/dist/file-access.js +102 -102
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +11 -11
  425. package/dist/filesystem.js +106 -106
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +107 -107
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +101 -101
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +81 -81
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +136 -136
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +87 -87
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +131 -131
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +104 -104
  477. package/dist/models-dev.js +97 -97
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +84 -84
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +115 -115
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +82 -82
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +78 -78
  488. package/dist/plugin/command.js +104 -104
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +117 -117
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +348 -348
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +218 -218
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +86 -86
  559. package/dist/provider.js +93 -93
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +91 -91
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +99 -99
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +137 -137
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +219 -219
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +77 -77
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +218 -218
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +7 -7
  625. package/dist/shell.js +132 -132
  626. package/dist/skill/discovery.js +2 -2
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +110 -110
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +124 -124
  637. package/dist/tool/plugin/grep.js +126 -126
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +109 -109
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +107 -107
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +210 -210
  644. package/dist/tool/plugin/skill.js +103 -103
  645. package/dist/tool/plugin/subagent.js +208 -208
  646. package/dist/tool/plugin/webfetch.js +110 -110
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +89 -89
  674. package/dist/websearch.js +86 -86
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/instance-5cvbdt3t.js +0 -253
  687. package/dist/chunks/instance-65q80m5k.js +0 -26
  688. package/dist/chunks/instance-by5v678g.js +0 -18
  689. /package/dist/chunks/{instance-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{instance-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{instance-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{instance-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{instance-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{instance-24dcb14g.js → pty-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{instance-2710q6r3.js → pty-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{instance-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{instance-2bv980vf.js → pty-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{instance-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{instance-359p4xyc.js → pty-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{instance-3asan66x.js → pty-3asan66x.js} +0 -0
  701. /package/dist/chunks/{instance-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{instance-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{instance-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{instance-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{instance-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{instance-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{instance-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{instance-53557ph1.js → pty-53557ph1.js} +0 -0
  709. /package/dist/chunks/{instance-550bvhaj.js → pty-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{instance-6prwharc.js → pty-6prwharc.js} +0 -0
  711. /package/dist/chunks/{instance-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{instance-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{instance-7m9af43g.js → pty-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{instance-822emrt2.js → pty-822emrt2.js} +0 -0
  715. /package/dist/chunks/{instance-84wd9syh.js → pty-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{instance-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{instance-8n3pysct.js → pty-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{instance-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{instance-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{instance-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{instance-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{instance-af5trqkr.js → pty-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{instance-afrmfg78.js → pty-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{instance-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{instance-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{instance-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{instance-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{instance-bw78ga2c.js → pty-bw78ga2c.js} +0 -0
  729. /package/dist/chunks/{instance-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{instance-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{instance-d9fn303g.js → pty-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{instance-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{instance-dajrwvna.js → pty-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{instance-dap0rakb.js → pty-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{instance-df08tz66.js → pty-df08tz66.js} +0 -0
  736. /package/dist/chunks/{instance-dy18nga0.js → pty-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{instance-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{instance-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{instance-ec1grn59.js → pty-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{instance-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{instance-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{instance-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{instance-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{instance-faypxj3z.js → pty-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{instance-fd410y7t.js → pty-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{instance-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{instance-g86h250q.js → pty-g86h250q.js} +0 -0
  748. /package/dist/chunks/{instance-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{instance-gftt206x.js → pty-gftt206x.js} +0 -0
  750. /package/dist/chunks/{instance-hk9envan.js → pty-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instance-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{instance-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{instance-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{instance-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instance-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instance-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{instance-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{instance-m18g726c.js → pty-m18g726c.js} +0 -0
  759. /package/dist/chunks/{instance-mp448xyj.js → pty-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{instance-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{instance-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{instance-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{instance-njntx4h6.js → pty-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{instance-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{instance-pyv0edze.js → pty-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{instance-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{instance-q74kybfr.js → pty-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{instance-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{instance-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{instance-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{instance-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{instance-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{instance-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{instance-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{instance-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{instance-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{instance-w803qqfp.js → pty-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{instance-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{instance-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{instance-wtztk69x.js → pty-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{instance-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{instance-x61499pn.js → pty-x61499pn.js} +0 -0
  783. /package/dist/chunks/{instance-y44na4kk.js → pty-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{instance-y8f7s663.js → pty-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{instance-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{instance-ym463w8f.js → pty-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{instance-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{instance-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./instance-z5v4ffb3.js";
5
+ } from "./pty-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./instance-c2kw168f.js";
7
+ Service81,
8
+ node85
9
+ } from "./pty-cnhye612.js";
10
10
  import {
11
- Service72,
12
- node75
13
- } from "./instance-32des0by.js";
11
+ Service26,
12
+ node29
13
+ } from "./pty-af1eyefv.js";
14
14
  import {
15
15
  __export
16
- } from "./instance-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event19,
27
+ Event: () => Event5,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError9,
34
+ NotFoundError: () => NotFoundError3,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service71,
36
+ Service: () => Service25,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node74
40
+ node: () => node28
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -82,7 +82,7 @@ var Content2 = Schema.Struct({
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput2 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event19 = FileSystem.Event;
108
+ var Event5 = FileSystem.Event;
109
109
 
110
- class Service71 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service25 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service78;
115
- const search = yield* Service72;
114
+ const location = yield* Service81;
115
+ const search = yield* Service26;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError9({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError9({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError9({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError3({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service71.of({
134
+ return Service25.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError9({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError3({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service71, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node74 = makeLocationNode({
175
- service: Service71,
174
+ var node28 = makeLocationNode({
175
+ service: Service25,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node82, node75]
177
+ deps: [FSUtil.node, node85, node29]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service71, node74, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service25, node28, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./instance-de4tk2kz.js";
2
+ Service84,
3
+ node88
4
+ } from "./pty-1dmh880y.js";
5
5
  import {
6
6
  create3
7
- } from "./instance-rdw6cm16.js";
7
+ } from "./pty-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./instance-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event5,
16
+ Event: () => Event8,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info5,
19
- NotFoundError: () => NotFoundError4,
20
- Service: () => Service35,
21
- layer: () => layer17,
22
- node: () => node38
18
+ Info: () => Info9,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service52,
21
+ layer: () => layer23,
22
+ node: () => node55
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event5 } from "@opencode/schema/command";
28
- var Info5 = Command.Info;
27
+ import { Event as Event8 } from "@opencode/schema/command";
28
+ var Info9 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service35 extends Context.Service()("@opencode/Command") {
42
+ class Service52 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service35, Effect.gen(function* () {
45
- const bus = yield* Service81;
44
+ var layer23 = Layer.effect(Service52, Effect.gen(function* () {
45
+ const bus = yield* Service84;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service35, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info5.make({
54
+ const info = (definition) => Info9.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service35.of({
58
+ return Service52.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer17 = Layer.effect(Service35, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node38 = makeLocationNode({
75
- service: Service35,
76
- layer: layer17,
77
- deps: [node85]
74
+ var node55 = makeLocationNode({
75
+ service: Service52,
76
+ layer: layer23,
77
+ deps: [node88]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info5, NotFoundError4, ExecutionError2, Service35, layer17, node38, exports_command4, Event5 };
89
+ export { Info9, NotFoundError6, ExecutionError2, Service52, layer23, node55, exports_command4, Event8 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./instance-qnc92qwc.js";
3
+ } from "./pty-qnc92qwc.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./instance-c41wscbt.js";
6
+ } from "./pty-rj3eygr5.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./instance-ec1grn59.js";
3
+ } from "./pty-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./instance-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make10,
13
+ make: () => make9,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
60
60
  return { retry: true, attempt, delay: normalized };
61
61
  });
62
62
  });
63
- var make10 = (bus, sessionID) => Effect.gen(function* () {
63
+ var make9 = (bus, sessionID) => Effect.gen(function* () {
64
64
  const decide = yield* policy2(sessionID);
65
65
  const wait = (input) => Effect.gen(function* () {
66
66
  const scheduled = yield* Clock.currentTimeMillis;
@@ -77,4 +77,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
77
77
  return { decide, wait };
78
78
  });
79
79
 
80
- export { isRetryable2, policy2, make10, exports_retry };
80
+ export { isRetryable2, policy2, make9, exports_retry };
@@ -1,65 +1,65 @@
1
+ import {
2
+ Service84,
3
+ node88
4
+ } from "./pty-1dmh880y.js";
1
5
  import {
2
6
  Service81,
3
7
  node85
4
- } from "./instance-de4tk2kz.js";
5
- import {
6
- Service78,
7
- node82
8
- } from "./instance-c2kw168f.js";
8
+ } from "./pty-cnhye612.js";
9
9
  import {
10
- Service77,
10
+ Service74,
11
11
  login2,
12
- node81
13
- } from "./instance-xzfz3f2s.js";
12
+ node78
13
+ } from "./pty-fqq9xsk7.js";
14
14
  import {
15
15
  lazy2
16
- } from "./instance-88xbtdfr.js";
16
+ } from "./pty-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./instance-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
24
  CreateInput: () => CreateInput3,
25
- Event: () => Event20,
25
+ Event: () => Event6,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID16,
28
- Info: () => Info26,
29
- NotFoundError: () => NotFoundError10,
27
+ ID: () => ID3,
28
+ Info: () => Info5,
29
+ NotFoundError: () => NotFoundError4,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service76,
31
+ Service: () => Service29,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node80
33
+ node: () => node32
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event20 } from "@opencode/schema/pty";
38
+ import { Event as Event6 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID16 = Pty.ID;
43
- var Info26 = Pty.Info;
42
+ var ID3 = Pty.ID;
43
+ var Info5 = Pty.Info;
44
44
  var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID16
47
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID3
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID16
53
+ ptyID: ID3
54
54
  }) {
55
55
  }
56
56
 
57
- class Service76 extends Context.Service()("@opencode/Pty") {
57
+ class Service29 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service76, Effect.gen(function* () {
60
- const bus = yield* Service81;
61
- const location = yield* Service78;
62
- const shell = yield* Service77;
59
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
60
+ const bus = yield* Service84;
61
+ const location = yield* Service81;
62
+ const shell = yield* Service74;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError10({ ptyID: id });
99
+ return yield* new NotFoundError4({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID16.ascending();
125
+ const id = ID3.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service76.of({ list, get, create, update, remove, write, attach });
270
+ return Service29.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node80 = makeLocationNode({
273
- service: Service76,
272
+ var node32 = makeLocationNode({
273
+ service: Service29,
274
274
  layer,
275
- deps: [node85, node82, node81]
275
+ deps: [node88, node85, node78]
276
276
  });
277
277
 
278
- export { ID16, Info26, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service76, node80, exports_pty, Event20 };
278
+ export { ID3, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service29, node32, exports_pty, Event6 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./instance-hgz4x7wa.js";
3
+ } from "./pty-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./instance-z5v4ffb3.js";
6
+ } from "./pty-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./instance-c2kw168f.js";
8
+ Service81
9
+ } from "./pty-cnhye612.js";
10
10
  import {
11
- Service74
12
- } from "./instance-cfx9nmr8.js";
11
+ Service67
12
+ } from "./pty-ebqxd2ph.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service73
16
- } from "./instance-k1n01d0g.js";
15
+ Service27
16
+ } from "./pty-xbt9ga98.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./instance-bz0esz96.js";
23
+ } from "./pty-s8qr3ezm.js";
24
24
  import {
25
- Service42
26
- } from "./instance-p8kjk1y4.js";
25
+ Service60
26
+ } from "./pty-0f36crf5.js";
27
27
  import {
28
28
  Service17
29
- } from "./instance-mf3tt33a.js";
29
+ } from "./pty-s1sr5m6z.js";
30
30
  import {
31
31
  __export
32
- } from "./instance-9rqn6x4v.js";
32
+ } from "./pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input12,
39
- Output: () => Output8,
40
- Plugin: () => Plugin48,
41
- name: () => name12,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin36,
41
+ name: () => name2,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name12 = "grep";
48
- var Input12 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input12 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin48 = {
86
+ var Plugin36 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service74;
90
- const ripgrep = yield* Service73;
91
- const location = yield* Service78;
89
+ const environment = yield* Service67;
90
+ const ripgrep = yield* Service27;
91
+ const location = yield* Service81;
92
92
  const access = yield* Service17;
93
- const permission = yield* Service42;
93
+ const permission = yield* Service60;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name12,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input12,
99
- output: Output8,
98
+ input: Input2,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name12,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin48 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin48 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name12, Input12, Output8, toModelContent6, Plugin48, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service60
3
- } from "./instance-8mxs6q5q.js";
2
+ Service55
3
+ } from "./pty-kj20kd1j.js";
4
4
  import {
5
- Service30
6
- } from "./instance-eewvv2kc.js";
5
+ Service40
6
+ } from "./pty-kf5rw7j4.js";
7
7
  import {
8
8
  __export
9
- } from "./instance-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
- var exports_mcp2 = {};
13
- __export(exports_mcp2, {
14
- ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin21,
12
+ var exports_mcp = {};
13
+ __export(exports_mcp, {
14
+ ConfigMcpPlugin: () => exports_mcp,
15
+ Plugin: () => Plugin5,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin21 = define({
20
+ var Plugin5 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service60;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service55;
28
+ const mcp = yield* Service40;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin21, register2, exports_mcp2 };
49
+ export { Plugin5, register2, exports_mcp };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instance-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};