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

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 (813) 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 +79 -79
  7. package/dist/chunks/{persistent-pty-034tev2y.js → vcs-034tev2y.js} +2 -2
  8. package/dist/chunks/{persistent-pty-0v98g2dp.js → vcs-079ccags.js} +5 -5
  9. package/dist/chunks/{persistent-pty-kb8fswp1.js → vcs-0d5zdg09.js} +4 -4
  10. package/dist/chunks/{persistent-pty-sa8kccs0.js → vcs-10wj17tq.js} +13 -13
  11. package/dist/chunks/{persistent-pty-4wj04rfq.js → vcs-1941k5sj.js} +32 -32
  12. package/dist/chunks/{persistent-pty-1ep2p91f.js → vcs-1ep2p91f.js} +2 -2
  13. package/dist/chunks/{persistent-pty-xt0z8zst.js → vcs-1kn6jdkn.js} +4 -4
  14. package/dist/chunks/{persistent-pty-1x2knyw4.js → vcs-1x2knyw4.js} +1 -1
  15. package/dist/chunks/{persistent-pty-wzkv2sek.js → vcs-1xxgzegw.js} +4 -4
  16. package/dist/chunks/{persistent-pty-jv541gt1.js → vcs-1y89m7wx.js} +5 -5
  17. package/dist/chunks/{persistent-pty-p7vhpwh8.js → vcs-1yq9hg58.js} +5 -5
  18. package/dist/chunks/{persistent-pty-204s3925.js → vcs-204s3925.js} +1 -1
  19. package/dist/chunks/{persistent-pty-vm6x4cc6.js → vcs-2660epmj.js} +11 -11
  20. package/dist/chunks/{persistent-pty-24bdjav6.js → vcs-27kvnj30.js} +25 -25
  21. package/dist/chunks/{persistent-pty-7ky5q9y1.js → vcs-2evsnrbc.js} +30 -30
  22. package/dist/chunks/{persistent-pty-whfmfgat.js → vcs-2qdnk5gy.js} +4 -4
  23. package/dist/chunks/{persistent-pty-zb5gs1ba.js → vcs-2qr4rt5k.js} +3 -3
  24. package/dist/chunks/{persistent-pty-xefsy4ps.js → vcs-2v478qgw.js} +34 -34
  25. package/dist/chunks/{persistent-pty-ygqxcxbg.js → vcs-2vmza6bx.js} +4 -4
  26. package/dist/chunks/{persistent-pty-ve5h0m4q.js → vcs-3012d813.js} +7 -7
  27. package/dist/chunks/{persistent-pty-h6fv7vft.js → vcs-3becjr0v.js} +17 -17
  28. package/dist/chunks/{persistent-pty-519tq28h.js → vcs-3br35akn.js} +17 -17
  29. package/dist/chunks/{persistent-pty-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{persistent-pty-6xqtcmxs.js → vcs-3kdbrncp.js} +5 -5
  31. package/dist/chunks/{persistent-pty-3nnrz6f6.js → vcs-3nnrz6f6.js} +1 -1
  32. package/dist/chunks/{persistent-pty-wa71be01.js → vcs-3sdek3b3.js} +48 -48
  33. package/dist/chunks/{persistent-pty-h0n6thsx.js → vcs-3y5kg779.js} +2 -2
  34. package/dist/chunks/{persistent-pty-7r7rb3ck.js → vcs-3zm80s7d.js} +12 -12
  35. package/dist/chunks/{persistent-pty-pszedv3e.js → vcs-41w1qpn3.js} +9 -9
  36. package/dist/chunks/{persistent-pty-n0vyk18c.js → vcs-42qb5rv4.js} +24 -24
  37. package/dist/chunks/{persistent-pty-mx5ntkq3.js → vcs-497mjgh5.js} +26 -26
  38. package/dist/chunks/{persistent-pty-6sbnn1cw.js → vcs-4jvymcr5.js} +9 -9
  39. package/dist/chunks/{persistent-pty-0ya4kcpa.js → vcs-4m6wdh0q.js} +14 -14
  40. package/dist/chunks/{persistent-pty-hdfrs5mg.js → vcs-4pnypb5f.js} +7 -7
  41. package/dist/chunks/{persistent-pty-4pyp9zr9.js → vcs-4pyp9zr9.js} +1 -1
  42. package/dist/chunks/{persistent-pty-h8kx6a24.js → vcs-4qnt9348.js} +22 -22
  43. package/dist/chunks/{persistent-pty-4v008n1t.js → vcs-4v008n1t.js} +1 -1
  44. package/dist/chunks/{persistent-pty-qdmaswkh.js → vcs-4xy4nqvy.js} +21 -21
  45. package/dist/chunks/{persistent-pty-mnyz6jmh.js → vcs-4ya1zf4j.js} +9 -9
  46. package/dist/chunks/{persistent-pty-9n2g1sn7.js → vcs-4zjf7cy2.js} +20 -20
  47. package/dist/chunks/vcs-5272mb2r.js +257 -0
  48. package/dist/chunks/{persistent-pty-7wpj9r4n.js → vcs-56exsq7y.js} +10 -10
  49. package/dist/chunks/{persistent-pty-w2eysc6j.js → vcs-5enarcya.js} +6 -6
  50. package/dist/chunks/{persistent-pty-5m9w47nd.js → vcs-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{persistent-pty-6azgr7ze.js → vcs-5qx92zct.js} +42 -42
  52. package/dist/chunks/{persistent-pty-1jsvn0r5.js → vcs-5ww8zx74.js} +3 -3
  53. package/dist/chunks/{persistent-pty-pbbktnbz.js → vcs-5x26af84.js} +4 -4
  54. package/dist/chunks/{persistent-pty-1ynb6ezc.js → vcs-5x47hebm.js} +13 -13
  55. package/dist/chunks/{persistent-pty-vzvqvrbr.js → vcs-5xh13x4p.js} +27 -27
  56. package/dist/chunks/{persistent-pty-dncqwfyx.js → vcs-66rmjjex.js} +21 -21
  57. package/dist/chunks/{persistent-pty-6esdw8yj.js → vcs-6esdw8yj.js} +1 -1
  58. package/dist/chunks/{persistent-pty-bn32yz83.js → vcs-711z6zs4.js} +32 -32
  59. package/dist/chunks/{persistent-pty-76cb1hcw.js → vcs-76cb1hcw.js} +1 -1
  60. package/dist/chunks/{persistent-pty-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{persistent-pty-cpyv68vg.js → vcs-7jk9ktw7.js} +43 -43
  62. package/dist/chunks/{persistent-pty-7c82yqbx.js → vcs-7vva77b5.js} +5 -5
  63. package/dist/chunks/{persistent-pty-7w2ypzdf.js → vcs-7w2ypzdf.js} +1 -1
  64. package/dist/chunks/{persistent-pty-hrxhk37r.js → vcs-7xwxxj51.js} +43 -43
  65. package/dist/chunks/{persistent-pty-95jfhm1f.js → vcs-803py63b.js} +45 -45
  66. package/dist/chunks/{persistent-pty-kvvk99b7.js → vcs-81e513d9.js} +15 -15
  67. package/dist/chunks/{persistent-pty-y067tb9j.js → vcs-82j41amh.js} +4 -4
  68. package/dist/chunks/{persistent-pty-pqnrqzxc.js → vcs-834xe486.js} +9 -9
  69. package/dist/chunks/{persistent-pty-80erdhxq.js → vcs-88nacy35.js} +36 -36
  70. package/dist/chunks/{persistent-pty-qpv0mvvz.js → vcs-893ry4nt.js} +10 -10
  71. package/dist/chunks/{persistent-pty-kg1ma0kd.js → vcs-8abc36xm.js} +50 -50
  72. package/dist/chunks/{persistent-pty-7vktkwjq.js → vcs-8axx4zpa.js} +12 -12
  73. package/dist/chunks/{persistent-pty-3h757q1d.js → vcs-8cr8ejqg.js} +8 -8
  74. package/dist/chunks/{persistent-pty-cjaw03wv.js → vcs-8dhx12dr.js} +17 -17
  75. package/dist/chunks/{persistent-pty-eke95etz.js → vcs-8e8fnv13.js} +39 -39
  76. package/dist/chunks/{persistent-pty-jj147ft1.js → vcs-8f2h6hsz.js} +16 -16
  77. package/dist/chunks/{persistent-pty-31avdb49.js → vcs-8rgb2cvr.js} +11 -11
  78. package/dist/chunks/{persistent-pty-nng17e32.js → vcs-8sqprg4w.js} +36 -36
  79. package/dist/chunks/{persistent-pty-8wtp7s3z.js → vcs-8wtp7s3z.js} +1 -1
  80. package/dist/chunks/{persistent-pty-90zstvax.js → vcs-90zstvax.js} +1 -1
  81. package/dist/chunks/{persistent-pty-gbc4psnj.js → vcs-911083wy.js} +15 -15
  82. package/dist/chunks/{persistent-pty-mp6ntmcp.js → vcs-961rs8be.js} +12 -12
  83. package/dist/chunks/{persistent-pty-ddad440e.js → vcs-96a4eq0m.js} +27 -27
  84. package/dist/chunks/{persistent-pty-m0kj7b7a.js → vcs-96tdjhwb.js} +2 -2
  85. package/dist/chunks/{persistent-pty-7xcxnnhw.js → vcs-9a3x2kz4.js} +13 -13
  86. package/dist/chunks/{persistent-pty-d54nae6v.js → vcs-9ca4th6x.js} +25 -25
  87. package/dist/chunks/{persistent-pty-9370xdb0.js → vcs-9d4562qa.js} +17 -17
  88. package/dist/chunks/{persistent-pty-p0knec42.js → vcs-9hf7djsb.js} +15 -15
  89. package/dist/chunks/{persistent-pty-dbb763wq.js → vcs-9nxy5s5f.js} +8 -8
  90. package/dist/chunks/{persistent-pty-r8v4vvzq.js → vcs-9qdswjvr.js} +12 -12
  91. package/dist/chunks/{persistent-pty-crvjh2nq.js → vcs-9s8mp9xy.js} +6 -6
  92. package/dist/chunks/{persistent-pty-h6t0znmf.js → vcs-9yhxtcx8.js} +9 -9
  93. package/dist/chunks/{persistent-pty-0anyt1n6.js → vcs-9z9tayqc.js} +5 -5
  94. package/dist/chunks/{persistent-pty-56fkkzwp.js → vcs-a2jzevxz.js} +14 -14
  95. package/dist/chunks/{persistent-pty-6rqz0akc.js → vcs-a9qv6y2y.js} +32 -32
  96. package/dist/chunks/{persistent-pty-fvtwqean.js → vcs-acqpw5y2.js} +21 -21
  97. package/dist/chunks/{persistent-pty-v8vavc5t.js → vcs-aecr8kmf.js} +40 -40
  98. package/dist/chunks/{persistent-pty-ez0bd5c5.js → vcs-axgnp1w7.js} +26 -26
  99. package/dist/chunks/{persistent-pty-ayjs7tqn.js → vcs-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{persistent-pty-b6vsg801.js → vcs-b6vsg801.js} +2 -2
  101. package/dist/chunks/{persistent-pty-7aszcnrw.js → vcs-b8zfksyw.js} +12 -12
  102. package/dist/chunks/{persistent-pty-heamr9gy.js → vcs-bh6hwh25.js} +3 -3
  103. package/dist/chunks/{persistent-pty-61ennm6n.js → vcs-bjhzkqyk.js} +4 -4
  104. package/dist/chunks/{persistent-pty-tmy26mxh.js → vcs-bqxvxs63.js} +23 -23
  105. package/dist/chunks/{persistent-pty-bstexjd6.js → vcs-bstexjd6.js} +1 -1
  106. package/dist/chunks/{persistent-pty-dfagftgj.js → vcs-bzfazvnd.js} +20 -20
  107. package/dist/chunks/{persistent-pty-xc897g4n.js → vcs-bzzy1r12.js} +11 -11
  108. package/dist/chunks/{persistent-pty-cd1wa7pc.js → vcs-c603at3t.js} +3 -3
  109. package/dist/chunks/{persistent-pty-3ryz99p0.js → vcs-c6x7d2ts.js} +4 -4
  110. package/dist/chunks/{persistent-pty-y906m0ew.js → vcs-ce5fknq2.js} +5 -5
  111. package/dist/chunks/{persistent-pty-7j9wt8g8.js → vcs-chc0g785.js} +5 -5
  112. package/dist/chunks/{persistent-pty-x25jfgjr.js → vcs-ckvzbjwj.js} +25 -25
  113. package/dist/chunks/{persistent-pty-v4t7rh87.js → vcs-cqnqmmbc.js} +22 -22
  114. package/dist/chunks/{persistent-pty-g7fyn0m6.js → vcs-crgewsnq.js} +5 -5
  115. package/dist/chunks/{persistent-pty-tkb7bqdy.js → vcs-cvc38qdd.js} +9 -9
  116. package/dist/chunks/{persistent-pty-cwrgdav8.js → vcs-cwrgdav8.js} +2 -2
  117. package/dist/chunks/{persistent-pty-d4v9tmah.js → vcs-d4v9tmah.js} +2 -2
  118. package/dist/chunks/{persistent-pty-4pw98qd4.js → vcs-d8p3t516.js} +4 -4
  119. package/dist/chunks/{persistent-pty-txsdra3m.js → vcs-d8wf4604.js} +34 -34
  120. package/dist/chunks/{persistent-pty-nkyj4cf1.js → vcs-dc473hq1.js} +20 -20
  121. package/dist/chunks/{persistent-pty-jeggvkmv.js → vcs-dcphv4q7.js} +11 -11
  122. package/dist/chunks/{persistent-pty-00htyqr9.js → vcs-drmc7326.js} +13 -13
  123. package/dist/chunks/{persistent-pty-drvbhkez.js → vcs-drvbhkez.js} +2 -2
  124. package/dist/chunks/{persistent-pty-dt77769w.js → vcs-dt77769w.js} +1 -1
  125. package/dist/chunks/{persistent-pty-cr8fx06x.js → vcs-dw6yk4g4.js} +19 -19
  126. package/dist/chunks/{persistent-pty-t20mvzrk.js → vcs-dxf45bfp.js} +27 -27
  127. package/dist/chunks/{persistent-pty-5qtr8rjc.js → vcs-dxqpfg1f.js} +78 -78
  128. package/dist/chunks/{persistent-pty-aqpt7qn5.js → vcs-dzcfjmec.js} +16 -16
  129. package/dist/chunks/{persistent-pty-67avc1k8.js → vcs-dzfs5b6c.js} +8 -8
  130. package/dist/chunks/{persistent-pty-50fdsjg8.js → vcs-e14jxrf8.js} +21 -21
  131. package/dist/chunks/{persistent-pty-yc76cwjc.js → vcs-e515nszc.js} +23 -23
  132. package/dist/chunks/{persistent-pty-e834z07m.js → vcs-e834z07m.js} +1 -1
  133. package/dist/chunks/{persistent-pty-xeecq2r5.js → vcs-ede588cb.js} +3 -3
  134. package/dist/chunks/{persistent-pty-wdnrbeqs.js → vcs-ehm90j5g.js} +4 -4
  135. package/dist/chunks/{persistent-pty-zd4mb3qc.js → vcs-eke9g6w2.js} +13 -13
  136. package/dist/chunks/vcs-ev660z6k.js +18 -0
  137. package/dist/chunks/{persistent-pty-7nnxdazv.js → vcs-ezm7bgte.js} +4 -4
  138. package/dist/chunks/{persistent-pty-09bv4atg.js → vcs-f01y088k.js} +5 -5
  139. package/dist/chunks/{persistent-pty-7w4mdq9h.js → vcs-f12ryszn.js} +12 -12
  140. package/dist/chunks/{persistent-pty-58fxbgyk.js → vcs-f3t04jjg.js} +7 -7
  141. package/dist/chunks/{persistent-pty-7kjqz9vx.js → vcs-f9v35vn9.js} +5 -5
  142. package/dist/chunks/{persistent-pty-fffv3p7h.js → vcs-fffv3p7h.js} +1 -1
  143. package/dist/chunks/{persistent-pty-fg9p65nk.js → vcs-fg9p65nk.js} +2 -2
  144. package/dist/chunks/{persistent-pty-vcvnp0q3.js → vcs-fne85w7v.js} +4 -4
  145. package/dist/chunks/{persistent-pty-jdgjvsvw.js → vcs-fw6nb5ck.js} +32 -32
  146. package/dist/chunks/{persistent-pty-qr2tsp5r.js → vcs-g67k3az8.js} +20 -20
  147. package/dist/chunks/{persistent-pty-zngxafys.js → vcs-g9c34x6f.js} +11 -11
  148. package/dist/chunks/{persistent-pty-c34ang25.js → vcs-gb3x7pd4.js} +23 -23
  149. package/dist/chunks/{persistent-pty-fv3rjegd.js → vcs-gcc564ca.js} +50 -50
  150. package/dist/chunks/{persistent-pty-gg8p9cgs.js → vcs-gg8p9cgs.js} +3 -3
  151. package/dist/chunks/{persistent-pty-72amzxyx.js → vcs-h7hv4bsx.js} +3 -3
  152. package/dist/chunks/{persistent-pty-0garbbmq.js → vcs-h871ecej.js} +20 -20
  153. package/dist/chunks/{persistent-pty-gs5kg9b2.js → vcs-h9cd45gd.js} +22 -22
  154. package/dist/chunks/vcs-hdfbhhjq.js +26 -0
  155. package/dist/chunks/{persistent-pty-hfgk9wzg.js → vcs-hfgk9wzg.js} +1 -1
  156. package/dist/chunks/{persistent-pty-z4v0at7d.js → vcs-hnyptrnw.js} +30 -30
  157. package/dist/chunks/{persistent-pty-hpg1pkwy.js → vcs-hpg1pkwy.js} +1 -1
  158. package/dist/chunks/{persistent-pty-6hjagsjn.js → vcs-hq1wfz6f.js} +4 -4
  159. package/dist/chunks/{persistent-pty-2zp5a6yg.js → vcs-hqxkkta1.js} +3 -3
  160. package/dist/chunks/{persistent-pty-r8rdcxeh.js → vcs-hrf8w9bv.js} +18 -18
  161. package/dist/chunks/{persistent-pty-43d5xc6d.js → vcs-hxe8n5wd.js} +19 -19
  162. package/dist/chunks/{persistent-pty-ybctve4h.js → vcs-hznj66aq.js} +36 -36
  163. package/dist/chunks/{persistent-pty-zf9grm2a.js → vcs-j3fqds5k.js} +37 -37
  164. package/dist/chunks/{persistent-pty-52a9j804.js → vcs-jbzt06de.js} +64 -64
  165. package/dist/chunks/{persistent-pty-bm4gstpq.js → vcs-jc512s3p.js} +8 -8
  166. package/dist/chunks/{persistent-pty-gcjdgkn2.js → vcs-jcqm84fr.js} +9 -9
  167. package/dist/chunks/{persistent-pty-dyph5nm8.js → vcs-jd4h7jwf.js} +27 -27
  168. package/dist/chunks/{persistent-pty-jfaecv01.js → vcs-jfaecv01.js} +1 -1
  169. package/dist/chunks/{persistent-pty-ya13x5xa.js → vcs-jhrp8x7n.js} +18 -18
  170. package/dist/chunks/{persistent-pty-p3t53mgr.js → vcs-jnxh9bnf.js} +24 -24
  171. package/dist/chunks/{persistent-pty-ty8kxeae.js → vcs-jpf9vszk.js} +35 -35
  172. package/dist/chunks/{persistent-pty-jtnps1zs.js → vcs-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{persistent-pty-scntyf0x.js → vcs-jxt3q3kf.js} +11 -11
  174. package/dist/chunks/{persistent-pty-epv0aws2.js → vcs-k1cjxzzv.js} +18 -18
  175. package/dist/chunks/{persistent-pty-633sykgz.js → vcs-k6d7f0h0.js} +24 -24
  176. package/dist/chunks/{persistent-pty-k814nvkf.js → vcs-k814nvkf.js} +1 -1
  177. package/dist/chunks/{persistent-pty-wby0kqsc.js → vcs-k9zkdd2y.js} +4 -4
  178. package/dist/chunks/{persistent-pty-5spjnxae.js → vcs-kam05h7r.js} +23 -23
  179. package/dist/chunks/{persistent-pty-htf1zbz3.js → vcs-kkmrs84d.js} +16 -16
  180. package/dist/chunks/{persistent-pty-kt3bjfbg.js → vcs-kt3bjfbg.js} +1 -1
  181. package/dist/chunks/{persistent-pty-1evzqt9k.js → vcs-kvaqnkh5.js} +6 -6
  182. package/dist/chunks/{persistent-pty-ky4b16es.js → vcs-kvkehzzy.js} +11 -11
  183. package/dist/chunks/{persistent-pty-pyhph78g.js → vcs-kvnh73qb.js} +11 -11
  184. package/dist/chunks/{persistent-pty-m1714858.js → vcs-m1714858.js} +1 -1
  185. package/dist/chunks/{persistent-pty-wgn86zaw.js → vcs-m23nxqzn.js} +25 -25
  186. package/dist/chunks/{persistent-pty-c4wqcyac.js → vcs-m3dz0tc2.js} +32 -32
  187. package/dist/chunks/{persistent-pty-yqveydy6.js → vcs-m7xh3h0x.js} +4 -4
  188. package/dist/chunks/{persistent-pty-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{persistent-pty-9ep0cc8m.js → vcs-mhhpcp40.js} +54 -54
  190. package/dist/chunks/{persistent-pty-v21mv7f7.js → vcs-mp9ebvmh.js} +12 -12
  191. package/dist/chunks/{persistent-pty-2fe6144r.js → vcs-mr1t2pzq.js} +23 -23
  192. package/dist/chunks/{persistent-pty-9j54w4dz.js → vcs-mvmschgv.js} +48 -48
  193. package/dist/chunks/{persistent-pty-bcvtcraz.js → vcs-n39rwvas.js} +1 -1
  194. package/dist/chunks/{persistent-pty-s1a2cwn2.js → vcs-n93tr00k.js} +10 -10
  195. package/dist/chunks/{persistent-pty-nah043kf.js → vcs-nah043kf.js} +1 -1
  196. package/dist/chunks/{persistent-pty-wxcgqqg8.js → vcs-nahhmz6x.js} +16 -16
  197. package/dist/chunks/{persistent-pty-sjx7wecx.js → vcs-ncgj4fsm.js} +9 -9
  198. package/dist/chunks/{persistent-pty-mk295dtd.js → vcs-nhenvrcv.js} +12 -12
  199. package/dist/chunks/{persistent-pty-k567f45b.js → vcs-nqnxqd2r.js} +17 -17
  200. package/dist/chunks/{persistent-pty-vsqvcqta.js → vcs-nrtygxmh.js} +6 -6
  201. package/dist/chunks/{persistent-pty-p015t6z3.js → vcs-p015t6z3.js} +2 -2
  202. package/dist/chunks/{persistent-pty-9s067py2.js → vcs-p2esgkzz.js} +3 -3
  203. package/dist/chunks/{persistent-pty-7655k14p.js → vcs-p5t3gg5q.js} +11 -11
  204. package/dist/chunks/{persistent-pty-5yh47y05.js → vcs-ph7et01j.js} +20 -20
  205. package/dist/chunks/{persistent-pty-pknna89w.js → vcs-pknna89w.js} +1 -1
  206. package/dist/chunks/{persistent-pty-mr182tfb.js → vcs-prjhwpt4.js} +8 -8
  207. package/dist/chunks/{persistent-pty-1fr6zs4m.js → vcs-pzf76rrq.js} +30 -30
  208. package/dist/chunks/{persistent-pty-ra34yqmw.js → vcs-q85rya1m.js} +6 -6
  209. package/dist/chunks/{persistent-pty-0mwtxpwv.js → vcs-qatsv5dz.js} +25 -25
  210. package/dist/chunks/{persistent-pty-h9ytefs8.js → vcs-qgj2y09a.js} +5 -5
  211. package/dist/chunks/{persistent-pty-0w2jttgf.js → vcs-qj0f10hy.js} +2 -2
  212. package/dist/chunks/{persistent-pty-8jztxfpf.js → vcs-qjgzc4b4.js} +4 -4
  213. package/dist/chunks/{persistent-pty-qn4ber4v.js → vcs-qjq7p7j6.js} +25 -25
  214. package/dist/chunks/{persistent-pty-qp7r0hxv.js → vcs-qp7r0hxv.js} +1 -1
  215. package/dist/chunks/{persistent-pty-gp067yzn.js → vcs-qw6ypx0r.js} +11 -11
  216. package/dist/chunks/{persistent-pty-qymz5vam.js → vcs-qzze65dp.js} +32 -32
  217. package/dist/chunks/{persistent-pty-r0yr0wbs.js → vcs-r0yr0wbs.js} +1 -1
  218. package/dist/chunks/{persistent-pty-pa997763.js → vcs-r4kh5xmg.js} +3 -3
  219. package/dist/chunks/{persistent-pty-r542h3bh.js → vcs-r542h3bh.js} +1 -1
  220. package/dist/chunks/{persistent-pty-w15dafs9.js → vcs-r76g6m5d.js} +18 -18
  221. package/dist/chunks/{persistent-pty-53bv7djz.js → vcs-rb35zdj3.js} +6 -6
  222. package/dist/chunks/{persistent-pty-rb9dy4dg.js → vcs-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{persistent-pty-8hn4pygh.js → vcs-rc3e9zq8.js} +28 -28
  224. package/dist/chunks/{persistent-pty-5y682njc.js → vcs-rdssdv87.js} +27 -27
  225. package/dist/chunks/{persistent-pty-stbkav8k.js → vcs-rnkzngrq.js} +13 -13
  226. package/dist/chunks/{persistent-pty-rzepvn2e.js → vcs-rnvx41re.js} +41 -41
  227. package/dist/chunks/{persistent-pty-7wmpehws.js → vcs-rq1s007a.js} +17 -17
  228. package/dist/chunks/{persistent-pty-8r65fy8w.js → vcs-rramyk5b.js} +20 -20
  229. package/dist/chunks/{persistent-pty-rt5dr6hb.js → vcs-rt5dr6hb.js} +1 -1
  230. package/dist/chunks/{persistent-pty-41qk7kz0.js → vcs-rvnzb7rd.js} +8 -8
  231. package/dist/chunks/{persistent-pty-s0wxxy3w.js → vcs-rvr8sh1j.js} +9 -9
  232. package/dist/chunks/{persistent-pty-kep7f5cc.js → vcs-s11q4rn7.js} +11 -11
  233. package/dist/chunks/{persistent-pty-gdpq6bd8.js → vcs-s1pbznk9.js} +20 -20
  234. package/dist/chunks/{persistent-pty-df05jr30.js → vcs-s3yt9ny0.js} +6 -6
  235. package/dist/chunks/{persistent-pty-q63cb7ap.js → vcs-s7gmm2q3.js} +8 -4
  236. package/dist/chunks/{persistent-pty-v0t96s7a.js → vcs-s7kyse9r.js} +4 -4
  237. package/dist/chunks/{persistent-pty-bwqqmtwx.js → vcs-s7vmaqmh.js} +26 -26
  238. package/dist/chunks/{persistent-pty-sa3fpqfw.js → vcs-sa3fpqfw.js} +2 -2
  239. package/dist/chunks/{persistent-pty-z8r5vx31.js → vcs-sbanjb5j.js} +11 -11
  240. package/dist/chunks/{persistent-pty-q7agyjxx.js → vcs-sdv7qrfx.js} +6 -6
  241. package/dist/chunks/{persistent-pty-e6awym77.js → vcs-sfxc8tsc.js} +21 -21
  242. package/dist/chunks/{persistent-pty-6xxhtnvb.js → vcs-shhgqsar.js} +25 -25
  243. package/dist/chunks/{persistent-pty-cg8wvfan.js → vcs-sp1n9vrr.js} +13 -13
  244. package/dist/chunks/{persistent-pty-4qv6rmbn.js → vcs-sp5gwvgy.js} +17 -17
  245. package/dist/chunks/{persistent-pty-sqjzf8x2.js → vcs-sqjzf8x2.js} +1 -1
  246. package/dist/chunks/{persistent-pty-d2887f8n.js → vcs-ssfehs1z.js} +4 -4
  247. package/dist/chunks/{persistent-pty-svcy3p9a.js → vcs-svcy3p9a.js} +1 -1
  248. package/dist/chunks/{persistent-pty-ngtazrm4.js → vcs-svxc5mk7.js} +24 -24
  249. package/dist/chunks/{persistent-pty-qb24xxd1.js → vcs-swjc4wgc.js} +13 -13
  250. package/dist/chunks/{persistent-pty-3rkfx9k9.js → vcs-t7d5dner.js} +23 -23
  251. package/dist/chunks/{persistent-pty-atcw9je4.js → vcs-t9rnzgt8.js} +7 -7
  252. package/dist/chunks/{persistent-pty-tczq8hjw.js → vcs-tczq8hjw.js} +1 -1
  253. package/dist/chunks/{persistent-pty-2s4hqds4.js → vcs-tq4ca257.js} +25 -25
  254. package/dist/chunks/{persistent-pty-whss3p2j.js → vcs-ts41tt44.js} +18 -18
  255. package/dist/chunks/{persistent-pty-twssxy5n.js → vcs-twssxy5n.js} +2 -2
  256. package/dist/chunks/{persistent-pty-atr4tm0y.js → vcs-tzz7d8n9.js} +70 -70
  257. package/dist/chunks/{persistent-pty-v2r1d0zg.js → vcs-v2r1d0zg.js} +1 -1
  258. package/dist/chunks/{persistent-pty-z8hdzhhq.js → vcs-vbfgf998.js} +10 -10
  259. package/dist/chunks/{persistent-pty-nad4mkqt.js → vcs-vbhy04yp.js} +8 -8
  260. package/dist/chunks/{persistent-pty-xbcfztz3.js → vcs-vj5jshb9.js} +13 -13
  261. package/dist/chunks/{persistent-pty-vxqjk0bx.js → vcs-vp7nv6ts.js} +11 -11
  262. package/dist/chunks/{persistent-pty-kjgnzevm.js → vcs-vzmjdaw1.js} +9 -9
  263. package/dist/chunks/{persistent-pty-ve45bn9x.js → vcs-w2808p42.js} +6 -6
  264. package/dist/chunks/{persistent-pty-32qv0r55.js → vcs-w3ghn6yx.js} +4 -4
  265. package/dist/chunks/{persistent-pty-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
  266. package/dist/chunks/{persistent-pty-wr3re1en.js → vcs-w687dnns.js} +4 -4
  267. package/dist/chunks/{persistent-pty-wakvkjy4.js → vcs-wakvkjy4.js} +1 -1
  268. package/dist/chunks/{persistent-pty-wd87259q.js → vcs-wd87259q.js} +1 -1
  269. package/dist/chunks/{persistent-pty-wnhgecwx.js → vcs-wnhgecwx.js} +1 -1
  270. package/dist/chunks/{persistent-pty-npb1z062.js → vcs-wx1qd37n.js} +11 -11
  271. package/dist/chunks/{persistent-pty-mtq5g9x7.js → vcs-x1yq370d.js} +5 -5
  272. package/dist/chunks/{persistent-pty-r3096bj9.js → vcs-x22fevgm.js} +38 -38
  273. package/dist/chunks/{persistent-pty-38d21fdm.js → vcs-xcrax9b3.js} +22 -22
  274. package/dist/chunks/{persistent-pty-cn77934z.js → vcs-xcrtaswj.js} +11 -11
  275. package/dist/chunks/{persistent-pty-g0tp74by.js → vcs-xz2fv4yr.js} +17 -17
  276. package/dist/chunks/{persistent-pty-pzrv7hbh.js → vcs-y2hjk6xz.js} +12 -12
  277. package/dist/chunks/{persistent-pty-9y7cq3y4.js → vcs-y2syk0h5.js} +10 -10
  278. package/dist/chunks/{persistent-pty-f2k3g6xd.js → vcs-y9sq7js0.js} +175 -175
  279. package/dist/chunks/{persistent-pty-yara3q77.js → vcs-yara3q77.js} +2 -2
  280. package/dist/chunks/{persistent-pty-yb20nhc3.js → vcs-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{persistent-pty-ddvn7d3w.js → vcs-ydsespw1.js} +8 -8
  282. package/dist/chunks/{persistent-pty-ddc2cb7k.js → vcs-yg76txfd.js} +23 -23
  283. package/dist/chunks/{persistent-pty-kpprecar.js → vcs-ym5kwrv0.js} +31 -31
  284. package/dist/chunks/{persistent-pty-a9q6fvpe.js → vcs-ymz7p2c9.js} +3 -3
  285. package/dist/chunks/vcs-yv133y3g.js +511 -0
  286. package/dist/chunks/{persistent-pty-z38nccrw.js → vcs-z38nccrw.js} +1 -1
  287. package/dist/chunks/{persistent-pty-4c0sy8z7.js → vcs-z9wg9fq4.js} +14 -14
  288. package/dist/chunks/{persistent-pty-49xvkvhm.js → vcs-zac84x8b.js} +3 -3
  289. package/dist/chunks/{persistent-pty-gqng3fq0.js → vcs-zgf2rtvh.js} +5 -5
  290. package/dist/chunks/{persistent-pty-c84tv7mg.js → vcs-znxracq4.js} +6 -6
  291. package/dist/chunks/{persistent-pty-n17h7ycd.js → vcs-zsd8tnyx.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 +121 -121
  302. package/dist/config/plugin/command.js +219 -219
  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 +128 -128
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +121 -121
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +143 -143
  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 +120 -120
  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 +126 -126
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  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 +100 -100
  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 +3 -3
  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 +234 -234
  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 +11 -11
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +82 -82
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +113 -113
  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 +86 -86
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +87 -87
  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 +95 -95
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +111 -111
  486. package/dist/mcp/instructions.js +166 -166
  487. package/dist/mcp/oauth.js +84 -84
  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 +102 -102
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +112 -112
  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 +90 -90
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  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 +2 -2
  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 +121 -121
  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 +4 -4
  568. package/dist/plugin/websearch/parallel.js +6 -6
  569. package/dist/plugin/websearch/tavily.js +6 -6
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +232 -232
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +6 -6
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +96 -96
  576. package/dist/provider.js +101 -101
  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 +92 -92
  581. package/dist/reference.js +96 -96
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +1 -1
  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 +184 -184
  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 +228 -228
  598. package/dist/session/execution.js +154 -154
  599. package/dist/session/generate.js +188 -188
  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 +83 -83
  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 +152 -152
  611. package/dist/session/projector.js +132 -132
  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 +3 -3
  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 +224 -224
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +219 -219
  640. package/dist/shell/parse.js +6 -6
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +13 -13
  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 +101 -101
  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 +158 -158
  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 +152 -152
  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 +222 -222
  663. package/dist/tool/plugin/skill.js +149 -149
  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 +149 -149
  667. package/dist/tool/plugin/websearch.js +145 -145
  668. package/dist/tool/plugin/write.js +150 -150
  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/types/codemode/web.d.ts +23 -1
  674. package/dist/usage-limits.js +95 -95
  675. package/dist/util/error-summary.js +1 -1
  676. package/dist/util/git-executable.js +3 -3
  677. package/dist/util/lazy.js +1 -1
  678. package/dist/util/slug.js +1 -1
  679. package/dist/util/token.js +1 -1
  680. package/dist/util/which.js +1 -1
  681. package/dist/util/wildcard.js +1 -1
  682. package/dist/v1/config/agent.js +7 -7
  683. package/dist/v1/config/command.js +3 -3
  684. package/dist/v1/config/mcp.js +4 -4
  685. package/dist/v1/config/migrate.js +100 -100
  686. package/dist/v1/config/permission.js +3 -3
  687. package/dist/v1/config/plugin.js +3 -3
  688. package/dist/v1/config/provider-options.js +1 -1
  689. package/dist/v1/config/provider.js +4 -4
  690. package/dist/variant.js +99 -99
  691. package/dist/vcs/patch.js +1 -1
  692. package/dist/vcs.js +97 -97
  693. package/dist/voice.js +86 -86
  694. package/dist/websearch.js +86 -86
  695. package/dist/wellknown/plugin.js +82 -82
  696. package/dist/wellknown.js +87 -87
  697. package/dist/workspace/driver.js +5 -5
  698. package/dist/workspace/sql.js +1 -1
  699. package/dist/workspace.js +88 -88
  700. package/dist/worktree/directory.js +2 -2
  701. package/dist/worktree/git.js +11 -11
  702. package/dist/worktree/sql.js +5 -5
  703. package/dist/worktree/strategies.js +93 -93
  704. package/dist/worktree.js +100 -100
  705. package/package.json +8 -8
  706. package/dist/chunks/persistent-pty-7h6zwn4y.js +0 -511
  707. package/dist/chunks/persistent-pty-kb564s6s.js +0 -257
  708. package/dist/chunks/persistent-pty-m2b5v9hb.js +0 -26
  709. package/dist/chunks/persistent-pty-z355x5yr.js +0 -18
  710. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-1jakw16s.js → vcs-1jakw16s.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-24dcb14g.js → vcs-24dcb14g.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-2710q6r3.js → vcs-2710q6r3.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-2bv980vf.js → vcs-2bv980vf.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-359p4xyc.js → vcs-359p4xyc.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-3asan66x.js → vcs-3asan66x.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-4m86bj6y.js → vcs-4m86bj6y.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-53557ph1.js → vcs-53557ph1.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-550bvhaj.js → vcs-550bvhaj.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-5w3e23ze.js → vcs-5w3e23ze.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-6prwharc.js → vcs-6prwharc.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → vcs-6q2bdcd1.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-7m9af43g.js → vcs-7m9af43g.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-822emrt2.js → vcs-822emrt2.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-84wd9syh.js → vcs-84wd9syh.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-8n3pysct.js → vcs-8n3pysct.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-a058387c.js → vcs-a058387c.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-af5trqkr.js → vcs-af5trqkr.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-afrmfg78.js → vcs-afrmfg78.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-beh6qq61.js → vcs-beh6qq61.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-cqv5kn06.js → vcs-cqv5kn06.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-d9fn303g.js → vcs-d9fn303g.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-dajrwvna.js → vcs-dajrwvna.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-dap0rakb.js → vcs-dap0rakb.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-df08tz66.js → vcs-df08tz66.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-dy18nga0.js → vcs-dy18nga0.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-ec1grn59.js → vcs-ec1grn59.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-faypxj3z.js → vcs-faypxj3z.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-fd410y7t.js → vcs-fd410y7t.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-fkpq3x5p.js → vcs-fkpq3x5p.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-g86h250q.js → vcs-g86h250q.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-gftt206x.js → vcs-gftt206x.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-hcxmzztb.js → vcs-hcxmzztb.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-hk9envan.js → vcs-hk9envan.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-jwr30sdr.js → vcs-jwr30sdr.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-jze0r7bz.js → vcs-jze0r7bz.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-m18g726c.js → vcs-m18g726c.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-mp448xyj.js → vcs-mp448xyj.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-ncqqe42p.js → vcs-ncqqe42p.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-njntx4h6.js → vcs-njntx4h6.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-p71gwv9c.js → vcs-p71gwv9c.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-q74kybfr.js → vcs-q74kybfr.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
  802. /package/dist/chunks/{persistent-pty-ve7vex1e.js → vcs-ve7vex1e.js} +0 -0
  803. /package/dist/chunks/{persistent-pty-w803qqfp.js → vcs-w803qqfp.js} +0 -0
  804. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
  805. /package/dist/chunks/{persistent-pty-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
  806. /package/dist/chunks/{persistent-pty-wtztk69x.js → vcs-wtztk69x.js} +0 -0
  807. /package/dist/chunks/{persistent-pty-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
  808. /package/dist/chunks/{persistent-pty-x61499pn.js → vcs-x61499pn.js} +0 -0
  809. /package/dist/chunks/{persistent-pty-y44na4kk.js → vcs-y44na4kk.js} +0 -0
  810. /package/dist/chunks/{persistent-pty-y8f7s663.js → vcs-y8f7s663.js} +0 -0
  811. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
  812. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → vcs-z5v4ffb3.js} +0 -0
  813. /package/dist/chunks/{persistent-pty-z9919s4g.js → vcs-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./persistent-pty-61ennm6n.js";
3
+ } from "./vcs-bjhzkqyk.js";
4
4
  import {
5
- Service85
6
- } from "./persistent-pty-7aszcnrw.js";
5
+ Service83
6
+ } from "./vcs-b8zfksyw.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./persistent-pty-kpprecar.js";
9
+ Event18
10
+ } from "./vcs-ym5kwrv0.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./persistent-pty-0garbbmq.js";
14
+ } from "./vcs-h871ecej.js";
15
15
  import {
16
- ID13,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
19
  Service76
20
- } from "./persistent-pty-fvtwqean.js";
20
+ } from "./vcs-acqpw5y2.js";
21
21
  import {
22
- ID12
23
- } from "./persistent-pty-tmy26mxh.js";
22
+ ID11
23
+ } from "./vcs-bqxvxs63.js";
24
24
  import {
25
- load4,
26
- derive3
27
- } from "./persistent-pty-h8kx6a24.js";
25
+ load3,
26
+ derive2
27
+ } from "./vcs-4qnt9348.js";
28
28
  import {
29
29
  useragent2
30
- } from "./persistent-pty-jeggvkmv.js";
30
+ } from "./vcs-dcphv4q7.js";
31
31
  import {
32
- ID8
33
- } from "./persistent-pty-d54nae6v.js";
32
+ ID10
33
+ } from "./vcs-9ca4th6x.js";
34
34
  import {
35
35
  get5
36
- } from "./persistent-pty-3nnrz6f6.js";
36
+ } from "./vcs-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/util/record";
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
66
66
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
67
67
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
68
68
  var oauth = (app) => ({
69
- integrationID: ID14.make("github-copilot"),
69
+ integrationID: ID13.make("github-copilot"),
70
70
  method: {
71
71
  id: methodID,
72
72
  type: "oauth",
@@ -165,7 +165,7 @@ var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
167
  const providers = yield* Service76;
168
- const bus = yield* Service85;
168
+ const bus = yield* Service83;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
171
171
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
181
181
  return;
182
182
  }
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
- const provider = yield* providers.get(ID13.githubCopilot);
184
+ const provider = yield* providers.get(ID12.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load4(url, {
186
+ try: () => load3(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
203
203
  editor.method.update(oauth(ctx.app));
204
204
  });
205
205
  yield* ctx.provider.transform((evt) => {
206
- const item = evt.get(ID13.githubCopilot);
206
+ const item = evt.get(ID12.githubCopilot);
207
207
  if (!item)
208
208
  return;
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
231
231
  }
232
232
  });
233
233
  yield* ctx.model.transform((models) => {
234
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
235
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
234
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
235
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
236
236
  model.enabled = false;
237
237
  });
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
- if (evt.model.providerID !== ID13.githubCopilot)
244
+ if (evt.model.providerID !== ID12.githubCopilot)
245
245
  return;
246
246
  if (evt.package !== "@ai-sdk/github-copilot")
247
247
  return;
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
250
250
  evt.sdk = mod.createOpenaiCompatible(evt.options);
251
251
  }));
252
252
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID13.githubCopilot)
253
+ if (evt.model.providerID !== ID12.githubCopilot)
254
254
  return;
255
255
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
256
256
  return;
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
260
260
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
261
261
  if (interaction !== "conversation-agent")
262
262
  evt.headers["x-initiator"] = "agent";
263
- }), { providerID: ID13.githubCopilot });
263
+ }), { providerID: ID12.githubCopilot });
264
264
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
265
- if (evt.model.providerID !== ID13.githubCopilot)
265
+ if (evt.model.providerID !== ID12.githubCopilot)
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
277
277
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
278
278
  return;
