@opencode/core 0.0.0-dev-19742 → 0.0.0-dev-19744

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-services-sx1n432n.js → pty-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{location-services-ag0w7sb1.js → pty-04h47jdz.js} +15 -15
  9. package/dist/chunks/{location-services-5c0f1prt.js → pty-06dxphr1.js} +4 -4
  10. package/dist/chunks/{location-services-es36zed6.js → pty-0d61r9h4.js} +12 -12
  11. package/dist/chunks/{location-services-hkfg6fzm.js → pty-0f9afca0.js} +5 -5
  12. package/dist/chunks/{location-services-wcrvbbfg.js → pty-0gq5ttfh.js} +11 -11
  13. package/dist/chunks/{location-services-qgn6gcr1.js → pty-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{location-services-ch35dqjr.js → pty-0kk2g04a.js} +22 -22
  15. package/dist/chunks/{location-services-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{location-services-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{location-services-1yv162eq.js → pty-0rd9v16n.js} +4 -4
  18. package/dist/chunks/{location-services-vs02wkx2.js → pty-0rgpk1ds.js} +1 -1
  19. package/dist/chunks/{location-services-pt81pzmj.js → pty-10f3mqse.js} +29 -29
  20. package/dist/chunks/{location-services-x2aynqqh.js → pty-11dqjexa.js} +9 -9
  21. package/dist/chunks/{location-services-7knahq77.js → pty-12b8t429.js} +14 -14
  22. package/dist/chunks/{location-services-69j91c1q.js → pty-15nepkqg.js} +8 -8
  23. package/dist/chunks/{location-services-r8xr0va3.js → pty-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{location-services-rbfpryyb.js → pty-1ajp4aa7.js} +6 -6
  25. package/dist/chunks/{location-services-9txp4hbw.js → pty-1as7yqy8.js} +8 -8
  26. package/dist/chunks/{location-services-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{location-services-gbay818y.js → pty-1f62kj91.js} +6 -6
  28. package/dist/chunks/{location-services-ddc1b1w5.js → pty-1rgevqwt.js} +24 -24
  29. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  30. package/dist/chunks/{location-services-mfqp6xfm.js → pty-1ygqh575.js} +6 -6
  31. package/dist/chunks/{location-services-w8xr7nv8.js → pty-207ajt2h.js} +5 -5
  32. package/dist/chunks/{location-services-21r38tys.js → pty-21r38tys.js} +1 -1
  33. package/dist/chunks/{location-services-2402vzrj.js → pty-2402vzrj.js} +1 -1
  34. package/dist/chunks/{location-services-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{location-services-pajqd7p6.js → pty-2acp3zpj.js} +24 -24
  36. package/dist/chunks/{location-services-6jqerq4j.js → pty-2c4g75ke.js} +20 -20
  37. package/dist/chunks/{location-services-f4v42jqx.js → pty-2gw9te71.js} +27 -27
  38. package/dist/chunks/{location-services-6wx8xhdj.js → pty-2k6s2zm4.js} +16 -16
  39. package/dist/chunks/{location-services-z2012gvx.js → pty-2kbj14yf.js} +37 -37
  40. package/dist/chunks/{location-services-r2m716tb.js → pty-2sejkfem.js} +9 -9
  41. package/dist/chunks/{location-services-y022vn7y.js → pty-39dab3jh.js} +14 -14
  42. package/dist/chunks/{location-services-33294r0b.js → pty-3ad3156b.js} +8 -8
  43. package/dist/chunks/{location-services-6anwy9fs.js → pty-3b1q5j1v.js} +6 -6
  44. package/dist/chunks/{location-services-36gktzve.js → pty-3ddaden9.js} +2 -2
  45. package/dist/chunks/{location-services-dmg16yjh.js → pty-3fax0mp7.js} +6 -6
  46. package/dist/chunks/{location-services-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{location-services-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{location-services-qs2g0y6d.js → pty-3pszy94w.js} +11 -11
  49. package/dist/chunks/{location-services-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{location-services-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{location-services-fkjmw100.js → pty-44ke2mar.js} +6 -6
  52. package/dist/chunks/{location-services-pb1eahw5.js → pty-4b8tw1g7.js} +8 -8
  53. package/dist/chunks/{location-services-cj45y46z.js → pty-4kgnd0zh.js} +41 -41
  54. package/dist/chunks/{location-services-amax4ght.js → pty-4v4zcyn8.js} +11 -11
  55. package/dist/chunks/{location-services-pnaxc6j9.js → pty-4w5f3qm5.js} +8 -8
  56. package/dist/chunks/{location-services-acsb2ab5.js → pty-5019jpyd.js} +16 -16
  57. package/dist/chunks/{location-services-6semq976.js → pty-50jcqkpg.js} +18 -18
  58. package/dist/chunks/{location-services-8srm5xw3.js → pty-51rpk3dg.js} +43 -43
  59. package/dist/chunks/{location-services-bsgcsy6n.js → pty-51sk06m6.js} +9 -9
  60. package/dist/chunks/{location-services-kzrz6mk7.js → pty-54qvpy9t.js} +11 -11
  61. package/dist/chunks/{location-services-9jjhp2ka.js → pty-56caj4g6.js} +20 -20
  62. package/dist/chunks/{location-services-aamtrqep.js → pty-57ez7d0k.js} +9 -9
  63. package/dist/chunks/{location-services-a1bz86dw.js → pty-5c4hm403.js} +3 -3
  64. package/dist/chunks/{location-services-xq5zbssz.js → pty-5cjyhqcx.js} +88 -88
  65. package/dist/chunks/{location-services-5daktx2q.js → pty-5daktx2q.js} +1 -1
  66. package/dist/chunks/{location-services-9eyr8qgw.js → pty-5dkyq3w9.js} +9 -9
  67. package/dist/chunks/{location-services-69q04mfm.js → pty-5dkz921g.js} +29 -29
  68. package/dist/chunks/{location-services-x4nj4b9x.js → pty-5ge7b1s9.js} +17 -17
  69. package/dist/chunks/{location-services-xa8mwyge.js → pty-5hazr681.js} +2 -2
  70. package/dist/chunks/{location-services-vh668qnd.js → pty-5rbd4j62.js} +14 -14
  71. package/dist/chunks/{location-services-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{location-services-6we4q7zk.js → pty-5w8sdvf2.js} +4 -4
  73. package/dist/chunks/{location-services-be2hac41.js → pty-63kpjth9.js} +9 -9
  74. package/dist/chunks/{location-services-669tq793.js → pty-669tq793.js} +1 -1
  75. package/dist/chunks/{location-services-j9v00nmq.js → pty-6bh8btd9.js} +31 -31
  76. package/dist/chunks/pty-6e1261xp.js +65 -0
  77. package/dist/chunks/{location-services-g0e3ejhr.js → pty-6ep9m4sq.js} +18 -18
  78. package/dist/chunks/{location-services-pqwh9zsn.js → pty-6j9cmr93.js} +25 -25
  79. package/dist/chunks/{location-services-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{location-services-hafv7pha.js → pty-6n9a7w7g.js} +10 -10
  81. package/dist/chunks/{location-services-cvet6nsk.js → pty-6sz4ttcn.js} +3 -3
  82. package/dist/chunks/{location-services-drfpxjgx.js → pty-6vw4348z.js} +13 -13
  83. package/dist/chunks/{location-services-93c99t7r.js → pty-6y05ew1d.js} +15 -15
  84. package/dist/chunks/{location-services-6t298p2h.js → pty-74rrnwt7.js} +12 -12
  85. package/dist/chunks/{location-services-w71gma7k.js → pty-75ckhbr3.js} +22 -22
  86. package/dist/chunks/{location-services-6xcmfak7.js → pty-76mn2m8t.js} +15 -15
  87. package/dist/chunks/{location-services-132n0e07.js → pty-77yaaytm.js} +79 -79
  88. package/dist/chunks/{location-services-hfdr1yjj.js → pty-7ac170kv.js} +4 -4
  89. package/dist/chunks/{location-services-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{location-services-dahfv0b8.js → pty-7t28gyx8.js} +21 -21
  91. package/dist/chunks/{location-services-1jryqany.js → pty-856c6xfq.js} +20 -20
  92. package/dist/chunks/{location-services-yh9mwy9w.js → pty-861re95h.js} +27 -27
  93. package/dist/chunks/{location-services-89znhe33.js → pty-89znhe33.js} +1 -1
  94. package/dist/chunks/{location-services-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{location-services-yskaqpbc.js → pty-8fxgy4be.js} +25 -25
  96. package/dist/chunks/{location-services-cwx4x0dd.js → pty-8hvspytd.js} +69 -69
  97. package/dist/chunks/{location-services-cys4dgee.js → pty-8pmgwz46.js} +30 -30
  98. package/dist/chunks/{location-services-hy61wner.js → pty-8rt8k92t.js} +11 -11
  99. package/dist/chunks/{location-services-s0hza5ac.js → pty-8s8mxddj.js} +4 -4
  100. package/dist/chunks/{location-services-98p7gzxk.js → pty-92aty353.js} +4 -4
  101. package/dist/chunks/{location-services-0z1gmn2q.js → pty-935t04zr.js} +6 -6
  102. package/dist/chunks/{location-services-p37cw4rj.js → pty-9hn6k4tm.js} +8 -8
  103. package/dist/chunks/{location-services-s9gcex8s.js → pty-9mjv2j5h.js} +9 -9
  104. package/dist/chunks/{location-services-hrkwn6h0.js → pty-9p1nr3wb.js} +8 -8
  105. package/dist/chunks/{location-services-fhtz75pq.js → pty-9zct7zr5.js} +32 -32
  106. package/dist/chunks/{location-services-nng2ktcm.js → pty-a3r4dcrj.js} +2 -2
  107. package/dist/chunks/{location-services-aaet6srn.js → pty-aaet6srn.js} +2 -2
  108. package/dist/chunks/{location-services-bdfxp8y4.js → pty-apyk6ttn.js} +1 -1
  109. package/dist/chunks/{location-services-8v3c42p4.js → pty-ar88qa8v.js} +7 -7
  110. package/dist/chunks/{location-services-2a535hsk.js → pty-avh5jyvb.js} +30 -30
  111. package/dist/chunks/{location-services-ygk3awzv.js → pty-b3ns9504.js} +26 -26
  112. package/dist/chunks/{location-services-d2xc2jwh.js → pty-b4h1fdev.js} +47 -47
  113. package/dist/chunks/{location-services-959x3j7n.js → pty-b594zzbj.js} +9 -9
  114. package/dist/chunks/{location-services-wm2hqhc4.js → pty-b5ymaj20.js} +9 -9
  115. package/dist/chunks/{location-services-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{location-services-6dvc98m6.js → pty-b6j8bg70.js} +1 -1
  117. package/dist/chunks/{location-services-w48yskvc.js → pty-beda3f75.js} +14 -14
  118. package/dist/chunks/{location-services-kzh82faq.js → pty-bnepd0n1.js} +24 -24
  119. package/dist/chunks/{location-services-zhq6vg7a.js → pty-bz85s9hh.js} +1 -1
  120. package/dist/chunks/{location-services-t5ey53gg.js → pty-c86rf6nk.js} +17 -17
  121. package/dist/chunks/{location-services-sa2qr51e.js → pty-ctrx9nnj.js} +8 -8
  122. package/dist/chunks/{location-services-bphss62d.js → pty-dby3ea06.js} +44 -44
  123. package/dist/chunks/{location-services-87x3xb46.js → pty-dd95b6zp.js} +5 -5
  124. package/dist/chunks/{location-services-8p4f9s12.js → pty-dj2t23y0.js} +2 -2
  125. package/dist/chunks/{location-services-y71avatq.js → pty-dpkg50ah.js} +4 -4
  126. package/dist/chunks/{location-services-7gc9k1mh.js → pty-dprzeqmr.js} +12 -12
  127. package/dist/chunks/{location-services-xe99ny0v.js → pty-dqa43dhg.js} +18 -18
  128. package/dist/chunks/{location-services-1sg8k3x6.js → pty-e5menjtj.js} +14 -14
  129. package/dist/chunks/{location-services-7fm0yp7k.js → pty-ebxxyxge.js} +26 -26
  130. package/dist/chunks/{location-services-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{location-services-zee1rnkq.js → pty-embw8kgh.js} +4 -4
  132. package/dist/chunks/{location-services-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{location-services-7jgg7q0m.js → pty-exfq5gv3.js} +8 -8
  134. package/dist/chunks/{location-services-cg0397kv.js → pty-f0v6spgv.js} +3 -3
  135. package/dist/chunks/{location-services-09gbft45.js → pty-f59eyknk.js} +4 -4
  136. package/dist/chunks/{location-services-2ykh22ph.js → pty-f6pbrr8w.js} +13 -13
  137. package/dist/chunks/{location-services-5znk54qx.js → pty-f9spf006.js} +30 -30
  138. package/dist/chunks/{location-services-szjrhb9a.js → pty-fanw3jjr.js} +1 -1
  139. package/dist/chunks/{location-services-rfe8f7qr.js → pty-ffc9mvrz.js} +40 -40
  140. package/dist/chunks/{location-services-c6m1n2c7.js → pty-fkm9w8rt.js} +34 -34
  141. package/dist/chunks/{location-services-hha0j8te.js → pty-fkr83qb9.js} +8 -8
  142. package/dist/chunks/{location-services-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{location-services-88pk7gn3.js → pty-g7td5zdy.js} +11 -11
  144. package/dist/chunks/{location-services-repb58am.js → pty-g8atgw3j.js} +6 -6
  145. package/dist/chunks/{location-services-34rkz0x9.js → pty-g8d3gcyj.js} +4 -4
  146. package/dist/chunks/{location-services-m4jqfbnh.js → pty-gaf2f4t8.js} +20 -20
  147. package/dist/chunks/{location-services-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{location-services-j5tpcpx5.js → pty-gdfvffmy.js} +5 -5
  149. package/dist/chunks/{location-services-qvn2gqcg.js → pty-gfqx1e3t.js} +33 -33
  150. package/dist/chunks/{location-services-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{location-services-4xhhjths.js → pty-gwydwvmj.js} +5 -5
  152. package/dist/chunks/{location-services-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{location-services-sa45wwhj.js → pty-h5prvwy2.js} +15 -15
  154. package/dist/chunks/{location-services-5tjjgn68.js → pty-h64tyvph.js} +3 -3
  155. package/dist/chunks/{location-services-sr3a5bp1.js → pty-h66ycz74.js} +13 -13
  156. package/dist/chunks/{location-services-h6r3nrb9.js → pty-h6r3nrb9.js} +1 -1
  157. package/dist/chunks/{location-services-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{location-services-f828m53h.js → pty-hdnk95c8.js} +2 -2
  159. package/dist/chunks/{location-services-6vnzct9r.js → pty-hfq267a7.js} +159 -159
  160. package/dist/chunks/{location-services-nx1mz71v.js → pty-hht4hdr7.js} +36 -36
  161. package/dist/chunks/{location-services-v6gb7zv2.js → pty-hq8zt1th.js} +6 -6
  162. package/dist/chunks/{location-services-3axme2ba.js → pty-hqwcc1t8.js} +12 -12
  163. package/dist/chunks/{location-services-20t16kv5.js → pty-j0d8kce8.js} +41 -41
  164. package/dist/chunks/{location-services-j56e64zr.js → pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/{location-services-w1xzzgns.js → pty-j5g2921s.js} +11 -11
  166. package/dist/chunks/{location-services-rvz4r40v.js → pty-j7d1bz3z.js} +10 -10
  167. package/dist/chunks/{location-services-7w99qc9d.js → pty-jexxy024.js} +3 -3
  168. package/dist/chunks/{location-services-py1xq93p.js → pty-jh55ed6j.js} +5 -5
  169. package/dist/chunks/{location-services-8habrbe1.js → pty-jnwk8z6k.js} +17 -17
  170. package/dist/chunks/{location-services-ced3yeaf.js → pty-jp67d8xq.js} +9 -9
  171. package/dist/chunks/{location-services-k3gnzxs0.js → pty-jppvw2tx.js} +5 -5
  172. package/dist/chunks/{location-services-hxx1ax7w.js → pty-jqmy57s0.js} +42 -42
  173. package/dist/chunks/{location-services-y911dxk0.js → pty-jtr1btwa.js} +15 -15
  174. package/dist/chunks/{location-services-dz3n6ket.js → pty-k09h50av.js} +35 -35
  175. package/dist/chunks/{location-services-k77hftfd.js → pty-k0xbpe31.js} +26 -26
  176. package/dist/chunks/{location-services-k3c624dm.js → pty-k3c624dm.js} +3 -3
  177. package/dist/chunks/{location-services-5ag325a7.js → pty-k5jz2ghv.js} +16 -16
  178. package/dist/chunks/{location-services-gtenmb26.js → pty-k5shenda.js} +22 -22
  179. package/dist/chunks/{location-services-5ajfnc04.js → pty-kbnfxfat.js} +22 -22
  180. package/dist/chunks/{location-services-2rh66w0b.js → pty-khny7pv9.js} +20 -20
  181. package/dist/chunks/{location-services-7n86tvyp.js → pty-km08fevc.js} +9 -9
  182. package/dist/chunks/{location-services-cfpkc3c9.js → pty-m0jqrx5p.js} +2 -2
  183. package/dist/chunks/{location-services-1e1y4qmt.js → pty-m39c7hxd.js} +11 -11
  184. package/dist/chunks/{location-services-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{location-services-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{location-services-m9wy7qrr.js → pty-marnn1hp.js} +9 -9
  187. package/dist/chunks/{location-services-j41a475f.js → pty-mgpyxjx6.js} +11 -11
  188. package/dist/chunks/{location-services-mvfsc1pv.js → pty-mhkvc446.js} +3 -3
  189. package/dist/chunks/{location-services-9twmqstx.js → pty-mjyryqn6.js} +9 -9
  190. package/dist/chunks/{location-services-kr67dsen.js → pty-mrhxfjgm.js} +9 -9
  191. package/dist/chunks/{location-services-rhafb4aa.js → pty-nq7qbqzc.js} +9 -9
  192. package/dist/chunks/{location-services-magykp64.js → pty-nrdmrqsx.js} +4 -4
  193. package/dist/chunks/{location-services-16nqpafv.js → pty-ntcc5ehh.js} +15 -15
  194. package/dist/chunks/{location-services-z3w6djs0.js → pty-nvv66n76.js} +15 -15
  195. package/dist/chunks/{location-services-var4818b.js → pty-nwyqkjv9.js} +1 -1
  196. package/dist/chunks/{location-services-ax228mh5.js → pty-p2ezm693.js} +20 -20
  197. package/dist/chunks/{location-services-e0x352hd.js → pty-p2vgnhh6.js} +24 -24
  198. package/dist/chunks/{location-services-7hawy35n.js → pty-p3sqe4zf.js} +13 -13
  199. package/dist/chunks/{location-services-b1vd0026.js → pty-p3wwg9fw.js} +20 -20
  200. package/dist/chunks/{location-services-zs51yffv.js → pty-p5m64j98.js} +3 -3
  201. package/dist/chunks/{location-services-nd78smks.js → pty-p9dw02ep.js} +18 -18
  202. package/dist/chunks/{location-services-qjxfe6zh.js → pty-pdg35gy8.js} +6 -6
  203. package/dist/chunks/{location-services-80scg3y3.js → pty-ph842b28.js} +4 -4
  204. package/dist/chunks/{location-services-w8m4edh1.js → pty-phrgc7s2.js} +4 -4
  205. package/dist/chunks/pty-phz3h32g.js +18 -0
  206. package/dist/chunks/{location-services-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{location-services-jwm07f16.js → pty-pkgfky7d.js} +5 -5
  208. package/dist/chunks/{location-services-pknna89w.js → pty-pknna89w.js} +1 -1
  209. package/dist/chunks/pty-pp2ytsmc.js +252 -0
  210. package/dist/chunks/pty-pysn9s93.js +26 -0
  211. package/dist/chunks/{location-services-439dx3w9.js → pty-q5rhn9x0.js} +9 -9
  212. package/dist/chunks/pty-qa81wdvn.js +478 -0
  213. package/dist/chunks/{location-services-xxyg89kp.js → pty-qc1pk71j.js} +32 -32
  214. package/dist/chunks/{location-services-6vk32evd.js → pty-qg5tx4hd.js} +19 -19
  215. package/dist/chunks/{location-services-zf3513pr.js → pty-qnk3khrz.js} +15 -15
  216. package/dist/chunks/{location-services-qsdy395h.js → pty-qsdy395h.js} +1 -1
  217. package/dist/chunks/{location-services-z9szqmxk.js → pty-qsr74hn5.js} +27 -27
  218. package/dist/chunks/{location-services-eq4zd08d.js → pty-qvrdgs7t.js} +24 -24
  219. package/dist/chunks/{location-services-tpsrfwtg.js → pty-qyc8vy2s.js} +17 -17
  220. package/dist/chunks/{location-services-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{location-services-v8v96swe.js → pty-rh9ghw4z.js} +13 -13
  222. package/dist/chunks/{location-services-07z7m3r0.js → pty-rqg791dd.js} +3 -3
  223. package/dist/chunks/{location-services-h0s6deas.js → pty-rrkxzg4z.js} +42 -42
  224. package/dist/chunks/{location-services-j5m0tr6e.js → pty-rtvxz8am.js} +4 -4
  225. package/dist/chunks/{location-services-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
  226. package/dist/chunks/{location-services-f63sy675.js → pty-shrcc9g3.js} +21 -21
  227. package/dist/chunks/{location-services-824w6ej1.js → pty-svvemcs6.js} +8 -8
  228. package/dist/chunks/{location-services-3f7778ma.js → pty-t031qe01.js} +9 -9
  229. package/dist/chunks/{location-services-tz2bjj40.js → pty-t0fxg8b9.js} +5 -5
  230. package/dist/chunks/{location-services-7crnfscb.js → pty-t159kbzr.js} +17 -17
  231. package/dist/chunks/{location-services-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{location-services-tdstcens.js → pty-tdstcens.js} +1 -1
  233. package/dist/chunks/{location-services-a58nmf2f.js → pty-th6p44mh.js} +11 -11
  234. package/dist/chunks/{location-services-pf6cgfs2.js → pty-tja9b7zx.js} +36 -36
  235. package/dist/chunks/{location-services-3kyvxja7.js → pty-tn5bgys5.js} +5 -5
  236. package/dist/chunks/{location-services-tvtrv512.js → pty-tvtrv512.js} +1 -1
  237. package/dist/chunks/{location-services-kazmqbag.js → pty-v2sqwdfa.js} +22 -22
  238. package/dist/chunks/{location-services-j85ebrbn.js → pty-v772zmrr.js} +54 -54
  239. package/dist/chunks/{location-services-veqvce7d.js → pty-veqvce7d.js} +1 -1
  240. package/dist/chunks/{location-services-hs11hgz1.js → pty-vj5dzvyh.js} +43 -43
  241. package/dist/chunks/{location-services-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{location-services-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{location-services-c4vtem9y.js → pty-wcr3727a.js} +23 -23
  244. package/dist/chunks/{location-services-5yy5v8xs.js → pty-wcy10hea.js} +8 -8
  245. package/dist/chunks/{location-services-wd87259q.js → pty-wd87259q.js} +1 -1
  246. package/dist/chunks/{location-services-m2ytg560.js → pty-wfex9hf5.js} +3 -3
  247. package/dist/chunks/{location-services-g23y2d6e.js → pty-wndtrgrh.js} +10 -10
  248. package/dist/chunks/{location-services-mvex88qa.js → pty-wv40thab.js} +11 -11
  249. package/dist/chunks/{location-services-vf88r308.js → pty-ww94c77x.js} +13 -13
  250. package/dist/chunks/{location-services-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{location-services-ydta7ff5.js → pty-x1gfpc1p.js} +28 -28
  252. package/dist/chunks/{location-services-3xjrp8vt.js → pty-x7vb65wd.js} +21 -21
  253. package/dist/chunks/{location-services-3q180tsg.js → pty-xbckpkdq.js} +22 -22
  254. package/dist/chunks/{location-services-7t8e8ps1.js → pty-xe6cmgbq.js} +11 -11
  255. package/dist/chunks/{location-services-drwq78ky.js → pty-xfkkasph.js} +4 -4
  256. package/dist/chunks/{location-services-xfsrjhjb.js → pty-xfkknnqv.js} +2 -2
  257. package/dist/chunks/{location-services-aygy83kf.js → pty-xp7gxvaq.js} +4 -4
  258. package/dist/chunks/{location-services-1rpsx04s.js → pty-xp8zvqfe.js} +32 -32
  259. package/dist/chunks/{location-services-zfhdmptt.js → pty-xxpn3ren.js} +6 -6
  260. package/dist/chunks/{location-services-7p3xftwe.js → pty-xzzedvdq.js} +12 -12
  261. package/dist/chunks/{location-services-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{location-services-k9avtbwf.js → pty-ybhbtxjg.js} +3 -3
  263. package/dist/chunks/{location-services-e6hmchc5.js → pty-yjptyezs.js} +5 -5
  264. package/dist/chunks/{location-services-gpf1akt4.js → pty-yjq1h8wq.js} +8 -8
  265. package/dist/chunks/{location-services-qd6rj703.js → pty-ykyjdacj.js} +5 -5
  266. package/dist/chunks/{location-services-3tzfttan.js → pty-yn01zngv.js} +35 -35
  267. package/dist/chunks/{location-services-g1ep8q13.js → pty-ypnspery.js} +20 -20
  268. package/dist/chunks/{location-services-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{location-services-yrznvahk.js → pty-yrznvahk.js} +2 -2
  270. package/dist/chunks/{location-services-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{location-services-ftafywpx.js → pty-z336gv68.js} +13 -13
  272. package/dist/chunks/{location-services-z63w68vq.js → pty-z63w68vq.js} +2 -2
  273. package/dist/chunks/{location-services-tksejaeh.js → pty-z6mhr53t.js} +6 -6
  274. package/dist/chunks/{location-services-37mxhb92.js → pty-z8kyv3b2.js} +24 -24
  275. package/dist/chunks/{location-services-ja6ed9xr.js → pty-za55qz67.js} +21 -21
  276. package/dist/chunks/{location-services-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{location-services-8078vm6x.js → pty-zerzqssk.js} +1 -1
  278. package/dist/chunks/{location-services-w7qw9xwr.js → pty-zh0ytwzz.js} +11 -11
  279. package/dist/chunks/{location-services-1qdj8r61.js → pty-zhp5m1zz.js} +4 -4
  280. package/dist/chunks/{location-services-3f06dy19.js → pty-zncxtbv1.js} +14 -14
  281. package/dist/chunks/{location-services-34hvhtp7.js → pty-zpmv2nmt.js} +14 -14
  282. package/dist/chunks/{location-services-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-services-nzdggpth.js → pty-zth7qvys.js} +13 -13
  284. package/dist/chunks/{location-services-qr6drbwe.js → pty-zvp4p5jk.js} +30 -30
  285. package/dist/chunks/{location-services-5wse32sw.js → pty-zwejzy2c.js} +18 -18
  286. package/dist/chunks/{location-services-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{location-services-s338r0jz.js → pty-zyyjv7w6.js} +7 -7
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +124 -124
  297. package/dist/config/plugin/command.js +213 -213
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +131 -131
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +101 -101
  427. package/dist/form.js +79 -79
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  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 +90 -90
  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/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +88 -88
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +123 -123
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +89 -89
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +104 -104
  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 +81 -81
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +345 -345
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +89 -89
  557. package/dist/provider.js +88 -88
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +78 -78
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +133 -133
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +150 -150
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +88 -88
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +104 -104
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +110 -110
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +12 -12
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +7 -7
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +83 -83
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +77 -77
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/location-services-57p3bxwn.js +0 -26
  692. package/dist/chunks/location-services-6qfj1prg.js +0 -478
  693. package/dist/chunks/location-services-exny8ayn.js +0 -65
  694. package/dist/chunks/location-services-gbadjzag.js +0 -4
  695. package/dist/chunks/location-services-ndg9br84.js +0 -252
  696. package/dist/chunks/location-services-pf31ssb9.js +0 -18
  697. /package/dist/chunks/{location-services-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{location-services-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{location-services-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{location-services-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{location-services-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{location-services-24dcb14g.js → pty-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{location-services-2710q6r3.js → pty-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{location-services-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{location-services-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{location-services-359p4xyc.js → pty-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{location-services-3asan66x.js → pty-3asan66x.js} +0 -0
  708. /package/dist/chunks/{location-services-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{location-services-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  710. /package/dist/chunks/{location-services-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{location-services-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{location-services-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{location-services-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{location-services-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{location-services-53557ph1.js → pty-53557ph1.js} +0 -0
  716. /package/dist/chunks/{location-services-550bvhaj.js → pty-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{location-services-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
  718. /package/dist/chunks/{location-services-6prwharc.js → pty-6prwharc.js} +0 -0
  719. /package/dist/chunks/{location-services-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{location-services-7m9af43g.js → pty-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{location-services-822emrt2.js → pty-822emrt2.js} +0 -0
  722. /package/dist/chunks/{location-services-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-services-8n3pysct.js → pty-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-services-922hggd3.js → pty-922hggd3.js} +0 -0
  725. /package/dist/chunks/{location-services-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-services-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-services-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-services-af5trqkr.js → pty-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-services-afrmfg78.js → pty-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-services-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-services-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-services-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-services-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-services-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-services-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-services-d9fn303g.js → pty-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-services-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-services-dajrwvna.js → pty-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-services-dap0rakb.js → pty-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-services-df08tz66.js → pty-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-services-dy18nga0.js → pty-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-services-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-services-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-services-ec1grn59.js → pty-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-services-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-services-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-services-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-services-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-services-faypxj3z.js → pty-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-services-fd410y7t.js → pty-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-services-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{location-services-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{location-services-g86h250q.js → pty-g86h250q.js} +0 -0
  754. /package/dist/chunks/{location-services-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{location-services-gftt206x.js → pty-gftt206x.js} +0 -0
  756. /package/dist/chunks/{location-services-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{location-services-hk9envan.js → pty-hk9envan.js} +0 -0
  758. /package/dist/chunks/{location-services-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{location-services-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{location-services-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{location-services-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{location-services-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{location-services-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-services-mp448xyj.js → pty-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{location-services-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{location-services-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{location-services-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{location-services-njntx4h6.js → pty-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{location-services-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{location-services-q74kybfr.js → pty-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{location-services-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{location-services-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{location-services-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{location-services-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{location-services-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{location-services-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{location-services-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{location-services-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{location-services-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{location-services-twg0f83k.js → pty-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{location-services-w803qqfp.js → pty-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{location-services-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{location-services-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{location-services-wtztk69x.js → pty-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{location-services-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{location-services-x61499pn.js → pty-x61499pn.js} +0 -0
  787. /package/dist/chunks/{location-services-y44na4kk.js → pty-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{location-services-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  789. /package/dist/chunks/{location-services-y8f7s663.js → pty-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{location-services-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{location-services-ym463w8f.js → pty-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{location-services-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./location-services-2a5m3afh.js";
6
+ } from "./pty-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./location-services-1dazxqgg.js";
9
+ } from "./pty-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./location-services-b6gygkdw.js";
12
+ } from "./pty-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./location-services-aaet6srn.js";
15
+ } from "./pty-aaet6srn.js";
16
16
  import {
17
- Service76,
18
- node80
19
- } from "./location-services-7crnfscb.js";
17
+ Service79,
18
+ node83
19
+ } from "./pty-t159kbzr.js";
20
20
  import {
21
- Service58,
22
- node62
23
- } from "./location-services-c4vtem9y.js";
21
+ Service64,
22
+ node67
23
+ } from "./pty-wcr3727a.js";
24
24
  import {
25
25
  __export
26
- } from "./location-services-9rqn6x4v.js";
26
+ } from "./pty-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service57,
33
- node: () => node61
32
+ Service: () => Service63,
33
+ node: () => node66
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service57,
46
+ Service: () => Service63,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node61,
52
+ node: () => node66,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service57 extends Context.Service()("@opencode/Environment") {
61
+ class Service63 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service57, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service76;
66
- const workspace = yield* Service58;
65
+ const location = yield* Service79;
66
+ const workspace = yield* Service64;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service57.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node61 = makeLocationNode({
71
- service: Service57,
70
+ var node66 = makeLocationNode({
71
+ service: Service63,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node80, node62]
73
+ deps: [CrossSpawnSpawner.node, node83, node67]
74
74
  });
75
75
 
76
- export { Service57, node61, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service63, node66, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service83
3
- } from "./location-services-07z7m3r0.js";
3
+ } from "./pty-rqg791dd.js";
4
4
  import {
5
5
  Service82
6
- } from "./location-services-w8m4edh1.js";
6
+ } from "./pty-phrgc7s2.js";
7
7
  import {
8
- Service63
9
- } from "./location-services-v6gb7zv2.js";
8
+ Service50
9
+ } from "./pty-hq8zt1th.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./location-services-922hggd3.js";
12
+ } from "./pty-922hggd3.js";
13
13
  import {
14
- ID3,
15
- Service30
16
- } from "./location-services-e0x352hd.js";
14
+ ID5,
15
+ Service36
16
+ } from "./pty-p2vgnhh6.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-services-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./location-services-gftt206x.js";
22
+ } from "./pty-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./location-services-k9avtbwf.js";
25
+ } from "./pty-ybhbtxjg.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./location-services-a1bz86dw.js";
28
+ } from "./pty-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./location-services-9rqn6x4v.js";
31
+ } from "./pty-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service63;
45
+ const instances = yield* Service50;
46
46
  const database = yield* Service83;
47
47
  const bus = yield* Service82;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service30;
50
- const original = input.session.revert?.snapshot ? ID3.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service36;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service63;
77
+ const instances = yield* Service50;
78
78
  const bus = yield* Service82;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service30;
80
+ const snapshot = yield* Service36;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID3.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID3.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-w8m4edh1.js";
4
+ } from "./pty-phrgc7s2.js";
5
5
  import {
6
6
  Key4,
7
- Service81,
8
- node85
9
- } from "./location-services-ydta7ff5.js";
7
+ Service77,
8
+ node81
9
+ } from "./pty-x1gfpc1p.js";
10
10
  import {
11
11
  create3
12
- } from "./location-services-rdw6cm16.js";
12
+ } from "./pty-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./location-services-f63sy675.js";
16
+ } from "./pty-shrcc9g3.js";
17
17
  import {
18
18
  __export
19
- } from "./location-services-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event19,
35
- ID: () => ID16,
36
- Info: () => Info32,
34
+ Event: () => Event18,
35
+ ID: () => ID14,
36
+ Info: () => Info29,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
- Ref: () => Ref4,
43
- Service: () => Service79,
44
- node: () => node83
42
+ Ref: () => Ref3,
43
+ Service: () => Service76,
44
+ node: () => node80
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,8 +62,8 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event19 } from "@opencode/schema/integration";
66
- var ID16 = Integration.ID;
65
+ import { Event as Event18 } from "@opencode/schema/integration";
66
+ var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
69
69
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info32 = Integration.Info;
74
+ var Info29 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
94
94
  }
95
95
 
96
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
97
- integrationID: ID16,
97
+ integrationID: ID14,
98
98
  attemptID: AttemptID2
99
99
  }) {
100
100
  }
101
- var Ref4 = Integration.Ref;
101
+ var Ref3 = Integration.Ref;
102
102
 
103
- class Service79 extends Context.Service()("@opencode/Integration") {
103
+ class Service76 extends Context.Service()("@opencode/Integration") {
104
104
  }
105
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
106
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
107
107
  var scrubInterval = Duration.seconds(30);
108
- var layer = Layer.effect(Service79, Effect.gen(function* () {
109
- const credentials = yield* Service81;
108
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
109
+ const credentials = yield* Service77;
110
110
  const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
200
200
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
201
201
  return [...credentials, ...env];
202
202
  };
203
- const project = (entry, connections) => Info32.make({
203
+ const project = (entry, connections) => Info29.make({
204
204
  id: entry.ref.id,
205
205
  name: entry.ref.name,
206
206
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
430
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
431
431
  return CommandAttempt2.make({ attemptID, time });
432
432
  });
433
- return Service79.of({
433
+ return Service76.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node83 = makeLocationNode({
583
- service: Service79,
582
+ var node80 = makeLocationNode({
583
+ service: Service76,
584
584
  layer,
585
- deps: [node85, node86, AppProcess.node]
585
+ deps: [node81, node86, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info32, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service79, node83, exports_integration, Event19 };
588
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event18 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service36,
3
- node40
4
- } from "./location-services-ch35dqjr.js";
2
+ Service34,
3
+ node37
4
+ } from "./pty-0kk2g04a.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make21,
9
9
  diffByKey2
10
- } from "./location-services-s8d7rejh.js";
10
+ } from "./pty-s8d7rejh.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service29,
20
- node: () => node32
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service27,
20
+ node: () => node30
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service29, Effect.gen(function* () {
63
- const references = yield* Service36;
64
- return Service29.of({
62
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
63
+ const references = yield* Service34;
64
+ return Service27.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node40] });
84
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node37] });
85
85
 
86
- export { Service29, node32, exports_instructions5 };
86
+ export { Service27, node30, exports_instructions4 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-services-07z7m3r0.js";
4
+ } from "./pty-rqg791dd.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./location-services-w8m4edh1.js";
8
+ } from "./pty-phrgc7s2.js";
9
9
  import {
10
- Service64,
11
- node68
12
- } from "./location-services-x4nj4b9x.js";
10
+ Service51,
11
+ node54
12
+ } from "./pty-5ge7b1s9.js";
13
13
  import {
14
- Service63,
15
- node67
16
- } from "./location-services-v6gb7zv2.js";
14
+ Service50,
15
+ node53
16
+ } from "./pty-hq8zt1th.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-services-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./location-services-r8xr0va3.js";
21
+ make17
22
+ } from "./pty-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service60
26
- } from "./location-services-zee1rnkq.js";
25
+ Service47
26
+ } from "./pty-embw8kgh.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./location-services-k9avtbwf.js";
29
+ } from "./pty-ybhbtxjg.js";
30
30
  import {
31
- Service68,
32
- node72
33
- } from "./location-services-7knahq77.js";
31
+ Service69,
32
+ node73
33
+ } from "./pty-12b8t429.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./location-services-aygy83kf.js";
36
+ } from "./pty-xp7gxvaq.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./location-services-eq4zd08d.js";
39
+ } from "./pty-qvrdgs7t.js";
40
40
  import {
41
41
  __export
42
- } from "./location-services-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service59,
47
+ Service: () => Service46,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node64,
49
+ layer: () => layer19,
50
+ node: () => node50,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service59 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service59, Effect.gen(function* () {
69
- const store = yield* Service68;
70
- const instances = yield* Service63;
68
+ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
69
+ const store = yield* Service69;
70
+ const instances = yield* Service50;
71
71
  const bus = yield* Service82;
72
- const jobs = yield* Service64;
72
+ const jobs = yield* Service51;
73
73
  const db = (yield* Service83).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make18({
92
+ const coordinator = yield* make17({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service59.of({
113
+ return Service46.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node64 = makeGlobalNode({
133
- service: Service59,
134
- layer: layer22,
135
- deps: [node72, node67, node86, node87, node68]
132
+ var node50 = makeGlobalNode({
133
+ service: Service46,
134
+ layer: layer19,
135
+ deps: [node73, node53, node86, node87, node54]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
137
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service59, terminal2, layer22, node64, noopLayer3, exports_execution };
146
+ export { Service46, terminal2, layer19, node50, noopLayer3, exports_execution };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./location-services-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service7,
13
- node: () => node8
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service7, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service7.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node8 = makeLocationNode({ service: Service7, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service7, node8, exports_location_watcher_policy };
53
+ export { Service11, node13, exports_location_watcher_policy };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./location-services-922hggd3.js";
5
+ } from "./pty-922hggd3.js";
6
6
  import {
7
- Service57,
8
- node61
9
- } from "./location-services-pajqd7p6.js";
7
+ Service63,
8
+ node66
9
+ } from "./pty-2acp3zpj.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./location-services-8d7r5vzw.js";
12
+ } from "./pty-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./location-services-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service56,
24
- node: () => node60
23
+ Service: () => Service62,
24
+ node: () => node65
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service56 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service62 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service56, Effect.gen(function* () {
67
- const environment = yield* Service57;
66
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
67
+ const environment = yield* Service63;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service56.of({
95
+ return Service62.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node60 = makeLocationNode({ service: Service56, layer, deps: [node61, RipgrepBinary2.node] });
178
+ var node65 = makeLocationNode({ service: Service62, layer, deps: [node66, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service56, node60, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service62, node65, exports_ripgrep };