@opencode/core 0.0.0-dev-21177 → 0.0.0-dev-21196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{pty-qh8vdwx1.js → session-07770t2t.js} +6 -6
  8. package/dist/chunks/{pty-a0r78awy.js → session-07zkc9xv.js} +10 -10
  9. package/dist/chunks/{pty-fhh11s5w.js → session-08mhz53j.js} +10 -10
  10. package/dist/chunks/{pty-jeqqnt0n.js → session-0am6x16z.js} +171 -171
  11. package/dist/chunks/{pty-sa09w3ef.js → session-0cwaesxa.js} +36 -36
  12. package/dist/chunks/{pty-y9exhfjj.js → session-0g4r5b31.js} +16 -16
  13. package/dist/chunks/{pty-0ss45e0g.js → session-0m069fak.js} +18 -18
  14. package/dist/chunks/{pty-h7nv9fm5.js → session-0q44ts6j.js} +15 -15
  15. package/dist/chunks/{pty-0vbcp93d.js → session-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{pty-q62wak94.js → session-17eyxr5q.js} +15 -15
  17. package/dist/chunks/{pty-yp2x3t23.js → session-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{pty-qzsep9jm.js → session-1h37j0f5.js} +23 -23
  19. package/dist/chunks/{pty-jkg51xq8.js → session-1mt17hyv.js} +18 -18
  20. package/dist/chunks/{pty-14wynrn6.js → session-1ttt7q4w.js} +34 -34
  21. package/dist/chunks/{pty-hj273wnv.js → session-1zg1sjqp.js} +1 -1
  22. package/dist/chunks/{pty-aw5400a1.js → session-1zm70acg.js} +9 -9
  23. package/dist/chunks/{pty-p4pkk9xt.js → session-24s8e1ye.js} +11 -11
  24. package/dist/chunks/{pty-k8h85fj7.js → session-251hxpd6.js} +2 -2
  25. package/dist/chunks/{pty-fn9t717r.js → session-25yddszk.js} +6 -6
  26. package/dist/chunks/{pty-brpn0yq7.js → session-2d3jn16n.js} +8 -8
  27. package/dist/chunks/{pty-7k8jbme7.js → session-2nzyk9j6.js} +34 -34
  28. package/dist/chunks/{pty-7y4pe9zb.js → session-2pb02ypr.js} +17 -17
  29. package/dist/chunks/{pty-sn3stvbn.js → session-2v5zfjmm.js} +37 -37
  30. package/dist/chunks/{pty-k76gfw63.js → session-327tb77r.js} +6 -6
  31. package/dist/chunks/{pty-vv9rr97d.js → session-34v72sbx.js} +8 -8
  32. package/dist/chunks/{pty-37sfe3bm.js → session-37sfe3bm.js} +3 -3
  33. package/dist/chunks/{pty-1fde4gmb.js → session-3b68eqgm.js} +3 -3
  34. package/dist/chunks/{pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{pty-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{pty-x3kre6es.js → session-3kk2vcwf.js} +1 -1
  38. package/dist/chunks/{pty-frxe1693.js → session-3nbrsfn8.js} +11 -11
  39. package/dist/chunks/{pty-m2nf4q9z.js → session-3qjsqank.js} +14 -14
  40. package/dist/chunks/{pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{pty-deyktbey.js → session-3zhtdb73.js} +11 -11
  43. package/dist/chunks/{pty-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{pty-r61qxybf.js → session-3zy697b6.js} +8 -8
  45. package/dist/chunks/{pty-q1r0pa81.js → session-40j7x69h.js} +4 -4
  46. package/dist/chunks/{pty-6afr2rje.js → session-45armkgy.js} +13 -13
  47. package/dist/chunks/{pty-vcqq2ea7.js → session-4a40mkh8.js} +10 -10
  48. package/dist/chunks/{pty-2ktf0ed2.js → session-4e8vs6eh.js} +8 -8
  49. package/dist/chunks/{pty-69nb7mte.js → session-4edjz20g.js} +11 -11
  50. package/dist/chunks/{pty-a0bbkc97.js → session-4jh07gbm.js} +324 -324
  51. package/dist/chunks/{pty-hr141zjg.js → session-4mdrqyk6.js} +11 -11
  52. package/dist/chunks/{pty-35ddvwna.js → session-4x2sf6yp.js} +4 -4
  53. package/dist/chunks/{pty-c23c3mz0.js → session-52pc8vkw.js} +20 -20
  54. package/dist/chunks/{pty-8ww2gede.js → session-52w29975.js} +3 -3
  55. package/dist/chunks/{pty-54ma36ye.js → session-54ma36ye.js} +1 -1
  56. package/dist/chunks/{pty-0xndvgp0.js → session-57h50yyh.js} +8 -8
  57. package/dist/chunks/{pty-6yz0wx8n.js → session-57myy5jh.js} +5 -5
  58. package/dist/chunks/{pty-wb9rhkdy.js → session-5a73w4vz.js} +46 -46
  59. package/dist/chunks/{pty-djszqvmq.js → session-5d607bsg.js} +9 -9
  60. package/dist/chunks/{pty-h9wp8z5w.js → session-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{pty-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  62. package/dist/chunks/{pty-z8esweh3.js → session-5ppsps6j.js} +24 -24
  63. package/dist/chunks/{pty-pp87jdt4.js → session-5sajzfvj.js} +18 -18
  64. package/dist/chunks/{pty-hbazd458.js → session-5scgcqv4.js} +24 -24
  65. package/dist/chunks/{pty-yfzaheh6.js → session-5v2ab2mm.js} +28 -28
  66. package/dist/chunks/{pty-72b35rd4.js → session-5vpbbhng.js} +12 -12
  67. package/dist/chunks/{pty-6827pfxn.js → session-6827pfxn.js} +1 -1
  68. package/dist/chunks/{pty-d9vhn3nc.js → session-6bc88qdc.js} +10 -10
  69. package/dist/chunks/{pty-z0scchpv.js → session-6ben36ke.js} +20 -20
  70. package/dist/chunks/{pty-g049fyg0.js → session-6pfqvbnd.js} +15 -15
  71. package/dist/chunks/{pty-6xb47vfp.js → session-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{pty-775gj3j1.js → session-775gj3j1.js} +2 -2
  73. package/dist/chunks/{pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{pty-7dqw4kz8.js → session-7dqw4kz8.js} +1 -1
  75. package/dist/chunks/{pty-e5dabrwz.js → session-7xhb0h81.js} +10 -10
  76. package/dist/chunks/{pty-vbfgae2j.js → session-80scg3y3.js} +4 -4
  77. package/dist/chunks/{pty-84txncab.js → session-84txncab.js} +1 -1
  78. package/dist/chunks/{pty-axj4d8xa.js → session-862h3nm6.js} +29 -29
  79. package/dist/chunks/{pty-rnmvysgz.js → session-86pdatkp.js} +4 -4
  80. package/dist/chunks/{pty-b5k0m31y.js → session-8brhg9gd.js} +5 -5
  81. package/dist/chunks/{pty-sajpmnx7.js → session-8gm89svk.js} +9 -9
  82. package/dist/chunks/{pty-aqrjem7b.js → session-8kce9k65.js} +17 -17
  83. package/dist/chunks/{pty-8m6m0r52.js → session-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{pty-4esk8sqt.js → session-8p5w1198.js} +13 -13
  85. package/dist/chunks/{pty-c29rd6g0.js → session-8q840yff.js} +5 -5
  86. package/dist/chunks/{pty-py3kkmfq.js → session-8sze2n9a.js} +6 -6
  87. package/dist/chunks/{pty-ybqv58y2.js → session-8tsj1m47.js} +20 -20
  88. package/dist/chunks/{pty-va5r0dq2.js → session-8v3yhwhh.js} +6 -6
  89. package/dist/chunks/{pty-91qna3x0.js → session-91qna3x0.js} +3 -3
  90. package/dist/chunks/session-94980zjp.js +26 -0
  91. package/dist/chunks/{pty-967benbv.js → session-967benbv.js} +3 -3
  92. package/dist/chunks/{pty-4z5pf2em.js → session-9agccwyy.js} +17 -17
  93. package/dist/chunks/{pty-5w01hbp6.js → session-9hcsvc1w.js} +11 -11
  94. package/dist/chunks/{pty-3cxe0ccz.js → session-9q1wa8jt.js} +32 -32
  95. package/dist/chunks/{pty-cansen50.js → session-9vk1592k.js} +8 -8
  96. package/dist/chunks/{pty-gd41frsq.js → session-abaq9b06.js} +14 -14
  97. package/dist/chunks/{pty-mxvxcxwy.js → session-addxnjmp.js} +4 -4
  98. package/dist/chunks/{pty-qfrtht0v.js → session-agk19fa8.js} +22 -22
  99. package/dist/chunks/{pty-hgpdn4cj.js → session-as8m02yv.js} +11 -11
  100. package/dist/chunks/{pty-88sqq7ae.js → session-b04b9d83.js} +32 -32
  101. package/dist/chunks/{pty-sq9yydtn.js → session-b5yk1hqp.js} +21 -21
  102. package/dist/chunks/{pty-bacj9t34.js → session-bxqk5pf5.js} +9 -9
  103. package/dist/chunks/{pty-1ep4rre3.js → session-bzeyqsqd.js} +4 -4
  104. package/dist/chunks/{pty-2yf9htnm.js → session-c18t8pvx.js} +2 -2
  105. package/dist/chunks/{pty-c1fqxshp.js → session-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{pty-e80seqcp.js → session-c7zza6wf.js} +3 -3
  107. package/dist/chunks/{pty-1kmnnw2n.js → session-ce4hwwhq.js} +43 -43
  108. package/dist/chunks/{pty-fwkr8rng.js → session-cez5dwy3.js} +30 -30
  109. package/dist/chunks/{pty-68tnz3e8.js → session-cg5h75qc.js} +11 -11
  110. package/dist/chunks/{pty-xhfpyqwv.js → session-cqcy70tc.js} +11 -11
  111. package/dist/chunks/{pty-x21xsnty.js → session-cxwvzxhj.js} +5 -5
  112. package/dist/chunks/{pty-d1a28jh7.js → session-d1a28jh7.js} +2 -2
  113. package/dist/chunks/{pty-6cywv53g.js → session-d1f9rhhf.js} +7 -7
  114. package/dist/chunks/{pty-tafwdsvs.js → session-d6q61fm2.js} +3 -3
  115. package/dist/chunks/{pty-kj9v1f3y.js → session-da45etm6.js} +6 -6
  116. package/dist/chunks/{pty-apzkc9dc.js → session-dca9d40p.js} +1 -1
  117. package/dist/chunks/{pty-s7r2tet0.js → session-dg0rkqzx.js} +22 -22
  118. package/dist/chunks/{pty-4g4s6x68.js → session-dkgd9azv.js} +17 -17
  119. package/dist/chunks/{pty-p1rwgv3d.js → session-dnaktzx4.js} +11 -11
  120. package/dist/chunks/{pty-y71avatq.js → session-dpkg50ah.js} +4 -4
  121. package/dist/chunks/{pty-3b9qt4hj.js → session-e0r7vjdq.js} +9 -9
  122. package/dist/chunks/{pty-hfeceh65.js → session-e8k48h08.js} +27 -27
  123. package/dist/chunks/{pty-eej6y6fw.js → session-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{pty-jr8d78rx.js → session-enwhczs2.js} +15 -15
  126. package/dist/chunks/{pty-ypxfhh66.js → session-eqnnydzc.js} +28 -28
  127. package/dist/chunks/{pty-jgvqkc2b.js → session-ev9k4mrx.js} +4 -4
  128. package/dist/chunks/{pty-0s4jjkv3.js → session-ewfnkn6y.js} +19 -19
  129. package/dist/chunks/{pty-9m6qkdem.js → session-exb59042.js} +18 -18
  130. package/dist/chunks/{pty-5xtgfte3.js → session-eys57y9b.js} +8 -8
  131. package/dist/chunks/{pty-cvftb236.js → session-f012ygas.js} +37 -37
  132. package/dist/chunks/{pty-zxxshg8d.js → session-f3g5pb33.js} +13 -13
  133. package/dist/chunks/{pty-d0epqsfp.js → session-f6jvbd2v.js} +50 -50
  134. package/dist/chunks/{pty-phb1sbsg.js → session-f9cb0gdc.js} +11 -11
  135. package/dist/chunks/{pty-vqjddh0d.js → session-fcgx0dst.js} +4 -4
  136. package/dist/chunks/{pty-fcy631f0.js → session-fcy631f0.js} +1 -1
  137. package/dist/chunks/{pty-k2yecyca.js → session-fk14zqh2.js} +33 -33
  138. package/dist/chunks/{pty-ysa5gsqv.js → session-fkvrqgqc.js} +26 -26
  139. package/dist/chunks/{pty-65wgkzmg.js → session-fmxhz0ed.js} +3 -3
  140. package/dist/chunks/{pty-ggbzsg95.js → session-fn4gymmk.js} +37 -37
  141. package/dist/chunks/{pty-ywxwm15a.js → session-fsgzxg71.js} +29 -29
  142. package/dist/chunks/{pty-hfbyhya8.js → session-fww2ha2b.js} +9 -9
  143. package/dist/chunks/{pty-6yvmd6g0.js → session-g4n46pfk.js} +5 -5
  144. package/dist/chunks/{pty-hzaj131z.js → session-g5fxy2nq.js} +20 -20
  145. package/dist/chunks/{pty-7k3t91vn.js → session-g6y13qfj.js} +12 -12
  146. package/dist/chunks/{pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{pty-bfabrp63.js → session-gdr7yah3.js} +7 -7
  148. package/dist/chunks/{pty-s857ash9.js → session-gfhhve88.js} +5 -5
  149. package/dist/chunks/{pty-9xagcj41.js → session-ghan5k7b.js} +21 -21
  150. package/dist/chunks/{pty-909p1r3q.js → session-gjmk74th.js} +6 -6
  151. package/dist/chunks/{pty-v7xcn73q.js → session-gsnyd5qq.js} +7 -7
  152. package/dist/chunks/{pty-r04b27we.js → session-gzcba4vr.js} +12 -12
  153. package/dist/chunks/{pty-ret9kwh0.js → session-h3tx34cy.js} +26 -26
  154. package/dist/chunks/{pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{pty-d0we51xq.js → session-haqdfn7v.js} +4 -4
  156. package/dist/chunks/{pty-835y3cmd.js → session-hd1aqq8x.js} +21 -21
  157. package/dist/chunks/{pty-fce1ctzp.js → session-hergaw3m.js} +30 -30
  158. package/dist/chunks/{pty-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{pty-6q74b9t9.js → session-hk296knv.js} +21 -21
  160. package/dist/chunks/{pty-yn45kn81.js → session-hz2pkg7k.js} +37 -37
  161. package/dist/chunks/{pty-c2qwrsdn.js → session-j3j3tgj2.js} +13 -13
  162. package/dist/chunks/{pty-yqc6bamn.js → session-jhdf29st.js} +1 -1
  163. package/dist/chunks/session-jn394qkt.js +257 -0
  164. package/dist/chunks/{pty-628d53px.js → session-jpwn6maq.js} +18 -18
  165. package/dist/chunks/{pty-7dks1d1n.js → session-jqnfqjgv.js} +6 -6
  166. package/dist/chunks/{pty-s88jxsq4.js → session-jryhjkqt.js} +18 -18
  167. package/dist/chunks/{pty-n8j0ad3c.js → session-k00vd9yt.js} +3 -3
  168. package/dist/chunks/{pty-eqhzy62x.js → session-k6xgswqm.js} +15 -15
  169. package/dist/chunks/{pty-tnmnn7e4.js → session-k9ydqtpd.js} +28 -28
  170. package/dist/chunks/{pty-rwkv9rtx.js → session-kcgypbnv.js} +12 -12
  171. package/dist/chunks/{pty-st0368v5.js → session-kcvqd0yj.js} +3 -3
  172. package/dist/chunks/{pty-hq3c8me3.js → session-khmqacep.js} +4 -4
  173. package/dist/chunks/{pty-h2tq07ke.js → session-khsaz5gh.js} +11 -11
  174. package/dist/chunks/{pty-awrjh9yh.js → session-kks9pmtp.js} +5 -5
  175. package/dist/chunks/{pty-kqv3x6rj.js → session-kqv3x6rj.js} +1 -1
  176. package/dist/chunks/{pty-kqx1b4hy.js → session-kqx1b4hy.js} +4 -4
  177. package/dist/chunks/{pty-gv7bhpe8.js → session-kwad1sh5.js} +11 -11
  178. package/dist/chunks/{pty-kwb1v3vj.js → session-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{pty-efs6wv9h.js → session-m2bzzt7p.js} +17 -17
  180. package/dist/chunks/{pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{pty-maspj1v3.js → session-maspj1v3.js} +1 -1
  182. package/dist/chunks/{pty-kmz0bz7s.js → session-mh2c4tf6.js} +18 -18
  183. package/dist/chunks/{pty-hghq5j4z.js → session-mj9acvkp.js} +5 -5
  184. package/dist/chunks/{pty-nmbh15fm.js → session-mswhj28y.js} +9 -9
  185. package/dist/chunks/{pty-7baah2nz.js → session-mtq2a6qw.js} +8 -8
  186. package/dist/chunks/{pty-8whp40kv.js → session-my4zabxr.js} +3 -3
  187. package/dist/chunks/{pty-4fnc5vpd.js → session-n0p6n9yd.js} +16 -16
  188. package/dist/chunks/{pty-2wak32hr.js → session-n21nsqmk.js} +85 -85
  189. package/dist/chunks/{pty-z6c3x22d.js → session-n8vdnqrc.js} +5 -5
  190. package/dist/chunks/session-n95b3jav.js +18 -0
  191. package/dist/chunks/{pty-rbnwg7cj.js → session-n9aa8gpn.js} +21 -21
  192. package/dist/chunks/{pty-y14wdc3z.js → session-nczg9rr4.js} +11 -11
  193. package/dist/chunks/{pty-z09azjc0.js → session-ngqa5r6j.js} +27 -27
  194. package/dist/chunks/{pty-g72yd4k4.js → session-nj7hqrdc.js} +5 -5
  195. package/dist/chunks/{pty-kxx41s58.js → session-p02qf9jk.js} +27 -27
  196. package/dist/chunks/{pty-1cy1fvz2.js → session-p9dp5wjj.js} +21 -21
  197. package/dist/chunks/{pty-p2ccqsff.js → session-pfapc97p.js} +31 -31
  198. package/dist/chunks/{pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{pty-pknna89w.js → session-pknna89w.js} +1 -1
  200. package/dist/chunks/{pty-rcgycnpc.js → session-px00td3z.js} +16 -16
  201. package/dist/chunks/{pty-vqeq0fhp.js → session-qe2098pz.js} +67 -67
  202. package/dist/chunks/{pty-gfwb8sf1.js → session-qgepxjn7.js} +14 -14
  203. package/dist/chunks/{pty-njarxngx.js → session-qgr7av2x.js} +17 -17
  204. package/dist/chunks/{pty-94204gn9.js → session-qhrz5aa9.js} +11 -11
  205. package/dist/chunks/{pty-pa5kwetm.js → session-qjjvmkez.js} +33 -33
  206. package/dist/chunks/{pty-3s2wwjdv.js → session-qktydkdn.js} +4 -4
  207. package/dist/chunks/{pty-qnc92qwc.js → session-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{pty-58h69jjx.js → session-qqkvqanz.js} +15 -15
  209. package/dist/chunks/{pty-66etgr7v.js → session-qs21f0r9.js} +3 -3
  210. package/dist/chunks/{pty-qsdy395h.js → session-qsdy395h.js} +1 -1
  211. package/dist/chunks/{pty-amwms54f.js → session-qvyqg8gm.js} +13 -13
  212. package/dist/chunks/{pty-409dx5e0.js → session-r5raa72y.js} +11 -11
  213. package/dist/chunks/{pty-a7a43a3w.js → session-r882nb6z.js} +25 -25
  214. package/dist/chunks/{pty-qa3qhgw8.js → session-ratrq7cm.js} +4 -4
  215. package/dist/chunks/{pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{pty-rert0e01.js → session-rert0e01.js} +2 -2
  217. package/dist/chunks/{pty-rhjbct0v.js → session-rhjbct0v.js} +1 -1
  218. package/dist/chunks/{pty-rj3eygr5.js → session-rj3eygr5.js} +2 -2
  219. package/dist/chunks/{pty-wps1s803.js → session-rndmd9qn.js} +11 -11
  220. package/dist/chunks/{pty-81y4a27x.js → session-s05c17h6.js} +45 -45
  221. package/dist/chunks/{pty-s8pxmgfm.js → session-s6fcfta3.js} +50 -50
  222. package/dist/chunks/{pty-7ppyhzjx.js → session-s9w6dcwz.js} +8 -8
  223. package/dist/chunks/{pty-sa8ekw3f.js → session-sa8ekw3f.js} +2 -2
  224. package/dist/chunks/{pty-80xcpyq8.js → session-sc3918bk.js} +28 -28
  225. package/dist/chunks/{pty-b0jp0bej.js → session-sd2td5y5.js} +26 -26
  226. package/dist/chunks/{pty-zysym8wc.js → session-sdy5e9j6.js} +26 -26
  227. package/dist/chunks/{pty-syv4x271.js → session-syv4x271.js} +1 -1
  228. package/dist/chunks/{pty-x4yz0ptf.js → session-t6g1jfs3.js} +24 -24
  229. package/dist/chunks/{pty-fkbnvjhs.js → session-t83w76t6.js} +31 -31
  230. package/dist/chunks/{pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{pty-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{pty-tdstcens.js → session-tdstcens.js} +1 -1
  233. package/dist/chunks/{pty-97s3qq9m.js → session-tkz47yyb.js} +11 -11
  234. package/dist/chunks/{pty-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{pty-tyytaxap.js → session-tyytaxap.js} +1 -1
  236. package/dist/chunks/{pty-v210v162.js → session-v210v162.js} +2 -2
  237. package/dist/chunks/{pty-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{pty-veqvce7d.js → session-veqvce7d.js} +1 -1
  239. package/dist/chunks/{pty-b2n2c3pj.js → session-vmbk5pfd.js} +18 -18
  240. package/dist/chunks/{pty-r84pq0rk.js → session-vn7k2bc5.js} +9 -9
  241. package/dist/chunks/{pty-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{pty-332j5t5e.js → session-w2sa9xym.js} +81 -81
  243. package/dist/chunks/{pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{pty-rbakw9sr.js → session-w8b5k5d2.js} +21 -21
  245. package/dist/chunks/{pty-v7z2bvyd.js → session-wa9g86nq.js} +4 -4
  246. package/dist/chunks/{pty-qfw355cv.js → session-watezc7p.js} +31 -31
  247. package/dist/chunks/{pty-e0qr5ad7.js → session-wbkqhk2q.js} +25 -25
  248. package/dist/chunks/{pty-wd87259q.js → session-wd87259q.js} +1 -1
  249. package/dist/chunks/{pty-1gwhweqv.js → session-wejfqd9f.js} +10 -10
  250. package/dist/chunks/{pty-jmzfcjas.js → session-wf108j3e.js} +39 -39
  251. package/dist/chunks/{pty-zmkc6qbt.js → session-wfard4pc.js} +6 -6
  252. package/dist/chunks/{pty-pqkvj9g1.js → session-whe4s1vj.js} +16 -16
  253. package/dist/chunks/{pty-bjx1sjef.js → session-wjr9rjd7.js} +6 -6
  254. package/dist/chunks/{pty-3zk10d63.js → session-wp62vqme.js} +14 -14
  255. package/dist/chunks/{pty-kzp2p6b7.js → session-x6sem8n5.js} +5 -5
  256. package/dist/chunks/{pty-xfkkasph.js → session-xfkkasph.js} +1 -1
  257. package/dist/chunks/{pty-h71w788e.js → session-xrpg47n6.js} +8 -8
  258. package/dist/chunks/{pty-7a63cxzq.js → session-xydrb0ad.js} +15 -15
  259. package/dist/chunks/{pty-n96cp4bh.js → session-xzpjvyk2.js} +8 -8
  260. package/dist/chunks/{pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{pty-fncnja3r.js → session-ya7v8pa6.js} +17 -17
  262. package/dist/chunks/{pty-jd7jt2a4.js → session-yazn1tma.js} +9 -9
  263. package/dist/chunks/{pty-hst5n1cs.js → session-yf2bqd56.js} +15 -15
  264. package/dist/chunks/{pty-1ycz83fm.js → session-yf51b59p.js} +18 -18
  265. package/dist/chunks/{pty-0gva8j83.js → session-yvh49skv.js} +2 -2
  266. package/dist/chunks/{pty-m997ahh4.js → session-yw007w31.js} +12 -12
  267. package/dist/chunks/{pty-bdcde2ps.js → session-yxrq5erg.js} +9 -9
  268. package/dist/chunks/{pty-vgdf0v3q.js → session-yy7wc007.js} +46 -46
  269. package/dist/chunks/{pty-1qawy49j.js → session-yypzdess.js} +11 -11
  270. package/dist/chunks/{pty-m79dkcvs.js → session-z08z4p0e.js} +8 -8
  271. package/dist/chunks/{pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{pty-cf5e3918.js → session-z3109zf2.js} +27 -27
  273. package/dist/chunks/{pty-0dcab6yb.js → session-z4aqbkag.js} +12 -12
  274. package/dist/chunks/{pty-bd0ch2rs.js → session-z4w8jxd4.js} +14 -14
  275. package/dist/chunks/{pty-1bqj5c5m.js → session-z76gnw33.js} +13 -13
  276. package/dist/chunks/{pty-qcfsp7vy.js → session-z83t720x.js} +22 -22
  277. package/dist/chunks/{pty-zvt5dnpc.js → session-zav06jzw.js} +4 -4
  278. package/dist/chunks/{pty-e2f4d7w4.js → session-zb9j69mf.js} +20 -20
  279. package/dist/chunks/{pty-r8mqjg1b.js → session-zecy2z88.js} +5 -5
  280. package/dist/chunks/{pty-83gy3yq2.js → session-zmbbg33t.js} +19 -19
  281. package/dist/chunks/{pty-58hng72m.js → session-zmhzecev.js} +5 -5
  282. package/dist/chunks/{pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{pty-67ajme4p.js → session-zx7w6cqk.js} +7 -7
  284. package/dist/chunks/{pty-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{pty-072y95tq.js → session-zxzqcmty.js} +7 -7
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +3 -3
  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 +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +208 -208
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  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-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +138 -138
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +117 -117
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +115 -115
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +94 -94
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +7 -7
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +80 -80
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +88 -88
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +6 -6
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +109 -109
  471. package/dist/mcp/instructions.js +127 -127
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +98 -98
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +103 -103
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +84 -84
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +109 -109
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +88 -88
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +78 -78
  490. package/dist/plugin/command.js +104 -104
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +115 -115
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +118 -118
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +123 -123
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +4 -4
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +219 -219
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +101 -101
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +101 -101
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +89 -89
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +134 -134
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +157 -157
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +79 -79
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +5 -5
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +212 -212
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +7 -7
  627. package/dist/shell.js +130 -130
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +126 -126
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +120 -120
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +209 -209
  648. package/dist/tool/plugin/webfetch.js +110 -110
  649. package/dist/tool/plugin/websearch.js +116 -116
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +3 -3
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +1 -1
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +88 -88
  677. package/dist/websearch.js +82 -82
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +81 -81
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +82 -82
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +98 -98
  688. package/package.json +8 -8
  689. package/dist/chunks/pty-9sh4wc5j.js +0 -18
  690. package/dist/chunks/pty-dexk7st3.js +0 -26
  691. package/dist/chunks/pty-h75fbyn9.js +0 -257
  692. /package/dist/chunks/{pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{pty-24dcb14g.js → session-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{pty-2710q6r3.js → session-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{pty-2bv980vf.js → session-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{pty-359p4xyc.js → session-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{pty-3asan66x.js → session-3asan66x.js} +0 -0
  704. /package/dist/chunks/{pty-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{pty-53557ph1.js → session-53557ph1.js} +0 -0
  712. /package/dist/chunks/{pty-550bvhaj.js → session-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{pty-6prwharc.js → session-6prwharc.js} +0 -0
  714. /package/dist/chunks/{pty-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  715. /package/dist/chunks/{pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{pty-7m9af43g.js → session-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{pty-822emrt2.js → session-822emrt2.js} +0 -0
  718. /package/dist/chunks/{pty-84wd9syh.js → session-84wd9syh.js} +0 -0
  719. /package/dist/chunks/{pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{pty-8n3pysct.js → session-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  722. /package/dist/chunks/{pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{pty-af5trqkr.js → session-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{pty-afrmfg78.js → session-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{pty-d9fn303g.js → session-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{pty-dajrwvna.js → session-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{pty-dap0rakb.js → session-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{pty-df08tz66.js → session-df08tz66.js} +0 -0
  738. /package/dist/chunks/{pty-dy18nga0.js → session-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{pty-e3qxr5gk.js → session-e3qxr5gk.js} +0 -0
  740. /package/dist/chunks/{pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{pty-ec1grn59.js → session-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{pty-faypxj3z.js → session-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{pty-fd410y7t.js → session-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{pty-g86h250q.js → session-g86h250q.js} +0 -0
  751. /package/dist/chunks/{pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{pty-gftt206x.js → session-gftt206x.js} +0 -0
  753. /package/dist/chunks/{pty-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{pty-hk9envan.js → session-hk9envan.js} +0 -0
  755. /package/dist/chunks/{pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{pty-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{pty-m18g726c.js → session-m18g726c.js} +0 -0
  763. /package/dist/chunks/{pty-mp448xyj.js → session-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{pty-njntx4h6.js → session-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{pty-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{pty-pyv0edze.js → session-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{pty-q74kybfr.js → session-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{pty-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{pty-w803qqfp.js → session-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{pty-wjj7prxr.js → session-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{pty-wtztk69x.js → session-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{pty-x61499pn.js → session-x61499pn.js} +0 -0
  788. /package/dist/chunks/{pty-y44na4kk.js → session-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{pty-y8f7s663.js → session-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{pty-ym463w8f.js → session-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{pty-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{pty-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,108 +1,108 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./pty-66etgr7v.js";
4
+ } from "./session-qs21f0r9.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./pty-jgvqkc2b.js";
8
+ } from "./session-ev9k4mrx.js";
9
9
  import {
10
10
  SessionMessage2
11
- } from "./pty-gftt206x.js";
11
+ } from "./session-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./pty-va5r0dq2.js";
14
+ } from "./session-8v3yhwhh.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./pty-ec1grn59.js";
17
+ } from "./session-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./pty-c1fqxshp.js";
20
+ } from "./session-c1fqxshp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./pty-kqx1b4hy.js";
23
+ } from "./session-kqx1b4hy.js";
24
24
  import {
25
25
  provenance2
26
- } from "./pty-h9wp8z5w.js";
26
+ } from "./session-5dkn69vz.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./pty-brpn0yq7.js";
30
+ } from "./session-2d3jn16n.js";
31
31
  import {
32
- Service62,
33
- node65
34
- } from "./pty-72b35rd4.js";
32
+ Service55,
33
+ node58
34
+ } from "./session-5vpbbhng.js";
35
35
  import {
36
- Service14,
37
- node16
38
- } from "./pty-kxx41s58.js";
36
+ Service19,
37
+ node21
38
+ } from "./session-p02qf9jk.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./pty-775gj3j1.js";
41
+ } from "./session-775gj3j1.js";
42
42
  import {
43
- Service36,
44
- node39
45
- } from "./pty-hgpdn4cj.js";
43
+ Service38,
44
+ node42
45
+ } from "./session-as8m02yv.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./pty-fkbnvjhs.js";
48
+ } from "./session-t83w76t6.js";
49
49
  import {
50
- make9
51
- } from "./pty-fn9t717r.js";
50
+ make10
51
+ } from "./session-25yddszk.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./pty-awrjh9yh.js";
54
+ } from "./session-kks9pmtp.js";
55
55
  import {
56
56
  Service9,
57
57
  node11,
58
58
  estimatePrompt2
59
- } from "./pty-14wynrn6.js";
59
+ } from "./session-1ttt7q4w.js";
60
60
  import {
61
- Service28,
62
- node31
63
- } from "./pty-332j5t5e.js";
61
+ Service32,
62
+ node36
63
+ } from "./session-w2sa9xym.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./pty-z0scchpv.js";
68
+ } from "./session-6ben36ke.js";
69
69
  import {
70
- Service2,
70
+ Service10,
71
71
  isUntitled2,
72
- node3
73
- } from "./pty-ret9kwh0.js";
72
+ node12
73
+ } from "./session-h3tx34cy.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service44
77
- } from "./pty-zvt5dnpc.js";
76
+ Service48
77
+ } from "./session-zav06jzw.js";
78
78
  import {
79
- node85
80
- } from "./pty-b0jp0bej.js";
79
+ node48
80
+ } from "./session-sd2td5y5.js";
81
81
  import {
82
- node76
83
- } from "./pty-wps1s803.js";
82
+ node71
83
+ } from "./session-rndmd9qn.js";
84
84
  import {
85
85
  Outcome2,
86
- make3
87
- } from "./pty-ybqv58y2.js";
86
+ make9
87
+ } from "./session-8tsj1m47.js";
88
88
  import {
89
- Service32
90
- } from "./pty-9sh4wc5j.js";
89
+ Service39
90
+ } from "./session-n95b3jav.js";
91
91
  import {
92
- node18
93
- } from "./pty-kmz0bz7s.js";
92
+ node24
93
+ } from "./session-mh2c4tf6.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
- } from "./pty-y44na4kk.js";
96
+ } from "./session-y44na4kk.js";
97
97
  import {
98
98
  __export
99
- } from "./pty-9rqn6x4v.js";
99
+ } from "./session-9rqn6x4v.js";
100
100
 
101
101
  // src/session/runner/llm.ts
102
102
  var exports_llm = {};
103
103
  __export(exports_llm, {
104
104
  SessionRunnerLLM: () => exports_llm,
105
- node: () => node2
105
+ node: () => node10
106
106
  });
107
107
  import { Message } from "@opencode/ai";
108
108
  import { and, desc, eq, inArray, sql } from "drizzle-orm";
@@ -110,17 +110,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
112
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
113
- var layer = Layer.effect(Service44, Effect.gen(function* () {
113
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
114
114
  const bus = yield* Service85;
115
- const lifecycle = yield* Service14;
116
- const store = yield* Service62;
117
- const context = yield* Service28;
118
- const modelTransport = yield* Service36;
115
+ const lifecycle = yield* Service19;
116
+ const store = yield* Service55;
117
+ const context = yield* Service32;
118
+ const modelTransport = yield* Service38;
119
119
  const db = (yield* Service86).db;
120
120
  const compaction = yield* Service9;
121
- const plugins = yield* Service32;
122
- const title = yield* Service2;
123
- const steps = yield* make3;
121
+ const plugins = yield* Service39;
122
+ const title = yield* Service10;
123
+ const steps = yield* make9;
124
124
  const titles = yield* FiberMap.make();
125
125
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
126
126
  const sessionID = input.sessionID;
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
241
241
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
242
242
  const sessionID = first.session.id;
243
243
  let assistantMessageID = SessionMessage2.ID.create();
244
- const retry = yield* make9(bus, sessionID);
244
+ const retry = yield* make10(bus, sessionID);
245
245
  let initial = first;
246
246
  let recoverOverflow = true;
247
247
  let recoverContinuation = true;
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
373
373
  }
374
374
  }
375
375
  });
376
- return Service44.of({ drain });
376
+ return Service48.of({ drain });
377
377
  }));
378
- var node2 = makeLocationNode({
379
- service: Service44,
378
+ var node10 = makeLocationNode({
379
+ service: Service48,
380
380
  layer,
381
381
  deps: [
382
382
  node89,
383
- node16,
383
+ node21,
384
384
  llmClient2,
385
- node31,
386
- node39,
387
- node65,
385
+ node36,
386
+ node42,
387
+ node58,
388
388
  node11,
389
- node18,
390
- node3,
391
- node85,
392
- node76,
389
+ node24,
390
+ node12,
391
+ node48,
392
+ node71,
393
393
  node90
394
394
  ]
395
395
  });
396
396
 
397
- export { node2, exports_llm };
397
+ export { node10, exports_llm };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  lazy2
3
- } from "./pty-88xbtdfr.js";
3
+ } from "./session-88xbtdfr.js";
4
4
  import {
5
5
  load5
6
- } from "./pty-e3qxr5gk.js";
6
+ } from "./session-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./session-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
@@ -14,7 +14,7 @@ __export(exports_watcher, {
14
14
  Event: () => Event14,
15
15
  Native: () => Native3,
16
16
  Options: () => Options8,
17
- Service: () => Service68,
17
+ Service: () => Service70,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
@@ -22,7 +22,7 @@ __export(exports_watcher, {
22
22
  layer: () => layer27,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node71,
25
+ node: () => node73,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Watcher") {
60
+ class Service70 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer27 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer27 = (options) => Layer.effect(Service70, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer27 = (options) => Layer.effect(Service68, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service68.of({ subscribe });
108
+ return Service70.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
131
131
  });
132
132
  const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service68).subscribe,
134
+ subscribe: Context.get(context, Service70).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer27(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service70, layer: layer27(options), deps: [nativeNode2] });
169
169
  }
170
- var node71 = configured9();
170
+ var node73 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event14, hasNativeBinding2, Native3, Options8, Service68, Test3, layer27, testLayer3, nativeLayer2, nativeNode2, configured9, node71, exports_watcher };
190
+ export { Event14, hasNativeBinding2, Native3, Options8, Service70, Test3, layer27, testLayer3, nativeLayer2, nativeNode2, configured9, node73, exports_watcher };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./pty-z5v4ffb3.js";
5
+ } from "./session-z5v4ffb3.js";
6
6
  import {
7
- Service74,
8
- node77
9
- } from "./pty-sq9yydtn.js";
7
+ Service71,
8
+ node74
9
+ } from "./session-b5yk1hqp.js";
10
10
  import {
11
- Content3
12
- } from "./pty-qfw355cv.js";
11
+ Content2
12
+ } from "./session-watezc7p.js";
13
13
  import {
14
14
  detect2
15
- } from "./pty-3smtnn6g.js";
15
+ } from "./session-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service8,
36
+ Service: () => Service13,
37
37
  TextPage: () => TextPage2,
38
- node: () => node10,
38
+ node: () => node15,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service13 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service8, Effect.gen(function* () {
334
- const environment = yield* Service74;
335
- return Service8.of({
333
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
334
+ const environment = yield* Service71;
335
+ return Service13.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node10 = makeLocationNode({ service: Service8, layer, deps: [node77] });
340
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node74] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-fhh11s5w.js";
3
+ } from "./session-08mhz53j.js";
4
4
  import {
5
5
  OAuth3,
6
- Service72
7
- } from "./pty-yfzaheh6.js";
6
+ Service80
7
+ } from "./session-5v2ab2mm.js";
8
8
  import {
9
- ID11,
9
+ ID14,
10
10
  MethodID2
11
- } from "./pty-ysa5gsqv.js";
11
+ } from "./session-fkvrqgqc.js";
12
12
  import {
13
- ID10,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./pty-cf5e3918.js";
15
+ } from "./session-z3109zf2.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 = ID10.make("xai");
27
+ var providerID = ID13.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: ID11.make("xai"),
47
+ integrationID: ID14.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* Service72;
73
- yield* Effect.forEach(yield* credentials.list(ID11.make("xai")), (credential) => {
72
+ const credentials = yield* Service80;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.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,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./pty-hgz4x7wa.js";
3
+ } from "./session-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./pty-z5v4ffb3.js";
6
+ } from "./session-z5v4ffb3.js";
7
7
  import {
8
8
  Service82
9
- } from "./pty-2yf9htnm.js";
9
+ } from "./session-c18t8pvx.js";
10
10
  import {
11
- Service74
12
- } from "./pty-sq9yydtn.js";
11
+ Service71
12
+ } from "./session-b5yk1hqp.js";
13
13
  import {
14
- Service56
15
- } from "./pty-pp87jdt4.js";
14
+ Service29
15
+ } from "./session-5sajzfvj.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./pty-qfw355cv.js";
21
+ } from "./session-watezc7p.js";
22
22
  import {
23
- Service60
24
- } from "./pty-sn3stvbn.js";
23
+ Service53
24
+ } from "./session-2v5zfjmm.js";
25
25
  import {
26
- Service59
27
- } from "./pty-jr8d78rx.js";
26
+ Service16
27
+ } from "./session-enwhczs2.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./session-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input3,
37
- Output: () => Output3,
38
- Plugin: () => Plugin20,
39
- name: () => name3,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input7,
37
+ Output: () => Output4,
38
+ Plugin: () => Plugin42,
39
+ name: () => name7,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name3 = "glob";
46
- var Input3 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output4 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin20 = {
66
+ var Plugin42 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service74;
70
- const ripgrep = yield* Service56;
69
+ const environment = yield* Service71;
70
+ const ripgrep = yield* Service29;
71
71
  const location = yield* Service82;
72
- const access = yield* Service59;
73
- const permission = yield* Service60;
72
+ const access = yield* Service16;
73
+ const permission = yield* Service53;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name3,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input3,
79
- output: Output3,
78
+ input: Input7,
79
+ output: Output4,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name3,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin20 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name3, Input3, Output3, toModelContent2, Plugin20, exports_glob };
128
+ export { name7, Input7, Output4, toModelContent4, Plugin42, exports_glob };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service74
3
- } from "./pty-sq9yydtn.js";
2
+ Service71
3
+ } from "./session-b5yk1hqp.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service74;
24
+ const environment = yield* Service71;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";