@opencode/core 0.0.0-dev-172 → 0.0.0-dev-176

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 (812) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +81 -81
  7. package/dist/chunks/{schema-srey9s68.js → persistent-pty-00htyqr9.js} +13 -13
  8. package/dist/chunks/{schema-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
  9. package/dist/chunks/{schema-ds7r37yp.js → persistent-pty-09bv4atg.js} +5 -5
  10. package/dist/chunks/{schema-9z9tayqc.js → persistent-pty-0anyt1n6.js} +5 -5
  11. package/dist/chunks/{schema-qtfmf1tm.js → persistent-pty-0garbbmq.js} +14 -14
  12. package/dist/chunks/{schema-j7jb94ac.js → persistent-pty-0mwtxpwv.js} +25 -25
  13. package/dist/chunks/{schema-2dah0fcg.js → persistent-pty-0v98g2dp.js} +5 -5
  14. package/dist/chunks/{schema-t5jqs5j7.js → persistent-pty-0w2jttgf.js} +2 -2
  15. package/dist/chunks/{schema-9kverp60.js → persistent-pty-0ya4kcpa.js} +12 -12
  16. package/dist/chunks/{schema-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
  17. package/dist/chunks/{schema-7rm7mm2f.js → persistent-pty-1evzqt9k.js} +9 -9
  18. package/dist/chunks/{schema-j2na3mwa.js → persistent-pty-1fr6zs4m.js} +32 -32
  19. package/dist/chunks/{schema-zpr60y31.js → persistent-pty-1jsvn0r5.js} +3 -3
  20. package/dist/chunks/{schema-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{schema-cxn0c79x.js → persistent-pty-1ynb6ezc.js} +18 -18
  22. package/dist/chunks/{schema-204s3925.js → persistent-pty-204s3925.js} +1 -1
  23. package/dist/chunks/{schema-rccanh0n.js → persistent-pty-24bdjav6.js} +29 -29
  24. package/dist/chunks/{schema-b0k6q4r7.js → persistent-pty-2fe6144r.js} +23 -23
  25. package/dist/chunks/{schema-h1qzytc1.js → persistent-pty-2s4hqds4.js} +23 -23
  26. package/dist/chunks/{schema-hqxkkta1.js → persistent-pty-2zp5a6yg.js} +3 -3
  27. package/dist/chunks/{schema-tf9r37f3.js → persistent-pty-31avdb49.js} +11 -11
  28. package/dist/chunks/{schema-jesqdct3.js → persistent-pty-32qv0r55.js} +2 -2
  29. package/dist/chunks/{schema-dh1g62nj.js → persistent-pty-38d21fdm.js} +22 -22
  30. package/dist/chunks/{schema-448jnkaf.js → persistent-pty-3h757q1d.js} +8 -8
  31. package/dist/chunks/{schema-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{schema-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  33. package/dist/chunks/{schema-3gr2x4rj.js → persistent-pty-3rkfx9k9.js} +11 -11
  34. package/dist/chunks/{schema-0ahs07zn.js → persistent-pty-3ryz99p0.js} +4 -4
  35. package/dist/chunks/{schema-aa5aqj1j.js → persistent-pty-41qk7kz0.js} +11 -11
  36. package/dist/chunks/{schema-afq6afk6.js → persistent-pty-43d5xc6d.js} +22 -22
  37. package/dist/chunks/{schema-4qg5d7zq.js → persistent-pty-49xvkvhm.js} +1 -1
  38. package/dist/chunks/{schema-jzepz2rk.js → persistent-pty-4c0sy8z7.js} +10 -10
  39. package/dist/chunks/{schema-g9ndtp1p.js → persistent-pty-4pw98qd4.js} +4 -4
  40. package/dist/chunks/{schema-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
  41. package/dist/chunks/{schema-26z001ty.js → persistent-pty-4qv6rmbn.js} +9 -9
  42. package/dist/chunks/{schema-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  43. package/dist/chunks/{schema-8ek83jqy.js → persistent-pty-4wj04rfq.js} +30 -30
  44. package/dist/chunks/{schema-sqpw74e5.js → persistent-pty-50fdsjg8.js} +12 -12
  45. package/dist/chunks/{schema-df57mhq9.js → persistent-pty-519tq28h.js} +17 -17
  46. package/dist/chunks/{schema-9exzskw1.js → persistent-pty-52a9j804.js} +70 -70
  47. package/dist/chunks/{schema-myxan7r3.js → persistent-pty-53bv7djz.js} +4 -4
  48. package/dist/chunks/{schema-1x5b7tgq.js → persistent-pty-56fkkzwp.js} +16 -16
  49. package/dist/chunks/{schema-cc9g74x6.js → persistent-pty-58fxbgyk.js} +7 -7
  50. package/dist/chunks/{schema-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{schema-408p671s.js → persistent-pty-5qtr8rjc.js} +93 -93
  52. package/dist/chunks/{schema-3zadjdx1.js → persistent-pty-5spjnxae.js} +27 -27
  53. package/dist/chunks/{schema-6f28nday.js → persistent-pty-5y682njc.js} +37 -37
  54. package/dist/chunks/{schema-ehsb21bg.js → persistent-pty-5yh47y05.js} +10 -10
  55. package/dist/chunks/{schema-61ennm6n.js → persistent-pty-61ennm6n.js} +1 -1
  56. package/dist/chunks/{schema-qyn9kdbg.js → persistent-pty-633sykgz.js} +30 -30
  57. package/dist/chunks/{schema-5r72z9dp.js → persistent-pty-67avc1k8.js} +8 -8
  58. package/dist/chunks/{schema-5y2afnr7.js → persistent-pty-6azgr7ze.js} +25 -25
  59. package/dist/chunks/{schema-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{schema-t3b400sf.js → persistent-pty-6hjagsjn.js} +4 -4
  61. package/dist/chunks/{schema-4dqzxk7p.js → persistent-pty-6rqz0akc.js} +35 -35
  62. package/dist/chunks/{schema-jrc11jm8.js → persistent-pty-6sbnn1cw.js} +9 -9
  63. package/dist/chunks/{schema-ja63h2sr.js → persistent-pty-6xqtcmxs.js} +5 -5
  64. package/dist/chunks/{schema-1w0tbadz.js → persistent-pty-6xxhtnvb.js} +25 -25
  65. package/dist/chunks/{schema-tbn2mnzh.js → persistent-pty-72amzxyx.js} +3 -3
  66. package/dist/chunks/{schema-3sxgyymf.js → persistent-pty-7655k14p.js} +11 -11
  67. package/dist/chunks/{schema-76cb1hcw.js → persistent-pty-76cb1hcw.js} +1 -1
  68. package/dist/chunks/{schema-5t9jfe1j.js → persistent-pty-7aszcnrw.js} +14 -14
  69. package/dist/chunks/{schema-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{schema-wv0e3mfz.js → persistent-pty-7c82yqbx.js} +9 -9
  71. package/dist/chunks/persistent-pty-7h6zwn4y.js +511 -0
  72. package/dist/chunks/{schema-bkkedvkd.js → persistent-pty-7j9wt8g8.js} +5 -5
  73. package/dist/chunks/{schema-8eqybnrh.js → persistent-pty-7kjqz9vx.js} +5 -5
  74. package/dist/chunks/{schema-0m3hsgex.js → persistent-pty-7ky5q9y1.js} +30 -30
  75. package/dist/chunks/{schema-saa9e38s.js → persistent-pty-7nnxdazv.js} +4 -4
  76. package/dist/chunks/{schema-552y5q35.js → persistent-pty-7r7rb3ck.js} +12 -12
  77. package/dist/chunks/{schema-rk0m1k2s.js → persistent-pty-7vktkwjq.js} +10 -10
  78. package/dist/chunks/{schema-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  79. package/dist/chunks/{schema-fajmsesy.js → persistent-pty-7w4mdq9h.js} +14 -14
  80. package/dist/chunks/{schema-vyc6s2qb.js → persistent-pty-7wmpehws.js} +12 -12
  81. package/dist/chunks/{schema-xc81ym32.js → persistent-pty-7wpj9r4n.js} +9 -9
  82. package/dist/chunks/{schema-2cx4pwwp.js → persistent-pty-7xcxnnhw.js} +13 -13
  83. package/dist/chunks/{schema-rmstegws.js → persistent-pty-80erdhxq.js} +18 -18
  84. package/dist/chunks/{schema-5jnjkx8j.js → persistent-pty-8hn4pygh.js} +26 -26
  85. package/dist/chunks/{schema-8jztxfpf.js → persistent-pty-8jztxfpf.js} +1 -1
  86. package/dist/chunks/{schema-kbdkx2jg.js → persistent-pty-8r65fy8w.js} +23 -23
  87. package/dist/chunks/{schema-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  88. package/dist/chunks/{schema-90zstvax.js → persistent-pty-90zstvax.js} +1 -1
  89. package/dist/chunks/{schema-wfmjjmyz.js → persistent-pty-9370xdb0.js} +20 -20
  90. package/dist/chunks/{schema-ah0gjdxz.js → persistent-pty-95jfhm1f.js} +14 -14
  91. package/dist/chunks/{schema-kf8fsxtd.js → persistent-pty-9ep0cc8m.js} +54 -54
  92. package/dist/chunks/{schema-0cfns17n.js → persistent-pty-9j54w4dz.js} +48 -48
  93. package/dist/chunks/{schema-b8nj54vk.js → persistent-pty-9n2g1sn7.js} +20 -20
  94. package/dist/chunks/{schema-a4qm5kkz.js → persistent-pty-9s067py2.js} +3 -3
  95. package/dist/chunks/{schema-5b4vr08c.js → persistent-pty-9y7cq3y4.js} +10 -10
  96. package/dist/chunks/{schema-ymz7p2c9.js → persistent-pty-a9q6fvpe.js} +3 -3
  97. package/dist/chunks/{schema-k2yq3k02.js → persistent-pty-aqpt7qn5.js} +19 -19
  98. package/dist/chunks/{schema-6n305hg2.js → persistent-pty-atcw9je4.js} +9 -9
  99. package/dist/chunks/{schema-kprhyz1z.js → persistent-pty-atr4tm0y.js} +88 -88
  100. package/dist/chunks/{schema-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{schema-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
  102. package/dist/chunks/{schema-f4bj65gc.js → persistent-pty-bcvtcraz.js} +1 -1
  103. package/dist/chunks/{schema-h097nhc1.js → persistent-pty-bm4gstpq.js} +8 -8
  104. package/dist/chunks/{schema-zbrhs51n.js → persistent-pty-bn32yz83.js} +25 -25
  105. package/dist/chunks/{schema-xd9cc171.js → persistent-pty-bstexjd6.js} +5 -5
  106. package/dist/chunks/{schema-3t4pqd58.js → persistent-pty-bwqqmtwx.js} +27 -27
  107. package/dist/chunks/{schema-2mkw5nnf.js → persistent-pty-c34ang25.js} +26 -26
  108. package/dist/chunks/{schema-zt231353.js → persistent-pty-c4wqcyac.js} +32 -32
  109. package/dist/chunks/{schema-hkt99n7n.js → persistent-pty-c84tv7mg.js} +6 -6
  110. package/dist/chunks/{schema-061s75p4.js → persistent-pty-cd1wa7pc.js} +3 -3
  111. package/dist/chunks/{schema-ehb90vmh.js → persistent-pty-cg8wvfan.js} +15 -15
  112. package/dist/chunks/{schema-gj697h3c.js → persistent-pty-cjaw03wv.js} +20 -20
  113. package/dist/chunks/{schema-txbj6sh8.js → persistent-pty-cn77934z.js} +11 -11
  114. package/dist/chunks/{schema-k7b253ks.js → persistent-pty-cpyv68vg.js} +45 -45
  115. package/dist/chunks/{schema-04z78z4p.js → persistent-pty-cr8fx06x.js} +19 -19
  116. package/dist/chunks/{schema-15j8kqyp.js → persistent-pty-crvjh2nq.js} +6 -6
  117. package/dist/chunks/{schema-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
  118. package/dist/chunks/{schema-d2887f8n.js → persistent-pty-d2887f8n.js} +1 -1
  119. package/dist/chunks/{schema-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{schema-kq6ta67e.js → persistent-pty-d54nae6v.js} +25 -25
  121. package/dist/chunks/{schema-w5sf4kaa.js → persistent-pty-dbb763wq.js} +8 -8
  122. package/dist/chunks/{schema-skfxre3x.js → persistent-pty-ddad440e.js} +27 -27
  123. package/dist/chunks/{schema-dfxm9epe.js → persistent-pty-ddc2cb7k.js} +28 -28
  124. package/dist/chunks/{schema-kmzgegqq.js → persistent-pty-ddvn7d3w.js} +8 -8
  125. package/dist/chunks/{schema-4s5pdsz9.js → persistent-pty-df05jr30.js} +6 -6
  126. package/dist/chunks/{schema-kxh38scf.js → persistent-pty-dfagftgj.js} +20 -20
  127. package/dist/chunks/{schema-jj7tzx6g.js → persistent-pty-dncqwfyx.js} +24 -24
  128. package/dist/chunks/{schema-p7f9amnf.js → persistent-pty-drvbhkez.js} +6 -6
  129. package/dist/chunks/{schema-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
  130. package/dist/chunks/{schema-1enrjds2.js → persistent-pty-dyph5nm8.js} +27 -27
  131. package/dist/chunks/{schema-fpb1sgsj.js → persistent-pty-e6awym77.js} +21 -21
  132. package/dist/chunks/{schema-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  133. package/dist/chunks/{schema-e9zqgb96.js → persistent-pty-eke95etz.js} +43 -43
  134. package/dist/chunks/{schema-5wkj2ywt.js → persistent-pty-epv0aws2.js} +15 -15
  135. package/dist/chunks/{schema-pq666zke.js → persistent-pty-ez0bd5c5.js} +29 -29
  136. package/dist/chunks/{schema-g1w8m9xc.js → persistent-pty-f2k3g6xd.js} +150 -150
  137. package/dist/chunks/{schema-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  138. package/dist/chunks/{schema-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
  139. package/dist/chunks/{schema-94rrg3vb.js → persistent-pty-fv3rjegd.js} +51 -51
  140. package/dist/chunks/{schema-dh7yr4e4.js → persistent-pty-fvtwqean.js} +17 -16
  141. package/dist/chunks/{schema-mnw2gt42.js → persistent-pty-g0tp74by.js} +17 -17
  142. package/dist/chunks/{schema-hvwz7mjy.js → persistent-pty-g7fyn0m6.js} +3 -3
  143. package/dist/chunks/{schema-qg7hdk6m.js → persistent-pty-gbc4psnj.js} +15 -15
  144. package/dist/chunks/{schema-jcqm84fr.js → persistent-pty-gcjdgkn2.js} +9 -9
  145. package/dist/chunks/{schema-269arx00.js → persistent-pty-gdpq6bd8.js} +22 -22
  146. package/dist/chunks/{schema-gg8p9cgs.js → persistent-pty-gg8p9cgs.js} +3 -3
  147. package/dist/chunks/{schema-7pa3t2xk.js → persistent-pty-gp067yzn.js} +11 -11
  148. package/dist/chunks/{schema-1c950baa.js → persistent-pty-gqng3fq0.js} +1 -1
  149. package/dist/chunks/{schema-a6dwmrq2.js → persistent-pty-gs5kg9b2.js} +20 -20
  150. package/dist/chunks/{schema-r1emyrvf.js → persistent-pty-h0n6thsx.js} +2 -2
  151. package/dist/chunks/{schema-adrdbcay.js → persistent-pty-h6fv7vft.js} +17 -17
  152. package/dist/chunks/{schema-ctbc3d2x.js → persistent-pty-h6t0znmf.js} +9 -9
  153. package/dist/chunks/{schema-zzzjcb07.js → persistent-pty-h8kx6a24.js} +14 -14
  154. package/dist/chunks/{schema-8bhq06zm.js → persistent-pty-h9ytefs8.js} +5 -5
  155. package/dist/chunks/{schema-hdfrs5mg.js → persistent-pty-hdfrs5mg.js} +2 -2
  156. package/dist/chunks/{schema-63g612mw.js → persistent-pty-heamr9gy.js} +3 -3
  157. package/dist/chunks/{schema-hfgk9wzg.js → persistent-pty-hfgk9wzg.js} +1 -1
  158. package/dist/chunks/{schema-hpg1pkwy.js → persistent-pty-hpg1pkwy.js} +1 -1
  159. package/dist/chunks/{schema-nj7fnw38.js → persistent-pty-hrxhk37r.js} +41 -41
  160. package/dist/chunks/{schema-btkemy5f.js → persistent-pty-htf1zbz3.js} +16 -16
  161. package/dist/chunks/{schema-4ct751ez.js → persistent-pty-jdgjvsvw.js} +19 -19
  162. package/dist/chunks/{schema-grp5rwdb.js → persistent-pty-jeggvkmv.js} +11 -11
  163. package/dist/chunks/{schema-jfaecv01.js → persistent-pty-jfaecv01.js} +1 -1
  164. package/dist/chunks/{schema-hbmj972w.js → persistent-pty-jj147ft1.js} +14 -14
  165. package/dist/chunks/{schema-jtnps1zs.js → persistent-pty-jtnps1zs.js} +2 -2
  166. package/dist/chunks/{schema-7jz89kf0.js → persistent-pty-jv541gt1.js} +5 -5
  167. package/dist/chunks/{schema-xpa3vb6e.js → persistent-pty-k567f45b.js} +9 -9
  168. package/dist/chunks/{schema-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  169. package/dist/chunks/persistent-pty-kb564s6s.js +257 -0
  170. package/dist/chunks/{schema-k624yqda.js → persistent-pty-kb8fswp1.js} +2 -2
  171. package/dist/chunks/{schema-fv6xxc7y.js → persistent-pty-kep7f5cc.js} +14 -14
  172. package/dist/chunks/{schema-ce2ydvyh.js → persistent-pty-kg1ma0kd.js} +41 -41
  173. package/dist/chunks/{schema-9r0x1bva.js → persistent-pty-kjgnzevm.js} +9 -9
  174. package/dist/chunks/{schema-tcsxprfy.js → persistent-pty-kpprecar.js} +11 -11
  175. package/dist/chunks/{schema-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
  176. package/dist/chunks/{schema-3fbhx6a4.js → persistent-pty-kvvk99b7.js} +15 -15
  177. package/dist/chunks/{schema-yzwnyabz.js → persistent-pty-ky4b16es.js} +11 -11
  178. package/dist/chunks/{schema-5vwbz2vn.js → persistent-pty-m0kj7b7a.js} +2 -2
  179. package/dist/chunks/{schema-m1714858.js → persistent-pty-m1714858.js} +1 -1
  180. package/dist/chunks/persistent-pty-m2b5v9hb.js +26 -0
  181. package/dist/chunks/{schema-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{schema-d9vx7wx0.js → persistent-pty-mk295dtd.js} +9 -9
  183. package/dist/chunks/{schema-1yxgftn3.js → persistent-pty-mnyz6jmh.js} +9 -9
  184. package/dist/chunks/{schema-f1q86js6.js → persistent-pty-mp6ntmcp.js} +12 -12
  185. package/dist/chunks/{schema-r5wdg4a9.js → persistent-pty-mr182tfb.js} +8 -8
  186. package/dist/chunks/{schema-yfcb8j9k.js → persistent-pty-mtq5g9x7.js} +2 -2
  187. package/dist/chunks/{schema-dn4sdd79.js → persistent-pty-mx5ntkq3.js} +23 -23
  188. package/dist/chunks/{schema-t78wmv83.js → persistent-pty-n0vyk18c.js} +24 -24
  189. package/dist/chunks/{schema-v0jzprfb.js → persistent-pty-n17h7ycd.js} +14 -14
  190. package/dist/chunks/{schema-h0ppebc3.js → persistent-pty-nad4mkqt.js} +8 -8
  191. package/dist/chunks/{schema-770pw0s1.js → persistent-pty-nah043kf.js} +4 -4
  192. package/dist/chunks/{schema-qfdchg71.js → persistent-pty-ngtazrm4.js} +24 -24
  193. package/dist/chunks/{schema-at9e0pnj.js → persistent-pty-nkyj4cf1.js} +32 -32
  194. package/dist/chunks/{schema-rthtd3fc.js → persistent-pty-nng17e32.js} +34 -34
  195. package/dist/chunks/{schema-n5wkbxzm.js → persistent-pty-npb1z062.js} +4 -4
  196. package/dist/chunks/{schema-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  197. package/dist/chunks/{schema-ct5fctns.js → persistent-pty-p0knec42.js} +15 -15
  198. package/dist/chunks/{schema-k031ef6b.js → persistent-pty-p3t53mgr.js} +24 -24
  199. package/dist/chunks/{schema-1yq9hg58.js → persistent-pty-p7vhpwh8.js} +5 -5
  200. package/dist/chunks/{schema-czjbmn1x.js → persistent-pty-pa997763.js} +3 -3
  201. package/dist/chunks/{schema-5x26af84.js → persistent-pty-pbbktnbz.js} +4 -4
  202. package/dist/chunks/{schema-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  203. package/dist/chunks/{schema-yhe5e00v.js → persistent-pty-pqnrqzxc.js} +9 -9
  204. package/dist/chunks/{schema-hc8nqjwe.js → persistent-pty-pszedv3e.js} +9 -9
  205. package/dist/chunks/{schema-qzzez12v.js → persistent-pty-pyhph78g.js} +11 -11
  206. package/dist/chunks/{schema-50w453fn.js → persistent-pty-pzrv7hbh.js} +12 -12
  207. package/dist/chunks/{schema-q63cb7ap.js → persistent-pty-q63cb7ap.js} +3 -3
  208. package/dist/chunks/{schema-e1frhwek.js → persistent-pty-q7agyjxx.js} +8 -8
  209. package/dist/chunks/{schema-j6rxfpjy.js → persistent-pty-qb24xxd1.js} +13 -13
  210. package/dist/chunks/{schema-b9bpy08a.js → persistent-pty-qdmaswkh.js} +21 -21
  211. package/dist/chunks/{schema-7kxnx84r.js → persistent-pty-qn4ber4v.js} +27 -27
  212. package/dist/chunks/{schema-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
  213. package/dist/chunks/{schema-0wqwjmtr.js → persistent-pty-qpv0mvvz.js} +13 -13
  214. package/dist/chunks/{schema-pe59pxdd.js → persistent-pty-qr2tsp5r.js} +6 -6
  215. package/dist/chunks/{schema-090m30xj.js → persistent-pty-qymz5vam.js} +35 -35
  216. package/dist/chunks/{schema-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{schema-x9s6m3f5.js → persistent-pty-r3096bj9.js} +38 -38
  218. package/dist/chunks/{schema-r542h3bh.js → persistent-pty-r542h3bh.js} +1 -1
  219. package/dist/chunks/{schema-jspw90cp.js → persistent-pty-r8rdcxeh.js} +18 -18
  220. package/dist/chunks/{schema-ae69f5xb.js → persistent-pty-r8v4vvzq.js} +6 -6
  221. package/dist/chunks/{schema-qah7t4da.js → persistent-pty-ra34yqmw.js} +6 -6
  222. package/dist/chunks/{schema-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{schema-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{schema-gjwgtksd.js → persistent-pty-rzepvn2e.js} +39 -39
  225. package/dist/chunks/{schema-mpxecfx5.js → persistent-pty-s0wxxy3w.js} +9 -9
  226. package/dist/chunks/{schema-1m459fdp.js → persistent-pty-s1a2cwn2.js} +10 -10
  227. package/dist/chunks/{schema-sa3fpqfw.js → persistent-pty-sa3fpqfw.js} +2 -2
  228. package/dist/chunks/{schema-7yh8xe92.js → persistent-pty-sa8kccs0.js} +21 -21
  229. package/dist/chunks/{schema-9e9bdq1p.js → persistent-pty-scntyf0x.js} +9 -9
  230. package/dist/chunks/{schema-7p1vn3s6.js → persistent-pty-sjx7wecx.js} +7 -7
  231. package/dist/chunks/{schema-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  232. package/dist/chunks/{schema-ek1rnzpg.js → persistent-pty-stbkav8k.js} +13 -13
  233. package/dist/chunks/{schema-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
  234. package/dist/chunks/{schema-3x9h4h7w.js → persistent-pty-t20mvzrk.js} +33 -33
  235. package/dist/chunks/{schema-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{schema-chb25f6y.js → persistent-pty-tkb7bqdy.js} +9 -9
  237. package/dist/chunks/{schema-cbrqsbxs.js → persistent-pty-tmy26mxh.js} +23 -23
  238. package/dist/chunks/{schema-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
  239. package/dist/chunks/{schema-hapd2mq8.js → persistent-pty-txsdra3m.js} +34 -34
  240. package/dist/chunks/{schema-9rhy1jhz.js → persistent-pty-ty8kxeae.js} +35 -35
  241. package/dist/chunks/{schema-w35wzz9x.js → persistent-pty-v0t96s7a.js} +4 -4
  242. package/dist/chunks/{schema-1rdchn1p.js → persistent-pty-v21mv7f7.js} +12 -12
  243. package/dist/chunks/{schema-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  244. package/dist/chunks/{schema-3ng4e935.js → persistent-pty-v4t7rh87.js} +22 -22
  245. package/dist/chunks/{schema-qzcxxbs6.js → persistent-pty-v8vavc5t.js} +38 -38
  246. package/dist/chunks/{schema-wahr43z1.js → persistent-pty-vcvnp0q3.js} +4 -4
  247. package/dist/chunks/{schema-g13qewtb.js → persistent-pty-ve45bn9x.js} +6 -6
  248. package/dist/chunks/{schema-xtfsy8hb.js → persistent-pty-ve5h0m4q.js} +7 -7
  249. package/dist/chunks/{schema-7y8v7c8e.js → persistent-pty-vm6x4cc6.js} +11 -11
  250. package/dist/chunks/{schema-26x8chrq.js → persistent-pty-vsqvcqta.js} +6 -6
  251. package/dist/chunks/{schema-py366xq1.js → persistent-pty-vxqjk0bx.js} +11 -11
  252. package/dist/chunks/{schema-0drtew17.js → persistent-pty-vzvqvrbr.js} +36 -36
  253. package/dist/chunks/{schema-cke2hwj1.js → persistent-pty-w15dafs9.js} +18 -18
  254. package/dist/chunks/{schema-40za9wsf.js → persistent-pty-w2eysc6j.js} +9 -9
  255. package/dist/chunks/{schema-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{schema-hte5j8rj.js → persistent-pty-wa71be01.js} +57 -57
  257. package/dist/chunks/{schema-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{schema-k9zkdd2y.js → persistent-pty-wby0kqsc.js} +4 -4
  259. package/dist/chunks/{schema-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{schema-j0fb9gww.js → persistent-pty-wdnrbeqs.js} +4 -4
  261. package/dist/chunks/{schema-m4f8sh63.js → persistent-pty-wgn86zaw.js} +25 -25
  262. package/dist/chunks/{schema-8gz737b7.js → persistent-pty-whfmfgat.js} +4 -4
  263. package/dist/chunks/{schema-tg57hhy1.js → persistent-pty-whss3p2j.js} +18 -18
  264. package/dist/chunks/{schema-wnhgecwx.js → persistent-pty-wnhgecwx.js} +1 -1
  265. package/dist/chunks/{schema-fznmdakp.js → persistent-pty-wr3re1en.js} +4 -4
  266. package/dist/chunks/{schema-50q6hzkb.js → persistent-pty-wxcgqqg8.js} +16 -16
  267. package/dist/chunks/{schema-m8sj5xmd.js → persistent-pty-wzkv2sek.js} +4 -4
  268. package/dist/chunks/{schema-dtjqx0e4.js → persistent-pty-x25jfgjr.js} +25 -25
  269. package/dist/chunks/{schema-vqf4085a.js → persistent-pty-xbcfztz3.js} +16 -16
  270. package/dist/chunks/{schema-3h3qy8d6.js → persistent-pty-xc897g4n.js} +11 -11
  271. package/dist/chunks/{schema-2ha14jpx.js → persistent-pty-xeecq2r5.js} +1 -1
  272. package/dist/chunks/{schema-210pe7vf.js → persistent-pty-xefsy4ps.js} +26 -26
  273. package/dist/chunks/{schema-1kn6jdkn.js → persistent-pty-xt0z8zst.js} +4 -4
  274. package/dist/chunks/{schema-btbftat3.js → persistent-pty-y067tb9j.js} +4 -4
  275. package/dist/chunks/{schema-pfq1ksym.js → persistent-pty-y906m0ew.js} +5 -5
  276. package/dist/chunks/{schema-cr4v66wc.js → persistent-pty-ya13x5xa.js} +16 -16
  277. package/dist/chunks/{schema-yara3q77.js → persistent-pty-yara3q77.js} +2 -2
  278. package/dist/chunks/{schema-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{schema-3cnqskb9.js → persistent-pty-ybctve4h.js} +24 -24
  280. package/dist/chunks/{schema-krr7tknq.js → persistent-pty-yc76cwjc.js} +14 -14
  281. package/dist/chunks/{schema-qpwdfbas.js → persistent-pty-ygqxcxbg.js} +7 -7
  282. package/dist/chunks/{schema-xsact9zs.js → persistent-pty-yqveydy6.js} +4 -4
  283. package/dist/chunks/persistent-pty-z355x5yr.js +18 -0
  284. package/dist/chunks/{schema-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  285. package/dist/chunks/{schema-7aatzr77.js → persistent-pty-z4v0at7d.js} +30 -30
  286. package/dist/chunks/{schema-4rzb5v1e.js → persistent-pty-z8hdzhhq.js} +16 -16
  287. package/dist/chunks/{schema-3g3amc73.js → persistent-pty-z8r5vx31.js} +11 -11
  288. package/dist/chunks/{schema-qsee9sfb.js → persistent-pty-zb5gs1ba.js} +3 -3
  289. package/dist/chunks/{schema-e0sctgnq.js → persistent-pty-zd4mb3qc.js} +15 -15
  290. package/dist/chunks/{schema-bhxshkcp.js → persistent-pty-zf9grm2a.js} +37 -37
  291. package/dist/chunks/{schema-nnhp4nhp.js → persistent-pty-zngxafys.js} +14 -14
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +89 -89
  297. package/dist/config/discovery.js +90 -90
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +221 -221
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +121 -121
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +120 -120
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +3 -3
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +81 -81
  329. package/dist/database/database.js +72 -72
  330. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +13 -13
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +14 -14
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +95 -95
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -377
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +1 -1
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +101 -101
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +80 -80
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +86 -86
  433. package/dist/filesystem/location-watcher-policy.js +4 -4
  434. package/dist/filesystem/location-watcher.js +232 -232
  435. package/dist/filesystem/protected.js +1 -1
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +9 -9
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +80 -80
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +115 -115
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +107 -107
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -368
  470. package/dist/instruction-discovery.js +90 -90
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +1 -1
  474. package/dist/integration.js +85 -85
  475. package/dist/job.js +84 -84
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +166 -166
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -365
  482. package/dist/location.js +93 -93
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +117 -117
  486. package/dist/mcp/instructions.js +166 -166
  487. package/dist/mcp/oauth.js +81 -81
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +107 -107
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +106 -106
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +110 -110
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -88
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +145 -145
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +96 -96
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +82 -82
  507. package/dist/plugin/command.js +110 -110
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +227 -227
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -338
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +130 -130
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +123 -123
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +130 -130
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -171
  553. package/dist/plugin/sdk.js +82 -82
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +141 -141
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +357 -357
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +6 -6
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +6 -6
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +236 -236
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +2 -2
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +92 -92
  576. package/dist/provider.js +99 -99
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +106 -106
  580. package/dist/reference/instructions.js +96 -96
  581. package/dist/reference.js +96 -96
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +3 -3
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +105 -105
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +158 -158
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +231 -231
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +190 -190
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +138 -138
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +85 -85
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +2 -2
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +1 -1
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +5 -5
  622. package/dist/session/runner/step.js +154 -154
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +5 -5
  625. package/dist/session/session.js +172 -172
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +79 -79
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +2 -2
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +1 -1
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +227 -227
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +223 -223
  640. package/dist/shell/parse.js +8 -8
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +15 -15
  644. package/dist/shell.js +137 -137
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +144 -144
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +167 -167
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +160 -160
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +158 -158
  660. package/dist/tool/plugin/question.js +138 -138
  661. package/dist/tool/plugin/read.js +161 -161
  662. package/dist/tool/plugin/shell.js +220 -220
  663. package/dist/tool/plugin/skill.js +147 -147
  664. package/dist/tool/plugin/subagent.js +226 -226
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +147 -147
  667. package/dist/tool/plugin/websearch.js +147 -147
  668. package/dist/tool/plugin/write.js +158 -158
  669. package/dist/tool/read-filesystem.js +108 -108
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +95 -95
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +7 -7
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +3 -3
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +99 -99
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +88 -88
  693. package/dist/websearch.js +88 -88
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +85 -85
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +86 -86
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +106 -106
  704. package/package.json +8 -8
  705. package/dist/chunks/schema-0kar9yb6.js +0 -26
  706. package/dist/chunks/schema-21qby824.js +0 -511
  707. package/dist/chunks/schema-n3r3rt18.js +0 -18
  708. package/dist/chunks/schema-p8c3k4sp.js +0 -257
  709. /package/dist/chunks/{schema-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  710. /package/dist/chunks/{schema-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  711. /package/dist/chunks/{schema-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  712. /package/dist/chunks/{schema-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  713. /package/dist/chunks/{schema-1jakw16s.js → persistent-pty-1jakw16s.js} +0 -0
  714. /package/dist/chunks/{schema-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  715. /package/dist/chunks/{schema-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  716. /package/dist/chunks/{schema-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  717. /package/dist/chunks/{schema-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  718. /package/dist/chunks/{schema-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{schema-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  720. /package/dist/chunks/{schema-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{schema-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{schema-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{schema-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{schema-4m86bj6y.js → persistent-pty-4m86bj6y.js} +0 -0
  725. /package/dist/chunks/{schema-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{schema-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{schema-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  728. /package/dist/chunks/{schema-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{schema-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
  730. /package/dist/chunks/{schema-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  731. /package/dist/chunks/{schema-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  732. /package/dist/chunks/{schema-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  733. /package/dist/chunks/{schema-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  734. /package/dist/chunks/{schema-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  735. /package/dist/chunks/{schema-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  736. /package/dist/chunks/{schema-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  737. /package/dist/chunks/{schema-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  738. /package/dist/chunks/{schema-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  739. /package/dist/chunks/{schema-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  740. /package/dist/chunks/{schema-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  741. /package/dist/chunks/{schema-a058387c.js → persistent-pty-a058387c.js} +0 -0
  742. /package/dist/chunks/{schema-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  743. /package/dist/chunks/{schema-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  744. /package/dist/chunks/{schema-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  745. /package/dist/chunks/{schema-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  746. /package/dist/chunks/{schema-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  747. /package/dist/chunks/{schema-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
  748. /package/dist/chunks/{schema-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  749. /package/dist/chunks/{schema-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  750. /package/dist/chunks/{schema-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  751. /package/dist/chunks/{schema-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
  752. /package/dist/chunks/{schema-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  753. /package/dist/chunks/{schema-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  754. /package/dist/chunks/{schema-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  755. /package/dist/chunks/{schema-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  756. /package/dist/chunks/{schema-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  757. /package/dist/chunks/{schema-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  758. /package/dist/chunks/{schema-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  759. /package/dist/chunks/{schema-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  760. /package/dist/chunks/{schema-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  761. /package/dist/chunks/{schema-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  762. /package/dist/chunks/{schema-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  763. /package/dist/chunks/{schema-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  764. /package/dist/chunks/{schema-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  765. /package/dist/chunks/{schema-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  766. /package/dist/chunks/{schema-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  767. /package/dist/chunks/{schema-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  768. /package/dist/chunks/{schema-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
  769. /package/dist/chunks/{schema-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  770. /package/dist/chunks/{schema-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  771. /package/dist/chunks/{schema-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  772. /package/dist/chunks/{schema-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  773. /package/dist/chunks/{schema-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  774. /package/dist/chunks/{schema-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  775. /package/dist/chunks/{schema-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  776. /package/dist/chunks/{schema-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  777. /package/dist/chunks/{schema-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  778. /package/dist/chunks/{schema-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  779. /package/dist/chunks/{schema-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  780. /package/dist/chunks/{schema-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
  781. /package/dist/chunks/{schema-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  782. /package/dist/chunks/{schema-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  783. /package/dist/chunks/{schema-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  784. /package/dist/chunks/{schema-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  785. /package/dist/chunks/{schema-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  786. /package/dist/chunks/{schema-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  787. /package/dist/chunks/{schema-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  788. /package/dist/chunks/{schema-ncqqe42p.js → persistent-pty-ncqqe42p.js} +0 -0
  789. /package/dist/chunks/{schema-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  790. /package/dist/chunks/{schema-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
  791. /package/dist/chunks/{schema-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  792. /package/dist/chunks/{schema-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  793. /package/dist/chunks/{schema-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  794. /package/dist/chunks/{schema-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  795. /package/dist/chunks/{schema-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  796. /package/dist/chunks/{schema-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  797. /package/dist/chunks/{schema-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  798. /package/dist/chunks/{schema-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  799. /package/dist/chunks/{schema-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  800. /package/dist/chunks/{schema-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  801. /package/dist/chunks/{schema-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  802. /package/dist/chunks/{schema-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  803. /package/dist/chunks/{schema-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  804. /package/dist/chunks/{schema-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  805. /package/dist/chunks/{schema-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  806. /package/dist/chunks/{schema-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  807. /package/dist/chunks/{schema-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  808. /package/dist/chunks/{schema-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  809. /package/dist/chunks/{schema-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  810. /package/dist/chunks/{schema-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  811. /package/dist/chunks/{schema-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  812. /package/dist/chunks/{schema-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-grp5rwdb.js";
3
+ } from "./persistent-pty-jeggvkmv.js";
4
4
  import {
5
- Service82
6
- } from "./schema-5t9jfe1j.js";
5
+ Service85
6
+ } from "./persistent-pty-7aszcnrw.js";
7
7
  import {
8
8
  ID16,
9
9
  OAuth3,
10
10
  Event19
11
- } from "./schema-tcsxprfy.js";
11
+ } from "./persistent-pty-kpprecar.js";
12
12
  import {
13
13
  key2
14
- } from "./schema-61ennm6n.js";
14
+ } from "./persistent-pty-61ennm6n.js";
15
15
  import {
16
16
  ID14,
17
17
  MethodID2,
18
18
  AuthorizationError2
19
- } from "./schema-qtfmf1tm.js";
19
+ } from "./persistent-pty-0garbbmq.js";
20
20
  import {
21
21
  ID13
22
- } from "./schema-dh7yr4e4.js";
22
+ } from "./persistent-pty-fvtwqean.js";
23
23
  import {
24
- Service71
25
- } from "./schema-ce2ydvyh.js";
24
+ Service72
25
+ } from "./persistent-pty-kg1ma0kd.js";
26
26
  import {
27
27
  Remote2,
28
28
  Document2,
29
- make11
30
- } from "./schema-k9zkdd2y.js";
29
+ make13
30
+ } from "./persistent-pty-wby0kqsc.js";
31
31
  import {
32
32
  integrate2
33
- } from "./schema-d9vx7wx0.js";
33
+ } from "./persistent-pty-mk295dtd.js";
34
34
  import {
35
35
  defaultServer2,
36
36
  server2,
37
37
  headers2
38
- } from "./schema-kt3bjfbg.js";
38
+ } from "./persistent-pty-kt3bjfbg.js";
39
39
  import {
40
- ID4,
40
+ ID3,
41
41
  Input14,
42
42
  Response2
43
- } from "./schema-2mkw5nnf.js";
43
+ } from "./persistent-pty-c34ang25.js";
44
44
 
45
45
  // src/plugin/provider/opencode.ts
46
46
  import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -156,10 +156,10 @@ var OpencodePlugin2 = define({
156
156
  id: "opencode.provider.opencode",
157
157
  effect: Effect.fn(function* (ctx) {
158
158
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
159
- const bus = yield* Service82;
159
+ const bus = yield* Service85;
160
160
  const client = yield* HttpClient.HttpClient;
161
161
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
162
- const config = yield* Service71;
162
+ const config = yield* Service72;
163
163
  const scope = yield* Scope.Scope;
164
164
  const loading = Semaphore.makeUnsafe(1);
165
165
  let snapshot = { remote: undefined, connection: undefined, organization: undefined };
@@ -199,7 +199,7 @@ var OpencodePlugin2 = define({
199
199
  integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID14.make("opencode"));
200
200
  });
201
201
  const publish = Effect.fnUntraced(function* (next) {
202
- yield* integrate(next.remote && next.connection && make11({
202
+ yield* integrate(next.remote && next.connection && make13({
203
203
  integrationID: ID14.make("opencode"),
204
204
  connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
205
205
  organization: next.organization,
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
276
276
  }
277
277
  });
278
278
  yield* ctx.websearch.transform((editor) => {
279
- const provider = ID4.make("opencode");
279
+ const provider = ID3.make("opencode");
280
280
  if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
281
281
  editor.add(search(provider, snapshot.connection));
282
282
  });
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured12,
11
- layer: () => layer27,
12
- make: () => make22,
13
- node: () => node86,
10
+ configured: () => configured5,
11
+ layer: () => layer21,
12
+ make: () => make19,
13
+ node: () => node49,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make22()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make22(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make22(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer27 = (input) => Layer.succeed(Metadata2, make22(input));
32
- var configured12 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
33
- var node86 = configured12();
31
+ var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
+ var node49 = configured5();
34
34
 
35
- export { Metadata2, make22, useragent2, layer27, configured12, node86, exports_app };
35
+ export { Metadata2, make19, useragent2, layer21, configured5, node49, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./schema-5y2afnr7.js";
2
+ Service83,
3
+ node87
4
+ } from "./persistent-pty-6azgr7ze.js";
5
5
  import {
6
6
  __export
7
- } from "./schema-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info28,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service80,
15
+ Service: () => Service82,
16
16
  boundNode: () => boundNode2,
17
- node: () => node83,
17
+ node: () => node86,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info28, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service82 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node83 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node86 = LayerNode.unbound(Service82, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
28
+ const project = yield* Service83;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service80.of({
30
+ return Service82.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service80,
38
+ service: Service82,
39
39
  layer: layer(ref),
40
- deps: [node84]
40
+ deps: [node87]
41
41
  });
42
42
 
43
- export { Info28, Ref5, response2, Service80, node83, boundNode2, exports_location };
43
+ export { Info28, Ref5, response2, Service82, node86, boundNode2, exports_location };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./schema-svcy3p9a.js";
5
+ } from "./persistent-pty-svcy3p9a.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./schema-1jakw16s.js";
3
+ } from "./persistent-pty-1jakw16s.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin12,
11
+ Plugin: () => Plugin49,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin12 = define({
18
+ var Plugin49 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin12, exports_tool_input_repair };
123
+ export { Plugin49, exports_tool_input_repair };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./schema-grp5rwdb.js";
3
+ } from "./persistent-pty-jeggvkmv.js";
4
4
  import {
5
- Service82
6
- } from "./schema-5t9jfe1j.js";
5
+ Service85
6
+ } from "./persistent-pty-7aszcnrw.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
10
  Service79
11
- } from "./schema-tcsxprfy.js";
11
+ } from "./persistent-pty-kpprecar.js";
12
12
  import {
13
13
  ID14,
14
14
  MethodID2,
15
15
  Service77
16
- } from "./schema-qtfmf1tm.js";
16
+ } from "./persistent-pty-0garbbmq.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./schema-yb20nhc3.js";
20
+ } from "./persistent-pty-yb20nhc3.js";
21
21
  import {
22
22
  ID13
23
- } from "./schema-dh7yr4e4.js";
23
+ } from "./persistent-pty-fvtwqean.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./schema-j0fb9gww.js";
26
+ } from "./persistent-pty-wdnrbeqs.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -55,7 +55,7 @@ var SnowflakeCortexPlugin2 = define({
55
55
  const http = yield* HttpClient.HttpClient;
56
56
  const credentials = yield* Service79;
57
57
  const integrations = yield* Service77;
58
- const bus = yield* Service82;
58
+ const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -0,0 +1,257 @@
1
+ import {
2
+ node57
3
+ } from "./persistent-pty-d54nae6v.js";
4
+ import {
5
+ node82
6
+ } from "./persistent-pty-4c0sy8z7.js";
7
+ import {
8
+ node81
9
+ } from "./persistent-pty-0garbbmq.js";
10
+ import {
11
+ node86,
12
+ boundNode2
13
+ } from "./persistent-pty-jj147ft1.js";
14
+ import {
15
+ node80
16
+ } from "./persistent-pty-fvtwqean.js";
17
+ import {
18
+ node63
19
+ } from "./persistent-pty-7vktkwjq.js";
20
+ import {
21
+ node79
22
+ } from "./persistent-pty-tmy26mxh.js";
23
+ import {
24
+ node68
25
+ } from "./persistent-pty-wgn86zaw.js";
26
+ import {
27
+ configured9,
28
+ node76
29
+ } from "./persistent-pty-kg1ma0kd.js";
30
+ import {
31
+ node72
32
+ } from "./persistent-pty-ngtazrm4.js";
33
+ import {
34
+ node18
35
+ } from "./persistent-pty-7xcxnnhw.js";
36
+ import {
37
+ node24
38
+ } from "./persistent-pty-gbc4psnj.js";
39
+ import {
40
+ node59
41
+ } from "./persistent-pty-x25jfgjr.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node58
45
+ } from "./persistent-pty-7ky5q9y1.js";
46
+ import {
47
+ node62
48
+ } from "./persistent-pty-ybctve4h.js";
49
+ import {
50
+ node25
51
+ } from "./persistent-pty-633sykgz.js";
52
+ import {
53
+ node16
54
+ } from "./persistent-pty-7c82yqbx.js";
55
+ import {
56
+ node27
57
+ } from "./persistent-pty-2fe6144r.js";
58
+ import {
59
+ node65
60
+ } from "./persistent-pty-h6t0znmf.js";
61
+ import {
62
+ node44
63
+ } from "./persistent-pty-hrxhk37r.js";
64
+ import {
65
+ Service46,
66
+ node48
67
+ } from "./persistent-pty-ra34yqmw.js";
68
+ import {
69
+ node75
70
+ } from "./persistent-pty-nad4mkqt.js";
71
+ import {
72
+ node54
73
+ } from "./persistent-pty-9j54w4dz.js";
74
+ import {
75
+ node47
76
+ } from "./persistent-pty-519tq28h.js";
77
+ import {
78
+ configured6,
79
+ node52
80
+ } from "./persistent-pty-5spjnxae.js";
81
+ import {
82
+ node36
83
+ } from "./persistent-pty-htf1zbz3.js";
84
+ import {
85
+ node64
86
+ } from "./persistent-pty-p3t53mgr.js";
87
+ import {
88
+ node71
89
+ } from "./persistent-pty-gp067yzn.js";
90
+ import {
91
+ node43
92
+ } from "./persistent-pty-p0knec42.js";
93
+ import {
94
+ node42
95
+ } from "./persistent-pty-r3096bj9.js";
96
+ import {
97
+ node50
98
+ } from "./persistent-pty-24bdjav6.js";
99
+ import {
100
+ node40
101
+ } from "./persistent-pty-1ynb6ezc.js";
102
+ import {
103
+ node53
104
+ } from "./persistent-pty-dfagftgj.js";
105
+ import {
106
+ node41
107
+ } from "./persistent-pty-9370xdb0.js";
108
+ import {
109
+ node34
110
+ } from "./persistent-pty-atr4tm0y.js";
111
+ import {
112
+ node66
113
+ } from "./persistent-pty-bn32yz83.js";
114
+ import {
115
+ node85
116
+ } from "./persistent-pty-43d5xc6d.js";
117
+ import {
118
+ node69
119
+ } from "./persistent-pty-fv3rjegd.js";
120
+ import {
121
+ node23
122
+ } from "./persistent-pty-whss3p2j.js";
123
+ import {
124
+ node26
125
+ } from "./persistent-pty-n0vyk18c.js";
126
+ import {
127
+ node29
128
+ } from "./persistent-pty-c34ang25.js";
129
+ import {
130
+ node22
131
+ } from "./persistent-pty-sa8kccs0.js";
132
+ import {
133
+ node20
134
+ } from "./persistent-pty-dncqwfyx.js";
135
+ import {
136
+ node2
137
+ } from "./persistent-pty-4wj04rfq.js";
138
+ import {
139
+ Service17,
140
+ node19
141
+ } from "./persistent-pty-nng17e32.js";
142
+ import {
143
+ node15
144
+ } from "./persistent-pty-0mwtxpwv.js";
145
+ import {
146
+ node9,
147
+ bound2
148
+ } from "./persistent-pty-ddvn7d3w.js";
149
+ import {
150
+ node11
151
+ } from "./persistent-pty-qymz5vam.js";
152
+ import {
153
+ node13
154
+ } from "./persistent-pty-9n2g1sn7.js";
155
+ import {
156
+ node5
157
+ } from "./persistent-pty-cpyv68vg.js";
158
+ import {
159
+ node30
160
+ } from "./persistent-pty-zf9grm2a.js";
161
+ import {
162
+ node4
163
+ } from "./persistent-pty-ez0bd5c5.js";
164
+ import {
165
+ node3
166
+ } from "./persistent-pty-52a9j804.js";
167
+ import {
168
+ __export
169
+ } from "./persistent-pty-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service46,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node48
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node86,
185
+ node19,
186
+ node72,
187
+ node76,
188
+ node57,
189
+ node68,
190
+ node50,
191
+ node23,
192
+ node29,
193
+ node81,
194
+ node80,
195
+ node79,
196
+ node62,
197
+ node63,
198
+ node20,
199
+ node75,
200
+ node9,
201
+ node5,
202
+ node22,
203
+ node59,
204
+ node58,
205
+ node85,
206
+ node30,
207
+ node69,
208
+ node53,
209
+ node36,
210
+ node52,
211
+ node15,
212
+ node18,
213
+ node24,
214
+ node44,
215
+ node54,
216
+ node64,
217
+ node71,
218
+ node65,
219
+ node41,
220
+ node40,
221
+ node82,
222
+ node25,
223
+ node16,
224
+ node27,
225
+ node43,
226
+ node42,
227
+ node13,
228
+ node47,
229
+ node11,
230
+ node4,
231
+ node34,
232
+ node66,
233
+ node3,
234
+ node26,
235
+ node2
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node76.replace(configured9({ project: false, global: false })),
240
+ node52.replace(configured6({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node86.replace(boundNode2(ref)),
248
+ node9.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service17).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./schema-dh7yr4e4.js";
3
+ } from "./persistent-pty-fvtwqean.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./schema-j0fb9gww.js";
6
+ } from "./persistent-pty-wdnrbeqs.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID11,
2
+ ID8,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./schema-kq6ta67e.js";
5
+ } from "./persistent-pty-d54nae6v.js";
6
6
  import {
7
7
  __export
8
- } from "./schema-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin11
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin44
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -57,7 +57,7 @@ Rules:
57
57
  - Never ask questions or add new questions
58
58
  - If the conversation ends with an unanswered question to the user, preserve that exact question
59
59
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
60
- var Plugin11 = define({
60
+ var Plugin44 = define({
61
61
  id: "opencode.agent",
62
62
  effect: Effect.fn(function* (ctx) {
63
63
  yield* ctx.agent.transform((editor) => {
@@ -67,32 +67,32 @@ var Plugin11 = define({
67
67
  item.mode = "primary";
68
68
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
69
69
  });
70
- editor.update(ID11.make("general"), (item) => {
70
+ editor.update(ID8.make("general"), (item) => {
71
71
  item.name = Name3.make("General");
72
72
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
73
73
  item.mode = "subagent";
74
74
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
75
75
  });
76
- editor.update(ID11.make("explore"), (item) => {
76
+ editor.update(ID8.make("explore"), (item) => {
77
77
  item.name = Name3.make("Explore");
78
78
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
79
79
  item.system = PROMPT_EXPLORE;
80
80
  item.mode = "subagent";
81
81
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
82
82
  });
83
- editor.update(ID11.make("compaction"), (item) => {
83
+ editor.update(ID8.make("compaction"), (item) => {
84
84
  item.name = Name3.make("Compaction");
85
85
  item.mode = "primary";
86
86
  item.hidden = true;
87
87
  });
88
- editor.update(ID11.make("title"), (item) => {
88
+ editor.update(ID8.make("title"), (item) => {
89
89
  item.name = Name3.make("Title");
90
90
  item.mode = "primary";
91
91
  item.hidden = true;
92
92
  item.system = PROMPT_TITLE;
93
93
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
94
94
  });
95
- editor.update(ID11.make("summary"), (item) => {
95
+ editor.update(ID8.make("summary"), (item) => {
96
96
  item.name = Name3.make("Summary");
97
97
  item.mode = "primary";
98
98
  item.hidden = true;
@@ -103,4 +103,4 @@ var Plugin11 = define({
103
103
  })
104
104
  });
105
105
 
106
- export { Plugin11, exports_agent };
106
+ export { Plugin44, exports_agent2 };