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

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +74 -74
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +89 -89
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{location-services-06dxphr1.js → persistent-pty-06dxphr1.js} +1 -1
  8. package/dist/chunks/{location-services-41rx6xpw.js → persistent-pty-0akym11d.js} +16 -16
  9. package/dist/chunks/{location-services-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  10. package/dist/chunks/{location-services-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-services-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{location-services-2h0n3pvm.js → persistent-pty-0rqdjtcb.js} +4 -4
  13. package/dist/chunks/{location-services-0rj48pfy.js → persistent-pty-0zkrmmra.js} +13 -13
  14. package/dist/chunks/{location-services-vyxpt3wn.js → persistent-pty-13f6jh0f.js} +25 -25
  15. package/dist/chunks/{location-services-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{location-services-sbgaavdd.js → persistent-pty-1ev3hptz.js} +13 -13
  17. package/dist/chunks/{location-services-sa4w9a46.js → persistent-pty-1g2zd6q9.js} +1 -1
  18. package/dist/chunks/{location-services-e1pavmxr.js → persistent-pty-1p0trksj.js} +8 -8
  19. package/dist/chunks/{location-services-qa03ng1b.js → persistent-pty-1w7qre35.js} +32 -32
  20. package/dist/chunks/{location-services-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  21. package/dist/chunks/{location-services-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  22. package/dist/chunks/{location-services-8scdvrd9.js → persistent-pty-26v7198b.js} +25 -25
  23. package/dist/chunks/{location-services-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{location-services-s12geb02.js → persistent-pty-2gbsvbx5.js} +12 -12
  25. package/dist/chunks/{location-services-14ejk6kr.js → persistent-pty-2hsgj57k.js} +15 -15
  26. package/dist/chunks/{location-services-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  27. package/dist/chunks/{location-services-yaarn63p.js → persistent-pty-2rnnjxth.js} +7 -7
  28. package/dist/chunks/{location-services-avzbvtge.js → persistent-pty-2wzrjk5c.js} +30 -30
  29. package/dist/chunks/{location-services-3ykzfd22.js → persistent-pty-2y34zzjz.js} +9 -9
  30. package/dist/chunks/{location-services-54v9494h.js → persistent-pty-2ym62d1y.js} +1 -1
  31. package/dist/chunks/{location-services-jewzahs7.js → persistent-pty-3ewed21c.js} +4 -4
  32. package/dist/chunks/{location-services-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  33. package/dist/chunks/{location-services-n61zs1tf.js → persistent-pty-3fs6smyb.js} +11 -11
  34. package/dist/chunks/{location-services-nfwd4y0h.js → persistent-pty-3gs18der.js} +19 -19
  35. package/dist/chunks/{location-services-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{location-services-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{location-services-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{location-services-evbgk2k8.js → persistent-pty-3w0fmcng.js} +5 -5
  39. package/dist/chunks/{location-services-nha1rwb4.js → persistent-pty-4113bgx8.js} +8 -8
  40. package/dist/chunks/{location-services-g0brck71.js → persistent-pty-41ssmn02.js} +86 -86
  41. package/dist/chunks/{location-services-tj6ctq7t.js → persistent-pty-431eg44t.js} +10 -10
  42. package/dist/chunks/{location-services-k9kj6xed.js → persistent-pty-44ke2mar.js} +6 -6
  43. package/dist/chunks/{location-services-egwaa4j7.js → persistent-pty-4acetgwp.js} +2 -2
  44. package/dist/chunks/{location-services-gj3qr3g2.js → persistent-pty-4e13r3ts.js} +16 -16
  45. package/dist/chunks/{location-services-s0aexzn2.js → persistent-pty-4kg54np8.js} +16 -16
  46. package/dist/chunks/{location-services-xaf9sk1m.js → persistent-pty-4pxrwfad.js} +21 -21
  47. package/dist/chunks/{location-services-amsysvbs.js → persistent-pty-4vdcjjmt.js} +11 -11
  48. package/dist/chunks/{location-services-xn4a2vfg.js → persistent-pty-4yy5d4qw.js} +1 -1
  49. package/dist/chunks/{location-services-sns0d4xz.js → persistent-pty-4z7tbtat.js} +4 -4
  50. package/dist/chunks/{location-services-8djvvjxb.js → persistent-pty-5531r29v.js} +19 -19
  51. package/dist/chunks/{location-services-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{location-services-q65ygsy9.js → persistent-pty-57sn279e.js} +10 -10
  53. package/dist/chunks/{location-services-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  54. package/dist/chunks/{location-services-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  55. package/dist/chunks/{location-services-5b2n9wtc.js → persistent-pty-5dbxvay1.js} +26 -26
  56. package/dist/chunks/{location-services-f4mmxbf4.js → persistent-pty-5h8807ma.js} +14 -14
  57. package/dist/chunks/persistent-pty-5kmakpsy.js +492 -0
  58. package/dist/chunks/{location-services-3b7ncy0a.js → persistent-pty-5rfwsh5d.js} +3 -3
  59. package/dist/chunks/{location-services-qeseq2md.js → persistent-pty-5rt7pep6.js} +3 -3
  60. package/dist/chunks/{location-services-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-services-sxa34a4z.js → persistent-pty-61h0qsnp.js} +12 -12
  62. package/dist/chunks/{location-services-shyynm3y.js → persistent-pty-63mpdmm6.js} +30 -30
  63. package/dist/chunks/{location-services-ahk5atfs.js → persistent-pty-65w3833t.js} +12 -12
  64. package/dist/chunks/{location-services-669tq793.js → persistent-pty-669tq793.js} +1 -1
  65. package/dist/chunks/{location-services-agp03ejd.js → persistent-pty-68tggvtb.js} +9 -9
  66. package/dist/chunks/{location-services-1r1dat18.js → persistent-pty-69cccy7z.js} +15 -15
  67. package/dist/chunks/{location-services-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{location-services-h2r7bbkd.js → persistent-pty-6n88yxkj.js} +8 -8
  69. package/dist/chunks/{location-services-p26b5pq5.js → persistent-pty-6p5ms1em.js} +22 -22
  70. package/dist/chunks/{location-services-mv2f6kph.js → persistent-pty-6p7zr8ep.js} +14 -14
  71. package/dist/chunks/{location-services-k4e92dms.js → persistent-pty-6tr59r50.js} +9 -9
  72. package/dist/chunks/{location-services-nt0s1zvs.js → persistent-pty-6vrsc7tt.js} +18 -18
  73. package/dist/chunks/{location-services-den0y6mq.js → persistent-pty-6yh2fsej.js} +11 -11
  74. package/dist/chunks/{location-services-pccv5wmk.js → persistent-pty-6zthmp17.js} +30 -30
  75. package/dist/chunks/{location-services-r99kzjq4.js → persistent-pty-71vt42kc.js} +3 -3
  76. package/dist/chunks/{location-services-6pbst28s.js → persistent-pty-74fmk9vn.js} +12 -12
  77. package/dist/chunks/{location-services-wxjeszww.js → persistent-pty-75q2ps1k.js} +1 -1
  78. package/dist/chunks/{location-services-padsqcqg.js → persistent-pty-78b8afjy.js} +11 -11
  79. package/dist/chunks/{location-services-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{location-services-0drgwj0w.js → persistent-pty-7fmgbjr3.js} +9 -9
  81. package/dist/chunks/{location-services-e6hf2w1z.js → persistent-pty-7s8gb34t.js} +30 -30
  82. package/dist/chunks/{location-services-aq066r76.js → persistent-pty-82ahnwkf.js} +17 -17
  83. package/dist/chunks/{location-services-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{location-services-5rsnc0wz.js → persistent-pty-8hz3g5y0.js} +18 -18
  85. package/dist/chunks/{location-services-g9jp0y5t.js → persistent-pty-8y3s9r1h.js} +6 -6
  86. package/dist/chunks/{location-services-e0b31sa2.js → persistent-pty-90y57r1y.js} +6 -6
  87. package/dist/chunks/{location-services-01saf27s.js → persistent-pty-92xv3hjf.js} +18 -18
  88. package/dist/chunks/{location-services-zzrsh38e.js → persistent-pty-9c77jpjf.js} +1 -1
  89. package/dist/chunks/{location-services-fqhbsnr5.js → persistent-pty-9ex8f1cq.js} +8 -8
  90. package/dist/chunks/{location-services-vwf963ta.js → persistent-pty-9h0hyds4.js} +17 -17
  91. package/dist/chunks/{location-services-6ehegarm.js → persistent-pty-9tx45s8b.js} +27 -27
  92. package/dist/chunks/{location-services-9kmbd9mt.js → persistent-pty-a3r4dcrj.js} +2 -2
  93. package/dist/chunks/persistent-pty-a7qcy6v8.js +26 -0
  94. package/dist/chunks/{location-services-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{location-services-hx5ww8wt.js → persistent-pty-ab8cnxkj.js} +5 -5
  96. package/dist/chunks/{location-services-x8ebxbs7.js → persistent-pty-aba8dj31.js} +11 -11
  97. package/dist/chunks/{location-services-xwnqybcm.js → persistent-pty-ace40s22.js} +7 -7
  98. package/dist/chunks/{location-services-ddt2bs9e.js → persistent-pty-afdssyjb.js} +4 -4
  99. package/dist/chunks/{location-services-qa3qhgw8.js → persistent-pty-b27vhd2z.js} +4 -4
  100. package/dist/chunks/{location-services-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{location-services-7kesnrr4.js → persistent-pty-b7r080c3.js} +10 -10
  102. package/dist/chunks/{location-services-qvk8q52w.js → persistent-pty-bmcyf7gj.js} +20 -20
  103. package/dist/chunks/{location-services-3akw3t53.js → persistent-pty-bph3v013.js} +16 -16
  104. package/dist/chunks/{location-services-br0tr5aq.js → persistent-pty-br0tr5aq.js} +1 -1
  105. package/dist/chunks/{location-services-hgnyvvad.js → persistent-pty-brg56pc6.js} +23 -23
  106. package/dist/chunks/{location-services-88pzrjvm.js → persistent-pty-bsgfsq91.js} +14 -14
  107. package/dist/chunks/{location-services-g4e5a8px.js → persistent-pty-btpphd88.js} +22 -22
  108. package/dist/chunks/{location-services-bz85s9hh.js → persistent-pty-bz85s9hh.js} +1 -1
  109. package/dist/chunks/{location-services-reqnm6dy.js → persistent-pty-cdq49ytp.js} +25 -25
  110. package/dist/chunks/{location-services-zdt4b259.js → persistent-pty-cv5frkqy.js} +1 -1
  111. package/dist/chunks/{location-services-ajqzprg7.js → persistent-pty-cwtvnkts.js} +8 -8
  112. package/dist/chunks/{location-services-jh1by5q0.js → persistent-pty-d0fsejzd.js} +32 -32
  113. package/dist/chunks/{location-services-d4he2qe1.js → persistent-pty-d4he2qe1.js} +2 -2
  114. package/dist/chunks/{location-services-3smbx4tg.js → persistent-pty-de5mzfxd.js} +29 -29
  115. package/dist/chunks/{location-services-v9wys9g0.js → persistent-pty-deq2z4hf.js} +3 -3
  116. package/dist/chunks/{location-services-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  117. package/dist/chunks/{location-services-hpeaj78a.js → persistent-pty-dk2em0p3.js} +8 -8
  118. package/dist/chunks/{location-services-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
  119. package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
  120. package/dist/chunks/{location-services-mbvw0189.js → persistent-pty-e84rd1xk.js} +14 -14
  121. package/dist/chunks/{location-services-0ryd0fps.js → persistent-pty-e8qyrgb1.js} +5 -5
  122. package/dist/chunks/{location-services-rhjbct0v.js → persistent-pty-eaj1djv9.js} +8 -8
  123. package/dist/chunks/{location-services-qmkefe1x.js → persistent-pty-edwvx061.js} +4 -4
  124. package/dist/chunks/{location-services-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{location-services-ca10maaz.js → persistent-pty-encztx8n.js} +28 -28
  126. package/dist/chunks/{location-services-cc1yeevh.js → persistent-pty-epqb7qpy.js} +3 -3
  127. package/dist/chunks/{location-services-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  128. package/dist/chunks/{location-services-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{location-services-xp73bz4m.js → persistent-pty-ffw5jcp2.js} +20 -20
  130. package/dist/chunks/{location-services-qcx6v6fb.js → persistent-pty-fr9ym6sp.js} +27 -27
  131. package/dist/chunks/{location-services-nzbxqn7q.js → persistent-pty-fsy2n4n3.js} +9 -9
  132. package/dist/chunks/{location-services-rph3zd4r.js → persistent-pty-fvanntqq.js} +6 -6
  133. package/dist/chunks/{location-services-cxhh1rn6.js → persistent-pty-fwft7q1r.js} +3 -3
  134. package/dist/chunks/{location-services-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{location-services-jtzqzwva.js → persistent-pty-gb9jw3zf.js} +6 -6
  136. package/dist/chunks/{location-services-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  137. package/dist/chunks/persistent-pty-gfx0waae.js +252 -0
  138. package/dist/chunks/{location-services-hc7n3jk5.js → persistent-pty-gnx4ytbv.js} +4 -4
  139. package/dist/chunks/{location-services-3vrsxnng.js → persistent-pty-grhxn6he.js} +22 -22
  140. package/dist/chunks/{location-services-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  141. package/dist/chunks/{location-services-j6amyfha.js → persistent-pty-gxr7q3nf.js} +18 -18
  142. package/dist/chunks/{location-services-5wna4smh.js → persistent-pty-h4eh15d6.js} +20 -20
  143. package/dist/chunks/{location-services-p7nsp59h.js → persistent-pty-h6jr292a.js} +4 -4
  144. package/dist/chunks/{location-services-h6r3nrb9.js → persistent-pty-h6r3nrb9.js} +1 -1
  145. package/dist/chunks/{location-services-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{location-services-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{location-services-hqxaqnsz.js → persistent-pty-hds23wzw.js} +11 -11
  148. package/dist/chunks/{location-services-p74jqh8w.js → persistent-pty-hmp6wt3x.js} +11 -11
  149. package/dist/chunks/{location-services-qgx1rdqs.js → persistent-pty-hnac9jpe.js} +13 -13
  150. package/dist/chunks/{location-services-bj7tvmw6.js → persistent-pty-hq654dja.js} +25 -25
  151. package/dist/chunks/{location-services-fkv5dgng.js → persistent-pty-hv2snex1.js} +14 -14
  152. package/dist/chunks/{location-services-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  153. package/dist/chunks/{location-services-h71w788e.js → persistent-pty-j58c5xyq.js} +9 -9
  154. package/dist/chunks/{location-services-npedgy9w.js → persistent-pty-j9vp638d.js} +39 -39
  155. package/dist/chunks/{location-services-1z8qb3ex.js → persistent-pty-jcz9anth.js} +47 -47
  156. package/dist/chunks/{location-services-byqm21fr.js → persistent-pty-jdvrzx2t.js} +20 -20
  157. package/dist/chunks/{location-services-mf9m2v67.js → persistent-pty-jexxy024.js} +3 -3
  158. package/dist/chunks/{location-services-mhjr3rfr.js → persistent-pty-jfcm29bp.js} +4 -4
  159. package/dist/chunks/{location-services-4ths69c4.js → persistent-pty-jpxb4059.js} +11 -11
  160. package/dist/chunks/{location-services-qjhg5syr.js → persistent-pty-jsqr29s7.js} +16 -16
  161. package/dist/chunks/{location-services-k1h24f7j.js → persistent-pty-jsx9wcxe.js} +2 -2
  162. package/dist/chunks/{location-services-yxww1zge.js → persistent-pty-jtwa0aj6.js} +11 -11
  163. package/dist/chunks/{location-services-veab9ysh.js → persistent-pty-jzphxtev.js} +8 -8
  164. package/dist/chunks/{location-services-qby9dwvd.js → persistent-pty-k1gkpfdk.js} +8 -8
  165. package/dist/chunks/{location-services-jw80jp6b.js → persistent-pty-k2h4r4s0.js} +4 -4
  166. package/dist/chunks/{location-services-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  167. package/dist/chunks/{location-services-smn8w5fw.js → persistent-pty-k6w2t1ya.js} +4 -4
  168. package/dist/chunks/{location-services-w30j99fm.js → persistent-pty-kfgf5fep.js} +19 -19
  169. package/dist/chunks/{location-services-jk7fjn0h.js → persistent-pty-kftvnv3j.js} +14 -14
  170. package/dist/chunks/{location-services-wvepaptn.js → persistent-pty-kkzayper.js} +30 -30
  171. package/dist/chunks/{location-services-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  172. package/dist/chunks/{location-services-pnv527nz.js → persistent-pty-m2d0j7c0.js} +9 -9
  173. package/dist/chunks/{location-services-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{location-services-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{location-services-heepps64.js → persistent-pty-mbgq0mmx.js} +4 -4
  176. package/dist/chunks/{location-services-hzzsfrh9.js → persistent-pty-mfs5sj5t.js} +6 -6
  177. package/dist/chunks/{location-services-cjwramev.js → persistent-pty-mg83pbjr.js} +8 -8
  178. package/dist/chunks/{location-services-y9ksa81c.js → persistent-pty-mmmrdbr8.js} +11 -11
  179. package/dist/chunks/{location-services-c3nq68wy.js → persistent-pty-mnaz46m9.js} +76 -76
  180. package/dist/chunks/{location-services-mvfsc1pv.js → persistent-pty-mvfsc1pv.js} +1 -1
  181. package/dist/chunks/{location-services-dnnw2ag8.js → persistent-pty-n2eg1d0h.js} +18 -18
  182. package/dist/chunks/{location-services-p435d5mj.js → persistent-pty-n36xcpgr.js} +5 -5
  183. package/dist/chunks/{location-services-cnxm6v10.js → persistent-pty-n4j23rry.js} +2 -2
  184. package/dist/chunks/{location-services-zwb7d1wn.js → persistent-pty-nm55ymfc.js} +25 -25
  185. package/dist/chunks/{location-services-y35sf2j4.js → persistent-pty-nqyhrfcc.js} +4 -4
  186. package/dist/chunks/{location-services-avymfndx.js → persistent-pty-nyacxbzj.js} +40 -40
  187. package/dist/chunks/{location-services-dndbn6tq.js → persistent-pty-p0h2c1j9.js} +12 -12
  188. package/dist/chunks/{location-services-0gsvpvz9.js → persistent-pty-p3x7gx7a.js} +23 -23
  189. package/dist/chunks/{location-services-wm5dzp9x.js → persistent-pty-p4a5cx5p.js} +14 -14
  190. package/dist/chunks/{location-services-35jdh5gh.js → persistent-pty-p513dnzd.js} +106 -106
  191. package/dist/chunks/{location-services-5s3efz6b.js → persistent-pty-p52j3anj.js} +42 -42
  192. package/dist/chunks/{location-services-qpbc7zwf.js → persistent-pty-p84dsdfh.js} +8 -8
  193. package/dist/chunks/{location-services-6n4b0dsb.js → persistent-pty-patgj9rf.js} +9 -9
  194. package/dist/chunks/{location-services-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{location-services-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  196. package/dist/chunks/{location-services-csx807mm.js → persistent-pty-q3j5ebgq.js} +19 -19
  197. package/dist/chunks/{location-services-txs978d1.js → persistent-pty-q8pxfdwq.js} +4 -4
  198. package/dist/chunks/{location-services-pck9b22e.js → persistent-pty-qc5y93g2.js} +25 -25
  199. package/dist/chunks/{location-services-a2dxn8dm.js → persistent-pty-qdwxcfza.js} +9 -9
  200. package/dist/chunks/{location-services-qn4ba14w.js → persistent-pty-qn4ba14w.js} +2 -2
  201. package/dist/chunks/{location-services-gxmtjddh.js → persistent-pty-qr405v0d.js} +5 -5
  202. package/dist/chunks/{location-services-2xk65d5p.js → persistent-pty-qryrftmh.js} +36 -36
  203. package/dist/chunks/{location-services-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  204. package/dist/chunks/{location-services-zyj38zv2.js → persistent-pty-qsx6xwjc.js} +24 -24
  205. package/dist/chunks/{location-services-dvz5qkvp.js → persistent-pty-qt5mdn6g.js} +6 -6
  206. package/dist/chunks/{location-services-ct491mk2.js → persistent-pty-qw85ht6d.js} +31 -31
  207. package/dist/chunks/{location-services-15ykkz21.js → persistent-pty-r2a07nrz.js} +10 -10
  208. package/dist/chunks/{location-services-nfgkmr26.js → persistent-pty-r2w5wzr7.js} +13 -13
  209. package/dist/chunks/{location-services-8jwr28ks.js → persistent-pty-r449bwkw.js} +8 -8
  210. package/dist/chunks/{location-services-vfw0v6d8.js → persistent-pty-r4wc6fxm.js} +5 -5
  211. package/dist/chunks/{location-services-13gzpw2v.js → persistent-pty-r5zvm12r.js} +2 -2
  212. package/dist/chunks/{location-services-n5vz0cry.js → persistent-pty-r72bb3g5.js} +3 -3
  213. package/dist/chunks/{location-services-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{location-services-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
  215. package/dist/chunks/{location-services-hw0dh7gd.js → persistent-pty-rr6jacvf.js} +34 -34
  216. package/dist/chunks/{location-services-5p2kwt9x.js → persistent-pty-rvt9ga0f.js} +21 -21
  217. package/dist/chunks/{location-services-1gd24jtv.js → persistent-pty-rya495mf.js} +11 -11
  218. package/dist/chunks/{location-services-1t9ytmqw.js → persistent-pty-s4b84khr.js} +9 -9
  219. package/dist/chunks/{location-services-bnq2yade.js → persistent-pty-s4mb84p1.js} +36 -36
  220. package/dist/chunks/{location-services-6fp3x2e4.js → persistent-pty-s83kg3p0.js} +15 -15
  221. package/dist/chunks/{location-services-gkkm038p.js → persistent-pty-s8cev9wy.js} +14 -14
  222. package/dist/chunks/{location-services-7jr5wnf4.js → persistent-pty-s9ax1raf.js} +33 -33
  223. package/dist/chunks/{location-services-wz3jkm9t.js → persistent-pty-sqdxss6w.js} +11 -11
  224. package/dist/chunks/{location-services-bpyqak8g.js → persistent-pty-sxn79y37.js} +9 -9
  225. package/dist/chunks/{location-services-gcc43v15.js → persistent-pty-sz24j28z.js} +17 -17
  226. package/dist/chunks/{location-services-k75p7jbd.js → persistent-pty-t4nhm12y.js} +14 -14
  227. package/dist/chunks/{location-services-1nwxscpy.js → persistent-pty-t71v2ka4.js} +5 -5
  228. package/dist/chunks/{location-services-qr7n58p5.js → persistent-pty-t808dn5w.js} +27 -27
  229. package/dist/chunks/{location-services-b1160vm0.js → persistent-pty-ta417yjh.js} +18 -18
  230. package/dist/chunks/{location-services-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{location-services-88zcg80h.js → persistent-pty-tbgyadps.js} +8 -8
  232. package/dist/chunks/{location-services-p28j5sbe.js → persistent-pty-tbz0fdvh.js} +5 -5
  233. package/dist/chunks/{location-services-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{location-services-cphcvfjg.js → persistent-pty-td55jj2j.js} +14 -14
  235. package/dist/chunks/{location-services-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-services-jhf3jymm.js → persistent-pty-tegs1ycp.js} +6 -6
  237. package/dist/chunks/{location-services-66qy9qj4.js → persistent-pty-tfxzrdmk.js} +13 -13
  238. package/dist/chunks/{location-services-6v9pdapk.js → persistent-pty-tnasdg6y.js} +31 -31
  239. package/dist/chunks/{location-services-97y1acd2.js → persistent-pty-tvc0b3mj.js} +10 -10
  240. package/dist/chunks/{location-services-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{location-services-5tsc8w82.js → persistent-pty-tvtydw96.js} +38 -38
  242. package/dist/chunks/{location-services-smsg9td2.js → persistent-pty-twca9fjq.js} +7 -7
  243. package/dist/chunks/{location-services-ktbvhxdy.js → persistent-pty-v4px02z6.js} +25 -25
  244. package/dist/chunks/{location-services-f07eqm4g.js → persistent-pty-va45f1s8.js} +30 -30
  245. package/dist/chunks/{location-services-swz3aexg.js → persistent-pty-vcdb3gbk.js} +1 -1
  246. package/dist/chunks/{location-services-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-services-9466nf0f.js → persistent-pty-vg6ckggx.js} +64 -64
  248. package/dist/chunks/{location-services-nea05py3.js → persistent-pty-vmnj2x1v.js} +13 -13
  249. package/dist/chunks/{location-services-ve4pfa0n.js → persistent-pty-vncycja5.js} +4 -4
  250. package/dist/chunks/{location-services-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{location-services-d3s8x8d0.js → persistent-pty-w18y63wv.js} +24 -24
  252. package/dist/chunks/{location-services-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-services-3x2ckdv1.js → persistent-pty-w65z2jz3.js} +8 -8
  254. package/dist/chunks/{location-services-wqjxr3aq.js → persistent-pty-w6qqzf7t.js} +2 -2
  255. package/dist/chunks/{location-services-43d6ch47.js → persistent-pty-wayd1cz3.js} +11 -11
  256. package/dist/chunks/{location-services-nfh8hxhr.js → persistent-pty-wcycnpg6.js} +11 -11
  257. package/dist/chunks/{location-services-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  258. package/dist/chunks/{location-services-3pb9af0k.js → persistent-pty-wk2ay995.js} +9 -9
  259. package/dist/chunks/{location-services-b24tsyng.js → persistent-pty-wngp58at.js} +20 -20
  260. package/dist/chunks/{location-services-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{location-services-r4dxhd0k.js → persistent-pty-x38sqvf4.js} +6 -6
  262. package/dist/chunks/{location-services-7b6mncz0.js → persistent-pty-x5x7kcgs.js} +16 -16
  263. package/dist/chunks/{location-services-zzzk6brv.js → persistent-pty-xaftkv44.js} +52 -52
  264. package/dist/chunks/{location-services-dgt1zz73.js → persistent-pty-xcjhgh37.js} +6 -6
  265. package/dist/chunks/{location-services-7d60y72p.js → persistent-pty-xcrk435t.js} +18 -18
  266. package/dist/chunks/{location-services-xfkkasph.js → persistent-pty-xfkkasph.js} +1 -1
  267. package/dist/chunks/{location-services-5v7ahtzb.js → persistent-pty-xjbekv6e.js} +28 -28
  268. package/dist/chunks/{location-services-91ww8zqm.js → persistent-pty-xjebcb6c.js} +7 -7
  269. package/dist/chunks/{location-services-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{location-services-97fmyryk.js → persistent-pty-ybhbtxjg.js} +3 -3
  271. package/dist/chunks/{location-services-tr93dsz8.js → persistent-pty-yppwdz7t.js} +9 -9
  272. package/dist/chunks/{location-services-btetab1a.js → persistent-pty-yqz4sd6t.js} +5 -5
  273. package/dist/chunks/{location-services-fj726280.js → persistent-pty-yr8p71ks.js} +14 -14
  274. package/dist/chunks/{location-services-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-services-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-services-rvt91he9.js → persistent-pty-ysfwx83j.js} +8 -8
  277. package/dist/chunks/{location-services-7gvwkz6m.js → persistent-pty-yt0fqk68.js} +5 -5
  278. package/dist/chunks/{location-services-vk1pnjq9.js → persistent-pty-ytpw4txd.js} +11 -11
  279. package/dist/chunks/{location-services-s3e3s6xq.js → persistent-pty-ytqvkck2.js} +5 -5
  280. package/dist/chunks/{location-services-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{location-services-3yy68sra.js → persistent-pty-z52a6mw5.js} +15 -15
  282. package/dist/chunks/{location-services-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  283. package/dist/chunks/{location-services-zb1czzx9.js → persistent-pty-ze9ygk7z.js} +11 -11
  284. package/dist/chunks/{location-services-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{location-services-hyvan7kf.js → persistent-pty-zq3sp2de.js} +29 -29
  286. package/dist/chunks/{location-services-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{location-services-1ddyqjqr.js → persistent-pty-zsphfh87.js} +16 -16
  288. package/dist/chunks/{location-services-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +120 -120
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +123 -123
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +76 -76
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +103 -103
  428. package/dist/form.js +73 -73
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +77 -77
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +133 -133
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +74 -74
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +93 -93
  479. package/dist/model.js +91 -91
  480. package/dist/models-dev.js +100 -100
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +104 -104
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +83 -83
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +1 -1
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +119 -119
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +119 -119
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +138 -138
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +345 -345
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +2 -2
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +4 -4
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +222 -222
  557. package/dist/project/schema.js +4 -4
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +79 -79
  560. package/dist/provider.js +90 -90
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +85 -85
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +96 -96
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +222 -222
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +1 -1
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +228 -228
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +123 -123
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +169 -169
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +74 -74
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +1 -1
  617. package/dist/session/title.js +149 -149
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +219 -219
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +11 -11
  626. package/dist/shell.js +137 -137
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +104 -104
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +90 -90
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +126 -126
  635. package/dist/tool/plugin/edit.js +115 -115
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +107 -107
  647. package/dist/tool/plugin/websearch.js +109 -109
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +99 -99
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +14 -14
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +2 -2
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +90 -90
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +76 -76
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +84 -84
  692. package/dist/worktree.js +89 -89
  693. package/package.json +8 -8
  694. package/dist/chunks/location-services-1rx1b2j9.js +0 -492
  695. package/dist/chunks/location-services-4v7qdvcn.js +0 -18
  696. package/dist/chunks/location-services-mg5wag8c.js +0 -252
  697. package/dist/chunks/location-services-z8f6hzd1.js +0 -26
  698. /package/dist/chunks/{location-services-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  699. /package/dist/chunks/{location-services-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{location-services-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{location-services-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{location-services-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{location-services-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{location-services-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{location-services-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{location-services-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{location-services-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{location-services-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{location-services-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  710. /package/dist/chunks/{location-services-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{location-services-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{location-services-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{location-services-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{location-services-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{location-services-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{location-services-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{location-services-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  718. /package/dist/chunks/{location-services-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{location-services-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{location-services-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  721. /package/dist/chunks/{location-services-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{location-services-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{location-services-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  724. /package/dist/chunks/{location-services-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{location-services-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{location-services-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  727. /package/dist/chunks/{location-services-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{location-services-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{location-services-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{location-services-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{location-services-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{location-services-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{location-services-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{location-services-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{location-services-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{location-services-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{location-services-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{location-services-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{location-services-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{location-services-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{location-services-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{location-services-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  743. /package/dist/chunks/{location-services-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{location-services-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{location-services-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{location-services-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{location-services-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{location-services-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{location-services-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{location-services-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{location-services-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{location-services-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{location-services-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{location-services-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{location-services-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  756. /package/dist/chunks/{location-services-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{location-services-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  758. /package/dist/chunks/{location-services-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{location-services-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  760. /package/dist/chunks/{location-services-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{location-services-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{location-services-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{location-services-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{location-services-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{location-services-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{location-services-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{location-services-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{location-services-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{location-services-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{location-services-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{location-services-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{location-services-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{location-services-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{location-services-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{location-services-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{location-services-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{location-services-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{location-services-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{location-services-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{location-services-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{location-services-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{location-services-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{location-services-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{location-services-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{location-services-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{location-services-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{location-services-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{location-services-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{location-services-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{location-services-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{location-services-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{location-services-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{location-services-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{location-services-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./location-services-r4dxhd0k.js";
3
+ } from "./persistent-pty-x38sqvf4.js";
4
4
  import {
5
5
  apply3
6
- } from "./location-services-3b7ncy0a.js";
6
+ } from "./persistent-pty-5rfwsh5d.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service82,
16
+ Service: () => Service83,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node86
21
+ node: () => node87
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
30
30
  path: Schema.optional(Schema.String)
31
31
  });
32
32
 
33
- class Service82 extends Context.Service()("@opencode/storage/Database") {
33
+ class Service83 extends Context.Service()("@opencode/storage/Database") {
34
34
  }
35
- var databaseLayer = (lock) => Layer.effect(Service82, Effect.gen(function* () {
35
+ var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
36
36
  const db = yield* makeDatabase;
37
37
  if (supportsTuningPragmas) {
38
38
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
70
  function configured13(options) {
71
- return makeGlobalNode({ service: Service82, layer: layer26(options), deps: [Global.node] });
71
+ return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
75
- service: Service82,
75
+ service: Service83,
76
76
  layer: layerFromClient2.pipe(Layer.provide(client)),
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node86 = configured13({ path: ":memory:" });
80
+ var node87 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service82, layer26, layerFromClient2, configured13, configuredClient2, node86, exports_database };
82
+ export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./location-services-gcc43v15.js";
6
+ } from "./persistent-pty-sz24j28z.js";
7
7
  import {
8
8
  Service78,
9
9
  node82
10
- } from "./location-services-cnxm6v10.js";
10
+ } from "./persistent-pty-n4j23rry.js";
11
11
  import {
12
12
  Service63,
13
- node66
14
- } from "./location-services-bnq2yade.js";
13
+ node67
14
+ } from "./persistent-pty-s4mb84p1.js";
15
15
  import {
16
16
  __export
17
- } from "./location-services-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service62,
25
+ Service: () => Service18,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node65,
27
+ node: () => node21,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service62 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service18 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,7 +55,7 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service62, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
60
  const location = yield* Service78;
61
61
  const permission = yield* Service63;
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service62.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service18.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node65 = makeLocationNode({ service: Service62, layer, deps: [FSUtil.node, node82, node66] });
112
+ var node21 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node82, node67] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service62, resolvePath2, node65, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node21, exports_file_access };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./location-services-rhjbct0v.js";
6
+ } from "./persistent-pty-eaj1djv9.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./location-services-bnq2yade.js";
9
+ } from "./persistent-pty-s4mb84p1.js";
10
10
  import {
11
- Service34,
12
- node37
13
- } from "./location-services-2xk65d5p.js";
11
+ Service32,
12
+ node35
13
+ } from "./persistent-pty-qryrftmh.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./location-services-wvepaptn.js";
16
+ name13
17
+ } from "./persistent-pty-kkzayper.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./persistent-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_instructions4 = {};
24
+ __export(exports_instructions4, {
25
+ McpInstructions: () => exports_instructions4,
26
+ Service: () => Service26,
27
+ layer: () => layer9,
28
+ node: () => node30
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service26 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 layer9 = Layer.effect(Service26, Effect.gen(function* () {
67
+ const mcp = yield* Service32;
68
+ return Service26.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make20({
71
- key: Key3.make("core/mcp-guidance"),
70
+ const source = (value) => make21({
71
+ key: Key4.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -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 node30 = makeLocationNode({ service: Service26, layer: layer9, deps: [node35] });
100
100
 
101
- export { Service32, layer13, node35, exports_instructions5 };
101
+ export { Service26, layer9, node30, exports_instructions4 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81
3
- } from "./location-services-gj3qr3g2.js";
2
+ Service82
3
+ } from "./persistent-pty-4e13r3ts.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./location-services-g4e5a8px.js";
6
+ Event18
7
+ } from "./persistent-pty-btpphd88.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./location-services-qjhg5syr.js";
11
+ } from "./persistent-pty-jsqr29s7.js";
12
12
  import {
13
13
  key2
14
- } from "./location-services-h6r3nrb9.js";
14
+ } from "./persistent-pty-h6r3nrb9.js";
15
15
  import {
16
16
  ID13,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2
19
- } from "./location-services-14ejk6kr.js";
19
+ } from "./persistent-pty-2hsgj57k.js";
20
20
  import {
21
- ID5,
22
- Input14,
21
+ ID4,
22
+ Input13,
23
23
  Response2
24
- } from "./location-services-5v7ahtzb.js";
24
+ } from "./persistent-pty-xjbekv6e.js";
25
25
 
26
26
  // src/plugin/provider/opencode.ts
27
27
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -35,7 +35,7 @@ var methodID = MethodID2.make("device");
35
35
  var RemoteResponse = Schema.Struct({
36
36
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
37
37
  websearch: Schema.Struct({
38
- providerID: ID5
38
+ providerID: ID4
39
39
  }).pipe(Schema.optional)
40
40
  });
41
41
  var Device = Schema.Struct({
@@ -111,7 +111,7 @@ function oauth(http) {
111
111
  var OpencodePlugin2 = define({
112
112
  id: "opencode.provider.opencode",
113
113
  effect: Effect.fn(function* (ctx) {
114
- const bus = yield* Service81;
114
+ const bus = yield* Service82;
115
115
  const http = yield* HttpClient.HttpClient;
116
116
  const loading = Semaphore.makeUnsafe(1);
117
117
  let snapshot = { config: undefined, connection: undefined };
@@ -253,7 +253,7 @@ var OpencodePlugin2 = define({
253
253
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
254
254
  const token = credential.type === "oauth" ? credential.access : credential.key;
255
255
  const server = yield* normalizeServer(serverUrl(credential));
256
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
256
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
257
257
  query: input.query,
258
258
  providerID: descriptor.providerID
259
259
  }));
@@ -274,7 +274,7 @@ var OpencodePlugin2 = define({
274
274
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
275
275
  });
276
276
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
277
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
277
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
278
278
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
279
279
  })
280
280
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-y71avatq.js";
3
+ } from "./persistent-pty-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service6,
13
- node: () => node8
12
+ Service: () => Service10,
13
+ node: () => node12
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service6 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service10 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service6, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service6.of({
27
+ return Service10.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
52
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
53
53
 
54
- export { Service6, node8, exports_update };
54
+ export { Service10, node12, exports_update };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service56
7
- } from "./location-services-hw0dh7gd.js";
6
+ Service54
7
+ } from "./persistent-pty-rr6jacvf.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-services-2a5m3afh.js";
11
- import {
12
- Service69
13
- } from "./location-services-xaf9sk1m.js";
10
+ } from "./persistent-pty-2a5m3afh.js";
14
11
  import {
15
12
  Service48
16
- } from "./location-services-vwf963ta.js";
13
+ } from "./persistent-pty-4pxrwfad.js";
14
+ import {
15
+ Service67
16
+ } from "./persistent-pty-9h0hyds4.js";
17
17
  import {
18
18
  Service63
19
- } from "./location-services-bnq2yade.js";
19
+ } from "./persistent-pty-s4mb84p1.js";
20
20
  import {
21
- Service62,
21
+ Service18,
22
22
  resolvePath2
23
- } from "./location-services-qgx1rdqs.js";
23
+ } from "./persistent-pty-hnac9jpe.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-services-fxbjtjnd.js";
29
+ } from "./persistent-pty-fxbjtjnd.js";
30
30
  import {
31
- Service55,
31
+ Service52,
32
32
  name15
33
- } from "./location-services-1ddyqjqr.js";
33
+ } from "./persistent-pty-zsphfh87.js";
34
34
  import {
35
35
  NotFoundError6,
36
- Service41
37
- } from "./location-services-avymfndx.js";
36
+ Service46
37
+ } from "./persistent-pty-nyacxbzj.js";
38
38
  import {
39
- Service21
40
- } from "./location-services-g0brck71.js";
39
+ Service20
40
+ } from "./persistent-pty-41ssmn02.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-services-smn8w5fw.js";
43
+ } from "./persistent-pty-k6w2t1ya.js";
44
44
  import {
45
45
  __export
46
- } from "./location-services-9rqn6x4v.js";
46
+ } from "./persistent-pty-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin5,
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin6,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name3
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name3 = "shell";
59
+ var name6 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input3 = Schema.Struct({
73
+ var Input6 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin5 = {
118
+ var Plugin6 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service48;
121
+ const sessions = yield* Service20;
122
+ const jobs = yield* Service67;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service69;
125
- const access = yield* Service62;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service55;
124
+ const environment = yield* Service48;
125
+ const access = yield* Service18;
126
+ const shell = yield* Service46;
127
+ const shellSelect = yield* Service52;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
129
  const permission = yield* Service63;
130
- const config = yield* Service56;
130
+ const config = yield* Service54;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin5 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name3,
149
+ action: name6,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin5 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name3,
186
+ name: name6,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input3,
189
+ input: Input6,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name3,
222
+ type: name6,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name3];
252
+ const tool = event.tools[name6];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin5, exports_shell };
263
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin6, exports_shell };