279
279
  }));
280
- }), { providerID: ID13.githubCopilot });
280
+ }), { providerID: ID12.githubCopilot });
281
281
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
282
- if (evt.model.providerID !== ID13.githubCopilot)
282
+ if (evt.model.providerID !== ID12.githubCopilot)
283
283
  return;
284
284
  const token = evt.request.headers.get("x-api-key");
285
285
  if (!token)
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
287
287
  const text = yield* Effect.promise(() => evt.request.clone().text());
288
288
  const body = Option.getOrUndefined(decodeBody(text));
289
289
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
290
- }), { providerID: ID13.githubCopilot });
290
+ }), { providerID: ID12.githubCopilot });
291
291
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
292
- if (evt.model.providerID !== ID13.githubCopilot)
292
+ if (evt.model.providerID !== ID12.githubCopilot)
293
293
  return;
294
294
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
295
295
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service72
3
- } from "./persistent-pty-kg1ma0kd.js";
2
+ Service67
3
+ } from "./vcs-8abc36xm.js";
4
4
  import {
5
- Service41
6
- } from "./persistent-pty-hrxhk37r.js";
5
+ Service35
6
+ } from "./vcs-7xwxxj51.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./vcs-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin18,
15
+ Plugin: () => Plugin15,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin18 = define({
20
+ var Plugin15 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service72;
28
- const mcp = yield* Service41;
27
+ const config = yield* Service67;
28
+ const mcp = yield* Service35;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin18, register2, exports_mcp };
49
+ export { Plugin15, register2, exports_mcp };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./persistent-pty-7aszcnrw.js";
2
+ Service83,
3
+ node87
4
+ } from "./vcs-b8zfksyw.js";
5
5
  import {
6
- Event19,
7
- Service79,
8
- node83
9
- } from "./persistent-pty-kpprecar.js";
6
+ Event18,
7
+ Service78,
8
+ node82
9
+ } from "./vcs-ym5kwrv0.js";
10
10
  import {
11
- Service73,
12
- node77
13
- } from "./persistent-pty-ya13x5xa.js";
11
+ Service68,
12
+ node72
13
+ } from "./vcs-jhrp8x7n.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./persistent-pty-z5v4ffb3.js";
16
+ } from "./vcs-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./persistent-pty-jj147ft1.js";
18
+ Service80,
19
+ node84
20
+ } from "./vcs-8f2h6hsz.js";
21
21
  import {
22
22
  substitute2
23
- } from "./persistent-pty-7w2ypzdf.js";
23
+ } from "./vcs-7w2ypzdf.js";
24
24
  import {
25
25
  normalize3
26
- } from "./persistent-pty-r8rdcxeh.js";
26
+ } from "./vcs-hrf8w9bv.js";
27
27
  import {
28
28
  names4,
29
29
  stripPreferenceMetadata2,
30
30
  discover3
31
- } from "./persistent-pty-0v98g2dp.js";
31
+ } from "./vcs-079ccags.js";
32
32
  import {
33
33
  plan2
34
- } from "./persistent-pty-1x2knyw4.js";
34
+ } from "./vcs-1x2knyw4.js";
35
35
  import {
36
- Service74,
37
- Event14,
38
- node78
39
- } from "./persistent-pty-38d21fdm.js";
36
+ Service69,
37
+ Event13,
38
+ node73
39
+ } from "./vcs-xcrax9b3.js";
40
40
  import {
41
41
  __export
42
- } from "./persistent-pty-9rqn6x4v.js";
42
+ } from "./vcs-9rqn6x4v.js";
43
43
 
