@opencode/core 0.0.0-dev-19933 → 0.0.0-dev-19935

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-services-s12geb02.js → pty-04tfxcdr.js} +12 -12
  8. package/dist/chunks/{location-services-rph3zd4r.js → pty-0gaj4617.js} +6 -6
  9. package/dist/chunks/{location-services-rhjbct0v.js → pty-0gdmqesm.js} +4 -4
  10. package/dist/chunks/{location-services-0drgwj0w.js → pty-0kh0dn2a.js} +9 -9
  11. package/dist/chunks/{location-services-3yy68sra.js → pty-0m1yaj0w.js} +20 -20
  12. package/dist/chunks/{location-services-p74jqh8w.js → pty-0mp324rf.js} +11 -11
  13. package/dist/chunks/{location-services-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-services-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-services-gcc43v15.js → pty-0qjksd3p.js} +29 -29
  16. package/dist/chunks/{location-services-g9jp0y5t.js → pty-10ztk21w.js} +6 -6
  17. package/dist/chunks/{location-services-byqm21fr.js → pty-125gwrbg.js} +18 -18
  18. package/dist/chunks/{location-services-yp2x3t23.js → pty-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{location-services-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-services-den0y6mq.js → pty-1jvwysfd.js} +23 -23
  21. package/dist/chunks/pty-1ms15p6n.js +65 -0
  22. package/dist/chunks/{location-services-aq066r76.js → pty-1nsrs91v.js} +23 -23
  23. package/dist/chunks/{location-services-d3s8x8d0.js → pty-1xj4prap.js} +24 -24
  24. package/dist/chunks/{location-services-21r38tys.js → pty-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-services-1z8qb3ex.js → pty-21yscatf.js} +47 -47
  26. package/dist/chunks/{location-services-1gd24jtv.js → pty-23yqmb8f.js} +11 -11
  27. package/dist/chunks/{location-services-k1h24f7j.js → pty-24q3h2ph.js} +9 -9
  28. package/dist/chunks/{location-services-z63w68vq.js → pty-29x78va6.js} +6 -6
  29. package/dist/chunks/{location-services-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{location-services-evbgk2k8.js → pty-2f0bjgcj.js} +5 -5
  31. package/dist/chunks/{location-services-xaf9sk1m.js → pty-2jn1a9mb.js} +24 -24
  32. package/dist/chunks/{location-services-hw0dh7gd.js → pty-2k0605zp.js} +42 -42
  33. package/dist/chunks/{location-services-1nwxscpy.js → pty-2vgzs72b.js} +5 -5
  34. package/dist/chunks/{location-services-nzbxqn7q.js → pty-2vtswabk.js} +9 -9
  35. package/dist/chunks/{location-services-01saf27s.js → pty-2w9fymad.js} +18 -18
  36. package/dist/chunks/{location-services-fj726280.js → pty-2x41v6hj.js} +14 -14
  37. package/dist/chunks/{location-services-k75p7jbd.js → pty-2xtspnhm.js} +18 -18
  38. package/dist/chunks/{location-services-ca10maaz.js → pty-2zqfv34k.js} +28 -28
  39. package/dist/chunks/{location-services-hpeaj78a.js → pty-30jzjac2.js} +8 -8
  40. package/dist/chunks/{location-services-qby9dwvd.js → pty-37ea9c2d.js} +8 -8
  41. package/dist/chunks/{location-services-9466nf0f.js → pty-3dvt7t1w.js} +64 -64
  42. package/dist/chunks/{location-services-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{location-services-1r1dat18.js → pty-3fhvbsdb.js} +15 -15
  44. package/dist/chunks/{location-services-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{location-services-zzrsh38e.js → pty-3jd4ahw0.js} +1 -1
  46. package/dist/chunks/{location-services-jhf3jymm.js → pty-3ppptnan.js} +6 -6
  47. package/dist/chunks/{location-services-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{location-services-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{location-services-cc1yeevh.js → pty-3zgfwzda.js} +3 -3
  50. package/dist/chunks/{location-services-v9wys9g0.js → pty-40rggeet.js} +5 -5
  51. package/dist/chunks/{location-services-fkv5dgng.js → pty-479h0rpz.js} +8 -8
  52. package/dist/chunks/{location-services-b1160vm0.js → pty-487tjbbd.js} +22 -22
  53. package/dist/chunks/{location-services-h6r3nrb9.js → pty-4dgbcxzg.js} +4 -4
  54. package/dist/chunks/{location-services-e6hf2w1z.js → pty-4ptcp2em.js} +28 -28
  55. package/dist/chunks/{location-services-gxmtjddh.js → pty-4ty2257w.js} +8 -8
  56. package/dist/chunks/{location-services-qn4ba14w.js → pty-510m7gjw.js} +5 -5
  57. package/dist/chunks/{location-services-tr93dsz8.js → pty-54c9gbn9.js} +9 -9
  58. package/dist/chunks/{location-services-egwaa4j7.js → pty-56c3q4gh.js} +2 -2
  59. package/dist/chunks/{location-services-56gdpj1q.js → pty-56gdpj1q.js} +2 -2
  60. package/dist/chunks/{location-services-qpbc7zwf.js → pty-57e9z27j.js} +5 -5
  61. package/dist/chunks/{location-services-vwf963ta.js → pty-58mbwdrb.js} +15 -15
  62. package/dist/chunks/{location-services-5daktx2q.js → pty-5daktx2q.js} +1 -1
  63. package/dist/chunks/{location-services-amsysvbs.js → pty-5p5kf06w.js} +13 -13
  64. package/dist/chunks/{location-services-7b6mncz0.js → pty-5s45kcve.js} +19 -19
  65. package/dist/chunks/{location-services-qgx1rdqs.js → pty-5s7v9c7v.js} +18 -18
  66. package/dist/chunks/{location-services-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{location-services-4ths69c4.js → pty-5z94pt16.js} +11 -11
  68. package/dist/chunks/{location-services-5v7ahtzb.js → pty-61g3b1pw.js} +19 -19
  69. package/dist/chunks/{location-services-669tq793.js → pty-669tq793.js} +1 -1
  70. package/dist/chunks/{location-services-f07eqm4g.js → pty-67s6xyqv.js} +30 -30
  71. package/dist/chunks/{location-services-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{location-services-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{location-services-x8ebxbs7.js → pty-6mwr1jqd.js} +15 -15
  74. package/dist/chunks/{location-services-s3e3s6xq.js → pty-6qw955q2.js} +5 -5
  75. package/dist/chunks/{location-services-6v9pdapk.js → pty-729ex4wk.js} +35 -35
  76. package/dist/chunks/{location-services-zb1czzx9.js → pty-72s2ce21.js} +9 -9
  77. package/dist/chunks/{location-services-r99kzjq4.js → pty-772f7zcq.js} +3 -3
  78. package/dist/chunks/{location-services-5s3efz6b.js → pty-79wtkhdx.js} +43 -43
  79. package/dist/chunks/{location-services-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{location-services-rvt91he9.js → pty-7cge7rm7.js} +8 -8
  81. package/dist/chunks/{location-services-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
  82. package/dist/chunks/{location-services-qjhg5syr.js → pty-7sttfjma.js} +25 -25
  83. package/dist/chunks/{location-services-bj7tvmw6.js → pty-7t45mvbd.js} +23 -23
  84. package/dist/chunks/{location-services-jh1by5q0.js → pty-7y216y5p.js} +24 -24
  85. package/dist/chunks/{location-services-w30j99fm.js → pty-7zgazq3n.js} +24 -24
  86. package/dist/chunks/{location-services-nea05py3.js → pty-81jw091s.js} +37 -37
  87. package/dist/chunks/{location-services-57ez7d0k.js → pty-81swgkk7.js} +7 -7
  88. package/dist/chunks/{location-services-fqhbsnr5.js → pty-89bb6baa.js} +8 -8
  89. package/dist/chunks/{location-services-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{location-services-wvepaptn.js → pty-8f1v9drm.js} +32 -32
  91. package/dist/chunks/{location-services-41rx6xpw.js → pty-8gvkar91.js} +16 -16
  92. package/dist/chunks/{location-services-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{location-services-cjwramev.js → pty-8qh6anns.js} +4 -4
  94. package/dist/chunks/{location-services-sxa34a4z.js → pty-8tr0qdz4.js} +10 -10
  95. package/dist/chunks/{location-services-jewzahs7.js → pty-8tsdq50x.js} +4 -4
  96. package/dist/chunks/{location-services-yaarn63p.js → pty-8yf0cvxd.js} +7 -7
  97. package/dist/chunks/{location-services-2xk65d5p.js → pty-92s5ksem.js} +49 -49
  98. package/dist/chunks/{location-services-dndbn6tq.js → pty-94ycm6fd.js} +12 -12
  99. package/dist/chunks/{location-services-agp03ejd.js → pty-9j4rwzvb.js} +11 -11
  100. package/dist/chunks/{location-services-vfw0v6d8.js → pty-9q2chv03.js} +3 -3
  101. package/dist/chunks/{location-services-dvz5qkvp.js → pty-9vj1cv01.js} +9 -9
  102. package/dist/chunks/{location-services-88zcg80h.js → pty-9y446jqg.js} +11 -11
  103. package/dist/chunks/{location-services-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  104. package/dist/chunks/{location-services-jk7fjn0h.js → pty-a48s4pqa.js} +27 -27
  105. package/dist/chunks/{location-services-wxjeszww.js → pty-aads351p.js} +1 -1
  106. package/dist/chunks/{location-services-aaet6srn.js → pty-aaet6srn.js} +2 -2
  107. package/dist/chunks/{location-services-5b2n9wtc.js → pty-abb4bxme.js} +26 -26
  108. package/dist/chunks/{location-services-h2r7bbkd.js → pty-acp7khxw.js} +11 -11
  109. package/dist/chunks/{location-services-sns0d4xz.js → pty-ajv9ph60.js} +6 -6
  110. package/dist/chunks/{location-services-7gvwkz6m.js → pty-avm8jn6n.js} +5 -5
  111. package/dist/chunks/{location-services-smsg9td2.js → pty-b23z4qnb.js} +7 -7
  112. package/dist/chunks/{location-services-qa3qhgw8.js → pty-b27vhd2z.js} +4 -4
  113. package/dist/chunks/{location-services-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{location-services-mf9m2v67.js → pty-ba07h9gm.js} +2 -2
  115. package/dist/chunks/{location-services-g4e5a8px.js → pty-bc62gbf5.js} +21 -21
  116. package/dist/chunks/{location-services-06dxphr1.js → pty-bccb6npm.js} +4 -4
  117. package/dist/chunks/{location-services-ve4pfa0n.js → pty-bf0ztrs3.js} +4 -4
  118. package/dist/chunks/{location-services-97fmyryk.js → pty-bg2bzas4.js} +9 -9
  119. package/dist/chunks/{location-services-p435d5mj.js → pty-bm550x0b.js} +8 -8
  120. package/dist/chunks/{location-services-3b7ncy0a.js → pty-br51nt48.js} +3 -3
  121. package/dist/chunks/{location-services-veab9ysh.js → pty-c7byg8pj.js} +7 -7
  122. package/dist/chunks/{location-services-sa4w9a46.js → pty-c84hahnz.js} +3 -3
  123. package/dist/chunks/{location-services-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{location-services-9kmbd9mt.js → pty-cmkj70ft.js} +2 -2
  125. package/dist/chunks/{location-services-avymfndx.js → pty-crc6eftr.js} +50 -50
  126. package/dist/chunks/{location-services-dnnw2ag8.js → pty-crwbn2y9.js} +22 -22
  127. package/dist/chunks/{location-services-s0aexzn2.js → pty-d170h7tj.js} +16 -16
  128. package/dist/chunks/{location-services-5rsnc0wz.js → pty-d21c9hyv.js} +15 -15
  129. package/dist/chunks/{location-services-yxww1zge.js → pty-d4f5zm7n.js} +13 -13
  130. package/dist/chunks/{location-services-91ww8zqm.js → pty-d5z7kk5f.js} +6 -6
  131. package/dist/chunks/{location-services-3smbx4tg.js → pty-dep4keqg.js} +23 -23
  132. package/dist/chunks/{location-services-8scdvrd9.js → pty-dgsc5ysd.js} +30 -30
  133. package/dist/chunks/{location-services-bnq2yade.js → pty-dmrxm1ex.js} +60 -60
  134. package/dist/chunks/{location-services-vk1pnjq9.js → pty-dqsgs04j.js} +9 -9
  135. package/dist/chunks/{location-services-hyvan7kf.js → pty-e15f0xpb.js} +31 -31
  136. package/dist/chunks/{location-services-mbvw0189.js → pty-e1rbgcj4.js} +30 -30
  137. package/dist/chunks/{location-services-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{location-services-xn4a2vfg.js → pty-e3rw4ffc.js} +1 -1
  139. package/dist/chunks/{location-services-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{location-services-zwb7d1wn.js → pty-emwwjpt7.js} +22 -22
  141. package/dist/chunks/{location-services-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{location-services-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{location-services-smn8w5fw.js → pty-f2btm3ds.js} +4 -4
  144. package/dist/chunks/{location-services-f828m53h.js → pty-f828m53h.js} +2 -2
  145. package/dist/chunks/pty-ffgm1r5f.js +26 -0
  146. package/dist/chunks/{location-services-6ehegarm.js → pty-fkjaqdxa.js} +44 -44
  147. package/dist/chunks/{location-services-shyynm3y.js → pty-fnf91rh6.js} +26 -26
  148. package/dist/chunks/{location-services-7jr5wnf4.js → pty-ftbyp22j.js} +33 -33
  149. package/dist/chunks/{location-services-pccv5wmk.js → pty-ftffx8fq.js} +22 -22
  150. package/dist/chunks/{location-services-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{location-services-mhjr3rfr.js → pty-fxv6f51q.js} +4 -4
  152. package/dist/chunks/{location-services-npedgy9w.js → pty-fyynqrjc.js} +34 -34
  153. package/dist/chunks/{location-services-hzzsfrh9.js → pty-fzdsdhyy.js} +9 -9
  154. package/dist/chunks/{location-services-p26b5pq5.js → pty-g49r3ea3.js} +24 -24
  155. package/dist/chunks/{location-services-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-services-padsqcqg.js → pty-gjyhvyzk.js} +10 -10
  157. package/dist/chunks/{location-services-j6amyfha.js → pty-gmt621qa.js} +17 -17
  158. package/dist/chunks/{location-services-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{location-services-qvk8q52w.js → pty-h5prsy26.js} +18 -18
  160. package/dist/chunks/{location-services-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{location-services-h71w788e.js → pty-h71w788e.js} +2 -2
  162. package/dist/chunks/{location-services-cnxm6v10.js → pty-hgyhsn9t.js} +16 -16
  163. package/dist/chunks/{location-services-r4dxhd0k.js → pty-hkw89x8s.js} +3 -3
  164. package/dist/chunks/{location-services-2h0n3pvm.js → pty-hm0swns8.js} +4 -4
  165. package/dist/chunks/{location-services-ddt2bs9e.js → pty-hn57h045.js} +4 -4
  166. package/dist/chunks/{location-services-97y1acd2.js → pty-hnrh7jv9.js} +11 -11
  167. package/dist/chunks/{location-services-k4e92dms.js → pty-httfvynw.js} +15 -15
  168. package/dist/chunks/{location-services-nfgkmr26.js → pty-hvrxfwdm.js} +6 -6
  169. package/dist/chunks/{location-services-6n4b0dsb.js → pty-j1mj860n.js} +9 -9
  170. package/dist/chunks/{location-services-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{location-services-txs978d1.js → pty-jsm1w6zq.js} +4 -4
  172. package/dist/chunks/{location-services-bpyqak8g.js → pty-jz9w4cgt.js} +7 -7
  173. package/dist/chunks/{location-services-qa03ng1b.js → pty-karrgenz.js} +37 -37
  174. package/dist/chunks/{location-services-66qy9qj4.js → pty-ke2bgdcy.js} +13 -13
  175. package/dist/chunks/{location-services-jw80jp6b.js → pty-kk00bynn.js} +21 -21
  176. package/dist/chunks/{location-services-nt0s1zvs.js → pty-ks3r113m.js} +14 -14
  177. package/dist/chunks/{location-services-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{location-services-y35sf2j4.js → pty-m9g140gf.js} +4 -4
  179. package/dist/chunks/{location-services-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{location-services-13gzpw2v.js → pty-mm0y4phk.js} +2 -2
  181. package/dist/chunks/{location-services-3pb9af0k.js → pty-mp49sbvf.js} +27 -27
  182. package/dist/chunks/{location-services-qeseq2md.js → pty-mqbat9jp.js} +3 -3
  183. package/dist/chunks/{location-services-qr7n58p5.js → pty-mzbph88c.js} +43 -43
  184. package/dist/chunks/{location-services-q65ygsy9.js → pty-n0m5xdp9.js} +10 -10
  185. package/dist/chunks/{location-services-15ykkz21.js → pty-n44333yt.js} +13 -13
  186. package/dist/chunks/{location-services-hqxaqnsz.js → pty-ndkp1pbx.js} +13 -13
  187. package/dist/chunks/{location-services-pnv527nz.js → pty-nq7qbqzc.js} +9 -9
  188. package/dist/chunks/{location-services-xp73bz4m.js → pty-nsvd1f8s.js} +21 -21
  189. package/dist/chunks/{location-services-1t9ytmqw.js → pty-ny05sq48.js} +9 -9
  190. package/dist/chunks/{location-services-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  191. package/dist/chunks/{location-services-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
  192. package/dist/chunks/{location-services-43d6ch47.js → pty-p6d074gg.js} +13 -13
  193. package/dist/chunks/{location-services-7d60y72p.js → pty-pa29zzk8.js} +22 -22
  194. package/dist/chunks/{location-services-wm5dzp9x.js → pty-pgadv6bt.js} +18 -18
  195. package/dist/chunks/{location-services-3ykzfd22.js → pty-pjedbq3k.js} +9 -9
  196. package/dist/chunks/{location-services-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-services-zyj38zv2.js → pty-pkatsdp4.js} +22 -22
  198. package/dist/chunks/{location-services-pknna89w.js → pty-pknna89w.js} +1 -1
  199. package/dist/chunks/{location-services-hgnyvvad.js → pty-pnchrenk.js} +32 -32
  200. package/dist/chunks/{location-services-zzzk6brv.js → pty-ppt37g3q.js} +59 -59
  201. package/dist/chunks/{location-services-pck9b22e.js → pty-ps1arbjd.js} +31 -31
  202. package/dist/chunks/{location-services-cxhh1rn6.js → pty-ps4an3s3.js} +3 -3
  203. package/dist/chunks/{location-services-heepps64.js → pty-q29thqgw.js} +6 -6
  204. package/dist/chunks/{location-services-n5vz0cry.js → pty-q8n9d2sh.js} +8 -8
  205. package/dist/chunks/{location-services-avzbvtge.js → pty-q9p4606t.js} +23 -23
  206. package/dist/chunks/{location-services-d4he2qe1.js → pty-qmqgtz8f.js} +9 -9
  207. package/dist/chunks/{location-services-xfkkasph.js → pty-qqeeq2t9.js} +7 -7
  208. package/dist/chunks/{location-services-qsdy395h.js → pty-qsdy395h.js} +1 -1
  209. package/dist/chunks/{location-services-nfwd4y0h.js → pty-qv3cmgwj.js} +20 -20
  210. package/dist/chunks/{location-services-nfh8hxhr.js → pty-qygprnkz.js} +11 -11
  211. package/dist/chunks/{location-services-ajqzprg7.js → pty-r1dq1bn8.js} +8 -8
  212. package/dist/chunks/{location-services-gkkm038p.js → pty-r56jycby.js} +17 -17
  213. package/dist/chunks/{location-services-mvfsc1pv.js → pty-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{location-services-3x2ckdv1.js → pty-r8f2g607.js} +8 -8
  215. package/dist/chunks/{location-services-vyxpt3wn.js → pty-r98b7zm4.js} +30 -30
  216. package/dist/chunks/{location-services-5tsc8w82.js → pty-rc72nxnw.js} +43 -43
  217. package/dist/chunks/{location-services-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{location-services-8djvvjxb.js → pty-rrtzm0z5.js} +22 -22
  219. package/dist/chunks/{location-services-csx807mm.js → pty-rscnw2jy.js} +17 -17
  220. package/dist/chunks/{location-services-sbgaavdd.js → pty-rwmws8eb.js} +13 -13
  221. package/dist/chunks/{location-services-bz85s9hh.js → pty-ryt7pzqc.js} +1 -1
  222. package/dist/chunks/{location-services-0gsvpvz9.js → pty-rz6pad5v.js} +25 -25
  223. package/dist/chunks/{location-services-a2dxn8dm.js → pty-s1vgemc7.js} +7 -7
  224. package/dist/chunks/{location-services-yrznvahk.js → pty-s4enseaf.js} +2 -2
  225. package/dist/chunks/{location-services-dgt1zz73.js → pty-s6ymxyzv.js} +6 -6
  226. package/dist/chunks/{location-services-ahk5atfs.js → pty-s7q0bjyb.js} +13 -13
  227. package/dist/chunks/{location-services-6fp3x2e4.js → pty-sc7m4xfj.js} +17 -17
  228. package/dist/chunks/{location-services-g0brck71.js → pty-sd0vhpay.js} +96 -96
  229. package/dist/chunks/{location-services-88pzrjvm.js → pty-sf1tgbav.js} +14 -14
  230. package/dist/chunks/{location-services-zdt4b259.js → pty-sz5c3476.js} +1 -1
  231. package/dist/chunks/{location-services-5wna4smh.js → pty-t2qsjm8j.js} +23 -23
  232. package/dist/chunks/{location-services-1ddyqjqr.js → pty-t3gyxbgb.js} +15 -15
  233. package/dist/chunks/{location-services-tj6ctq7t.js → pty-ta94ydyf.js} +10 -10
  234. package/dist/chunks/{location-services-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{location-services-ktbvhxdy.js → pty-tbe9f1mn.js} +21 -21
  236. package/dist/chunks/{location-services-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{location-services-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{location-services-wz3jkm9t.js → pty-tmdgs4qc.js} +11 -11
  239. package/dist/chunks/{location-services-br0tr5aq.js → pty-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{location-services-tvtrv512.js → pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{location-services-qcx6v6fb.js → pty-tyxp03c1.js} +29 -29
  242. package/dist/chunks/pty-v1faaxn9.js +18 -0
  243. package/dist/chunks/{location-services-wqjxr3aq.js → pty-v5g0yskm.js} +2 -2
  244. package/dist/chunks/{location-services-c3nq68wy.js → pty-v9a7a4zt.js} +91 -91
  245. package/dist/chunks/{location-services-7kesnrr4.js → pty-vcbz1vdx.js} +15 -15
  246. package/dist/chunks/{location-services-veqvce7d.js → pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-services-hc7n3jk5.js → pty-vkxpz7g2.js} +4 -4
  248. package/dist/chunks/{location-services-jtzqzwva.js → pty-vnr19yaz.js} +6 -6
  249. package/dist/chunks/{location-services-5p2kwt9x.js → pty-vv67fzzf.js} +22 -22
  250. package/dist/chunks/{location-services-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{location-services-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{location-services-54v9494h.js → pty-w4mwq8bs.js} +1 -1
  253. package/dist/chunks/{location-services-0rj48pfy.js → pty-w60ddt80.js} +17 -17
  254. package/dist/chunks/{location-services-6pbst28s.js → pty-w9fkbwq5.js} +10 -10
  255. package/dist/chunks/{location-services-wd87259q.js → pty-wd87259q.js} +1 -1
  256. package/dist/chunks/{location-services-ct491mk2.js → pty-wgh0awmw.js} +35 -35
  257. package/dist/chunks/pty-wh560a5b.js +252 -0
  258. package/dist/chunks/{location-services-xwnqybcm.js → pty-whhr0qbd.js} +5 -5
  259. package/dist/chunks/{location-services-reqnm6dy.js → pty-wjv0bjkz.js} +16 -16
  260. package/dist/chunks/{location-services-e0b31sa2.js → pty-wmt2jdxs.js} +21 -21
  261. package/dist/chunks/{location-services-b24tsyng.js → pty-wx3n4hzp.js} +24 -24
  262. package/dist/chunks/{location-services-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{location-services-0ryd0fps.js → pty-x2d9qy7d.js} +5 -5
  264. package/dist/chunks/{location-services-swz3aexg.js → pty-x2xsxqnt.js} +1 -1
  265. package/dist/chunks/{location-services-14ejk6kr.js → pty-x7tehcsj.js} +29 -29
  266. package/dist/chunks/{location-services-8jwr28ks.js → pty-x8ssrn04.js} +11 -11
  267. package/dist/chunks/{location-services-y9ksa81c.js → pty-xk4hfm6m.js} +11 -11
  268. package/dist/chunks/{location-services-f4mmxbf4.js → pty-xnbn90dq.js} +17 -17
  269. package/dist/chunks/pty-xrsqh21y.js +4 -0
  270. package/dist/chunks/{location-services-3akw3t53.js → pty-xxs85xy1.js} +16 -16
  271. package/dist/chunks/{location-services-cphcvfjg.js → pty-xxz86ynf.js} +24 -24
  272. package/dist/chunks/{location-services-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{location-services-nha1rwb4.js → pty-y2eym35f.js} +8 -8
  274. package/dist/chunks/{location-services-hx5ww8wt.js → pty-y5df08dr.js} +12 -12
  275. package/dist/chunks/{location-services-p7nsp59h.js → pty-y67gsgy6.js} +4 -4
  276. package/dist/chunks/{location-services-y71avatq.js → pty-y71avatq.js} +1 -1
  277. package/dist/chunks/{location-services-btetab1a.js → pty-y8s8jbmk.js} +8 -8
  278. package/dist/chunks/{location-services-n61zs1tf.js → pty-ydsbnknk.js} +8 -8
  279. package/dist/chunks/{location-services-35jdh5gh.js → pty-yensex2p.js} +143 -143
  280. package/dist/chunks/pty-ymeqjvqr.js +492 -0
  281. package/dist/chunks/{location-services-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{location-services-e1pavmxr.js → pty-ywb2092b.js} +5 -5
  283. package/dist/chunks/{location-services-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{location-services-gj3qr3g2.js → pty-z8k7ba4y.js} +16 -16
  285. package/dist/chunks/{location-services-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{location-services-qmkefe1x.js → pty-znfg10s7.js} +4 -4
  287. package/dist/chunks/{location-services-k9kj6xed.js → pty-zqx8wcya.js} +8 -8
  288. package/dist/chunks/{location-services-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-services-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{location-services-mv2f6kph.js → pty-zxv0wf82.js} +17 -17
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +81 -81
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +209 -209
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +120 -120
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +125 -125
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +78 -78
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +367 -367
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +79 -79
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +83 -83
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +86 -86
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +107 -107
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +99 -99
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +79 -79
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +114 -114
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +99 -99
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +119 -119
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +69 -69
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +345 -345
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +83 -83
  549. package/dist/plugin/vcs/hg.js +83 -83
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +228 -228
  559. package/dist/project/schema.js +6 -6
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +85 -85
  562. package/dist/provider.js +96 -96
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +127 -127
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +85 -85
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +92 -92
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +228 -228
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +74 -74
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +220 -220
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +215 -215
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +113 -113
  643. package/dist/tool/plugin/question.js +102 -102
  644. package/dist/tool/plugin/read.js +118 -118
  645. package/dist/tool/plugin/shell.js +210 -210
  646. package/dist/tool/plugin/skill.js +110 -110
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +109 -109
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +117 -117
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +77 -77
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +3 -3
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +97 -97
  695. package/package.json +8 -8
  696. package/dist/chunks/location-services-0mesazry.js +0 -4
  697. package/dist/chunks/location-services-1rx1b2j9.js +0 -492
  698. package/dist/chunks/location-services-3vrsxnng.js +0 -65
  699. package/dist/chunks/location-services-4v7qdvcn.js +0 -18
  700. package/dist/chunks/location-services-mg5wag8c.js +0 -252
  701. package/dist/chunks/location-services-z8f6hzd1.js +0 -26
  702. /package/dist/chunks/{location-services-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{location-services-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{location-services-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{location-services-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{location-services-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{location-services-24dcb14g.js → pty-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{location-services-2710q6r3.js → pty-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{location-services-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{location-services-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{location-services-359p4xyc.js → pty-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{location-services-3asan66x.js → pty-3asan66x.js} +0 -0
  713. /package/dist/chunks/{location-services-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{location-services-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{location-services-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{location-services-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{location-services-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{location-services-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{location-services-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{location-services-53557ph1.js → pty-53557ph1.js} +0 -0
  721. /package/dist/chunks/{location-services-550bvhaj.js → pty-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{location-services-6prwharc.js → pty-6prwharc.js} +0 -0
  723. /package/dist/chunks/{location-services-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{location-services-7m9af43g.js → pty-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{location-services-822emrt2.js → pty-822emrt2.js} +0 -0
  726. /package/dist/chunks/{location-services-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{location-services-8n3pysct.js → pty-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{location-services-922hggd3.js → pty-922hggd3.js} +0 -0
  729. /package/dist/chunks/{location-services-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{location-services-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{location-services-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{location-services-af5trqkr.js → pty-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{location-services-afrmfg78.js → pty-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{location-services-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{location-services-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{location-services-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{location-services-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{location-services-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{location-services-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{location-services-d9fn303g.js → pty-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{location-services-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{location-services-dajrwvna.js → pty-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{location-services-dap0rakb.js → pty-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{location-services-df08tz66.js → pty-df08tz66.js} +0 -0
  745. /package/dist/chunks/{location-services-dy18nga0.js → pty-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{location-services-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-services-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-services-ec1grn59.js → pty-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-services-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-services-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-services-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-services-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-services-faypxj3z.js → pty-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-services-fd410y7t.js → pty-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-services-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-services-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-services-g86h250q.js → pty-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-services-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-services-gftt206x.js → pty-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-services-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-services-hk9envan.js → pty-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-services-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-services-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-services-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-services-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-services-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-services-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-services-mp448xyj.js → pty-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-services-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-services-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-services-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-services-njntx4h6.js → pty-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-services-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-services-q74kybfr.js → pty-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-services-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-services-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-services-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-services-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-services-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-services-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-services-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-services-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-services-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-services-twg0f83k.js → pty-twg0f83k.js} +0 -0
  785. /package/dist/chunks/{location-services-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{location-services-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{location-services-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{location-services-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{location-services-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{location-services-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{location-services-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{location-services-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{location-services-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{location-services-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{location-services-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{location-services-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
+ import {
2
+ Service83,
3
+ node87
4
+ } from "./pty-0mp324rf.js";
1
5
  import {
2
6
  Service82,
3
7
  node86
4
- } from "./location-services-p74jqh8w.js";
5
- import {
6
- Service81,
7
- node85
8
- } from "./location-services-gj3qr3g2.js";
8
+ } from "./pty-z8k7ba4y.js";
9
9
  import {
10
- Service48,
11
- node51
12
- } from "./location-services-vwf963ta.js";
10
+ Service59,
11
+ node61
12
+ } from "./pty-58mbwdrb.js";
13
13
  import {
14
- Service37,
15
- node39
16
- } from "./location-services-jhf3jymm.js";
14
+ Service40,
15
+ node42
16
+ } from "./pty-3ppptnan.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-services-ec1grn59.js";
19
+ } from "./pty-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./location-services-yp2x3t23.js";
21
+ make17
22
+ } from "./pty-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service36
26
- } from "./location-services-ddt2bs9e.js";
25
+ Service38
26
+ } from "./pty-hn57h045.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./location-services-97fmyryk.js";
29
+ } from "./pty-bg2bzas4.js";
30
30
  import {
31
- Service65,
32
- node68
33
- } from "./location-services-7b6mncz0.js";
31
+ Service50,
32
+ node52
33
+ } from "./pty-5s45kcve.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./location-services-2h0n3pvm.js";
36
+ } from "./pty-hm0swns8.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./location-services-avzbvtge.js";
39
+ } from "./pty-q9p4606t.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: () => Service35,
47
+ Service: () => Service37,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer16,
50
- node: () => node38,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer15,
50
+ node: () => node40,
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 Service35 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service37 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
69
- const store = yield* Service65;
70
- const instances = yield* Service37;
71
- const bus = yield* Service81;
72
- const jobs = yield* Service48;
73
- const db = (yield* Service82).db;
68
+ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
69
+ const store = yield* Service50;
70
+ const instances = yield* Service40;
71
+ const bus = yield* Service82;
72
+ const jobs = yield* Service59;
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) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,14 +82,14 @@ var layer16 = Layer.effect(Service35, 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* Service36.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* Service38.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* make16({
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 layer16 = Layer.effect(Service35, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service35.of({
113
+ return Service37.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node38 = makeGlobalNode({
133
- service: Service35,
134
- layer: layer16,
135
- deps: [node68, node39, node85, node86, node51]
132
+ var node40 = makeGlobalNode({
133
+ service: Service37,
134
+ layer: layer15,
135
+ deps: [node52, node42, node86, node87, node61]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service35, Service35.of({
137
+ var noopLayer3 = Layer.succeed(Service37, Service37.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service35, terminal2, layer16, node38, noopLayer2, exports_execution };
146
+ export { Service37, terminal2, layer15, node40, noopLayer3, exports_execution };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./location-services-emrn6kk6.js";
5
+ } from "./pty-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./location-services-zr2ceqn5.js";
3
+ } from "./pty-zr2ceqn5.js";
4
4
  import {
5
- Service57
6
- } from "./location-services-dnnw2ag8.js";
5
+ Service69
6
+ } from "./pty-crwbn2y9.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make10
16
+ make: () => make4
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make10 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service57;
25
+ var make4 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service69;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make10, LoadError2, exports_module };
105
+ export { make4, LoadError2, exports_module };
@@ -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/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-services-gj3qr3g2.js";
2
+ Service82,
3
+ node86
4
+ } from "./pty-z8k7ba4y.js";
5
5
  import {
6
6
  Key4,
7
- Service76,
8
- node80
9
- } from "./location-services-g4e5a8px.js";
7
+ Service75,
8
+ node79
9
+ } from "./pty-bc62gbf5.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-den0y6mq.js";
16
+ } from "./pty-1jvwysfd.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: () => Event18,
34
+ Event: () => Event17,
35
35
  ID: () => ID14,
36
- Info: () => Info29,
36
+ Info: () => Info28,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service75,
44
- node: () => node79
43
+ Service: () => Service73,
44
+ node: () => node77
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,7 +62,7 @@ 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 Event18 } from "@opencode/schema/integration";
65
+ import { Event as Event17 } from "@opencode/schema/integration";
66
66
  var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
@@ -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 Info29 = Integration.Info;
74
+ var Info28 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -100,14 +100,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
100
100
  }
101
101
  var Ref3 = Integration.Ref;
102
102
 
103
- class Service75 extends Context.Service()("@opencode/Integration") {
103
+ class Service73 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(Service75, Effect.gen(function* () {
109
- const credentials = yield* Service76;
110
- const bus = yield* Service81;
108
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
109
+ const credentials = yield* Service75;
110
+ const bus = yield* Service82;
111
111
  const processes = yield* AppProcess.Service;
112
112
  const scope = yield* Scope.Scope;
113
113
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service75, 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) => Info29.make({
203
+ const project = (entry, connections) => Info28.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(Service75, 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 Service75.of({
433
+ return Service73.of({
434
434
  transform: state.transform,
435
435
  reload: state.reload,
436
436
  revision: state.revision,
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
579
579
  }
580
580
  });
581
581
  }));
582
- var node79 = makeLocationNode({
583
- service: Service75,
582
+ var node77 = makeLocationNode({
583
+ service: Service73,
584
584
  layer,
585
- deps: [node80, node85, AppProcess.node]
585
+ deps: [node79, node86, AppProcess.node]
586
586
  });
587
587
 
588
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
588
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event17 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make18,
5
5
  diffByKey2
6
- } from "./location-services-rhjbct0v.js";
6
+ } from "./pty-0gdmqesm.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./location-services-bnq2yade.js";
9
+ } from "./pty-dmrxm1ex.js";
10
10
  import {
11
- Service34,
12
- node37
13
- } from "./location-services-2xk65d5p.js";
11
+ Service25,
12
+ node28
13
+ } from "./pty-92s5ksem.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./location-services-wvepaptn.js";
16
+ name13
17
+ } from "./pty-8f1v9drm.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service32,
27
- layer: () => layer13,
28
- node: () => node35
23
+ var exports_instructions2 = {};
24
+ __export(exports_instructions2, {
25
+ McpInstructions: () => exports_instructions2,
26
+ Service: () => Service21,
27
+ layer: () => layer8,
28
+ node: () => node25
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service21 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
67
- const mcp = yield* Service34;
68
- return Service32.of({
66
+ var layer8 = Layer.effect(Service21, Effect.gen(function* () {
67
+ const mcp = yield* Service25;
68
+ return Service21.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
70
+ const source = (value) => make18({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -86,7 +86,7 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node35 = makeLocationNode({ service: Service32, layer: layer13, deps: [node37] });
99
+ var node25 = makeLocationNode({ service: Service21, layer: layer8, deps: [node28] });
100
100
 
101
- export { Service32, layer13, node35, exports_instructions5 };
101
+ export { Service21, layer8, node25, exports_instructions2 };
@@ -2,34 +2,34 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-services-2a5m3afh.js";
5
+ } from "./pty-2a5m3afh.js";
6
6
  import {
7
- Service78
8
- } from "./location-services-cnxm6v10.js";
7
+ Service76
8
+ } from "./pty-hgyhsn9t.js";
9
9
  import {
10
- Service69
11
- } from "./location-services-xaf9sk1m.js";
10
+ Service66
11
+ } from "./pty-2jn1a9mb.js";
12
12
  import {
13
- Service61
14
- } from "./location-services-k75p7jbd.js";
13
+ Service14
14
+ } from "./pty-2xtspnhm.js";
15
15
  import {
16
- Service46,
16
+ Service13,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./location-services-ahk5atfs.js";
19
+ } from "./pty-s7q0bjyb.js";
20
20
  import {
21
- Service63
22
- } from "./location-services-bnq2yade.js";
21
+ Service49
22
+ } from "./pty-dmrxm1ex.js";
23
23
  import {
24
- Service62,
24
+ Service16,
25
25
  resolvePath2
26
- } from "./location-services-qgx1rdqs.js";
26
+ } from "./pty-5s7v9c7v.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./location-services-6prwharc.js";
29
+ } from "./pty-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./location-services-9rqn6x4v.js";
32
+ } from "./pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
@@ -38,7 +38,7 @@ __export(exports_patch, {
38
38
  Input: () => Input2,
39
39
  Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin4,
41
+ Plugin: () => Plugin2,
42
42
  name: () => name2,
43
43
  toModelContent: () => toModelContent2
44
44
  });
@@ -105,15 +105,15 @@ var toModelContent2 = (output) => [
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin4 = {
108
+ var Plugin2 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service69;
112
- const access = yield* Service62;
113
- const fileMutation = yield* Service46;
114
- const formatter = yield* Service61;
115
- const location = yield* Service78;
116
- const permission = yield* Service63;
111
+ const environment = yield* Service66;
112
+ const access = yield* Service16;
113
+ const fileMutation = yield* Service13;
114
+ const formatter = yield* Service14;
115
+ const location = yield* Service76;
116
+ const permission = yield* Service49;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
118
  name: name2,
119
119
  options: { codemode: false, permission: "edit" },
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin4, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77
3
- } from "./location-services-den0y6mq.js";
2
+ Service74
3
+ } from "./pty-1jvwysfd.js";
4
4
  import {
5
- Service63
6
- } from "./location-services-bnq2yade.js";
5
+ Service49
6
+ } from "./pty-dmrxm1ex.js";
7
7
  import {
8
8
  ID5,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service47
14
- } from "./location-services-5v7ahtzb.js";
13
+ Service48
14
+ } from "./pty-61g3b1pw.js";
15
15
  import {
16
16
  __export
17
- } from "./location-services-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin12,
24
+ Plugin: () => Plugin5,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name10
26
+ description: () => description2,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name10 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID5,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin12 = {
49
+ var Plugin5 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service63;
53
- const forms = yield* Service77;
54
- const websearch = yield* Service47;
52
+ const permission = yield* Service49;
53
+ const forms = yield* Service74;
54
+ const websearch = yield* Service48;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input10,
58
+ description: description2,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description4, Input10, Plugin12, exports_websearch };
187
+ export { name4, NO_RESULTS2, description2, Input4, Plugin5, exports_websearch };