@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,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
+ import {
5
+ Service83,
6
+ node87
7
+ } from "./pty-0mp324rf.js";
4
8
  import {
5
9
  Service82,
6
10
  node86
7
- } from "./location-services-p74jqh8w.js";
11
+ } from "./pty-z8k7ba4y.js";
8
12
  import {
9
13
  Service81,
10
14
  node85
11
- } from "./location-services-gj3qr3g2.js";
12
- import {
13
- Service80,
14
- node84
15
- } from "./location-services-hx5ww8wt.js";
15
+ } from "./pty-y5df08dr.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./location-services-57ez7d0k.js";
23
+ } from "./pty-81swgkk7.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./location-services-8p4f9s12.js";
27
+ } from "./pty-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./location-services-cfpkc3c9.js";
30
+ } from "./pty-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./pty-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info33,
40
+ Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node81,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,7 +58,7 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service79 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,12 +93,12 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service79, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service80;
98
+ const git = yield* Service81;
99
99
  const proc = yield* AppProcess.Service;
100
- const bus = yield* Service81;
101
- const db = (yield* Service82).db;
100
+ const bus = yield* Service82;
101
+ const db = (yield* Service83).db;
102
102
  const announcing = new Set;
103
103
  const persist = Effect.fnUntraced(function* (project) {
104
104
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event21.Updated, fromRow(row));
109
+ yield* bus.publish(Event20.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event21.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service79.of({ list, update, resolve });
273
+ return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node83 = makeGlobalNode({
276
- service: Service79,
275
+ var node81 = makeGlobalNode({
276
+ service: Service77,
277
277
  layer,
278
- deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
278
+ deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
281
+ export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node81, exports_project };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-services-ec1grn59.js";
3
+ } from "./pty-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./location-services-2h0n3pvm.js";
6
+ } from "./pty-hm0swns8.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make6,
16
+ make: () => make10,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
99
99
  return true;
100
100
  })
101
101
  });
102
- var make6 = (bus, sessionID) => Effect.gen(function* () {
102
+ var make10 = (bus, sessionID) => Effect.gen(function* () {
103
103
  const decide = yield* policy2(sessionID);
104
104
  const wait = (input) => Effect.gen(function* () {
105
105
  const scheduled = yield* Clock.currentTimeMillis;
@@ -116,4 +116,4 @@ var make6 = (bus, sessionID) => Effect.gen(function* () {
116
116
  return { decide, wait };
117
117
  });
118
118
 
119
- export { isRetryable2, policy2, transient2, make6, exports_retry };
119
+ export { isRetryable2, policy2, transient2, make10, exports_retry };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./location-services-p74jqh8w.js";
2
+ Service83,
3
+ node87
4
+ } from "./pty-0mp324rf.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-services-f828m53h.js";
7
+ } from "./pty-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info21,
16
+ ID: () => ID7,
17
+ Info: () => Info10,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service64,
21
- node: () => node67
20
+ Service: () => Service51,
21
+ node: () => node53
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info21 = PermissionSaved.Info;
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info10 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service64 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service51 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
42
- const db = (yield* Service82).db;
41
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
42
+ const db = (yield* Service83).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID7.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service64.of({ list, add, remove });
69
+ return Service51.of({ list, add, remove });
70
70
  }));
71
- var node67 = makeGlobalNode({ service: Service64, layer, deps: [node86] });
71
+ var node53 = makeGlobalNode({ service: Service51, layer, deps: [node87] });
72
72
 
73
- export { ID8, Info21, ListInput4, AddInput2, Service64, node67, exports_saved };
73
+ export { ID7, Info10, ListInput4, AddInput2, Service51, node53, exports_saved };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make16
9
+ make: () => make17
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make16 = (options) => Effect.gen(function* () {
12
+ var make17 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make16 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make16, exports_run_coordinator };
92
+ export { make17, exports_run_coordinator };
@@ -2,10 +2,10 @@ 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
7
  __export
8
- } from "./location-services-9rqn6x4v.js";
8
+ } from "./pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,10 +1,10 @@
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
  __export