44
44
  // src/config.ts
45
45
  var exports_config = {};
46
46
  __export(exports_config, {
47
47
  Config: () => exports_config,
48
- Options: () => Options6,
49
- Service: () => Service72,
48
+ Options: () => Options7,
49
+ Service: () => Service67,
50
50
  Test: () => Test2,
51
- configured: () => configured9,
51
+ configured: () => configured10,
52
52
  latest: () => latest2,
53
- layer: () => layer25,
54
- node: () => node76,
53
+ layer: () => layer24,
54
+ node: () => node71,
55
55
  testLayer: () => testLayer2
56
56
  });
57
57
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
67
67
  function latest2(entries, key) {
68
68
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
69
69
  }
70
- var Options6 = Schema.Struct({
70
+ var Options7 = Schema.Struct({
71
71
  project: Schema.optional(Schema.Boolean),
72
72
  global: Schema.optional(Schema.Boolean),
73
73
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -76,7 +76,7 @@ var Options6 = Schema.Struct({
76
76
  content: Schema.optional(Schema.String)
77
77
  });
78
78
 
79
- class Service72 extends Context.Service()("@opencode/Config") {
79
+ class Service67 extends Context.Service()("@opencode/Config") {
80
80
  }
81
81
 
82
82
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -100,16 +100,16 @@ var testLayer2 = (initial = [], compatibility = {
100
100
  return document ? next.set(integrationID, document) : next;
101
101
  })
102
102
  });
103
- return Context.empty().pipe(Context.add(Service72, service), Context.add(Test2, service));
103
+ return Context.empty().pipe(Context.add(Service67, service), Context.add(Test2, service));
104
104
  }));
