@opencode/core 0.0.0-dev-19623 → 0.0.0-dev-19625

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{kv-t494fre1.js → state-01c8jd1w.js} +7 -7
  8. package/dist/chunks/{kv-msq0jde0.js → state-06dxphr1.js} +4 -4
  9. package/dist/chunks/{kv-swdttv06.js → state-0cnr96kf.js} +14 -14
  10. package/dist/chunks/{kv-w80nhn5w.js → state-0ejqnpgq.js} +179 -179
  11. package/dist/chunks/state-0mesazry.js +4 -0
  12. package/dist/chunks/{kv-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{kv-0q0f95c6.js → state-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{kv-mnd2r93q.js → state-0v5c5440.js} +10 -10
  15. package/dist/chunks/{kv-2yszhqmy.js → state-0y8dyykb.js} +16 -16
  16. package/dist/chunks/{kv-qqngb6za.js → state-0zmtjazh.js} +25 -25
  17. package/dist/chunks/{kv-cyb6tyga.js → state-18zsx4wd.js} +8 -8
  18. package/dist/chunks/{kv-e3env12g.js → state-1brs0x88.js} +27 -27
  19. package/dist/chunks/{kv-63xctefh.js → state-1bvekr7f.js} +6 -6
  20. package/dist/chunks/{kv-173jj7tx.js → state-1cr9pyzx.js} +32 -32
  21. package/dist/chunks/{kv-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{kv-r7hfka79.js → state-1jxz1f4t.js} +18 -18
  23. package/dist/chunks/{kv-ztq8fy9b.js → state-1k33tf3r.js} +10 -10
  24. package/dist/chunks/{kv-9cc2y271.js → state-1t5zgxxm.js} +23 -23
  25. package/dist/chunks/{kv-ptfbb8fh.js → state-1vxxmenm.js} +6 -6
  26. package/dist/chunks/state-1x11rq2a.js +18 -0
  27. package/dist/chunks/{kv-0x1f3jzb.js → state-1x2m2kns.js} +21 -21
  28. package/dist/chunks/{kv-bjw197y6.js → state-20ft7gws.js} +26 -26
  29. package/dist/chunks/{kv-21r38tys.js → state-21r38tys.js} +1 -1
  30. package/dist/chunks/{kv-23pqda6t.js → state-23pqda6t.js} +1 -1
  31. package/dist/chunks/{kv-2402vzrj.js → state-2402vzrj.js} +1 -1
  32. package/dist/chunks/{kv-9j1ee014.js → state-28wkbh4b.js} +11 -11
  33. package/dist/chunks/{kv-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{kv-39f9a2ac.js → state-2jcx25a3.js} +19 -19
  35. package/dist/chunks/{kv-zkwy923f.js → state-2t25jzh1.js} +35 -35
  36. package/dist/chunks/{kv-vqrh0kjk.js → state-2z3d3p6x.js} +12 -12
  37. package/dist/chunks/{kv-5hs6vj28.js → state-34crcs6s.js} +28 -28
  38. package/dist/chunks/{kv-nq8dwvv9.js → state-36308byx.js} +13 -13
  39. package/dist/chunks/{kv-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{kv-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{kv-epvaqs7p.js → state-3hzsgabf.js} +13 -13
  42. package/dist/chunks/{kv-xsyv644k.js → state-3m5b51q1.js} +95 -95
  43. package/dist/chunks/{kv-d5eywxy9.js → state-3n6sdpxb.js} +4 -4
  44. package/dist/chunks/{kv-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{kv-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{kv-1k60r70m.js → state-40ar7v2a.js} +16 -16
  47. package/dist/chunks/{kv-kyga3jc5.js → state-47dkewx0.js} +1 -1
  48. package/dist/chunks/{kv-avc8n21j.js → state-49efg6hh.js} +12 -12
  49. package/dist/chunks/{kv-jbjg772j.js → state-4bszj314.js} +5 -5
  50. package/dist/chunks/{kv-pecb0brz.js → state-4phm5153.js} +5 -5
  51. package/dist/chunks/{kv-1ygqh575.js → state-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{kv-2fgn2we9.js → state-57ez7d0k.js} +9 -9
  53. package/dist/chunks/{kv-2dgc4mrf.js → state-59mgbvjy.js} +35 -35
  54. package/dist/chunks/{kv-5r43j5vb.js → state-5avwrfg8.js} +27 -27
  55. package/dist/chunks/{kv-5daktx2q.js → state-5daktx2q.js} +1 -1
  56. package/dist/chunks/{kv-1m3zfdm1.js → state-5ptztvq7.js} +5 -5
  57. package/dist/chunks/{kv-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{kv-7wftqea5.js → state-5w4tm8f9.js} +11 -11
  59. package/dist/chunks/{kv-607tc6va.js → state-607tc6va.js} +1 -1
  60. package/dist/chunks/{kv-669tq793.js → state-669tq793.js} +1 -1
  61. package/dist/chunks/{kv-s1epcrn4.js → state-66mxargn.js} +15 -15
  62. package/dist/chunks/{kv-qmqgtz8f.js → state-6dt5d3yy.js} +8 -8
  63. package/dist/chunks/{kv-4dtev0rk.js → state-6fzqmn9v.js} +34 -34
  64. package/dist/chunks/{kv-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{kv-cfv81dax.js → state-6qkc0t3x.js} +8 -8
  66. package/dist/chunks/{kv-3w0fmcng.js → state-78v47nsk.js} +5 -5
  67. package/dist/chunks/{kv-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{kv-25d4ex09.js → state-7eaj6nza.js} +304 -304
  69. package/dist/chunks/{kv-0p9khnwg.js → state-7egh4y4y.js} +24 -24
  70. package/dist/chunks/state-7g1ww872.js +26 -0
  71. package/dist/chunks/{kv-fn3n3knf.js → state-7h0e1682.js} +25 -25
  72. package/dist/chunks/{kv-74zn6w4z.js → state-7hc87grc.js} +21 -21
  73. package/dist/chunks/{kv-ff3yr28h.js → state-83s880gm.js} +38 -38
  74. package/dist/chunks/{kv-zg90m4kh.js → state-84hf00xv.js} +7 -7
  75. package/dist/chunks/{kv-zxfj2cfx.js → state-86a9eks8.js} +26 -26
  76. package/dist/chunks/{kv-5b7y8wzj.js → state-87k0zb7t.js} +6 -6
  77. package/dist/chunks/{kv-msddpymt.js → state-898yeema.js} +20 -20
  78. package/dist/chunks/{kv-ss608w0a.js → state-89rgtdwh.js} +8 -8
  79. package/dist/chunks/{kv-89znhe33.js → state-89znhe33.js} +1 -1
  80. package/dist/chunks/{kv-e5vq6wef.js → state-8bcx3nez.js} +4 -4
  81. package/dist/chunks/{kv-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{kv-kyjp3xwm.js → state-8gzdyzew.js} +20 -20
  83. package/dist/chunks/{kv-8p4f9s12.js → state-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{kv-b6tre5mz.js → state-8vb6c4g2.js} +47 -47
  85. package/dist/chunks/{kv-tct5ctj4.js → state-8zc3jqwb.js} +25 -25
  86. package/dist/chunks/{kv-6fmt9tdd.js → state-936zgkx3.js} +3 -3
  87. package/dist/chunks/{kv-jwec4pw9.js → state-937vk562.js} +4 -4
  88. package/dist/chunks/{kv-54b82f2n.js → state-992j9qx1.js} +32 -32
  89. package/dist/chunks/{kv-eahxvfzb.js → state-9bw9tdmf.js} +28 -28
  90. package/dist/chunks/{kv-mszgtet4.js → state-9fgjxmjq.js} +3 -3
  91. package/dist/chunks/{kv-000s6ppq.js → state-9hbm8v8j.js} +16 -16
  92. package/dist/chunks/{kv-82av5642.js → state-9j69pfkk.js} +9 -9
  93. package/dist/chunks/{kv-qd0y41g2.js → state-9vqz0pne.js} +12 -12
  94. package/dist/chunks/{kv-a1bz86dw.js → state-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{kv-94xs014t.js → state-a1k0n4t5.js} +22 -22
  96. package/dist/chunks/{kv-n5qnh25p.js → state-a3hkj0gm.js} +13 -13
  97. package/dist/chunks/{kv-m7va1g8x.js → state-a3r4dcrj.js} +2 -2
  98. package/dist/chunks/{kv-qq4m7zv9.js → state-a7txqt5m.js} +34 -34
  99. package/dist/chunks/{kv-sez5jh81.js → state-a8bn8zg0.js} +4 -4
  100. package/dist/chunks/{kv-aaet6srn.js → state-aaet6srn.js} +2 -2
  101. package/dist/chunks/{kv-s82aax5r.js → state-aby1gkpe.js} +18 -18
  102. package/dist/chunks/{kv-mg6gw4ep.js → state-ahhsgd92.js} +19 -19
  103. package/dist/chunks/{kv-3y6xetxr.js → state-ak76n2aw.js} +22 -22
  104. package/dist/chunks/{kv-vykevjvn.js → state-b29mbqx6.js} +5 -5
  105. package/dist/chunks/{kv-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{kv-ca7w653e.js → state-baaqp4zd.js} +4 -4
  107. package/dist/chunks/{kv-smqfa53a.js → state-bk8e4xf7.js} +17 -17
  108. package/dist/chunks/{kv-wr2jg199.js → state-bqmb9zzv.js} +8 -8
  109. package/dist/chunks/{kv-re7yvca6.js → state-bqn1h69t.js} +8 -8
  110. package/dist/chunks/{kv-3ry8aa1g.js → state-brt4p7q6.js} +3 -3
  111. package/dist/chunks/{kv-dgfys0e7.js → state-bstmf25n.js} +24 -24
  112. package/dist/chunks/{kv-pstg3rfm.js → state-bz85s9hh.js} +1 -1
  113. package/dist/chunks/{kv-56jh955g.js → state-c156ep7e.js} +11 -11
  114. package/dist/chunks/{kv-tbcsecz1.js → state-c8xqcx36.js} +6 -6
  115. package/dist/chunks/{kv-0qh5w3y3.js → state-cemwa943.js} +4 -4
  116. package/dist/chunks/{kv-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{kv-2jrp6256.js → state-cjnav3re.js} +58 -58
  118. package/dist/chunks/{kv-2zas8aff.js → state-ckvyy4ff.js} +4 -4
  119. package/dist/chunks/{kv-s58geyf9.js → state-cnvgsmxe.js} +20 -20
  120. package/dist/chunks/{kv-bajakh74.js → state-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{kv-dv1qgsyq.js → state-cxv3b682.js} +8 -8
  122. package/dist/chunks/state-d33cb7pa.js +251 -0
  123. package/dist/chunks/{kv-c7tg714r.js → state-d7s9ww47.js} +18 -18
  124. package/dist/chunks/{kv-7z7az0f5.js → state-d8nc1xcx.js} +4 -4
  125. package/dist/chunks/{kv-jkwan860.js → state-d9b7h6cw.js} +35 -35
  126. package/dist/chunks/{kv-hmgs48nc.js → state-ddyhp86z.js} +23 -23
  127. package/dist/chunks/{kv-6c84hha3.js → state-dedpvjp1.js} +9 -9
  128. package/dist/chunks/{kv-38867f4j.js → state-dvzdqzst.js} +28 -28
  129. package/dist/chunks/{kv-6qxwpmhr.js → state-dxwen4wn.js} +42 -42
  130. package/dist/chunks/{kv-kzmtwy1e.js → state-e0hkds3t.js} +68 -68
  131. package/dist/chunks/{kv-e5nv3ght.js → state-e5nv3ght.js} +2 -2
  132. package/dist/chunks/{kv-qn4ba14w.js → state-e6hmchc5.js} +5 -5
  133. package/dist/chunks/{kv-79k7hz9a.js → state-e80f6ask.js} +22 -22
  134. package/dist/chunks/{kv-ngdt5g2x.js → state-e8340df8.js} +8 -8
  135. package/dist/chunks/{kv-xnd1tqg9.js → state-e8dtjarm.js} +24 -24
  136. package/dist/chunks/{kv-sxz6gkc3.js → state-edrmdtr5.js} +4 -4
  137. package/dist/chunks/{kv-zkeg4fzb.js → state-eebppvc8.js} +41 -41
  138. package/dist/chunks/{kv-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{kv-evyg9j9p.js → state-eh458v3w.js} +24 -24
  140. package/dist/chunks/{kv-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{kv-f828m53h.js → state-f828m53h.js} +2 -2
  142. package/dist/chunks/{kv-wqed8vyv.js → state-fa9b5va3.js} +11 -11
  143. package/dist/chunks/{kv-75qbc1r5.js → state-fc9ethwj.js} +4 -4
  144. package/dist/chunks/{kv-xan21tpb.js → state-fdtfhvf4.js} +9 -9
  145. package/dist/chunks/{kv-wc70p2m4.js → state-fe1a2b94.js} +50 -50
  146. package/dist/chunks/{kv-84kfk9s7.js → state-fj9wbyc8.js} +9 -9
  147. package/dist/chunks/{kv-v7zbrah6.js → state-fjnw3amg.js} +8 -8
  148. package/dist/chunks/{kv-ksth9vw7.js → state-fkdvy3ye.js} +11 -11
  149. package/dist/chunks/{kv-rtv6ahp9.js → state-ftdzjz2b.js} +6 -6
  150. package/dist/chunks/{kv-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{kv-wk9x33ze.js → state-gayp7ypd.js} +35 -35
  152. package/dist/chunks/{kv-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{kv-d6w883g1.js → state-gjv4hb9a.js} +8 -8
  154. package/dist/chunks/{kv-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{kv-h03wrkyp.js → state-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{kv-5amxz9j6.js → state-h4f983qb.js} +20 -20
  157. package/dist/chunks/{kv-4dgbcxzg.js → state-h6r3nrb9.js} +4 -4
  158. package/dist/chunks/{kv-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{kv-77ym3dpk.js → state-hgy1dkmh.js} +10 -10
  160. package/dist/chunks/{kv-pksmcpyw.js → state-hjscxttq.js} +28 -28
  161. package/dist/chunks/{kv-m8zsrjj5.js → state-hvcdvhf8.js} +32 -32
  162. package/dist/chunks/{kv-mdsrvxsg.js → state-hwwcyrqp.js} +41 -41
  163. package/dist/chunks/{kv-bry7c84m.js → state-j107h3n9.js} +3 -3
  164. package/dist/chunks/{kv-j56e64zr.js → state-j56e64zr.js} +1 -1
  165. package/dist/chunks/{kv-bhmfd91z.js → state-j6024k5x.js} +11 -11
  166. package/dist/chunks/{kv-256nx13v.js → state-jexxy024.js} +3 -3
  167. package/dist/chunks/{kv-60dgxeja.js → state-jey6arge.js} +1 -1
  168. package/dist/chunks/{kv-czhr22am.js → state-jp74hzaz.js} +5 -5
  169. package/dist/chunks/{kv-ccgd81x1.js → state-jr96nny2.js} +16 -16
  170. package/dist/chunks/{kv-q2avwc19.js → state-jtzy25zk.js} +17 -17
  171. package/dist/chunks/{kv-x5v2mb0g.js → state-k31m950v.js} +11 -11
  172. package/dist/chunks/{kv-nwyr7p3b.js → state-k3bsjs2v.js} +5 -5
  173. package/dist/chunks/{kv-max6kkrx.js → state-k3va51sp.js} +23 -23
  174. package/dist/chunks/{kv-eyqq4r43.js → state-k5kkqdex.js} +8 -8
  175. package/dist/chunks/{kv-a12afxed.js → state-kervakjy.js} +12 -12
  176. package/dist/chunks/{kv-spfby1d7.js → state-kg53bg6f.js} +40 -40
  177. package/dist/chunks/{kv-wwrj63s4.js → state-kgfwvcqs.js} +21 -21
  178. package/dist/chunks/{kv-yzye1zm0.js → state-m2wkxzph.js} +12 -12
  179. package/dist/chunks/{kv-9fw064pz.js → state-m2z0yx10.js} +9 -9
  180. package/dist/chunks/{kv-m2d0j7c0.js → state-m86bnw2c.js} +9 -9
  181. package/dist/chunks/{kv-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{kv-ynn8fm83.js → state-mps7w25w.js} +31 -31
  183. package/dist/chunks/{kv-d6wpxf5g.js → state-mweswy2n.js} +26 -26
  184. package/dist/chunks/{kv-s8n2c1h9.js → state-n24en66b.js} +46 -46
  185. package/dist/chunks/{kv-5avxf4c0.js → state-nggt3w8z.js} +3 -3
  186. package/dist/chunks/{kv-47gsdddb.js → state-nhy5jxhy.js} +5 -5
  187. package/dist/chunks/{kv-hw7kpg6m.js → state-nmdzht59.js} +10 -10
  188. package/dist/chunks/{kv-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{kv-pknna89w.js → state-pknna89w.js} +1 -1
  190. package/dist/chunks/{kv-77qxf24p.js → state-pwh0py47.js} +8 -8
  191. package/dist/chunks/{kv-hkj7yhh3.js → state-py2c23wa.js} +29 -29
  192. package/dist/chunks/{kv-bmrqs97x.js → state-q6djktq7.js} +14 -14
  193. package/dist/chunks/{kv-d4ps61ed.js → state-q7j6jfz6.js} +19 -19
  194. package/dist/chunks/{kv-py90b8jm.js → state-qa4rp7fn.js} +9 -9
  195. package/dist/chunks/{kv-qd3vq2t8.js → state-qaffs4jm.js} +28 -28
  196. package/dist/chunks/{kv-qsdy395h.js → state-qsdy395h.js} +1 -1
  197. package/dist/chunks/{kv-fjm3wm2r.js → state-r4spvhqj.js} +51 -51
  198. package/dist/chunks/{kv-1bbkgx8g.js → state-r5x6zcsm.js} +3 -3
  199. package/dist/chunks/{kv-yp2x3t23.js → state-r8xr0va3.js} +4 -4
  200. package/dist/chunks/{kv-r9mregkx.js → state-r9mregkx.js} +2 -2
  201. package/dist/chunks/{kv-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  202. package/dist/chunks/{kv-a2z881sa.js → state-rex1qj25.js} +24 -24
  203. package/dist/chunks/{kv-4nr9wd27.js → state-rg4jwqxj.js} +87 -87
  204. package/dist/chunks/{kv-t550f9t1.js → state-rhjbct0v.js} +4 -4
  205. package/dist/chunks/{kv-b01ceker.js → state-rrm0bmxa.js} +30 -30
  206. package/dist/chunks/{kv-7ap3z812.js → state-rwdj6r64.js} +11 -11
  207. package/dist/chunks/{kv-sp6n8mjs.js → state-s9tvycjm.js} +9 -9
  208. package/dist/chunks/{kv-jq23kxh0.js → state-sa4z093x.js} +2 -2
  209. package/dist/chunks/{kv-h72xjy6w.js → state-sfga0tvm.js} +7 -7
  210. package/dist/chunks/{kv-fvnjzq7z.js → state-spvae7dy.js} +19 -19
  211. package/dist/chunks/{kv-hbc76d7d.js → state-spx2bnh9.js} +12 -12
  212. package/dist/chunks/{kv-apx97bqs.js → state-sqdca7me.js} +17 -17
  213. package/dist/chunks/{kv-gnnjg0ex.js → state-t3s3wq0q.js} +13 -13
  214. package/dist/chunks/{kv-95zvs7pv.js → state-t7e3d7s2.js} +5 -5
  215. package/dist/chunks/{kv-913xk5s4.js → state-t8pps5yz.js} +16 -16
  216. package/dist/chunks/{kv-00z3vp5f.js → state-t9zs3egg.js} +4 -4
  217. package/dist/chunks/{kv-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  218. package/dist/chunks/{kv-tdstcens.js → state-tdstcens.js} +1 -1
  219. package/dist/chunks/{kv-d3nw1z3y.js → state-thaea3t9.js} +15 -15
  220. package/dist/chunks/{kv-pv90mvjj.js → state-tmrapw0j.js} +22 -22
  221. package/dist/chunks/{kv-mw6jzdfy.js → state-tvenyyex.js} +5 -5
  222. package/dist/chunks/{kv-tvtrv512.js → state-tvtrv512.js} +1 -1
  223. package/dist/chunks/{kv-zexvvc7n.js → state-tyad6bnf.js} +16 -16
  224. package/dist/chunks/{kv-g362qsf9.js → state-tzdgdhg5.js} +44 -44
  225. package/dist/chunks/{kv-5r0x1r7p.js → state-v3j36t2s.js} +9 -9
  226. package/dist/chunks/{kv-cqz7jdzq.js → state-v676ynba.js} +9 -9
  227. package/dist/chunks/{kv-b54tf645.js → state-v6vt01kk.js} +33 -33
  228. package/dist/chunks/{kv-qce7m269.js → state-vcy4fgke.js} +18 -18
  229. package/dist/chunks/{kv-spxp8qyj.js → state-vd3vzfjc.js} +33 -33
  230. package/dist/chunks/{kv-veqvce7d.js → state-veqvce7d.js} +1 -1
  231. package/dist/chunks/{kv-myf4cx11.js → state-vjm8cxw2.js} +23 -23
  232. package/dist/chunks/{kv-fcn2s4nd.js → state-vjman6x4.js} +5 -5
  233. package/dist/chunks/{kv-f8bsc4qs.js → state-vky51n64.js} +17 -17
  234. package/dist/chunks/{kv-gq06js2h.js → state-vy8efbby.js} +36 -36
  235. package/dist/chunks/{kv-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  236. package/dist/chunks/{kv-dv816140.js → state-w3wfndk6.js} +13 -13
  237. package/dist/chunks/{kv-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  238. package/dist/chunks/{kv-76t127xa.js → state-w4p6h1mp.js} +25 -25
  239. package/dist/chunks/{kv-mhqan6gd.js → state-w6q8xqpp.js} +23 -23
  240. package/dist/chunks/{kv-wd87259q.js → state-wd87259q.js} +1 -1
  241. package/dist/chunks/{kv-ebjp0zrd.js → state-wecqvfcx.js} +11 -11
  242. package/dist/chunks/{kv-y8pdtezz.js → state-wevxc10v.js} +6 -6
  243. package/dist/chunks/{kv-8s9tc0va.js → state-wf67cbqp.js} +18 -18
  244. package/dist/chunks/{kv-wbhrmzsp.js → state-wk4mdq5k.js} +13 -13
  245. package/dist/chunks/{kv-xcb08vvz.js → state-wmttgrd3.js} +11 -11
  246. package/dist/chunks/{kv-vn2j9jh8.js → state-wqntmxqd.js} +23 -23
  247. package/dist/chunks/{kv-k90kzz46.js → state-ws4jrj3s.js} +15 -15
  248. package/dist/chunks/{kv-9c1k5ss1.js → state-wzg7zq6j.js} +4 -4
  249. package/dist/chunks/{kv-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  250. package/dist/chunks/{kv-0hf14ygz.js → state-x3gyjycy.js} +4 -4
  251. package/dist/chunks/{kv-25rkwwb0.js → state-xbhtvydn.js} +20 -20
  252. package/dist/chunks/{kv-703jyx7f.js → state-xdw78xdg.js} +8 -8
  253. package/dist/chunks/{kv-hckkjbnk.js → state-xesac8hr.js} +5 -5
  254. package/dist/chunks/{kv-7a29j4fa.js → state-xf8yr4rj.js} +22 -22
  255. package/dist/chunks/{kv-2746bvgx.js → state-xn5a693m.js} +8 -8
  256. package/dist/chunks/{kv-z697dyyp.js → state-xp3zd2em.js} +41 -41
  257. package/dist/chunks/{kv-eng4dpjw.js → state-xrrv4szm.js} +8 -8
  258. package/dist/chunks/{kv-sn1m3xe8.js → state-xx4p9jw3.js} +48 -48
  259. package/dist/chunks/{kv-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{kv-2a5re4tg.js → state-y69ckfyh.js} +3 -3
  261. package/dist/chunks/{kv-jwcy2c2z.js → state-y71avatq.js} +4 -4
  262. package/dist/chunks/{kv-r2kyfyma.js → state-yayfkm3a.js} +10 -10
  263. package/dist/chunks/{kv-ek6datne.js → state-ybhbtxjg.js} +6 -6
  264. package/dist/chunks/{kv-jq4t0r1h.js → state-yjn491gs.js} +13 -13
  265. package/dist/chunks/{kv-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  266. package/dist/chunks/{kv-yrznvahk.js → state-yrznvahk.js} +2 -2
  267. package/dist/chunks/{kv-e847jpav.js → state-ys0xwr4p.js} +9 -9
  268. package/dist/chunks/{kv-bw49bxdg.js → state-yt84cctg.js} +17 -17
  269. package/dist/chunks/{kv-sbxm9m4q.js → state-yt8tcjwm.js} +28 -28
  270. package/dist/chunks/{kv-4xmteg1s.js → state-yzjv0n59.js} +29 -29
  271. package/dist/chunks/{kv-y9ybwmsd.js → state-z06fw8bd.js} +11 -11
  272. package/dist/chunks/{kv-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{kv-zqzbxqrm.js → state-z25aqp2g.js} +30 -30
  274. package/dist/chunks/{kv-z63w68vq.js → state-z63w68vq.js} +2 -2
  275. package/dist/chunks/{kv-zhfaz766.js → state-z66esb84.js} +15 -15
  276. package/dist/chunks/{kv-rwc1bv1d.js → state-z78rkc6e.js} +19 -19
  277. package/dist/chunks/{kv-x73xgq81.js → state-zaj5a1yd.js} +18 -18
  278. package/dist/chunks/{kv-5z3ttj1d.js → state-zbmtd5wr.js} +6 -6
  279. package/dist/chunks/{kv-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{kv-s0agc963.js → state-zex37ywk.js} +8 -8
  281. package/dist/chunks/{kv-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{kv-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{kv-3nqp36v2.js → state-zzmr1x04.js} +36 -36
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +82 -82
  288. package/dist/config/discovery.js +81 -81
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +105 -105
  291. package/dist/config/plugin/agent.js +124 -124
  292. package/dist/config/plugin/command.js +212 -212
  293. package/dist/config/plugin/compaction.js +158 -158
  294. package/dist/config/plugin/compatibility.js +140 -140
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +123 -123
  297. package/dist/config/plugin/image.js +122 -122
  298. package/dist/config/plugin/instruction.js +89 -89
  299. package/dist/config/plugin/location-watcher.js +124 -124
  300. package/dist/config/plugin/mcp.js +131 -131
  301. package/dist/config/plugin/policy.js +122 -122
  302. package/dist/config/plugin/provider.js +122 -122
  303. package/dist/config/plugin/reference.js +124 -124
  304. package/dist/config/plugin/shell.js +122 -122
  305. package/dist/config/plugin/skill-file.js +101 -101
  306. package/dist/config/plugin/skill.js +143 -143
  307. package/dist/config/plugin/snapshot.js +122 -122
  308. package/dist/config/plugin/source.js +123 -123
  309. package/dist/config/plugin/tool-output.js +124 -124
  310. package/dist/config/plugin/websearch.js +121 -121
  311. package/dist/config/plugin/worktree.js +123 -123
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +123 -123
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +65 -65
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration.gen.js +48 -48
  382. package/dist/database/migration.js +50 -50
  383. package/dist/database/path.js +2 -2
  384. package/dist/database/schema.gen.js +1 -1
  385. package/dist/database/schema.sql.js +1 -1
  386. package/dist/database/sqlite.bun.js +1 -1
  387. package/dist/database/sqlite.js +1 -1
  388. package/dist/database/sqlite.node.js +1 -1
  389. package/dist/database/sqlite.workerd.js +1 -1
  390. package/dist/database/v1-migration.bun.js +75 -75
  391. package/dist/database/v1-migration.js +1 -1
  392. package/dist/effect/app-node-builder.js +362 -362
  393. package/dist/effect/app-node-platform.js +2 -2
  394. package/dist/effect/keyed-mutex.js +3 -3
  395. package/dist/effect/websocket-constructor.js +1 -1
  396. package/dist/environment/driver.js +1 -1
  397. package/dist/environment/environment.js +92 -92
  398. package/dist/environment/exec-defaults.js +2 -2
  399. package/dist/environment/files.js +1 -1
  400. package/dist/environment/index.js +94 -94
  401. package/dist/environment/local.js +2 -2
  402. package/dist/environment/memory.js +2 -2
  403. package/dist/environment/unavailable.js +1 -1
  404. package/dist/event/sql.js +1 -1
  405. package/dist/event-logger.js +73 -73
  406. package/dist/file-access.js +103 -103
  407. package/dist/file-mutation.js +93 -93
  408. package/dist/file-retention.js +1 -1
  409. package/dist/file.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/ignore.js +1 -1
  415. package/dist/filesystem/location-watcher-policy.js +4 -4
  416. package/dist/filesystem/location-watcher.js +224 -224
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +98 -98
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +9 -9
  421. package/dist/filesystem.js +99 -99
  422. package/dist/form.js +79 -79
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +86 -86
  425. package/dist/generate.js +102 -102
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +98 -98
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/id/id.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +353 -353
  451. package/dist/instruction-discovery.js +84 -84
  452. package/dist/instructions/builtins.js +86 -86
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +85 -85
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +72 -72
  459. package/dist/location-activity.js +134 -134
  460. package/dist/location-mutation.js +103 -103
  461. package/dist/location-service-map.js +85 -85
  462. package/dist/location-services.js +350 -350
  463. package/dist/location.js +86 -86
  464. package/dist/mcp/client.js +90 -90
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +126 -126
  467. package/dist/mcp/oauth.js +77 -77
  468. package/dist/mcp/stdio.js +89 -89
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +98 -98
  471. package/dist/model-resolver.js +97 -97
  472. package/dist/model.js +99 -99
  473. package/dist/models-dev.js +100 -100
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +81 -81
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +108 -108
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +85 -85
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +74 -74
  483. package/dist/plugin/agent.js +103 -103
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +215 -215
  487. package/dist/plugin/instance.js +5 -5
  488. package/dist/plugin/internal.js +324 -324
  489. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  490. package/dist/plugin/models-dev.js +95 -95
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +4 -4
  493. package/dist/plugin/plan.js +101 -101
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  496. package/dist/plugin/provider/azure.js +121 -121
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +118 -118
  502. package/dist/plugin/provider/digitalocean.js +92 -92
  503. package/dist/plugin/provider/dynamic.js +2 -2
  504. package/dist/plugin/provider/factory.js +1 -1
  505. package/dist/plugin/provider/gateway.js +2 -2
  506. package/dist/plugin/provider/github-copilot.js +92 -92
  507. package/dist/plugin/provider/gitlab.js +90 -90
  508. package/dist/plugin/provider/google-vertex.js +89 -89
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +76 -76
  511. package/dist/plugin/provider/lmstudio.js +121 -121
  512. package/dist/plugin/provider/modal.js +91 -91
  513. package/dist/plugin/provider/nvidia.js +1 -1
  514. package/dist/plugin/provider/ollama.js +121 -121
  515. package/dist/plugin/provider/openai.js +93 -93
  516. package/dist/plugin/provider/opencode.js +92 -92
  517. package/dist/plugin/provider/openrouter.js +90 -90
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/poe.js +77 -77
  520. package/dist/plugin/provider/sap-ai-core.js +90 -90
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +89 -89
  525. package/dist/plugin/provider/vllm.js +121 -121
  526. package/dist/plugin/provider/xai.js +90 -90
  527. package/dist/plugin/provider/zenmux.js +1 -1
  528. package/dist/plugin/provider.js +157 -157
  529. package/dist/plugin/sdk.js +75 -75
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +140 -140
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +343 -343
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/vcs/git.js +85 -85
  536. package/dist/plugin/vcs/hg.js +85 -85
  537. package/dist/plugin/warming.js +120 -120
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +9 -9
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin/websearch/tinyfish.js +8 -8
  545. package/dist/plugin.js +226 -226
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +87 -87
  549. package/dist/provider.js +98 -98
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +97 -97
  554. package/dist/reference/instructions.js +88 -88
  555. package/dist/reference.js +88 -88
  556. package/dist/repository-cache.js +80 -80
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +96 -96
  560. package/dist/rpc.js +85 -85
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +73 -73
  563. package/dist/session/compaction.js +132 -132
  564. package/dist/session/context.js +150 -150
  565. package/dist/session/diff.js +87 -87
  566. package/dist/session/environment.js +5 -5
  567. package/dist/session/error.js +5 -5
  568. package/dist/session/event.js +1 -1
  569. package/dist/session/execution/restart.js +222 -222
  570. package/dist/session/execution.js +127 -127
  571. package/dist/session/generate.js +151 -151
  572. package/dist/session/history.js +13 -13
  573. package/dist/session/inbox.js +87 -87
  574. package/dist/session/info.js +3 -3
  575. package/dist/session/instruction-entry.js +76 -76
  576. package/dist/session/instruction-state.js +8 -8
  577. package/dist/session/instructions.js +96 -96
  578. package/dist/session/message-updater.js +2 -2
  579. package/dist/session/message.js +1 -1
  580. package/dist/session/model-request.js +117 -117
  581. package/dist/session/model-transport.js +9 -9
  582. package/dist/session/move.js +129 -129
  583. package/dist/session/projector.js +85 -85
  584. package/dist/session/prompt.js +104 -104
  585. package/dist/session/provider-context.js +3 -3
  586. package/dist/session/revert.js +89 -89
  587. package/dist/session/run-coordinator.js +3 -3
  588. package/dist/session/runner/index.js +3 -3
  589. package/dist/session/runner/llm.js +227 -227
  590. package/dist/session/runner/max-steps.js +1 -1
  591. package/dist/session/runner/model.js +97 -97
  592. package/dist/session/runner/publish-llm-event.js +3 -3
  593. package/dist/session/runner/retry.js +113 -113
  594. package/dist/session/runner/step.js +124 -124
  595. package/dist/session/runner/to-llm-message.js +2 -2
  596. package/dist/session/schema.js +5 -5
  597. package/dist/session/session.js +171 -171
  598. package/dist/session/shell.js +137 -137
  599. package/dist/session/skill.js +102 -102
  600. package/dist/session/sql.js +5 -5
  601. package/dist/session/stats.js +72 -72
  602. package/dist/session/store.js +86 -86
  603. package/dist/session/subagent-completion.js +1 -1
  604. package/dist/session/subagent-job.js +208 -208
  605. package/dist/session/system-prompt.js +3 -3
  606. package/dist/session/title.js +154 -154
  607. package/dist/session/to-session-error.js +110 -110
  608. package/dist/session/transfer.js +218 -218
  609. package/dist/session/usage.js +1 -1
  610. package/dist/session.js +216 -216
  611. package/dist/shell/parse.js +6 -6
  612. package/dist/shell/result.js +1 -1
  613. package/dist/shell/scan.js +1 -1
  614. package/dist/shell/select.js +11 -11
  615. package/dist/shell.js +139 -139
  616. package/dist/skill/discovery.js +6 -6
  617. package/dist/skill/instructions.js +106 -106
  618. package/dist/skill.js +109 -109
  619. package/dist/snapshot.js +90 -90
  620. package/dist/state.js +1 -1
  621. package/dist/tool/html-markdown.js +1 -1
  622. package/dist/tool/http-body.js +1 -1
  623. package/dist/tool/mcp.js +123 -123
  624. package/dist/tool/plugin/edit.js +117 -117
  625. package/dist/tool/plugin/file-diff.js +1 -1
  626. package/dist/tool/plugin/glob.js +123 -123
  627. package/dist/tool/plugin/grep.js +123 -123
  628. package/dist/tool/plugin/opencode.js +3 -3
  629. package/dist/tool/plugin/patch.js +121 -121
  630. package/dist/tool/plugin/question.js +100 -100
  631. package/dist/tool/plugin/read.js +124 -124
  632. package/dist/tool/plugin/shell.js +209 -209
  633. package/dist/tool/plugin/skill.js +112 -112
  634. package/dist/tool/plugin/subagent.js +215 -215
  635. package/dist/tool/plugin/webfetch.js +111 -111
  636. package/dist/tool/plugin/websearch.js +109 -109
  637. package/dist/tool/plugin/write.js +121 -121
  638. package/dist/tool/read-filesystem.js +99 -99
  639. package/dist/tool/runtime.js +1 -1
  640. package/dist/tool-output.js +8 -8
  641. package/dist/tool.js +13 -13
  642. package/dist/util/error-summary.js +1 -1
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/git-executable.js +2 -2
  645. package/dist/util/iife.js +1 -1
  646. package/dist/util/lazy.js +1 -1
  647. package/dist/util/slug.js +1 -1
  648. package/dist/util/token.js +1 -1
  649. package/dist/util/which.js +1 -1
  650. package/dist/util/wildcard.js +1 -1
  651. package/dist/v1/config/agent.js +5 -5
  652. package/dist/v1/config/attachment.js +4 -4
  653. package/dist/v1/config/command.js +3 -3
  654. package/dist/v1/config/config.js +16 -16
  655. package/dist/v1/config/error.js +2 -2
  656. package/dist/v1/config/formatter.js +3 -3
  657. package/dist/v1/config/layout.js +1 -1
  658. package/dist/v1/config/lsp.js +1 -1
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +91 -91
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +1 -1
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/v1/config/server.js +2 -2
  666. package/dist/v1/config/skills.js +3 -3
  667. package/dist/v1/permission.js +1 -1
  668. package/dist/variant.js +92 -92
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +88 -88
  671. package/dist/websearch.js +81 -81
  672. package/dist/wellknown/plugin.js +73 -73
  673. package/dist/wellknown.js +80 -80
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +77 -77
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/refresh.js +342 -342
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree.js +95 -95
  682. package/package.json +8 -8
  683. package/dist/chunks/kv-0bfex5kv.js +0 -251
  684. package/dist/chunks/kv-ej0m8kr9.js +0 -26
  685. package/dist/chunks/kv-ht5y0zrb.js +0 -18
  686. package/dist/chunks/kv-hxa7m5za.js +0 -4
  687. /package/dist/chunks/{kv-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{kv-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{kv-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{kv-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{kv-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{kv-24dcb14g.js → state-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{kv-2710q6r3.js → state-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{kv-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{kv-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{kv-359p4xyc.js → state-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{kv-3asan66x.js → state-3asan66x.js} +0 -0
  698. /package/dist/chunks/{kv-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{kv-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  700. /package/dist/chunks/{kv-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{kv-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{kv-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{kv-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{kv-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{kv-53557ph1.js → state-53557ph1.js} +0 -0
  706. /package/dist/chunks/{kv-550bvhaj.js → state-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{kv-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{kv-6prwharc.js → state-6prwharc.js} +0 -0
  709. /package/dist/chunks/{kv-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{kv-7m9af43g.js → state-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{kv-822emrt2.js → state-822emrt2.js} +0 -0
  712. /package/dist/chunks/{kv-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{kv-8n3pysct.js → state-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{kv-922hggd3.js → state-922hggd3.js} +0 -0
  715. /package/dist/chunks/{kv-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{kv-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{kv-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{kv-af5trqkr.js → state-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{kv-afrmfg78.js → state-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{kv-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{kv-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{kv-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{kv-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{kv-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{kv-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{kv-d9fn303g.js → state-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{kv-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{kv-dajrwvna.js → state-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{kv-dap0rakb.js → state-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{kv-df08tz66.js → state-df08tz66.js} +0 -0
  731. /package/dist/chunks/{kv-dy18nga0.js → state-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{kv-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{kv-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{kv-ec1grn59.js → state-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{kv-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{kv-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{kv-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{kv-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{kv-faypxj3z.js → state-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{kv-fd410y7t.js → state-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{kv-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{kv-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{kv-g86h250q.js → state-g86h250q.js} +0 -0
  744. /package/dist/chunks/{kv-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{kv-gftt206x.js → state-gftt206x.js} +0 -0
  746. /package/dist/chunks/{kv-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{kv-hk9envan.js → state-hk9envan.js} +0 -0
  748. /package/dist/chunks/{kv-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{kv-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{kv-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{kv-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{kv-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{kv-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{kv-mp448xyj.js → state-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{kv-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{kv-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{kv-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{kv-njntx4h6.js → state-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{kv-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  760. /package/dist/chunks/{kv-q74kybfr.js → state-q74kybfr.js} +0 -0
  761. /package/dist/chunks/{kv-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  762. /package/dist/chunks/{kv-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  763. /package/dist/chunks/{kv-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  764. /package/dist/chunks/{kv-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  765. /package/dist/chunks/{kv-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{kv-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{kv-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{kv-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{kv-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{kv-twg0f83k.js → state-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{kv-w803qqfp.js → state-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{kv-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  773. /package/dist/chunks/{kv-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{kv-wtztk69x.js → state-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{kv-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{kv-x61499pn.js → state-x61499pn.js} +0 -0
  777. /package/dist/chunks/{kv-y44na4kk.js → state-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{kv-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{kv-y8f7s663.js → state-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{kv-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{kv-ym463w8f.js → state-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{kv-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node43
4
- } from "./kv-xcb08vvz.js";
3
+ node44
4
+ } from "./state-wmttgrd3.js";
5
5
  import {
6
- Service77,
7
- node82
8
- } from "./kv-hbc76d7d.js";
6
+ Service80,
7
+ node85
8
+ } from "./state-spx2bnh9.js";
9
9
  import {
10
- ID9,
11
- Service63,
12
- node67
13
- } from "./kv-xnd1tqg9.js";
10
+ ID10,
11
+ Service66,
12
+ node71
13
+ } from "./state-e8dtjarm.js";
14
14
  import {
15
- ID14,
15
+ ID15,
16
16
  OAuth3
17
- } from "./kv-ynn8fm83.js";
17
+ } from "./state-mps7w25w.js";
18
18
  import {
19
- ID13,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service71,
24
- node76
25
- } from "./kv-5hs6vj28.js";
26
- import {
27
- AbsolutePath2
28
- } from "./kv-922hggd3.js";
29
- import {
30
- Info31,
31
- Ref4,
32
23
  Service74,
33
24
  node79
34
- } from "./kv-2yszhqmy.js";
25
+ } from "./state-34crcs6s.js";
35
26
  import {
36
- ID12,
37
- Service70,
38
- node75
39
- } from "./kv-b54tf645.js";
27
+ AbsolutePath2
28
+ } from "./state-922hggd3.js";
40
29
  import {
41
- Service54,
42
- node58
43
- } from "./kv-9j1ee014.js";
30
+ Info32,
31
+ Ref4,
32
+ Service77,
33
+ node82
34
+ } from "./state-0y8dyykb.js";
44
35
  import {
45
- Service64,
46
- node68
47
- } from "./kv-qqngb6za.js";
36
+ ID13,
37
+ Service73,
38
+ node78
39
+ } from "./state-v6vt01kk.js";
48
40
  import {
49
- Service80,
50
- node85
51
- } from "./kv-hw7kpg6m.js";
41
+ Service72,
42
+ node77
43
+ } from "./state-28wkbh4b.js";
52
44
  import {
53
- Service39,
54
- node42
55
- } from "./kv-2746bvgx.js";
45
+ Service42,
46
+ node47
47
+ } from "./state-0zmtjazh.js";
56
48
  import {
57
- ID11,
58
49
  Service69,
59
50
  node74
60
- } from "./kv-spxp8qyj.js";
51
+ } from "./state-nmdzht59.js";
52
+ import {
53
+ Service54,
54
+ node58
55
+ } from "./state-xn5a693m.js";
61
56
  import {
62
- ID10
63
- } from "./kv-0p9khnwg.js";
57
+ ID12,
58
+ Service71,
59
+ node76
60
+ } from "./state-vd3vzfjc.js";
64
61
  import {
65
- Service22,
66
- node27
67
- } from "./kv-wc70p2m4.js";
62
+ ID7
63
+ } from "./state-7egh4y4y.js";
68
64
  import {
69
- Service62,
70
- node66
71
- } from "./kv-cfv81dax.js";
65
+ Service26,
66
+ node31
67
+ } from "./state-fe1a2b94.js";
72
68
  import {
73
- Service59,
74
- node63
75
- } from "./kv-fjm3wm2r.js";
69
+ Service67,
70
+ node72
71
+ } from "./state-6qkc0t3x.js";
76
72
  import {
77
- Service40,
78
- node44
79
- } from "./kv-a2z881sa.js";
73
+ Service63,
74
+ node68
75
+ } from "./state-r4spvhqj.js";
76
+ import {
77
+ Service38,
78
+ node42
79
+ } from "./state-rex1qj25.js";
80
80
  import {
81
81
  Source3,
82
- Service48,
83
- node52
84
- } from "./kv-5r43j5vb.js";
82
+ Service35,
83
+ node39
84
+ } from "./state-5avwrfg8.js";
85
85
  import {
86
- Info19,
87
- Service58,
88
- node62
89
- } from "./kv-d6wpxf5g.js";
86
+ Info18,
87
+ Service44,
88
+ node49
89
+ } from "./state-mweswy2n.js";
90
90
  import {
91
- Service17,
92
- node21
93
- } from "./kv-xsyv644k.js";
91
+ Service15,
92
+ node19
93
+ } from "./state-3m5b51q1.js";
94
94
  import {
95
- Service41,
96
- node45
97
- } from "./kv-bjw197y6.js";
95
+ Service46,
96
+ node51
97
+ } from "./state-20ft7gws.js";
98
98
  import {
99
- Service14,
100
- node18
101
- } from "./kv-s82aax5r.js";
99
+ Service33,
100
+ node37
101
+ } from "./state-aby1gkpe.js";
102
102
  import {
103
- Service44,
104
- node48
105
- } from "./kv-9cc2y271.js";
103
+ Service58,
104
+ node62
105
+ } from "./state-1t5zgxxm.js";
106
106
  import {
107
- ID3,
108
- Service42,
109
- node46
110
- } from "./kv-fn3n3knf.js";
107
+ ID6,
108
+ Service55,
109
+ node59
110
+ } from "./state-7h0e1682.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info3,
113
+ Info17,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service13,
117
- node17
118
- } from "./kv-spfby1d7.js";
116
+ Service43,
117
+ node48
118
+ } from "./state-kg53bg6f.js";
119
119
  import {
120
- Service16,
121
- node20
122
- } from "./kv-5amxz9j6.js";
120
+ Service37,
121
+ node41
122
+ } from "./state-h4f983qb.js";
123
123
  import {
124
124
  __export
125
- } from "./kv-9rqn6x4v.js";
125
+ } from "./state-9rqn6x4v.js";
126
126
 
127
127
  // src/plugin/host.ts
128
128
  var exports_host = {};
@@ -140,37 +140,37 @@ var mutable = (value) => value;
140
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
141
141
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
142
142
  const app = yield* Metadata2;
143
- const agents = yield* Service63;
144
- const aisdk = yield* Service54;
145
- const providers = yield* Service70;
146
- const models = yield* Service69;
147
- const commands = yield* Service64;
148
- const bus = yield* Service77;
149
- const integration = yield* Service71;
150
- const kv = yield* Service80;
151
- const mcp = yield* Service22;
152
- const location = yield* Service74;
153
- const reference = yield* Service48;
154
- const rpc = yield* Service14;
155
- const skill = yield* Service58;
156
- const tools = yield* Service40;
157
- const vcs = yield* Service44;
158
- const websearch = yield* Service42;
159
- const generate = yield* Service16;
160
- const permission = yield* Service59;
161
- const hooks = yield* Service62;
162
- const sessions = yield* Service17;
163
- const persistentPty = yield* Service41;
164
- const locations = yield* Service39;
165
- const worktrees = yield* Service13;
166
- const locationInfo = () => new Info31({
143
+ const agents = yield* Service66;
144
+ const aisdk = yield* Service72;
145
+ const providers = yield* Service73;
146
+ const models = yield* Service71;
147
+ const commands = yield* Service42;
148
+ const bus = yield* Service80;
149
+ const integration = yield* Service74;
150
+ const kv = yield* Service69;
151
+ const mcp = yield* Service26;
152
+ const location = yield* Service77;
153
+ const reference = yield* Service35;
154
+ const rpc = yield* Service33;
155
+ const skill = yield* Service44;
156
+ const tools = yield* Service38;
157
+ const vcs = yield* Service58;
158
+ const websearch = yield* Service55;
159
+ const generate = yield* Service37;
160
+ const permission = yield* Service63;
161
+ const hooks = yield* Service67;
162
+ const sessions = yield* Service15;
163
+ const persistentPty = yield* Service46;
164
+ const locations = yield* Service54;
165
+ const worktrees = yield* Service43;
166
+ const locationInfo = () => new Info32({
167
167
  directory: location.directory,
168
168
  workspaceID: location.workspaceID,
169
169
  project: location.project
170
170
  });
171
171
  const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
172
172
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
173
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
173
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
174
174
  });
175
175
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
176
176
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
@@ -182,18 +182,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
182
182
  return Effect.gen(function* () {
183
183
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
184
184
  const plugins = yield* Plugin.Service;
185
- const target = yield* Service13;
185
+ const target = yield* Service43;
186
186
  yield* plugins.awaitActivation;
187
187
  return yield* run(target);
188
188
  }).pipe(Effect.provide(locations.get(ref)));
189
189
  };
190
- const decodeWorktree = Schema.decodeUnknownEffect(Info3);
190
+ const decodeWorktree = Schema.decodeUnknownEffect(Info17);
191
191
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
192
192
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
193
- const location = yield* Service74;
194
- const agents = yield* Service63;
193
+ const location = yield* Service77;
194
+ const agents = yield* Service66;
195
195
  return {
196
- location: new Info31({
196
+ location: new Info32({
197
197
  directory: location.directory,
198
198
  workspaceID: location.workspaceID,
199
199
  project: location.project
@@ -225,10 +225,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
225
225
  transform: (callback) => agents.transform((editor) => {
226
226
  callback({
227
227
  list: () => mutable(editor.list()),
228
- get: (id) => mutable(editor.get(ID9.make(id))),
229
- default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
230
- update: (id, update) => editor.update(ID9.make(id), update),
231
- remove: (id) => editor.remove(ID9.make(id))
228
+ get: (id) => mutable(editor.get(ID10.make(id))),
229
+ default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
230
+ update: (id, update) => editor.update(ID10.make(id), update),
231
+ remove: (id) => editor.remove(ID10.make(id))
232
232
  });
233
233
  })
234
234
  },
@@ -262,22 +262,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  },
263
263
  provider: {
264
264
  list: () => response(providers.available()),
265
- get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
265
+ get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
266
266
  reload: providers.reload,
267
267
  transform: (callback) => providers.transform((editor) => {
268
268
  callback({
269
269
  list: editor.list,
270
- get: (id) => editor.get(ID12.make(id)),
270
+ get: (id) => editor.get(ID13.make(id)),
271
271
  add: (definition) => editor.add({
272
272
  ...definition,
273
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID14.make(definition.sourceConnection.id) } : definition.sourceConnection
273
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
274
274
  }),
275
- update: (id, update) => editor.update(ID12.make(id), update),
276
- remove: (id) => editor.remove(ID12.make(id)),
275
+ update: (id, update) => editor.update(ID13.make(id), update),
276
+ remove: (id) => editor.remove(ID13.make(id)),
277
277
  models: {
278
- set: (id, models) => editor.models.set(ID12.make(id), models),
279
- update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
280
- remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
278
+ set: (id, models) => editor.models.set(ID13.make(id), models),
279
+ update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID12.make(modelID), update),
280
+ remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID12.make(modelID))
281
281
  }
282
282
  });
283
283
  })
@@ -287,17 +287,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
287
287
  default: () => response(models.default()),
288
288
  reload: models.reload,
289
289
  transform: (callback) => models.transform((editor) => callback({
290
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
291
- get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
292
- update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
293
- remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
290
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
291
+ get: (providerID, modelID) => editor.get(ID13.make(providerID), ID12.make(modelID)),
292
+ update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID12.make(modelID), update),
293
+ remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID12.make(modelID)),
294
294
  default: {
295
295
  get: editor.default.get,
296
- set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
296
+ set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID12.make(modelID))
297
297
  },
298
298
  provider: {
299
299
  list: editor.provider.list,
300
- get: (id) => editor.provider.get(ID12.make(id))
300
+ get: (id) => editor.provider.get(ID13.make(id))
301
301
  }
302
302
  }))
303
303
  },
@@ -320,14 +320,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
320
320
  integration: {
321
321
  list: () => response(integration.list()),
322
322
  get: Effect.fn(function* (input) {
323
- const item = yield* integration.get(ID13.make(input.integrationID));
323
+ const item = yield* integration.get(ID14.make(input.integrationID));
324
324
  if (!item)
325
325
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
326
326
  return yield* response(Effect.succeed(item));
327
327
  }),
328
328
  connect: {
329
329
  key: (input) => integration.connection.key({
330
- integrationID: ID13.make(input.integrationID),
330
+ integrationID: ID14.make(input.integrationID),
331
331
  key: input.key,
332
332
  answer: input.answer,
333
333
  label: input.label
@@ -335,55 +335,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
335
335
  },
336
336
  oauth: {
337
337
  connect: (input) => response(integration.oauth.connect({
338
- integrationID: ID13.make(input.integrationID),
338
+ integrationID: ID14.make(input.integrationID),
339
339
  methodID: MethodID2.make(input.methodID),
340
340
  answer: input.answer,
341
341
  label: input.label
342
342
  })),
343
343
  status: (input) => response(integration.oauth.status({
344
- integrationID: ID13.make(input.integrationID),
344
+ integrationID: ID14.make(input.integrationID),
345
345
  attemptID: AttemptID2.make(input.attemptID)
346
346
  })),
347
347
  complete: (input) => integration.oauth.complete({
348
- integrationID: ID13.make(input.integrationID),
348
+ integrationID: ID14.make(input.integrationID),
349
349
  attemptID: AttemptID2.make(input.attemptID),
350
350
  code: input.code
351
351
  }),
352
352
  cancel: (input) => integration.oauth.cancel({
353
- integrationID: ID13.make(input.integrationID),
353
+ integrationID: ID14.make(input.integrationID),
354
354
  attemptID: AttemptID2.make(input.attemptID)
355
355
  })
356
356
  },
357
357
  command: {
358
358
  connect: (input) => response(integration.command.connect({
359
- integrationID: ID13.make(input.integrationID),
359
+ integrationID: ID14.make(input.integrationID),
360
360
  methodID: MethodID2.make(input.methodID),
361
361
  label: input.label
362
362
  })),
363
363
  status: (input) => response(integration.command.status({
364
- integrationID: ID13.make(input.integrationID),
364
+ integrationID: ID14.make(input.integrationID),
365
365
  attemptID: AttemptID2.make(input.attemptID)
366
366
  })),
367
367
  cancel: (input) => integration.command.cancel({
368
- integrationID: ID13.make(input.integrationID),
368
+ integrationID: ID14.make(input.integrationID),
369
369
  attemptID: AttemptID2.make(input.attemptID)
370
370
  })
371
371
  },
372
372
  reload: integration.reload,
373
373
  connection: {
374
- active: (id) => integration.connection.active(ID13.make(id)),
375
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID14.make(connection.id) } : connection)
374
+ active: (id) => integration.connection.active(ID14.make(id)),
375
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
376
376
  },
377
377
  transform: (callback) => integration.transform((editor) => {
378
378
  callback({
379
379
  list: () => mutable(editor.list()),
380
- get: (id) => mutable(editor.get(ID13.make(id))),
381
- update: (id, update) => editor.update(ID13.make(id), update),
382
- remove: (id) => editor.remove(ID13.make(id)),
380
+ get: (id) => mutable(editor.get(ID14.make(id))),
381
+ update: (id, update) => editor.update(ID14.make(id), update),
382
+ remove: (id) => editor.remove(ID14.make(id)),
383
383
  method: {
384
- list: (id) => editor.method.list(ID13.make(id)),
384
+ list: (id) => editor.method.list(ID14.make(id)),
385
385
  update: (input) => editor.method.update(methodImplementation(input)),
386
- remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
386
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
387
387
  }
388
388
  });
389
389
  })
@@ -393,10 +393,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
393
393
  const ref = locationRef(input);
394
394
  if (ref && !isCurrentLocation(ref))
395
395
  return Effect.gen(function* () {
396
- const location = yield* Service74;
397
- const mcp = yield* Service22;
396
+ const location = yield* Service77;
397
+ const mcp = yield* Service26;
398
398
  return {
399
- location: new Info31({
399
+ location: new Info32({
400
400
  directory: location.directory,
401
401
  workspaceID: location.workspaceID,
402
402
  project: location.project
@@ -446,7 +446,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
446
446
  callback({
447
447
  list: () => mutable(editor.list()),
448
448
  get: editor.get,
449
- add: (value) => editor.add(Schema.decodeUnknownSync(Info19)(value)),
449
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info18)(value)),
450
450
  update: editor.update,
451
451
  remove: editor.remove
452
452
  });
@@ -474,19 +474,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
474
474
  providers: () => response(websearch.providers()),
475
475
  query: (input) => response(websearch.query({
476
476
  query: input.query,
477
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
477
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
478
478
  })),
479
479
  reload: websearch.reload,
480
480
  transform: (callback) => websearch.transform((editor) => {
481
481
  callback({
482
482
  add: (definition) => editor.add({
483
- id: ID3.make(definition.id),
483
+ id: ID6.make(definition.id),
484
484
  name: definition.name,
485
485
  execute: definition.execute
486
486
  }),
487
487
  default: {
488
488
  get: editor.default.get,
489
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
489
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
490
490
  }
491
491
  });
492
492
  })
@@ -534,30 +534,30 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
534
534
  return context;
535
535
  });
536
536
  var requirements3 = LayerNode.group([
537
- node43,
538
- node67,
539
- node58,
540
- node75,
541
- node74,
542
- node68,
543
- node82,
537
+ node44,
538
+ node71,
539
+ node77,
540
+ node78,
544
541
  node76,
542
+ node47,
545
543
  node85,
546
- node27,
547
544
  node79,
548
- node52,
549
- node18,
545
+ node74,
546
+ node31,
547
+ node82,
548
+ node39,
549
+ node37,
550
+ node49,
551
+ node42,
550
552
  node62,
551
- node44,
553
+ node59,
552
554
  node48,
553
- node46,
554
- node17,
555
- node20,
556
- node63,
557
- node66,
558
- node21,
559
- node45,
560
- node42
555
+ node41,
556
+ node68,
557
+ node72,
558
+ node19,
559
+ node51,
560
+ node58
561
561
  ]);
562
562
  function storage2(kv, pluginID) {
563
563
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -584,7 +584,7 @@ function methodImplementation(input) {
584
584
  if ("authorize" in input) {
585
585
  const refresh = input.refresh;
586
586
  return {
587
- integrationID: ID13.make(input.integrationID),
587
+ integrationID: ID14.make(input.integrationID),
588
588
  method: { ...input.method, id: MethodID2.make(input.method.id) },
589
589
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
590
590
  if (authorization.mode === "auto") {
@@ -604,18 +604,18 @@ function methodImplementation(input) {
604
604
  }
605
605
  if (input.method.type === "env") {
606
606
  return {
607
- integrationID: ID13.make(input.integrationID),
607
+ integrationID: ID14.make(input.integrationID),
608
608
  method: input.method
609
609
  };
610
610
  }
611
611
  if (input.method.type === "command") {
612
612
  return {
613
- integrationID: ID13.make(input.integrationID),
613
+ integrationID: ID14.make(input.integrationID),
614
614
  method: { ...input.method, id: MethodID2.make(input.method.id) }
615
615
  };
616
616
  }
617
617
  return {
618
- integrationID: ID13.make(input.integrationID),
618
+ integrationID: ID14.make(input.integrationID),
619
619
  method: input.method
620
620
  };
621
621
  }
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID2 } from "@opencode/schema/pty";
3
+
4
+ export { ID2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID11
3
- } from "./kv-spxp8qyj.js";
2
+ ID12
3
+ } from "./state-vd3vzfjc.js";
4
4
  import {
5
- Service37
6
- } from "./kv-6qxwpmhr.js";
5
+ Service31
6
+ } from "./state-dxwen4wn.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./kv-5b7y8wzj.js";
9
+ } from "./state-87k0zb7t.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode/plugin/effect/plugin";
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
21
21
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
22
22
  var discovery = new Map;
23
23
  var discoveryLock = Semaphore.makeUnsafe(1);
24
- function make3(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
24
+ function make9(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
25
25
  return define({
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service37;
29
+ const config = yield* Service31;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make3(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  providers.models.update(providerID, item.id, (model) => {
56
- model.modelID = ID11.make(item.id);
56
+ model.modelID = ID12.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
112
112
  })
113
113
  });
114
114
  }
115
- var VLLMPlugin2 = make3();
115
+ var VLLMPlugin2 = make9();
116
116
  function configured(entries, origin) {
117
117
  const settings = foldSettings2(entries, providerID, undefined);
118
118
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -134,4 +134,4 @@ function configured(entries, origin) {
134
134
  return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
135
135
  }
136
136
 
137
- export { make3, VLLMPlugin2 };
137
+ export { make9, VLLMPlugin2 };