@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
@@ -1,23 +1,23 @@
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
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./location-services-tazgh4e4.js";
9
+ } from "./pty-tazgh4e4.js";
10
10
  import {
11
- Service76,
12
- node80
13
- } from "./location-services-7crnfscb.js";
11
+ Service79,
12
+ node83
13
+ } from "./pty-t159kbzr.js";
14
14
  import {
15
15
  reconcile2,
16
16
  create3
17
- } from "./location-services-rdw6cm16.js";
17
+ } from "./pty-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info7,
29
+ Info: () => Info19,
30
30
  Mode: () => Mode2,
31
- Service: () => Service43,
31
+ Service: () => Service58,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node47
33
+ node: () => node61
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info19, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service43 extends Context.Service()("@opencode/Vcs") {
48
+ class Service58 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service43, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
52
+ const location = yield* Service79;
53
53
  const bus = yield* Service82;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info19));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
118
118
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
119
119
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
120
120
  }
121
- return Service43.of({
121
+ return Service58.of({
122
122
  transform: state.transform,
123
123
  reload: state.reload,
124
124
  info: Effect.fn("Vcs.info")(function* () {
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
164
164
  })
165
165
  });
166
166
  }));
167
- var node47 = makeLocationNode({
168
- service: Service43,
167
+ var node61 = makeLocationNode({
168
+ service: Service58,
169
169
  layer,
170
- deps: [FSUtil.node, node80, node86]
170
+ deps: [FSUtil.node, node83, node86]
171
171
  });
172
172
 
173
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service43, node47, exports_vcs };
173
+ export { Base2, BranchList2, FileStatus2, Info19, Mode2, DiffError2, Service58, node61, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./location-services-7crnfscb.js";
5
+ Service79
6
+ } from "./pty-t159kbzr.js";
7
7
  import {
8
- Service41
9
- } from "./location-services-g0e3ejhr.js";
8
+ Service67
9
+ } from "./pty-6ep9m4sq.js";
10
10
  import {
11
- Service11
12
- } from "./location-services-6vk32evd.js";
11
+ Service7
12
+ } from "./pty-qg5tx4hd.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./location-services-2a5m3afh.js";
15
+ } from "./pty-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service12
27
- } from "./location-services-y911dxk0.js";
26
+ Service8
27
+ } from "./pty-jtr1btwa.js";
28
28
  import {
29
29
  __export
30
- } from "./location-services-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin41,
35
+ Input: () => Input9,
36
+ Plugin: () => Plugin25,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent4
38
+ name: () => name9,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name9 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input9 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin41 = {
58
+ var Plugin25 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service12;
62
- const access = yield* Service41;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service8;
62
+ const access = yield* Service67;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name9,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input9,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin41 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent5(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent4 = (path, offset, output) => {
147
+ var toModelContent5 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name8, Input8, Plugin41, toModelContent4, exports_read };
183
+ export { name9, Input9, Plugin25, toModelContent5, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./location-services-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service66
3
- } from "./location-services-nx1mz71v.js";
2
+ Service68
3
+ } from "./pty-hht4hdr7.js";
4
4
  import {
5
- ID5,
5
+ ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service42
10
- } from "./location-services-2rh66w0b.js";
9
+ Service35
10
+ } from "./pty-khny7pv9.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input4,
19
- Output: () => Output4,
20
- Plugin: () => Plugin37,
21
- SkillTool: () => exports_skill3,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input2,
19
+ Output: () => Output2,
20
+ Plugin: () => Plugin17,
21
+ SkillTool: () => exports_skill2,
22
22
  description: () => description2,