7
- } from "./location-services-9rqn6x4v.js";
7
+ } from "./pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event18,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
20
- Info: () => Info31,
19
+ ID: () => ID15,
20
+ Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service77,
25
+ Service: () => Service74,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node81,
29
+ node: () => node78,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event18 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
39
- var Info31 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info29 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service77 extends Context.Service()("@opencode/Form") {
82
+ class Service74 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service77, Effect.gen(function* () {
85
- const bus = yield* Service81;
84
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
+ const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service77.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service74.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node81 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
164
+ var node78 = makeLocationNode({ service: Service74, layer: layer25, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node81, validateAnswer2, validateFields2, exports_form, Event20 };
316
+ export { ID15, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node78, validateAnswer2, validateFields2, exports_form, Event18 };
@@ -0,0 +1,65 @@
1
+ import {
2
+ Service82,
3
+ node86
4
+ } from "./pty-z8k7ba4y.js";
5
+ import {
6
+ Service74,
7
+ node78
8
+ } from "./pty-1jvwysfd.js";
9
+ import {
10
+ Ref4,
11
+ Service76,
12
+ node80
13
+ } from "./pty-hgyhsn9t.js";
14
+ import {
15
+ Service49,
16
+ node51
17
+ } from "./pty-dmrxm1ex.js";
18
+ import {
19
+ Service44,
20
+ node46
21
+ } from "./pty-pgadv6bt.js";
22
+ import {
23
+ __export
24
+ } from "./pty-9rqn6x4v.js";
25
+
26
+ // src/location-lifecycle.ts
27
+ var exports_location_lifecycle = {};
28
+ __export(exports_location_lifecycle, {
29
+ LocationLifecycle: () => exports_location_lifecycle,
30
+ Service: () => Service15,
31
+ node: () => node17
32
+ });
33
+ import { Context, Effect, Layer } from "effect";
34
+ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
+ import { LocationEvent } from "@opencode/schema/location-event";
36
+ class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
37
+ }
38
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
39
+ const bus = yield* Service82;
40
+ const location = yield* Service76;
41
+ const permission = yield* Service49;
42
+ const forms = yield* Service74;
43
+ const rpc = yield* Service44;
44
+ let closed = false;
45
+ const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
+ closed = true;
47
+ yield* permission.close;
48
+ yield* forms.close;
49
+ yield* rpc.close;
50
+ yield* bus.publish(LocationEvent.Shutdown, {}, {
51
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
+ });
53
+ }).pipe(Effect.uninterruptible));
54
+ return Service15.of({
55
+ isClosed: () => closed,
56
+ shutdown
57
+ });
58
+ }));
59
+ var node17 = makeLocationNode({
60
+ service: Service15,
61
+ layer,
62
+ deps: [node86, node80, node51, node78, node46]
63
+ });
64
+
65
+ export { Service15, node17, exports_location_lifecycle };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./location-services-hx5ww8wt.js";
5
+ Service81,
6
+ node85
7
+ } from "./pty-y5df08dr.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./location-services-2402vzrj.js";
13
+ } from "./pty-6h73sxmp.js";
14
14
  import {
15
- Service59,
16
- node62
17
- } from "./location-services-66qy9qj4.js";
15
+ Service80,
16
+ node84
17
+ } from "./pty-ke2bgdcy.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service49,
33
+ Service: () => Service79,
34
34
  isError: () => isError2,
35
- node: () => node52,
35
+ node: () => node83,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service49 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service79 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service49, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service81;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service59;
110
- return Service49.of({
109
+ const kv = yield* Service80;
110
+ return Service79.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node52 = makeGlobalNode({
171
- service: Service49,
170
+ var node83 = makeGlobalNode({
171
+ service: Service79,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node62]
173
+ deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node84]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service49, isError2, validateBranch2, node52, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service79, isError2, validateBranch2, node83, exports_repository_cache };