@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,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-rdw6cm16.js";
3
+ } from "./session-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service42,
14
+ Service: () => Service58,
15
15
  SizeError: () => SizeError2,
16
- node: () => node45
16
+ node: () => node61
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service42 extends Context.Service()("@opencode/Image") {
45
+ class Service58 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service42, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service42.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service58.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node45 = makeLocationNode({ service: Service42, layer, deps: [] });
79
+ var node61 = makeLocationNode({ service: Service58, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service42, node45, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service58, node61, exports_image2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82
3
- } from "./pty-2yf9htnm.js";
3
+ } from "./session-c18t8pvx.js";
4
4
  import {
5
- Service74
6
- } from "./pty-sq9yydtn.js";
5
+ Service71
6
+ } from "./session-b5yk1hqp.js";
7
7
  import {
8
- Service20,
8
+ Service21,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./pty-rwkv9rtx.js";
11
+ } from "./session-kcgypbnv.js";
12
12
  import {
13
- Service64
14
- } from "./pty-69nb7mte.js";
13
+ Service28
14
+ } from "./session-4edjz20g.js";
15
15
  import {
16
- Service60
17
- } from "./pty-sn3stvbn.js";
16
+ Service53
17
+ } from "./session-2v5zfjmm.js";
18
18
  import {
19
- Service59,
19
+ Service16,
20
20
  resolvePath2
21
- } from "./pty-jr8d78rx.js";
21
+ } from "./session-enwhczs2.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./pty-6prwharc.js";
24
+ } from "./session-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./pty-9rqn6x4v.js";
27
+ } from "./session-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input2,
33
+ Input: () => Input4,
34
34
  Output: () => Output2,
35
- Plugin: () => Plugin19,
36
- name: () => name2
35
+ Plugin: () => Plugin39,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name2 = "edit";
43
- var Input2 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -190,20 +190,20 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin19 = {
193
+ var Plugin39 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service59;
197
- const fileMutation = yield* Service20;
198
- const environment = yield* Service74;
199
- const formatter = yield* Service64;
196
+ const access = yield* Service16;
197
+ const fileMutation = yield* Service21;
198
+ const environment = yield* Service71;
199
+ const formatter = yield* Service28;
200
200
  const location = yield* Service82;
201
- const permission = yield* Service60;
201
+ const permission = yield* Service53;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name2,
203
+ name: name4,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input2,
206
+ input: Input4,
207
207
  output: Output2,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
@@ -276,4 +276,4 @@ var Plugin19 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name2, Input2, Output2, Plugin19, exports_edit };
279
+ export { name4, Input4, Output2, Plugin39, exports_edit };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./pty-hgz4x7wa.js";
5
+ } from "./session-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./pty-9rqn6x4v.js";
8
+ } from "./session-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./pty-qaymkmh1.js";
3
+ } from "./session-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./pty-vv9rr97d.js";
6
+ } from "./session-34v72sbx.js";
7
7
  import {
8
8
  Service82,
9
9
  node86
10
- } from "./pty-2yf9htnm.js";
10
+ } from "./session-c18t8pvx.js";
11
11
  import {
12
- Service60,
13
- node63
14
- } from "./pty-sn3stvbn.js";
12
+ Service53,
13
+ node56
14
+ } from "./session-2v5zfjmm.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./session-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service59,
26
- node: () => node62,
25
+ Service: () => Service16,
26
+ node: () => node18,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service59 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service16 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service59, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
54
  const location = yield* Service82;
55
- const permission = yield* Service60;
55
+ const permission = yield* Service53;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service59.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service16.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node62 = makeLocationNode({ service: Service59, layer, deps: [FSUtil.node, node86, node63] });
106
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node86, node56] });
107
107
 