23
- name: () => name4,
23
+ name: () => name2,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name4 = "skill";
30
- var Input4 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name2 = "skill";
30
+ var Input2 = Schema.Struct({
31
+ id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output2 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description2 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin37 = {
46
+ var Plugin17 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service42;
51
- const permission = yield* Service66;
50
+ const skills = yield* Service35;
51
+ const permission = yield* Service68;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name4,
53
+ name: name2,
54
54
  options: { codemode: false },
55
55
  description: description2,
56
- input: Input4,
57
- output: Output4,
56
+ input: Input2,
57
+ output: Output2,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name4,
64
+ action: name2,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin37 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name4, Input4, Output4, description2, toModelOutput2, Plugin37, exports_skill3 };
82
+ export { name2, Input2, Output2, description2, toModelOutput2, Plugin17, exports_skill2 };
@@ -1,121 +1,121 @@
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
10
  SessionMessage2
11
- } from "./location-services-gftt206x.js";
11
+ } from "./pty-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./location-services-k9avtbwf.js";
14
+ } from "./pty-ybhbtxjg.js";
15
15
  import {
16
16
  SessionEvent2
17
- } from "./location-services-ec1grn59.js";
17
+ } from "./pty-ec1grn59.js";
18
18
  import {
19
19
  SessionMessageTable2
20
- } from "./location-services-a1bz86dw.js";
20
+ } from "./pty-5c4hm403.js";
21
21
  import {
22
22
  prepare4
23
- } from "./location-services-hfdr1yjj.js";
23
+ } from "./pty-7ac170kv.js";
24
24
  import {
25
25
  provenance2
26
- } from "./location-services-5c0f1prt.js";
26
+ } from "./pty-06dxphr1.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./location-services-gpf1akt4.js";
30
+ } from "./pty-yjq1h8wq.js";
31
31
  import {
32
- Service68,
33
- node72
34
- } from "./location-services-7knahq77.js";
32
+ Service69,
33
+ node73
34
+ } from "./pty-12b8t429.js";
35
35
  import {
36
- Service31,
37
- node34
38
- } from "./location-services-exny8ayn.js";
36
+ Service15,
37
+ node18
38
+ } from "./pty-6e1261xp.js";
39
39
  import {
40
40
  llmClient2
41
- } from "./location-services-5t3nmthw.js";
41
+ } from "./pty-5t3nmthw.js";
42
42
  import {
43
- Service24,
44
- node28
45
- } from "./location-services-7t8e8ps1.js";
43
+ Service32,
44
+ node35
45
+ } from "./pty-xe6cmgbq.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./location-services-cys4dgee.js";
48
+ } from "./pty-8pmgwz46.js";
49
49
  import {
50
- make9
51
- } from "./location-services-tksejaeh.js";
50
+ make8
51
+ } from "./pty-z6mhr53t.js";
52
52
  import {
53
- Service10,
54
- node12
55
- } from "./location-services-37mxhb92.js";
53
+ Service9,
54
+ node11
55
+ } from "./pty-z8kyv3b2.js";
56
56
  import {
57
- Service19,
58
- node23
59
- } from "./location-services-132n0e07.js";
57
+ Service24,
58
+ node27
59
+ } from "./pty-77yaaytm.js";
60
60
  import {
61
61
  serialized2,
62
62
  nextPromotable2,
63
63
  promote2
64
- } from "./location-services-eq4zd08d.js";
64
+ } from "./pty-qvrdgs7t.js";
65
65
  import {
66
- Service9,
66
+ Service6,
67
67
  isUntitled2,
68
- node11
69
- } from "./location-services-k77hftfd.js";
68
+ node8
69
+ } from "./pty-k0xbpe31.js";
70
70
  import {
71
71
  DrainResult2,
72
- Service60
73
- } from "./location-services-zee1rnkq.js";
72
+ Service47
73
+ } from "./pty-embw8kgh.js";
74
74
  import {
75
- node33
76
- } from "./location-services-e0x352hd.js";
75
+ node39
76
+ } from "./pty-p2vgnhh6.js";
77
77
  import {
78
- node37
79
- } from "./location-services-7p3xftwe.js";
78
+ node43
79
+ } from "./pty-xzzedvdq.js";
80
80
  import {
81
81
  Outcome2,
82
- make8
83
- } from "./location-services-nd78smks.js";
82
+ make7
83
+ } from "./pty-p9dw02ep.js";
84
84
  import {
85
- Service26
86
- } from "./location-services-pf31ssb9.js";
85
+ Service23
86
+ } from "./pty-phz3h32g.js";
87
87
  import {
88
- node17
89
- } from "./location-services-5ag325a7.js";
88
+ node15
89
+ } from "./pty-k5jz2ghv.js";
90
90
  import {
91
91
  MAX_STEPS_PROMPT2
92
- } from "./location-services-y44na4kk.js";
92
+ } from "./pty-y44na4kk.js";
93
93
  import {
94
94
  __export
95
- } from "./location-services-9rqn6x4v.js";
95
+ } from "./pty-9rqn6x4v.js";
96
96
 
97
97
  // src/session/runner/llm.ts
98
98
  var exports_llm = {};
99
99
  __export(exports_llm, {
100
100
  SessionRunnerLLM: () => exports_llm,
101
- node: () => node10
101
+ node: () => node7
102
102
  });
103
103
  import { Message } from "@opencode/ai";
104
104
  import { and, desc, eq, sql } from "drizzle-orm";