105
- var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
105
+ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
106
106
  const fs = yield* FSUtil.Service;
107
- const location = yield* Service82;
108
- const watcher = yield* Service73;
109
- const bus = yield* Service85;
110
- const credentials = yield* Service79;
107
+ const location = yield* Service80;
108
+ const watcher = yield* Service68;
109
+ const bus = yield* Service83;
110
+ const credentials = yield* Service78;
111
111
  const globalService = yield* Global.Service;
112
- const wellknown = yield* Service74;
112
+ const wellknown = yield* Service69;
113
113
  const processes = yield* AppProcess.Service;
114
114
  const integrations = new Map;
115
115
  const context = yield* Effect.context();
@@ -263,8 +263,8 @@ var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
263
263
  }, (effect) => reloadLock.withPermit(effect));
264
264
  const pendingReloads = yield* PubSub.subscribe(reloads);
265
265
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
267
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
266
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
267
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
268
268
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
269
269
  if (!wellknown.snapshot().length)
270
270
  return Effect.void;
@@ -292,7 +292,7 @@ var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
292
292
  `);
293
293
  yield* requestReload;
294
294
  }, (effect) => updateLock.withPermit(effect));
295
- return Service72.of({
295
+ return Service67.of({
296
296
  entries: Effect.fnUntraced(function* () {
297
297
  return configs;
298
298
  }),
@@ -312,22 +312,22 @@ var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
312
312
  })
313
313
  });
314
314
  }));
315
- function configured9(options) {
315
+ function configured10(options) {
316
316
  return makeLocationNode({
317
- service: Service72,
318
- layer: layer25(options),
317
+ service: Service67,
318
+ layer: layer24(options),
319
319
  deps: [
320
- node77,
321
- node89,
320
+ node72,
321
+ node87,
322
322
  FSUtil.node,
323
323
  Global.node,
324
- node86,
325
- node83,
326
- node78,
324
+ node84,
325
+ node82,
326
+ node73,
327
327
  AppProcess.node
328
328
  ]
329
329
  });
330
330
  }
331
- var node76 = configured9();
331
+ var node71 = configured10();
332
332
 
333
- export { latest2, Options6, Service72, Test2, testLayer2, layer25, configured9, node76, exports_config };
333
+ export { latest2, Options7, Service67, Test2, testLayer2, layer24, configured10, node71, exports_config };
@@ -1,26 +1,26 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  nativeSettings2,
6
6
  timeouts2,
7
7
  mergeOverlay2
8
- } from "./persistent-pty-fvtwqean.js";
8
+ } from "./vcs-acqpw5y2.js";
9
9
  import {
10
10
  stringify2
11
- } from "./persistent-pty-1jakw16s.js";
11
+ } from "./vcs-1jakw16s.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./vcs-9rqn6x4v.js";
15
15
 
16
16
  // src/aisdk.ts
17
17
  var exports_aisdk = {};
18
18
  __export(exports_aisdk, {
19
19
  AISDK: () => exports_aisdk,
20
20
  InitError: () => InitError2,
21
- Service: () => Service60,
21
+ Service: () => Service74,
22
22
  locationLayer: () => locationLayer2,
23
- node: () => node63
23
+ node: () => node78
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { APICallError } from "@ai-sdk/provider";
@@ -153,7 +153,7 @@ function throughMiddleware(store, send, input, init) {
153
153
  var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
154
154
 
155
155
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
156
- providerID: ID13,
156
+ providerID: ID12,
157
157
  cause: Schema.Defect()
158
158
  }) {
159
159
  }
@@ -161,9 +161,9 @@ function initError(providerID) {
161
161
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
162
162
  }
163
163
 
164
- class Service60 extends Context.Service()("@opencode/AISDK") {
164
+ class Service74 extends Context.Service()("@opencode/AISDK") {
165
165
  }
166
- var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
166
+ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
167
167
  let sdkHooks = [];
168
168
  let languageHooks = [];
169
169
  const languages = new Map;
@@ -201,7 +201,7 @@ var locationLayer2 = Layer.effect(Service60, Effect.gen(function* () {
201
201
  }
202
202
  return event;
203
203
  });
204
- const service = Service60.of({
204
+ const service = Service74.of({
205
205
  hook: {
206
206
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
207
207
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -863,6 +863,6 @@ function providerErrorMessage(error) {
863
863
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
864
864
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
865
865
  }
866
- var node63 = makeLocationNode({ service: Service60, layer: locationLayer2, deps: [] });
866
+ var node78 = makeLocationNode({ service: Service74, layer: locationLayer2, deps: [] });
867
867
 
868
- export { InitError2, Service60, locationLayer2, node63, exports_aisdk };
868
+ export { InitError2, Service74, locationLayer2, node78, exports_aisdk };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service65
3
- } from "./persistent-pty-wgn86zaw.js";
2
+ Service59
3
+ } from "./vcs-m23nxqzn.js";
4
4
  import {
5
- Service46
6
- } from "./persistent-pty-ra34yqmw.js";
5
+ Service56
6
+ } from "./vcs-q85rya1m.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./persistent-pty-z355x5yr.js";
9
+ } from "./vcs-ev660z6k.js";
10
10
  import {
11
11
  __export
12
- } from "./persistent-pty-9rqn6x4v.js";
12
+ } from "./vcs-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,10 +19,10 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service46;
22
+ const instances = yield* Service56;
23
23
  yield* Effect.gen(function* () {
24
24
  yield* awaitActivation2;
25
- const commands = yield* Service65;
25
+ const commands = yield* Service59;
26
26
  yield* commands.execute({
27
27
  name: input.command,
28
28
  invocation: {
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./persistent-pty-d54nae6v.js";
2
+ ID10
3
+ } from "./vcs-9ca4th6x.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./persistent-pty-z5v4ffb3.js";
6
+ } from "./vcs-z5v4ffb3.js";
7
7
  import {
8
- Info19
9
- } from "./persistent-pty-31avdb49.js";
8
+ Info17
9
+ } from "./vcs-8rgb2cvr.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./persistent-pty-whfmfgat.js";
12
+ } from "./vcs-2qdnk5gy.js";
13
13
  import {
14
14
  latest2,
15
- Service72
16
- } from "./persistent-pty-kg1ma0kd.js";
15
+ Service67
16
+ } from "./vcs-8abc36xm.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./persistent-pty-e834z07m.js";
19
+ } from "./vcs-e834z07m.js";
20
20
  import {
21
21
  __export
22
- } from "./persistent-pty-9rqn6x4v.js";
22
+ } from "./vcs-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin4
28
+ Plugin: () => Plugin16
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info19);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var pathActions = ["external_directory", "read", "edit"];
45
45
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
46
46
  var nativeKeys = ["permissions", "request", "system", "disabled"];
47
- var Plugin4 = define({
47
+ var Plugin16 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service72;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin4 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
163
163
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
164
164
  });
165
165
 
166
- export { Plugin4, exports_agent };
166
+ export { Plugin16, exports_agent };