108
- export { Kind2, ResolveInput2, Service59, resolvePath2, node62, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service16, resolvePath2, node18, exports_file_access };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service60
3
- } from "./pty-sn3stvbn.js";
2
+ Service53
3
+ } from "./session-2v5zfjmm.js";
4
4
  import {
5
- ID4,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service53
10
- } from "./pty-qfrtht0v.js";
9
+ Service46
10
+ } from "./session-agk19fa8.js";
11
11
  import {
12
12
  __export
13
- } from "./pty-9rqn6x4v.js";
13
+ } from "./session-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill2 = {};
17
- __export(exports_skill2, {
18
- Input: () => Input5,
19
- Output: () => Output4,
20
- Plugin: () => Plugin22,
21
- SkillTool: () => exports_skill2,
22
- description: () => description2,
23
- name: () => name5,
16
+ var exports_skill3 = {};
17
+ __export(exports_skill3, {
18
+ Input: () => Input9,
19
+ Output: () => Output6,
20
+ Plugin: () => Plugin44,
21
+ SkillTool: () => exports_skill3,
22
+ description: () => description5,
23
+ name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name5 = "skill";
30
- var Input5 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name9 = "skill";
30
+ var Input9 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output6 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description2 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin22 = {
46
+ var Plugin44 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service53;
51
- const permission = yield* Service60;
50
+ const skills = yield* Service46;
51
+ const permission = yield* Service53;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name5,
53
+ name: name9,
54
54
  options: { codemode: false },
55
- description: description2,
56
- input: Input5,
57
- output: Output4,
55
+ description: description5,
56
+ input: Input9,
57
+ output: Output6,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name5,
64
+ action: name9,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin22 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name5, Input5, Output4, description2, toModelOutput2, Plugin22, exports_skill2 };
82
+ export { name9, Input9, Output6, description5, toModelOutput2, Plugin44, exports_skill3 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./pty-66etgr7v.js";
4
+ } from "./session-qs21f0r9.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./pty-2710q6r3.js";
8
+ } from "./session-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./pty-y71avatq.js";
11
+ } from "./session-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./pty-9rqn6x4v.js";
14
+ } from "./session-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./pty-775gj3j1.js";
3
+ } from "./session-775gj3j1.js";
4
4
  import {
5
- ID11,
6
- Service71,
7
- node74
8
- } from "./pty-ysa5gsqv.js";
5
+ ID14,
6
+ Service78,
7
+ node82
8
+ } from "./session-fkvrqgqc.js";
9
9
  import {
10
10
  __export
11
- } from "./pty-9rqn6x4v.js";
11
+ } from "./session-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service22,
17
+ Service: () => Service20,
18
18
  UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer11,
21
- node: () => node25
20
+ layer: () => layer12,
21
+ node: () => node22
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -37,16 +37,16 @@ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
37
37
  }) {
38
38
  }
39
39
 
40
- class Service22 extends Context.Service()("@opencode/Voice") {
40
+ class Service20 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer11 = Layer.effect(Service22, Effect.gen(function* () {
42
+ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service71;
44
+ const integrations = yield* Service78;
45
45
  const session = Effect.fn("Voice.session")(function* (input) {
46
46
  const engine = Realtime.engine(input.model);
47
47
  if (!engine)
48
48
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
49
- const connection = (yield* integrations.get(ID11.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
49
+ const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
50
  const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
51
51
  if (credential?.type !== "key")
52
52
  return yield* new UnavailableError2({
@@ -55,12 +55,12 @@ var layer11 = Layer.effect(Service22, Effect.gen(function* () {
55
55
  });
56
56
  return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
57
57
  });
58
- return Service22.of({ session });
58
+ return Service20.of({ session });
59
59
  }));
60
- var node25 = makeLocationNode({
61
- service: Service22,
62
- layer: layer11,
63
- deps: [node74, requestExecutor2]
60
+ var node22 = makeLocationNode({
61
+ service: Service20,
62
+ layer: layer12,
63
+ deps: [node82, requestExecutor2]
64
64
  });
65
65
 
66
- export { InvalidRequestError2, UnavailableError2, Service22, layer11, node25, exports_voice };
66
+ export { InvalidRequestError2, UnavailableError2, Service20, layer12, node22, exports_voice };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./pty-jgvqkc2b.js";
4
+ } from "./session-ev9k4mrx.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./session-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,30 +12,30 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
19
+ ID: () => ID15,
20
20
  Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service77,
25
+ Service: () => Service79,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer28,
29
- node: () => node81,
29
+ node: () => node83,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
38
+ var ID15 = Form.ID;
39
39
  var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service77 extends Context.Service()("@opencode/Form") {
82
+ class Service79 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer28 = Layer.effect(Service77, Effect.gen(function* () {
84
+ var layer28 = Layer.effect(Service79, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
@@ -90,7 +90,7 @@ var layer28 = Layer.effect(Service77, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service77, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service77.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service79.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node81 = makeLocationNode({ service: Service77, layer: layer28, deps: [node89] });
167
+ var node83 = makeLocationNode({ service: Service79, layer: layer28, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer28, node81, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer28, node83, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service8,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node9
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service8 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service4,
18
+ var node9 = makeLocationNode({
19
+ service: Service8,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service8, node9, bound2, exports_instance2 };