105
105
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
106
106
  import { makeLocationNode } from "@opencode/util/effect/app-node";
107
107
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
108
- var layer = Layer.effect(Service60, Effect.gen(function* () {
108
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
109
109
  const bus = yield* Service82;
110
- const lifecycle = yield* Service31;
111
- const store = yield* Service68;
112
- const context = yield* Service19;
113
- const modelTransport = yield* Service24;
110
+ const lifecycle = yield* Service15;
111
+ const store = yield* Service69;
112
+ const context = yield* Service24;
113
+ const modelTransport = yield* Service32;
114
114
  const db = (yield* Service83).db;
115
- const compaction = yield* Service10;
116
- const plugins = yield* Service26;
117
- const title = yield* Service9;
118
- const steps = yield* make8;
115
+ const compaction = yield* Service9;
116
+ const plugins = yield* Service23;
117
+ const title = yield* Service6;
118
+ const steps = yield* make7;
119
119
  const titles = yield* FiberMap.make();
120
120
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
121
121
  const sessionID = input.sessionID;
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
240
240
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
241
241
  const sessionID = first.session.id;
242
242
  let assistantMessageID = SessionMessage2.ID.create();
243
- const retry = yield* make9(bus, sessionID);
243
+ const retry = yield* make8(bus, sessionID);
244
244
  let initial = first;
245
245
  let recoverOverflow = true;
246
246
  let recoverContinuation = true;
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
361
361
  }
362
362
  }
363
363
  });
364
- return Service60.of({ drain });
364
+ return Service47.of({ drain });
365
365
  }));
366
- var node10 = makeLocationNode({
367
- service: Service60,
366
+ var node7 = makeLocationNode({
367
+ service: Service47,
368
368
  layer,
369
369
  deps: [
370
370
  node86,
371
- node34,
371
+ node18,
372
372
  llmClient2,
373
- node23,
374
- node28,
375
- node72,
376
- node12,
377
- node17,
373
+ node27,
374
+ node35,
375
+ node73,
378
376
  node11,
379
- node33,
380
- node37,
377
+ node15,
378
+ node8,
379
+ node39,
380
+ node43,
381
381
  node87
382
382
  ]
383
383
  });
384
384
 
385
- export { node10, exports_llm };
385
+ export { node7, exports_llm };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node39
5
- } from "./location-services-j41a475f.js";
4
+ node47
5
+ } from "./pty-mgpyxjx6.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./location-services-5c0f1prt.js";
9
+ } from "./pty-06dxphr1.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./location-services-pnaxc6j9.js";
11
+ Service72,
12
+ node76
13
+ } from "./pty-4w5f3qm5.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./location-services-nx1mz71v.js";
16
+ } from "./pty-hht4hdr7.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./location-services-vh668qnd.js";
19
+ } from "./pty-5rbd4j62.js";
20
20
  import {
21
21
  Error3
22
- } from "./location-services-kazmqbag.js";
22
+ } from "./pty-v2sqwdfa.js";
23
23
  import {
24
- Service24,
25
- node28
26
- } from "./location-services-7t8e8ps1.js";
24
+ Service32,
25
+ node35
26
+ } from "./pty-xe6cmgbq.js";
27
27
  import {
28
- make14
29
- } from "./location-services-drwq78ky.js";
28
+ make15
29
+ } from "./pty-xfkkasph.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./location-services-zhq6vg7a.js";
32
+ } from "./pty-bz85s9hh.js";
33
33
  import {
34
34
  __export
35
- } from "./location-services-9rqn6x4v.js";
35
+ } from "./pty-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service23,
40
+ Service: () => Service31,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node27,
44
+ layer: () => layer12,
45
+ node: () => node34,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service23, Effect.gen(function* () {
156
- const hooks = yield* Service70;
157
- const transport = yield* Service24;
155
+ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
156
+ const hooks = yield* Service72;
157
+ const transport = yield* Service32;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -252,17 +252,17 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
252
252
  };
253
253
  });
254
254
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
255
- return Service23.of({
255
+ return Service31.of({
256
256
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
257
257
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
258
258
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
259
259
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
260
260
  });
261
261
  }));
262
- var node27 = makeLocationNode({
263
- service: Service23,
264
- layer: layer11,
265
- deps: [node74, node28, node39]
262
+ var node34 = makeLocationNode({
263
+ service: Service31,
264
+ layer: layer12,
265
+ deps: [node76, node35, node47]
266
266
  });
267
267
 
268
- export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer11, node27, exports_model_request };
268
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer12, node34, exports_model_request };