@opencode/core 0.0.0-dev-20643 → 0.0.0-dev-20648

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-tarna68p.js → pty-0099bvhy.js} +9 -9
  8. package/dist/chunks/{repository-y1w7bwtd.js → pty-09pca8az.js} +22 -22
  9. package/dist/chunks/{repository-ntaqe8vs.js → pty-0akqd5d4.js} +24 -24
  10. package/dist/chunks/{repository-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{repository-41h22fg8.js → pty-0retw3c6.js} +43 -43
  12. package/dist/chunks/{repository-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{repository-1cw3fj19.js → pty-0y9mdftf.js} +3 -3
  14. package/dist/chunks/{repository-27bkxtjt.js → pty-0zrv4f4y.js} +13 -13
  15. package/dist/chunks/{repository-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{repository-q7jxq9y7.js → pty-1nxxv4qb.js} +18 -18
  17. package/dist/chunks/{repository-mxr1v1s0.js → pty-1p7f10vm.js} +8 -8
  18. package/dist/chunks/{repository-wnfszx78.js → pty-1qq73t15.js} +10 -10
  19. package/dist/chunks/{repository-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  20. package/dist/chunks/{repository-1wb0x8n3.js → pty-23897brc.js} +8 -8
  21. package/dist/chunks/{repository-gry8sgkd.js → pty-27qxacty.js} +15 -15
  22. package/dist/chunks/{repository-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{repository-9mxexfbd.js → pty-2hpka7mt.js} +14 -14
  24. package/dist/chunks/{repository-8tsdq50x.js → pty-2k71kv7p.js} +4 -4
  25. package/dist/chunks/{repository-2k8khapm.js → pty-2k8khapm.js} +1 -1
  26. package/dist/chunks/{repository-d4he2qe1.js → pty-2sejkfem.js} +9 -9
  27. package/dist/chunks/{repository-4z7pkycv.js → pty-2vqnfsz1.js} +19 -19
  28. package/dist/chunks/{repository-f8tnf7f1.js → pty-32t0bw84.js} +15 -15
  29. package/dist/chunks/{repository-h2b79v29.js → pty-3cegwx68.js} +2 -2
  30. package/dist/chunks/{repository-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{repository-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{repository-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{repository-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{repository-ywf1kxhz.js → pty-3z4a0cq1.js} +4 -4
  35. package/dist/chunks/{repository-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{repository-rk3ekeb4.js → pty-42q8eg0m.js} +5 -5
  37. package/dist/chunks/{repository-9pymkw0x.js → pty-48km10qy.js} +11 -11
  38. package/dist/chunks/{repository-cs63tcvs.js → pty-4c91ejxn.js} +9 -9
  39. package/dist/chunks/{repository-2t9hnq90.js → pty-4kbb9d62.js} +10 -10
  40. package/dist/chunks/{repository-dbp4m4ge.js → pty-4kc2bv9g.js} +35 -35
  41. package/dist/chunks/{repository-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
  42. package/dist/chunks/{repository-96ctqc5x.js → pty-4wwqnvbr.js} +4 -4
  43. package/dist/chunks/{repository-xhv84ab7.js → pty-53ybeb94.js} +28 -28
  44. package/dist/chunks/{repository-54ma36ye.js → pty-54ma36ye.js} +1 -1
  45. package/dist/chunks/{repository-h2yw0gk4.js → pty-55t9wqe0.js} +17 -17
  46. package/dist/chunks/{repository-5daktx2q.js → pty-5daktx2q.js} +1 -1
  47. package/dist/chunks/{repository-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{repository-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  49. package/dist/chunks/{repository-wnh11861.js → pty-5rpr6ftq.js} +15 -15
  50. package/dist/chunks/{repository-tbs2jyb2.js → pty-5rz2hsq0.js} +7 -7
  51. package/dist/chunks/{repository-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{repository-fe9ffm0w.js → pty-624z605s.js} +18 -18
  53. package/dist/chunks/{repository-ecwx0042.js → pty-67edg2p2.js} +15 -15
  54. package/dist/chunks/{repository-b751st24.js → pty-6fgykvfe.js} +3 -3
  55. package/dist/chunks/{repository-wb70vhte.js → pty-6pdpv8kk.js} +11 -11
  56. package/dist/chunks/{repository-5pptr25h.js → pty-6rhsmm9b.js} +4 -4
  57. package/dist/chunks/{repository-2tyga0yy.js → pty-6tsxpv82.js} +19 -19
  58. package/dist/chunks/{repository-gkcjs2dn.js → pty-6v23mrsw.js} +11 -11
  59. package/dist/chunks/{repository-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{repository-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  61. package/dist/chunks/pty-7fj5dwt0.js +18 -0
  62. package/dist/chunks/{repository-b5f9cqb8.js → pty-7pgwfb4h.js} +30 -30
  63. package/dist/chunks/{repository-vp0q13q8.js → pty-7ppg2tjj.js} +78 -78
  64. package/dist/chunks/pty-7r9y934d.js +253 -0
  65. package/dist/chunks/{repository-1dvck2a7.js → pty-84h8c373.js} +2 -2
  66. package/dist/chunks/{repository-ef2cw19s.js → pty-84pbkp20.js} +12 -12
  67. package/dist/chunks/{repository-84txncab.js → pty-84txncab.js} +1 -1
  68. package/dist/chunks/{repository-j4g697yf.js → pty-874yzzjt.js} +25 -25
  69. package/dist/chunks/{repository-7c08hygz.js → pty-89rvcjqs.js} +11 -11
  70. package/dist/chunks/{repository-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  71. package/dist/chunks/{repository-q7ngdz78.js → pty-8j0pg7vy.js} +26 -26
  72. package/dist/chunks/{repository-fbefb913.js → pty-8jypv1cv.js} +13 -13
  73. package/dist/chunks/{repository-q1srvr66.js → pty-8k3tzzhw.js} +45 -45
  74. package/dist/chunks/{repository-a2ew8a62.js → pty-8rqycdgd.js} +7 -7
  75. package/dist/chunks/{repository-espax8zg.js → pty-8wbxkt1z.js} +4 -4
  76. package/dist/chunks/{repository-5t80mpw4.js → pty-8yen0vmk.js} +19 -19
  77. package/dist/chunks/{repository-ve1j3q85.js → pty-923rcr6j.js} +15 -15
  78. package/dist/chunks/{repository-yfe405ny.js → pty-92n0272q.js} +13 -13
  79. package/dist/chunks/{repository-z6zb16gf.js → pty-97c348b2.js} +30 -30
  80. package/dist/chunks/{repository-aqryd466.js → pty-9cfex9y1.js} +22 -22
  81. package/dist/chunks/{repository-ajh7mqgq.js → pty-9d8x5jdk.js} +32 -32
  82. package/dist/chunks/{repository-zvjhkatg.js → pty-9ex8f1cq.js} +8 -8
  83. package/dist/chunks/{repository-ccn600g9.js → pty-9r9wb4j2.js} +11 -11
  84. package/dist/chunks/{repository-r3c58j5g.js → pty-9rh5dvbx.js} +3 -3
  85. package/dist/chunks/{repository-9815d8pv.js → pty-9se51ysk.js} +30 -30
  86. package/dist/chunks/{repository-atwht7h8.js → pty-9tyz0y11.js} +11 -11
  87. package/dist/chunks/{repository-1bbkgx8g.js → pty-a1gpj94z.js} +3 -3
  88. package/dist/chunks/{repository-h6c2yg5r.js → pty-a2hf6yb4.js} +8 -8
  89. package/dist/chunks/{repository-6cfn1t67.js → pty-a2zg833y.js} +11 -11
  90. package/dist/chunks/{repository-yprc5htm.js → pty-a6syyywt.js} +26 -26
  91. package/dist/chunks/{repository-aaet6srn.js → pty-aaet6srn.js} +2 -2
  92. package/dist/chunks/{repository-8jg22brg.js → pty-ab4j4ym1.js} +321 -321
  93. package/dist/chunks/{repository-f8xdbq78.js → pty-acg7byny.js} +9 -9
  94. package/dist/chunks/{repository-jnevnthy.js → pty-ad0bmy2v.js} +24 -24
  95. package/dist/chunks/{repository-8kys6q5k.js → pty-ad0mmn42.js} +9 -9
  96. package/dist/chunks/{repository-q0cdrezg.js → pty-anfgajne.js} +16 -16
  97. package/dist/chunks/{repository-j3pg2mx4.js → pty-ap8tz65t.js} +3 -3
  98. package/dist/chunks/{repository-4344f0hm.js → pty-ay5x7dxy.js} +36 -36
  99. package/dist/chunks/{repository-66bhq6pp.js → pty-b3jqpnzw.js} +13 -13
  100. package/dist/chunks/pty-b56sn4ad.js +26 -0
  101. package/dist/chunks/{repository-3556dn8t.js → pty-b69jv39p.js} +1 -1
  102. package/dist/chunks/{repository-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{repository-t5483b9c.js → pty-bd8ayshm.js} +4 -4
  104. package/dist/chunks/{repository-c9vhjpyr.js → pty-bmcex1jf.js} +9 -9
  105. package/dist/chunks/{repository-t406fhy5.js → pty-bncrevqt.js} +27 -27
  106. package/dist/chunks/{repository-w5ystqj3.js → pty-bp8hqz04.js} +3 -3
  107. package/dist/chunks/{repository-f0pfhw3c.js → pty-bt3wk4ae.js} +4 -4
  108. package/dist/chunks/{repository-w7a2abxy.js → pty-bvjche96.js} +12 -12
  109. package/dist/chunks/{repository-6x4qebe7.js → pty-bw9phdsx.js} +35 -35
  110. package/dist/chunks/{repository-j58c5xyq.js → pty-bydnjh3t.js} +9 -9
  111. package/dist/chunks/{repository-rpp7c75e.js → pty-c04nv0t5.js} +48 -48
  112. package/dist/chunks/{repository-042aawn8.js → pty-c19p4hyh.js} +23 -23
  113. package/dist/chunks/{repository-7d05dvcz.js → pty-c8449nhm.js} +11 -11
  114. package/dist/chunks/{repository-cfsekr6v.js → pty-cfsekr6v.js} +2 -2
  115. package/dist/chunks/{repository-embw8kgh.js → pty-ckf8nxjz.js} +4 -4
  116. package/dist/chunks/{repository-p42hj8p8.js → pty-cmwkp3r5.js} +8 -8
  117. package/dist/chunks/{repository-7wnc14t4.js → pty-cq5kxxzs.js} +21 -21
  118. package/dist/chunks/{repository-5e49akah.js → pty-csn018d7.js} +47 -47
  119. package/dist/chunks/{repository-5ng375bv.js → pty-ctdhhp9a.js} +30 -30
  120. package/dist/chunks/{repository-vngdzw63.js → pty-cwtckkf6.js} +8 -8
  121. package/dist/chunks/{repository-hryrsgw2.js → pty-d036g1ys.js} +7 -7
  122. package/dist/chunks/{repository-s8v3amej.js → pty-d3mnj8kh.js} +1 -1
  123. package/dist/chunks/{repository-56a9smke.js → pty-d45sg6xs.js} +16 -16
  124. package/dist/chunks/{repository-kxam66j6.js → pty-d7jcpxfr.js} +13 -13
  125. package/dist/chunks/{repository-15q89ad0.js → pty-d7tem15s.js} +15 -15
  126. package/dist/chunks/{repository-eqh5fpv6.js → pty-d8h4y8x2.js} +11 -11
  127. package/dist/chunks/{repository-bzadqhw2.js → pty-da3p7k9k.js} +4 -4
  128. package/dist/chunks/{repository-w6gqnbcy.js → pty-ddy3e1gr.js} +3 -3
  129. package/dist/chunks/{repository-cb3fgacg.js → pty-dhng9vzx.js} +29 -29
  130. package/dist/chunks/{repository-5r637m3f.js → pty-dmpsdkb3.js} +49 -49
  131. package/dist/chunks/{repository-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  132. package/dist/chunks/{repository-g34b934z.js → pty-dppya6f9.js} +22 -22
  133. package/dist/chunks/{repository-mfct962c.js → pty-dshcjhsp.js} +30 -30
  134. package/dist/chunks/{repository-5k54pn5m.js → pty-e04nd2rq.js} +10 -10
  135. package/dist/chunks/{repository-kfj4fg87.js → pty-e3cy6mqt.js} +5 -5
  136. package/dist/chunks/{repository-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{repository-8hjmwb77.js → pty-efk260vg.js} +13 -13
  138. package/dist/chunks/{repository-s9nwmxxs.js → pty-ehypbcz6.js} +30 -30
  139. package/dist/chunks/{repository-8e4wx4g3.js → pty-em95cejf.js} +18 -18
  140. package/dist/chunks/{repository-zd30eb5w.js → pty-emwywv8g.js} +5 -5
  141. package/dist/chunks/{repository-c8bydgjz.js → pty-eqkxs06z.js} +6 -6
  142. package/dist/chunks/{repository-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{repository-azmfd98g.js → pty-ev7nexnv.js} +30 -30
  144. package/dist/chunks/{repository-7z6z4pna.js → pty-f33yc4k3.js} +21 -21
  145. package/dist/chunks/{repository-0h1qn0y5.js → pty-f34j0f4a.js} +10 -10
  146. package/dist/chunks/{repository-71az546q.js → pty-f75zav2x.js} +2 -2
  147. package/dist/chunks/{repository-00e0wh3q.js → pty-f83zg7kr.js} +24 -24
  148. package/dist/chunks/{repository-4cw36es0.js → pty-f8m0k53h.js} +9 -9
  149. package/dist/chunks/{repository-g69c5a8v.js → pty-fggkqnd8.js} +14 -14
  150. package/dist/chunks/{repository-qv02qg64.js → pty-fv8pqfsd.js} +5 -5
  151. package/dist/chunks/{repository-ce3pkz8w.js → pty-g3msn0ej.js} +8 -8
  152. package/dist/chunks/{repository-g5w8qwbj.js → pty-g5w8qwbj.js} +1 -1
  153. package/dist/chunks/{repository-57myy5jh.js → pty-g6yfr6ja.js} +5 -5
  154. package/dist/chunks/{repository-djyq2zct.js → pty-g9jfc9ac.js} +17 -17
  155. package/dist/chunks/{repository-05t95569.js → pty-gap9jj81.js} +18 -18
  156. package/dist/chunks/{repository-rjsk0n41.js → pty-gb39ghec.js} +9 -9
  157. package/dist/chunks/{repository-4ege8dpt.js → pty-gbvzc8kx.js} +20 -20
  158. package/dist/chunks/{repository-qy0n8417.js → pty-gcytf9y4.js} +24 -24
  159. package/dist/chunks/{repository-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{repository-qne3fa44.js → pty-gj71zhbs.js} +5 -5
  161. package/dist/chunks/{repository-b3cm3psy.js → pty-gq70b9ca.js} +7 -7
  162. package/dist/chunks/{repository-ry0xagvq.js → pty-gtmxr1a9.js} +28 -28
  163. package/dist/chunks/{repository-9yxvhatz.js → pty-gzqsmt5r.js} +4 -4
  164. package/dist/chunks/{repository-fj3b7143.js → pty-h462srpz.js} +8 -8
  165. package/dist/chunks/{repository-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{repository-xv90jz4c.js → pty-h921bxg9.js} +11 -11
  167. package/dist/chunks/{repository-wc5p7jf8.js → pty-hqq5g41y.js} +35 -35
  168. package/dist/chunks/{repository-6vnaqa0k.js → pty-hsf7jdvw.js} +30 -30
  169. package/dist/chunks/{repository-my4zabxr.js → pty-hzrfc1p4.js} +3 -3
  170. package/dist/chunks/{repository-x4k83k5f.js → pty-j17byzzq.js} +11 -11
  171. package/dist/chunks/{repository-j56e64zr.js → pty-j56e64zr.js} +1 -1
  172. package/dist/chunks/{repository-k70p9jzb.js → pty-k70p9jzb.js} +2 -2
  173. package/dist/chunks/{repository-0f0pgr2e.js → pty-k9s9h972.js} +3 -3
  174. package/dist/chunks/{repository-9e5bzkjp.js → pty-kb9j3d72.js} +3 -3
  175. package/dist/chunks/{repository-tzy9a5tv.js → pty-kpxf0xq6.js} +22 -22
  176. package/dist/chunks/{repository-483p8dcw.js → pty-ksx0wd75.js} +11 -11
  177. package/dist/chunks/{repository-c20khjev.js → pty-kvvk39gs.js} +21 -21
  178. package/dist/chunks/{repository-1hp58pw3.js → pty-ky8w6whr.js} +6 -6
  179. package/dist/chunks/{repository-hkgfm0m5.js → pty-kyr1z5gy.js} +24 -24
  180. package/dist/chunks/{repository-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{repository-5w6ne2rj.js → pty-m5canyms.js} +11 -11
  182. package/dist/chunks/{repository-s4075y1x.js → pty-m995qhkc.js} +5 -5
  183. package/dist/chunks/{repository-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{repository-hw3ewgqj.js → pty-mb37bn90.js} +11 -11
  185. package/dist/chunks/{repository-pkct850y.js → pty-mjex1bph.js} +41 -41
  186. package/dist/chunks/{repository-hdjgtqrb.js → pty-mjv4r1bw.js} +22 -22
  187. package/dist/chunks/{repository-m44fkk4m.js → pty-mk442ktg.js} +6 -6
  188. package/dist/chunks/{repository-tg6e69q8.js → pty-mt3n9ssm.js} +5 -5
  189. package/dist/chunks/{repository-9mhtj97w.js → pty-mt4678g7.js} +24 -24
  190. package/dist/chunks/{repository-addxnjmp.js → pty-mxvxcxwy.js} +4 -4
  191. package/dist/chunks/{repository-qy06s429.js → pty-nanknxd5.js} +13 -13
  192. package/dist/chunks/{repository-56gyfky0.js → pty-nche7t88.js} +5 -5
  193. package/dist/chunks/{repository-6r4hjhnf.js → pty-ndphwy30.js} +20 -20
  194. package/dist/chunks/{repository-1gfgk62c.js → pty-ngts6ef0.js} +8 -8
  195. package/dist/chunks/{repository-zk46kswf.js → pty-nj17t0gr.js} +14 -14
  196. package/dist/chunks/{repository-32xj3ztx.js → pty-nkxt7aqy.js} +29 -29
  197. package/dist/chunks/{repository-8ee403vh.js → pty-nm21rvpv.js} +11 -11
  198. package/dist/chunks/{repository-h4jx6m0r.js → pty-nxkfy0rg.js} +15 -15
  199. package/dist/chunks/{repository-pg4zag0e.js → pty-p1a0bpjp.js} +21 -21
  200. package/dist/chunks/{repository-q76xcmv9.js → pty-p48syh26.js} +16 -16
  201. package/dist/chunks/{repository-zhwzkc0c.js → pty-p6drkcnf.js} +17 -17
  202. package/dist/chunks/{repository-y16p1w2y.js → pty-ph20cxtq.js} +8 -8
  203. package/dist/chunks/{repository-vqkmcgyv.js → pty-phze5rqg.js} +3 -3
  204. package/dist/chunks/{repository-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{repository-23294nz8.js → pty-pk028k88.js} +26 -26
  206. package/dist/chunks/{repository-pknna89w.js → pty-pknna89w.js} +1 -1
  207. package/dist/chunks/{repository-2455wr4j.js → pty-pr3txkn9.js} +15 -15
  208. package/dist/chunks/{repository-68ga000j.js → pty-q0jcpdgf.js} +48 -48
  209. package/dist/chunks/{repository-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
  210. package/dist/chunks/{repository-j2htzqze.js → pty-q581keqr.js} +2 -2
  211. package/dist/chunks/{repository-yn96zvvk.js → pty-q8zbp1h0.js} +11 -11
  212. package/dist/chunks/{repository-k37ga4vh.js → pty-qeh1kqdq.js} +8 -8
  213. package/dist/chunks/{repository-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{repository-h16n41p4.js → pty-qq6e0a1m.js} +25 -25
  215. package/dist/chunks/{repository-t8n7ymvq.js → pty-qr3e0xf1.js} +6 -6
  216. package/dist/chunks/{repository-t7y8x8j8.js → pty-qs7m5bs1.js} +13 -13
  217. package/dist/chunks/{repository-qsdy395h.js → pty-qsdy395h.js} +1 -1
  218. package/dist/chunks/{repository-jnpqgtt0.js → pty-qtx5aasq.js} +11 -11
  219. package/dist/chunks/{repository-qxjc9qry.js → pty-qxjc9qry.js} +3 -3
  220. package/dist/chunks/{repository-yqt58wae.js → pty-r79jpe1g.js} +11 -11
  221. package/dist/chunks/{repository-1acjjqhc.js → pty-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{repository-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{repository-mn0942hp.js → pty-rfyh9d2c.js} +14 -14
  224. package/dist/chunks/{repository-mjqndqed.js → pty-rrpq0de9.js} +5 -5
  225. package/dist/chunks/{repository-9yaf30yb.js → pty-rtjv9fpq.js} +37 -37
  226. package/dist/chunks/{repository-2wredcz9.js → pty-rvghhgda.js} +17 -17
  227. package/dist/chunks/{repository-zyk1yjk8.js → pty-scgrse2b.js} +5 -5
  228. package/dist/chunks/{repository-16558gs3.js → pty-sf4w6t5k.js} +39 -39
  229. package/dist/chunks/{repository-pgze7171.js → pty-sm2pca5m.js} +5 -5
  230. package/dist/chunks/{repository-2m8jawch.js → pty-sqvzcy4n.js} +4 -4
  231. package/dist/chunks/{repository-6c2ypm1v.js → pty-sv5c54x8.js} +35 -35
  232. package/dist/chunks/{repository-xpwv3d90.js → pty-t17teb9f.js} +17 -17
  233. package/dist/chunks/{repository-yf33k1p3.js → pty-t4y1vgnz.js} +24 -24
  234. package/dist/chunks/{repository-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{repository-vfzczaj5.js → pty-tb7q8jz9.js} +19 -19
  236. package/dist/chunks/{repository-gc135ar8.js → pty-tc6qcdy5.js} +8 -8
  237. package/dist/chunks/{repository-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{repository-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{repository-3cde4f3q.js → pty-thkc5986.js} +8 -8
  240. package/dist/chunks/{repository-erq8vxjr.js → pty-thrtz6av.js} +3 -3
  241. package/dist/chunks/{repository-gpng080p.js → pty-tp4ajszw.js} +32 -32
  242. package/dist/chunks/{repository-d73ss8bd.js → pty-txjh0ez7.js} +20 -20
  243. package/dist/chunks/{repository-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
  244. package/dist/chunks/{repository-s8qvywtq.js → pty-v5zgyzx5.js} +14 -14
  245. package/dist/chunks/{repository-2z7ddzwf.js → pty-v8cctvef.js} +7 -7
  246. package/dist/chunks/{repository-veqvce7d.js → pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{repository-rm4s95e7.js → pty-vgd5xkr1.js} +76 -76
  248. package/dist/chunks/{repository-drnf6xwf.js → pty-vjjaysxc.js} +2 -2
  249. package/dist/chunks/{repository-chyvjp63.js → pty-vpxjmme6.js} +12 -12
  250. package/dist/chunks/{repository-tdpndm1c.js → pty-vxp3kcg3.js} +5 -5
  251. package/dist/chunks/{repository-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{repository-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{repository-h6yzxz9r.js → pty-w7qxzhtt.js} +15 -15
  254. package/dist/chunks/{repository-y6brtjeh.js → pty-wa3vteb6.js} +37 -37
  255. package/dist/chunks/{repository-mpd66srn.js → pty-wd3qynhg.js} +1 -1
  256. package/dist/chunks/{repository-wd87259q.js → pty-wd87259q.js} +1 -1
  257. package/dist/chunks/{repository-a199weyn.js → pty-wja9eyn5.js} +6 -6
  258. package/dist/chunks/{repository-89za3yyg.js → pty-wpybfb3e.js} +9 -9
  259. package/dist/chunks/{repository-t550f9t1.js → pty-wv396vej.js} +8 -8
  260. package/dist/chunks/{repository-hffth77f.js → pty-x3mar638.js} +179 -179
  261. package/dist/chunks/{repository-4azg6a58.js → pty-x8t7tj7c.js} +10 -10
  262. package/dist/chunks/{repository-vdf83yyz.js → pty-xbe8mphx.js} +12 -12
  263. package/dist/chunks/{repository-jbmm1708.js → pty-xexk5p4t.js} +69 -69
  264. package/dist/chunks/{repository-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{repository-xmy45d6e.js → pty-xqpfqqd7.js} +23 -23
  266. package/dist/chunks/{repository-6cdwq03r.js → pty-xvjb85ys.js} +4 -4
  267. package/dist/chunks/{repository-ya6jwxb4.js → pty-y1202j2k.js} +4 -4
  268. package/dist/chunks/{repository-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{repository-a2dv4dac.js → pty-y71s8m6t.js} +4 -4
  270. package/dist/chunks/{repository-cjwramev.js → pty-y8p3zjbc.js} +4 -4
  271. package/dist/chunks/{repository-fjts330j.js → pty-yac0akaj.js} +5 -5
  272. package/dist/chunks/{repository-4y69v0zr.js → pty-yas84py3.js} +13 -13
  273. package/dist/chunks/{repository-65967rh2.js → pty-ykher12f.js} +17 -17
  274. package/dist/chunks/{repository-4z58m4b4.js → pty-yrcj3v3g.js} +4 -4
  275. package/dist/chunks/{repository-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{repository-vt8dt6j6.js → pty-z1f2d5px.js} +32 -32
  277. package/dist/chunks/{repository-2texf5vf.js → pty-z4snssz9.js} +20 -20
  278. package/dist/chunks/{repository-f6sbv01c.js → pty-zg438qz9.js} +44 -44
  279. package/dist/chunks/{repository-f0qf0nex.js → pty-zge3vb8x.js} +27 -27
  280. package/dist/chunks/{repository-t7wcnk30.js → pty-zp1h7pbg.js} +11 -11
  281. package/dist/chunks/{repository-a6rczh0a.js → pty-zqfdtaf3.js} +42 -42
  282. package/dist/chunks/{repository-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{repository-etdaqrbr.js → pty-zt18z2tx.js} +32 -32
  284. package/dist/chunks/{repository-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +90 -90
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +102 -102
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +93 -93
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +94 -94
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +4 -4
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +83 -83
  453. package/dist/instructions/index.js +5 -5
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -116
  514. package/dist/plugin/provider/local.js +113 -113
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -116
  518. package/dist/plugin/provider/openai.js +93 -93
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -116
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +220 -220
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +99 -99
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +97 -97
  558. package/dist/reference/instructions.js +87 -87
  559. package/dist/reference.js +91 -91
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +95 -95
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +133 -133
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +127 -127
  576. package/dist/session/generate.js +152 -152
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +120 -120
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +125 -125
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +162 -162
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +1 -1
  611. package/dist/session/title.js +155 -155
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +132 -132
  621. package/dist/skill/discovery.js +2 -2
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +112 -112
  624. package/dist/snapshot.js +91 -91
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +128 -128
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +122 -122
  636. package/dist/tool/plugin/question.js +103 -103
  637. package/dist/tool/plugin/read.js +123 -123
  638. package/dist/tool/plugin/shell.js +208 -208
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +208 -208
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +112 -112
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +92 -92
  662. package/dist/v1/config/permission.js +7 -7
  663. package/dist/v1/config/plugin.js +1 -1
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/variant.js +93 -93
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +89 -89
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +76 -76
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +3 -3
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +2 -2
  676. package/dist/worktree/git.js +8 -8
  677. package/dist/worktree/sql.js +5 -5
  678. package/dist/worktree/strategies.js +89 -89
  679. package/dist/worktree.js +94 -94
  680. package/package.json +8 -8
  681. package/dist/chunks/repository-45085rbj.js +0 -26
  682. package/dist/chunks/repository-bpqsrde8.js +0 -253
  683. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  684. /package/dist/chunks/{repository-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{repository-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{repository-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{repository-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{repository-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{repository-24dcb14g.js → pty-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{repository-2710q6r3.js → pty-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{repository-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{repository-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{repository-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{repository-359p4xyc.js → pty-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{repository-3asan66x.js → pty-3asan66x.js} +0 -0
  696. /package/dist/chunks/{repository-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{repository-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{repository-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{repository-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{repository-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{repository-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{repository-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{repository-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{repository-53557ph1.js → pty-53557ph1.js} +0 -0
  705. /package/dist/chunks/{repository-550bvhaj.js → pty-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{repository-6prwharc.js → pty-6prwharc.js} +0 -0
  707. /package/dist/chunks/{repository-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{repository-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{repository-7m9af43g.js → pty-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{repository-822emrt2.js → pty-822emrt2.js} +0 -0
  711. /package/dist/chunks/{repository-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{repository-8n3pysct.js → pty-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{repository-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{repository-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{repository-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{repository-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{repository-af5trqkr.js → pty-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{repository-afrmfg78.js → pty-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{repository-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{repository-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{repository-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{repository-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{repository-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{repository-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{repository-d9fn303g.js → pty-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{repository-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{repository-dajrwvna.js → pty-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{repository-dap0rakb.js → pty-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{repository-df08tz66.js → pty-df08tz66.js} +0 -0
  730. /package/dist/chunks/{repository-dy18nga0.js → pty-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{repository-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{repository-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{repository-ec1grn59.js → pty-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{repository-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{repository-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{repository-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{repository-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{repository-faypxj3z.js → pty-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{repository-fd410y7t.js → pty-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{repository-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{repository-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{repository-g86h250q.js → pty-g86h250q.js} +0 -0
  743. /package/dist/chunks/{repository-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{repository-gftt206x.js → pty-gftt206x.js} +0 -0
  745. /package/dist/chunks/{repository-hk9envan.js → pty-hk9envan.js} +0 -0
  746. /package/dist/chunks/{repository-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{repository-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{repository-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{repository-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{repository-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{repository-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{repository-mp448xyj.js → pty-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{repository-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{repository-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{repository-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{repository-njntx4h6.js → pty-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{repository-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{repository-q74kybfr.js → pty-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{repository-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{repository-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{repository-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{repository-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{repository-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{repository-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{repository-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{repository-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{repository-w803qqfp.js → pty-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{repository-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{repository-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{repository-wtztk69x.js → pty-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{repository-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{repository-x61499pn.js → pty-x61499pn.js} +0 -0
  773. /package/dist/chunks/{repository-y44na4kk.js → pty-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{repository-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{repository-y8f7s663.js → pty-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{repository-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{repository-ym463w8f.js → pty-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{repository-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{repository-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info11,
8
+ Info: () => Info16,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Predicate, Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info11 = SessionProviderContext.Info;
22
+ var Info16 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
66
66
  });
67
67
  }
68
68
 
69
- export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
69
+ export { Info16, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./repository-ym463w8f.js";
3
+ } from "./pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service78
3
- } from "./repository-w7a2abxy.js";
2
+ Service80
3
+ } from "./pty-bvjche96.js";
4
4
  import {
5
- Service66
6
- } from "./repository-hkgfm0m5.js";
5
+ Service74
6
+ } from "./pty-kyr1z5gy.js";
7
7
  import {
8
- Service18,
8
+ Service16,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./repository-kxam66j6.js";
11
+ } from "./pty-d7jcpxfr.js";
12
12
  import {
13
- Service26
14
- } from "./repository-ve1j3q85.js";
13
+ Service23
14
+ } from "./pty-923rcr6j.js";
15
15
  import {
16
- Service56
17
- } from "./repository-5r637m3f.js";
16
+ Service59
17
+ } from "./pty-dmpsdkb3.js";
18
18
  import {
19
- Service19,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./repository-zhwzkc0c.js";
21
+ } from "./pty-p6drkcnf.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./repository-6prwharc.js";
24
+ } from "./pty-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./pty-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,
34
- Output: () => Output2,
35
- Plugin: () => Plugin2,
36
- name: () => name2
33
+ Input: () => Input4,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin22,
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
  }),
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output2 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin2 = {
106
+ var Plugin22 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service19;
110
- const fileMutation = yield* Service18;
111
- const environment = yield* Service66;
112
- const formatter = yield* Service26;
113
- const location = yield* Service78;
114
- const permission = yield* Service56;
109
+ const access = yield* Service18;
110
+ const fileMutation = yield* Service16;
111
+ const environment = yield* Service74;
112
+ const formatter = yield* Service23;
113
+ const location = yield* Service80;
114
+ const permission = yield* Service59;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name2,
116
+ name: name4,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input2,
120
- output: Output2,
119
+ input: Input4,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin2 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name2, Input2, Output2, Plugin2, exports_edit };
197
+ export { name4, Input4, Output3, Plugin22, exports_edit };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./repository-b751st24.js";
4
+ } from "./pty-6fgykvfe.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-dpkg50ah.js";
7
+ } from "./pty-dpkg50ah.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./repository-9yxvhatz.js";
11
+ } from "./pty-gzqsmt5r.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./repository-ec1grn59.js";
14
+ } from "./pty-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./repository-gftt206x.js";
17
+ } from "./pty-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./repository-my4zabxr.js";
20
+ } from "./pty-hzrfc1p4.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./repository-9e5bzkjp.js";
24
+ } from "./pty-kb9j3d72.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./pty-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info9,
35
+ Info: () => Info14,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service48,
40
+ Service: () => Service56,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer17,
48
+ layer: () => layer22,
49
49
  list: () => list3,
50
- make: () => make18,
50
+ make: () => make19,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node50,
53
+ node: () => node59,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info9,
68
+ Info as Info14,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service48 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service56 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make18 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make19 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
159
  const bus = yield* Service83;
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info9.make({
176
+ }).pipe(Effect.map((event) => Info14.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer17 = Layer.effect(Service48, make18());
231
- var node50 = makeGlobalNode({ service: Service48, layer: layer17, deps: [node88, node87] });
230
+ var layer22 = Layer.effect(Service56, make19());
231
+ var node59 = makeGlobalNode({ service: Service56, layer: layer22, deps: [node88, node87] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service48, make18, layer17, node50, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make19, layer22, node59, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service76,
4
- node80
5
- } from "./repository-mfct962c.js";
2
+ ID12,
3
+ Service71,
4
+ node74
5
+ } from "./pty-dshcjhsp.js";
6
6
  import {
7
- ID13,
7
+ ID11,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service75,
18
- node79
19
- } from "./repository-9815d8pv.js";
17
+ Service70,
18
+ node73
19
+ } from "./pty-9se51ysk.js";
20
20
  import {
21
- Service55,
22
- node57
23
- } from "./repository-x4k83k5f.js";
21
+ Service68,
22
+ node71
23
+ } from "./pty-j17byzzq.js";
24
24
  import {
25
- ID12,
25
+ ID10,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service74,
29
- node78,
28
+ Service69,
29
+ node72,
30
30
  supportsText2
31
- } from "./repository-b5f9cqb8.js";
31
+ } from "./pty-7pgwfb4h.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-9rqn6x4v.js";
34
+ } from "./pty-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service54,
43
+ Service: () => Service67,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer19,
51
- node: () => node56,
50
+ layer: () => layer23,
51
+ node: () => node70,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
58
58
  import { Context, Effect, Layer, Schema, Struct } from "effect";
59
59
  import { Npm } from "@opencode/util/npm";
60
60
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
61
- providerID: ID13,
62
- modelID: ID12,
61
+ providerID: ID11,
62
+ modelID: ID10,
63
63
  variant: VariantID2
64
64
  }) {
65
65
  get message() {
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
68
68
  }
69
69
 
70
70
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
71
- providerID: ID13,
72
- modelID: ID12,
71
+ providerID: ID11,
72
+ modelID: ID10,
73
73
  package: Schema.String
74
74
  }) {
75
75
  get message() {
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
79
79
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
80
80
 
81
81
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
82
- providerID: ID13,
83
- modelID: ID12,
82
+ providerID: ID11,
83
+ modelID: ID10,
84
84
  package: Schema.String,
85
85
  detail: Schema.String
86
86
  }) {
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
90
90
  }
91
91
 
92
92
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
93
- providerID: ID13,
94
- modelID: ID12,
93
+ providerID: ID11,
94
+ modelID: ID10,
95
95
  package: Schema.String,
96
96
  phase: InitializationPhase2,
97
97
  detail: Schema.String
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
102
102
  }
103
103
 
104
104
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
105
- providerID: ID13,
106
- modelID: ID12,
105
+ providerID: ID11,
106
+ modelID: ID10,
107
107
  variables: Schema.Array(Schema.String)
108
108
  }) {
109
109
  get message() {
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
112
112
  }
113
113
 
114
114
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
115
- providerID: ID13,
116
- modelID: ID12,
115
+ providerID: ID11,
116
+ modelID: ID10,
117
117
  route: Schema.String
118
118
  }) {
119
119
  get message() {
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service54 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service67 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
265
265
  };
266
266
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
267
267
  var hasPackage2 = (model) => Boolean(model.package);
268
- var layer19 = Layer.effect(Service54, Effect.gen(function* () {
269
- const providers = yield* Service75;
270
- const models = yield* Service74;
271
- const integrations = yield* Service76;
268
+ var layer23 = Layer.effect(Service67, Effect.gen(function* () {
269
+ const providers = yield* Service70;
270
+ const models = yield* Service69;
271
+ const integrations = yield* Service71;
272
272
  const npm = yield* Npm.Service;
273
- const aisdk = yield* Service55;
273
+ const aisdk = yield* Service68;
274
274
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
275
275
  const provider = yield* providers.get(selected.providerID);
276
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
276
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID12.make(selected.providerID));
277
277
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
278
278
  const selectedVariant = yield* withVariant2(selected, variant);
279
279
  const runtimeInfo = {
@@ -300,7 +300,7 @@ var layer19 = Layer.effect(Service54, Effect.gen(function* () {
300
300
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
301
301
  };
302
302
  });
303
- return Service54.of({
303
+ return Service67.of({
304
304
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
305
305
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
306
306
  if (!selected)
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
317
317
  const name = packageName2(packageName);
318
318
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
319
319
  }
320
- var node56 = makeLocationNode({
321
- service: Service54,
322
- layer: layer19,
323
- deps: [node79, node78, node80, Npm.node, node57]
320
+ var node70 = makeLocationNode({
321
+ service: Service67,
322
+ layer: layer23,
323
+ deps: [node73, node72, node74, Npm.node, node71]
324
324
  });
325
325
 
326
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node56, exports_model_resolver };
326
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service67, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node70, exports_model_resolver };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-9yxvhatz.js";
4
+ } from "./pty-gzqsmt5r.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./repository-mjqndqed.js";
8
+ } from "./pty-rrpq0de9.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./repository-w7a2abxy.js";
10
+ Service80,
11
+ node84
12
+ } from "./pty-bvjche96.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./repository-jqh9b0xq.js";
15
+ } from "./pty-7fj5dwt0.js";
16
16
  import {
17
- Service69,
18
- node71
19
- } from "./repository-aqryd466.js";
17
+ Service49,
18
+ node53
19
+ } from "./pty-9cfex9y1.js";
20
20
  import {
21
- node22
22
- } from "./repository-vfzczaj5.js";
21
+ node19
22
+ } from "./pty-tb7q8jz9.js";
23
23
  import {
24
- Service8,
25
- node10
26
- } from "./repository-d4he2qe1.js";
24
+ Service11,
25
+ node13
26
+ } from "./pty-2sejkfem.js";
27
27
  import {
28
28
  __export
29
- } from "./repository-9rqn6x4v.js";
29
+ } from "./pty-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service3,
36
- node: () => node4
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service3 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service3, Effect.gen(function* () {
46
- const location = yield* Service78;
47
- const watcher = yield* Service69;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service49;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service8;
51
+ const policy = yield* Service11;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service3.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node4 = makeLocationNode({
106
- service: Service3,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node71, FSUtil.node, node82, node86, node87, node22, node10]
108
+ deps: [node53, FSUtil.node, node84, node86, node87, node19, node13]
109
109
  });
110
110
 
111
- export { Service3, node4, exports_location_watcher };
111
+ export { Service2, node2, exports_location_watcher };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID13,
2
+ ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./repository-9815d8pv.js";
5
+ } from "./pty-9se51ysk.js";
6
6
  import {
7
- ID12,
7
+ ID10,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./repository-b5f9cqb8.js";
10
+ Info19
11
+ } from "./pty-7pgwfb4h.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID10.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info19.make({
122
+ ...Info19.default(ID11.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID10.make(remote.id),
125
+ providerID: ID11.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),