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

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 (819) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +84 -83
  3. package/dist/aisdk-native.js +98 -97
  4. package/dist/aisdk.js +104 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +80 -79
  7. package/dist/chunks/{vcs-034tev2y.js → repository-034tev2y.js} +2 -2
  8. package/dist/chunks/{vcs-t7d5dner.js → repository-037k7tff.js} +23 -23
  9. package/dist/chunks/{vcs-f12ryszn.js → repository-08rz5a36.js} +14 -14
  10. package/dist/chunks/{vcs-5x47hebm.js → repository-0av5441t.js} +14 -14
  11. package/dist/chunks/{vcs-bqxvxs63.js → repository-0evha2wn.js} +31 -31
  12. package/dist/chunks/{vcs-y9sq7js0.js → repository-0hkk56st.js} +185 -185
  13. package/dist/chunks/{vcs-hq1wfz6f.js → repository-0hp4fr82.js} +4 -4
  14. package/dist/chunks/{vcs-d8p3t516.js → repository-0m9q59s6.js} +4 -4
  15. package/dist/chunks/{vcs-crgewsnq.js → repository-0r3ejwj6.js} +5 -5
  16. package/dist/chunks/{vcs-e14jxrf8.js → repository-0rtm666e.js} +23 -23
  17. package/dist/chunks/{vcs-qjgzc4b4.js → repository-11hfp36g.js} +4 -4
  18. package/dist/chunks/{vcs-r76g6m5d.js → repository-12r92wk3.js} +14 -14
  19. package/dist/chunks/{vcs-88nacy35.js → repository-13r1xmr6.js} +32 -32
  20. package/dist/chunks/{vcs-8sqprg4w.js → repository-182gebkv.js} +36 -36
  21. package/dist/chunks/{vcs-kam05h7r.js → repository-1apn0a4c.js} +27 -27
  22. package/dist/chunks/{vcs-81e513d9.js → repository-1aypnazc.js} +15 -15
  23. package/dist/chunks/{vcs-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{vcs-5xh13x4p.js → repository-1k4zgc1c.js} +36 -36
  25. package/dist/chunks/{vcs-dcphv4q7.js → repository-1mde9y8f.js} +11 -11
  26. package/dist/chunks/{vcs-j3fqds5k.js → repository-1w79wwhg.js} +34 -34
  27. package/dist/chunks/{vcs-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{vcs-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
  29. package/dist/chunks/{vcs-204s3925.js → repository-204s3925.js} +1 -1
  30. package/dist/chunks/{vcs-c603at3t.js → repository-2080gwb7.js} +6 -6
  31. package/dist/chunks/{vcs-xz2fv4yr.js → repository-2dv9mwt9.js} +17 -17
  32. package/dist/chunks/{vcs-5qx92zct.js → repository-2kzkh518.js} +31 -31
  33. package/dist/chunks/{vcs-nqnxqd2r.js → repository-2rgppjw0.js} +19 -19
  34. package/dist/chunks/{vcs-qatsv5dz.js → repository-2ytvyz2d.js} +25 -25
  35. package/dist/chunks/{vcs-hqxkkta1.js → repository-2zp5a6yg.js} +3 -3
  36. package/dist/chunks/{vcs-d8wf4604.js → repository-33ae382d.js} +34 -34
  37. package/dist/chunks/{vcs-803py63b.js → repository-3e05p5k6.js} +47 -47
  38. package/dist/chunks/{vcs-bzzy1r12.js → repository-3fa3xdsy.js} +11 -11
  39. package/dist/chunks/{vcs-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{vcs-f01y088k.js → repository-3j1m3tq4.js} +5 -5
  41. package/dist/chunks/{vcs-hxe8n5wd.js → repository-3njy631w.js} +13 -13
  42. package/dist/chunks/{vcs-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
  43. package/dist/chunks/{vcs-qj0f10hy.js → repository-3t73xeyv.js} +2 -2
  44. package/dist/chunks/{vcs-n93tr00k.js → repository-3t74rz0k.js} +10 -10
  45. package/dist/chunks/{vcs-yg76txfd.js → repository-3v8t9fvp.js} +24 -24
  46. package/dist/chunks/repository-3ygt5d1v.js +257 -0
  47. package/dist/chunks/{vcs-ym5kwrv0.js → repository-4esa3dv6.js} +31 -31
  48. package/dist/chunks/{vcs-sp1n9vrr.js → repository-4nc3cf8h.js} +15 -15
  49. package/dist/chunks/{vcs-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
  50. package/dist/chunks/{vcs-4v008n1t.js → repository-4v008n1t.js} +1 -1
  51. package/dist/chunks/{vcs-h7hv4bsx.js → repository-5107fk2n.js} +3 -3
  52. package/dist/chunks/{vcs-dxf45bfp.js → repository-56ae33c2.js} +31 -31
  53. package/dist/chunks/{vcs-h871ecej.js → repository-5jv51wq9.js} +27 -27
  54. package/dist/chunks/{vcs-s3yt9ny0.js → repository-5kgs3fk1.js} +6 -6
  55. package/dist/chunks/{vcs-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{vcs-3012d813.js → repository-5q3h0csw.js} +7 -7
  57. package/dist/chunks/{vcs-cvc38qdd.js → repository-5r0vxddc.js} +3 -3
  58. package/dist/chunks/{vcs-9hf7djsb.js → repository-5vtqq6dj.js} +17 -17
  59. package/dist/chunks/{vcs-f9v35vn9.js → repository-5w0ghgtj.js} +5 -5
  60. package/dist/chunks/{vcs-8dhx12dr.js → repository-5z598wn3.js} +17 -17
  61. package/dist/chunks/{vcs-bjhzkqyk.js → repository-61ennm6n.js} +4 -4
  62. package/dist/chunks/{vcs-3zm80s7d.js → repository-6cv4a685.js} +12 -12
  63. package/dist/chunks/{vcs-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{vcs-vbfgf998.js → repository-6pycad06.js} +12 -12
  65. package/dist/chunks/{vcs-mvmschgv.js → repository-6pzctp9a.js} +35 -35
  66. package/dist/chunks/{vcs-3becjr0v.js → repository-6x6r8n8f.js} +17 -17
  67. package/dist/chunks/{vcs-r4kh5xmg.js → repository-6z1wc5nc.js} +3 -3
  68. package/dist/chunks/{vcs-axgnp1w7.js → repository-72gawy4v.js} +29 -29
  69. package/dist/chunks/{vcs-76cb1hcw.js → repository-76cb1hcw.js} +1 -1
  70. package/dist/chunks/{vcs-nah043kf.js → repository-770pw0s1.js} +4 -4
  71. package/dist/chunks/{vcs-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{vcs-rramyk5b.js → repository-7g779wd2.js} +20 -20
  73. package/dist/chunks/{vcs-3y5kg779.js → repository-7kehrbx0.js} +2 -2
  74. package/dist/chunks/{vcs-vp7nv6ts.js → repository-7n5hdcgz.js} +12 -12
  75. package/dist/chunks/{vcs-ydsespw1.js → repository-7tpyp9vw.js} +6 -6
  76. package/dist/chunks/{vcs-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{vcs-9ca4th6x.js → repository-82zcwhsx.js} +16 -16
  78. package/dist/chunks/{vcs-qzze65dp.js → repository-84k97wh8.js} +38 -38
  79. package/dist/chunks/{vcs-27kvnj30.js → repository-86g12mv6.js} +29 -29
  80. package/dist/chunks/{vcs-711z6zs4.js → repository-8enexpz6.js} +32 -32
  81. package/dist/chunks/{vcs-m23nxqzn.js → repository-8hrfnhev.js} +25 -25
  82. package/dist/chunks/{vcs-s1pbznk9.js → repository-8r2xb3b3.js} +22 -22
  83. package/dist/chunks/{vcs-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
  84. package/dist/chunks/{vcs-90zstvax.js → repository-90zstvax.js} +1 -1
  85. package/dist/chunks/{vcs-qw6ypx0r.js → repository-97e8yvkm.js} +11 -11
  86. package/dist/chunks/{vcs-s7vmaqmh.js → repository-98r3g1tv.js} +21 -21
  87. package/dist/chunks/{vcs-ymz7p2c9.js → repository-9n4vggc2.js} +3 -3
  88. package/dist/chunks/{vcs-2vmza6bx.js → repository-9n4yzf43.js} +7 -7
  89. package/dist/chunks/{vcs-hnyptrnw.js → repository-9nzgnp4r.js} +36 -35
  90. package/dist/chunks/{vcs-s7kyse9r.js → repository-9q8g9sv8.js} +4 -4
  91. package/dist/chunks/{vcs-66rmjjex.js → repository-9yvzdddr.js} +24 -24
  92. package/dist/chunks/{vcs-rnkzngrq.js → repository-a23yrjc9.js} +13 -13
  93. package/dist/chunks/{vcs-w2808p42.js → repository-a44gt5xs.js} +6 -6
  94. package/dist/chunks/{vcs-7xwxxj51.js → repository-a4sx5s4k.js} +52 -52
  95. package/dist/chunks/{vcs-ezm7bgte.js → repository-a5jmwq8r.js} +1 -1
  96. package/dist/chunks/{vcs-cqnqmmbc.js → repository-a792y6s0.js} +22 -22
  97. package/dist/chunks/{vcs-qjq7p7j6.js → repository-a7jkxg7e.js} +25 -25
  98. package/dist/chunks/{vcs-2qdnk5gy.js → repository-aar8rcwj.js} +4 -4
  99. package/dist/chunks/{vcs-8abc36xm.js → repository-abs1shnw.js} +46 -46
  100. package/dist/chunks/{vcs-xcrtaswj.js → repository-agwv7dq2.js} +11 -11
  101. package/dist/chunks/{vcs-znxracq4.js → repository-ataenv19.js} +6 -6
  102. package/dist/chunks/{vcs-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
  103. package/dist/chunks/{vcs-x1yq370d.js → repository-aytsh6n6.js} +5 -5
  104. package/dist/chunks/{vcs-b6vsg801.js → repository-b6vsg801.js} +2 -2
  105. package/dist/chunks/{vcs-kvaqnkh5.js → repository-bda3vcj5.js} +9 -9
  106. package/dist/chunks/{vcs-bzfazvnd.js → repository-bpa6my4e.js} +27 -27
  107. package/dist/chunks/{vcs-4ya1zf4j.js → repository-bqh84c2y.js} +9 -9
  108. package/dist/chunks/{vcs-bstexjd6.js → repository-bstexjd6.js} +1 -1
  109. package/dist/chunks/{vcs-rq1s007a.js → repository-c2zjjdcb.js} +15 -15
  110. package/dist/chunks/{vcs-a9qv6y2y.js → repository-c4bknmrm.js} +35 -35
  111. package/dist/chunks/{vcs-mhhpcp40.js → repository-cbtp3bm0.js} +59 -55
  112. package/dist/chunks/{vcs-sdv7qrfx.js → repository-cdhs4fq1.js} +8 -8
  113. package/dist/chunks/{vcs-1y89m7wx.js → repository-ce8850xx.js} +5 -5
  114. package/dist/chunks/{vcs-gb3x7pd4.js → repository-ck8hq31j.js} +27 -27
  115. package/dist/chunks/{vcs-xcrax9b3.js → repository-cm490s5r.js} +20 -20
  116. package/dist/chunks/{vcs-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
  117. package/dist/chunks/{vcs-ssfehs1z.js → repository-d2887f8n.js} +4 -4
  118. package/dist/chunks/{vcs-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
  119. package/dist/chunks/{vcs-fw6nb5ck.js → repository-d68w9w8c.js} +34 -34
  120. package/dist/chunks/{vcs-ncgj4fsm.js → repository-d96fxdz4.js} +9 -9
  121. package/dist/chunks/{vcs-3kdbrncp.js → repository-dbmp929s.js} +5 -5
  122. package/dist/chunks/{vcs-yv133y3g.js → repository-dh9dmr4q.js} +329 -329
  123. package/dist/chunks/{vcs-dzfs5b6c.js → repository-dpgr420w.js} +8 -8
  124. package/dist/chunks/{vcs-5ww8zx74.js → repository-dsk9ctag.js} +6 -3
  125. package/dist/chunks/{vcs-g9c34x6f.js → repository-dsxmp27p.js} +14 -14
  126. package/dist/chunks/{vcs-dt77769w.js → repository-dt77769w.js} +1 -1
  127. package/dist/chunks/{vcs-893ry4nt.js → repository-dvet5ash.js} +13 -13
  128. package/dist/chunks/{vcs-drmc7326.js → repository-dwmchd07.js} +13 -13
  129. package/dist/chunks/{vcs-hdfbhhjq.js → repository-dym6dez5.js} +13 -13
  130. package/dist/chunks/{vcs-jnxh9bnf.js → repository-dz5kpwyf.js} +25 -25
  131. package/dist/chunks/{vcs-e834z07m.js → repository-e834z07m.js} +1 -1
  132. package/dist/chunks/{vcs-3sdek3b3.js → repository-e8rkqp2f.js} +58 -58
  133. package/dist/chunks/{vcs-n39rwvas.js → repository-eag44dyn.js} +1 -1
  134. package/dist/chunks/{vcs-qgj2y09a.js → repository-ectwy8nt.js} +5 -5
  135. package/dist/chunks/{vcs-sbanjb5j.js → repository-ehfhc1vp.js} +11 -11
  136. package/dist/chunks/{vcs-a2jzevxz.js → repository-ektnw284.js} +16 -16
  137. package/dist/chunks/{vcs-9qdswjvr.js → repository-ems0zhva.js} +12 -12
  138. package/dist/chunks/{vcs-h9cd45gd.js → repository-esd0f7sy.js} +20 -20
  139. package/dist/chunks/{vcs-nahhmz6x.js → repository-etamvy03.js} +16 -16
  140. package/dist/chunks/{vcs-kvkehzzy.js → repository-exd6sskf.js} +11 -11
  141. package/dist/chunks/{vcs-wx1qd37n.js → repository-fcevtanz.js} +11 -11
  142. package/dist/chunks/{vcs-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
  143. package/dist/chunks/{vcs-fg9p65nk.js → repository-fg9p65nk.js} +2 -2
  144. package/dist/chunks/{vcs-961rs8be.js → repository-fnn8wx3k.js} +12 -12
  145. package/dist/chunks/{vcs-jxt3q3kf.js → repository-g4wje5yf.js} +11 -11
  146. package/dist/chunks/{vcs-drvbhkez.js → repository-g6dfma3d.js} +6 -6
  147. package/dist/chunks/{vcs-m3dz0tc2.js → repository-g9b1jkrx.js} +32 -32
  148. package/dist/chunks/{vcs-42qb5rv4.js → repository-gadvwfpz.js} +24 -24
  149. package/dist/chunks/{vcs-tq4ca257.js → repository-gbafzqgw.js} +25 -25
  150. package/dist/chunks/{vcs-gg8p9cgs.js → repository-gg8p9cgs.js} +3 -3
  151. package/dist/chunks/{vcs-82j41amh.js → repository-gtbhcp1b.js} +4 -4
  152. package/dist/chunks/{vcs-1kn6jdkn.js → repository-gtn9c16a.js} +4 -4
  153. package/dist/chunks/{vcs-8f2h6hsz.js → repository-gvvhvz2q.js} +14 -14
  154. package/dist/chunks/{vcs-rvr8sh1j.js → repository-h1rcny21.js} +11 -11
  155. package/dist/chunks/{vcs-aecr8kmf.js → repository-hez1w8bb.js} +39 -39
  156. package/dist/chunks/{vcs-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
  157. package/dist/chunks/{vcs-vzmjdaw1.js → repository-hs9b4b47.js} +9 -9
  158. package/dist/chunks/{vcs-4zjf7cy2.js → repository-j10bffxc.js} +20 -20
  159. package/dist/chunks/{vcs-9yhxtcx8.js → repository-jcrsb2we.js} +9 -9
  160. package/dist/chunks/{vcs-jfaecv01.js → repository-jfaecv01.js} +1 -1
  161. package/dist/chunks/{vcs-96tdjhwb.js → repository-jgcte78g.js} +2 -2
  162. package/dist/chunks/{vcs-8axx4zpa.js → repository-jkfm927m.js} +12 -12
  163. package/dist/chunks/{vcs-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
  164. package/dist/chunks/{vcs-1xxgzegw.js → repository-jz3hgwrm.js} +4 -4
  165. package/dist/chunks/{vcs-8cr8ejqg.js → repository-k0h7zcy3.js} +8 -8
  166. package/dist/chunks/{vcs-56exsq7y.js → repository-k1qkeqm0.js} +11 -11
  167. package/dist/chunks/{vcs-k814nvkf.js → repository-k814nvkf.js} +1 -1
  168. package/dist/chunks/{vcs-acqpw5y2.js → repository-k8sh24kp.js} +32 -29
  169. package/dist/chunks/{vcs-4m6wdh0q.js → repository-k93f34r6.js} +14 -14
  170. package/dist/chunks/{vcs-g67k3az8.js → repository-kex0kwh3.js} +20 -20
  171. package/dist/chunks/{vcs-96a4eq0m.js → repository-kjrf1av9.js} +27 -27
  172. package/dist/chunks/{vcs-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
  173. package/dist/chunks/{vcs-eke9g6w2.js → repository-m0hczx0h.js} +15 -15
  174. package/dist/chunks/{vcs-m1714858.js → repository-m1714858.js} +1 -1
  175. package/dist/chunks/{vcs-hfgk9wzg.js → repository-m37sd98t.js} +4 -4
  176. package/dist/chunks/{vcs-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{vcs-k6d7f0h0.js → repository-mh6czyn0.js} +33 -33
  178. package/dist/chunks/{vcs-p5t3gg5q.js → repository-mjyzwzry.js} +11 -11
  179. package/dist/chunks/{vcs-8e8fnv13.js → repository-mkc3d31y.js} +41 -41
  180. package/dist/chunks/{vcs-4xy4nqvy.js → repository-mpaxnys6.js} +14 -14
  181. package/dist/chunks/{vcs-079ccags.js → repository-ms02w4bg.js} +5 -5
  182. package/dist/chunks/{vcs-4m86bj6y.js → repository-myztnk54.js} +24 -0
  183. package/dist/chunks/{vcs-0d5zdg09.js → repository-n4zn000z.js} +4 -4
  184. package/dist/chunks/{vcs-vbhy04yp.js → repository-n7wnam13.js} +8 -8
  185. package/dist/chunks/{vcs-5x26af84.js → repository-nf3nsvxh.js} +4 -4
  186. package/dist/chunks/{vcs-7vva77b5.js → repository-nf4jh0jx.js} +27 -27
  187. package/dist/chunks/repository-nh4v3znn.js +36 -0
  188. package/dist/chunks/{vcs-dxqpfg1f.js → repository-nhs8pjpx.js} +94 -94
  189. package/dist/chunks/{vcs-9s8mp9xy.js → repository-nkwqs6wb.js} +6 -6
  190. package/dist/chunks/{vcs-jbzt06de.js → repository-nscwgnf9.js} +73 -73
  191. package/dist/chunks/{vcs-jc512s3p.js → repository-nwyfjcs7.js} +8 -8
  192. package/dist/chunks/{vcs-p015t6z3.js → repository-p015t6z3.js} +2 -2
  193. package/dist/chunks/{vcs-gcc564ca.js → repository-p16d4jds.js} +51 -51
  194. package/dist/chunks/{vcs-f3t04jjg.js → repository-p91eqx64.js} +7 -7
  195. package/dist/chunks/{vcs-t9rnzgt8.js → repository-p9pswzjx.js} +9 -9
  196. package/dist/chunks/{vcs-shhgqsar.js → repository-pg5757gf.js} +30 -30
  197. package/dist/chunks/{vcs-tzz7d8n9.js → repository-phy9rbgr.js} +79 -79
  198. package/dist/chunks/{vcs-pknna89w.js → repository-pknna89w.js} +1 -1
  199. package/dist/chunks/{vcs-dc473hq1.js → repository-pkvxjntv.js} +26 -26
  200. package/dist/chunks/{vcs-8rgb2cvr.js → repository-pnwsrq7c.js} +11 -11
  201. package/dist/chunks/{vcs-hznj66aq.js → repository-ptht14fh.js} +45 -45
  202. package/dist/chunks/{vcs-sp5gwvgy.js → repository-ptkgc041.js} +17 -17
  203. package/dist/chunks/{vcs-4qnt9348.js → repository-pyv44sw6.js} +11 -11
  204. package/dist/chunks/{vcs-jhrp8x7n.js → repository-q9z0p7gh.js} +16 -16
  205. package/dist/chunks/{vcs-dzcfjmec.js → repository-qbcktyw0.js} +19 -19
  206. package/dist/chunks/{vcs-rdssdv87.js → repository-qcb8jahv.js} +34 -34
  207. package/dist/chunks/{vcs-ede588cb.js → repository-qdvp98ce.js} +5 -5
  208. package/dist/chunks/{vcs-7jk9ktw7.js → repository-qf65b5pw.js} +42 -42
  209. package/dist/chunks/{vcs-swjc4wgc.js → repository-qk7rmbj1.js} +8 -8
  210. package/dist/chunks/{vcs-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
  211. package/dist/chunks/{vcs-c6x7d2ts.js → repository-qqg9c0kv.js} +4 -4
  212. package/dist/chunks/{vcs-zgf2rtvh.js → repository-qt5bw9qd.js} +5 -5
  213. package/dist/chunks/{vcs-jpf9vszk.js → repository-qwcynr2z.js} +35 -35
  214. package/dist/chunks/{vcs-r0yr0wbs.js → repository-r0yr0wbs.js} +1 -1
  215. package/dist/chunks/{vcs-5enarcya.js → repository-r41sfy63.js} +9 -9
  216. package/dist/chunks/{vcs-r542h3bh.js → repository-r542h3bh.js} +1 -1
  217. package/dist/chunks/{vcs-rnvx41re.js → repository-r5tkst50.js} +48 -48
  218. package/dist/chunks/{vcs-k9zkdd2y.js → repository-r94gekwm.js} +4 -4
  219. package/dist/chunks/{vcs-q85rya1m.js → repository-ra34yqmw.js} +6 -6
  220. package/dist/chunks/{vcs-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/repository-rgzggw2r.js +33 -0
  222. package/dist/chunks/{vcs-rvnzb7rd.js → repository-rnd635dt.js} +11 -11
  223. package/dist/chunks/{vcs-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{vcs-9nxy5s5f.js → repository-rw7j67zp.js} +8 -8
  225. package/dist/chunks/{vcs-y2syk0h5.js → repository-s0dcwz21.js} +10 -10
  226. package/dist/chunks/{vcs-2660epmj.js → repository-s5b0caas.js} +11 -11
  227. package/dist/chunks/{vcs-s7gmm2q3.js → repository-s7gmm2q3.js} +3 -3
  228. package/dist/chunks/{vcs-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{vcs-911083wy.js → repository-sdb8g23r.js} +15 -15
  230. package/dist/chunks/{vcs-2evsnrbc.js → repository-se71yjgd.js} +32 -32
  231. package/dist/chunks/{vcs-ehm90j5g.js → repository-sjnxn81j.js} +6 -6
  232. package/dist/chunks/{vcs-mp9ebvmh.js → repository-snn1b1cz.js} +12 -12
  233. package/dist/chunks/{vcs-sqjzf8x2.js → repository-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{vcs-dw6yk4g4.js → repository-ssv9vbjn.js} +19 -19
  235. package/dist/chunks/{vcs-bh6hwh25.js → repository-sv3cbmwn.js} +5 -5
  236. package/dist/chunks/{vcs-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
  237. package/dist/chunks/{vcs-1941k5sj.js → repository-swe5sap9.js} +32 -32
  238. package/dist/chunks/{vcs-9d4562qa.js → repository-swv5h1tw.js} +20 -20
  239. package/dist/chunks/{vcs-nhenvrcv.js → repository-sx391g08.js} +12 -12
  240. package/dist/chunks/{vcs-zac84x8b.js → repository-t6tqz55s.js} +3 -3
  241. package/dist/chunks/{vcs-mr1t2pzq.js → repository-tbkdp4xy.js} +27 -27
  242. package/dist/chunks/{vcs-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
  243. package/dist/chunks/{vcs-s11q4rn7.js → repository-tgcnwcew.js} +8 -8
  244. package/dist/chunks/{vcs-2qr4rt5k.js → repository-ts7mkfs9.js} +3 -3
  245. package/dist/chunks/{vcs-kvnh73qb.js → repository-tsk01jw9.js} +11 -11
  246. package/dist/chunks/{vcs-twssxy5n.js → repository-twssxy5n.js} +2 -2
  247. package/dist/chunks/{vcs-prjhwpt4.js → repository-v1vf4bjp.js} +8 -8
  248. package/dist/chunks/{vcs-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{vcs-nrtygxmh.js → repository-vaq1yek0.js} +6 -6
  250. package/dist/chunks/{vcs-x22fevgm.js → repository-vb2gkw1m.js} +33 -33
  251. package/dist/chunks/{vcs-jcqm84fr.js → repository-vrcsa8qx.js} +9 -9
  252. package/dist/chunks/{vcs-pzf76rrq.js → repository-vs1fx8n5.js} +32 -32
  253. package/dist/chunks/{vcs-b8zfksyw.js → repository-vz9e3ctc.js} +12 -12
  254. package/dist/chunks/{vcs-svxc5mk7.js → repository-w1j2qcct.js} +24 -24
  255. package/dist/chunks/{vcs-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{vcs-w687dnns.js → repository-w687dnns.js} +1 -1
  257. package/dist/chunks/{vcs-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{vcs-wd87259q.js → repository-wd87259q.js} +1 -1
  259. package/dist/chunks/{vcs-2v478qgw.js → repository-wde7vnje.js} +34 -34
  260. package/dist/chunks/{vcs-4pnypb5f.js → repository-wdmx20pv.js} +5 -5
  261. package/dist/chunks/{vcs-vj5jshb9.js → repository-we470cqt.js} +16 -16
  262. package/dist/chunks/{vcs-hrf8w9bv.js → repository-werc16xm.js} +24 -18
  263. package/dist/chunks/{vcs-10wj17tq.js → repository-wkjtf16h.js} +21 -21
  264. package/dist/chunks/{vcs-kkmrs84d.js → repository-wmgx0dmg.js} +16 -16
  265. package/dist/chunks/{vcs-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
  266. package/dist/chunks/{vcs-e515nszc.js → repository-wrf4qw91.js} +12 -12
  267. package/dist/chunks/{vcs-3br35akn.js → repository-wvpmhz6e.js} +14 -14
  268. package/dist/chunks/{vcs-k1cjxzzv.js → repository-x5kjwm05.js} +15 -15
  269. package/dist/chunks/{vcs-497mjgh5.js → repository-x62nhpqw.js} +28 -28
  270. package/dist/chunks/{vcs-fne85w7v.js → repository-x9mcs5as.js} +4 -4
  271. package/dist/chunks/{vcs-rc3e9zq8.js → repository-xa7geska.js} +26 -26
  272. package/dist/chunks/{vcs-rb35zdj3.js → repository-xck40x38.js} +6 -6
  273. package/dist/chunks/{vcs-jd4h7jwf.js → repository-xgv24g03.js} +27 -27
  274. package/dist/chunks/{vcs-sfxc8tsc.js → repository-xj7pfj7j.js} +21 -21
  275. package/dist/chunks/{vcs-zsd8tnyx.js → repository-xpx9qcwm.js} +14 -14
  276. package/dist/chunks/{vcs-ph7et01j.js → repository-y21mv437.js} +22 -22
  277. package/dist/chunks/{vcs-chc0g785.js → repository-y50d8q8d.js} +5 -5
  278. package/dist/chunks/{vcs-41w1qpn3.js → repository-y624qwvn.js} +9 -9
  279. package/dist/chunks/{vcs-yara3q77.js → repository-yara3q77.js} +2 -2
  280. package/dist/chunks/{vcs-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{vcs-9a3x2kz4.js → repository-yckfh1kh.js} +13 -13
  282. package/dist/chunks/{vcs-z9wg9fq4.js → repository-ycywz2xw.js} +14 -14
  283. package/dist/chunks/{vcs-ts41tt44.js → repository-ydpqsc0x.js} +18 -18
  284. package/dist/chunks/{vcs-ckvzbjwj.js → repository-ye2mws6y.js} +25 -25
  285. package/dist/chunks/{vcs-y2hjk6xz.js → repository-ym290evk.js} +12 -12
  286. package/dist/chunks/{vcs-m7xh3h0x.js → repository-yqveydy6.js} +4 -4
  287. package/dist/chunks/{vcs-834xe486.js → repository-ywm3m9q2.js} +9 -9
  288. package/dist/chunks/{vcs-z38nccrw.js → repository-z38nccrw.js} +1 -1
  289. package/dist/chunks/{vcs-4jvymcr5.js → repository-z6y50tdx.js} +9 -9
  290. package/dist/chunks/repository-z7bdqmx5.js +18 -0
  291. package/dist/chunks/{vcs-p2esgkzz.js → repository-za5evj2v.js} +3 -3
  292. package/dist/chunks/{vcs-9z9tayqc.js → repository-zgd8t41s.js} +9 -9
  293. package/dist/chunks/{vcs-w3ghn6yx.js → repository-zqeyh3pg.js} +4 -4
  294. package/dist/chunks/{vcs-ce5fknq2.js → repository-zw4pk1bw.js} +5 -5
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +7 -7
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +90 -89
  300. package/dist/config/discovery.js +91 -90
  301. package/dist/config/integration.js +3 -3
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +108 -107
  304. package/dist/config/plugin/agent.js +124 -123
  305. package/dist/config/plugin/command.js +222 -221
  306. package/dist/config/plugin/compaction.js +163 -162
  307. package/dist/config/plugin/compatibility.js +143 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +123 -122
  310. package/dist/config/plugin/image.js +122 -121
  311. package/dist/config/plugin/instruction.js +122 -121
  312. package/dist/config/plugin/location-watcher.js +122 -121
  313. package/dist/config/plugin/mcp.js +131 -130
  314. package/dist/config/plugin/policy.js +124 -123
  315. package/dist/config/plugin/provider.js +123 -122
  316. package/dist/config/plugin/reference.js +124 -123
  317. package/dist/config/plugin/shell.js +124 -123
  318. package/dist/config/plugin/skill-file.js +139 -138
  319. package/dist/config/plugin/skill-scan.js +3 -3
  320. package/dist/config/plugin/skill.js +146 -145
  321. package/dist/config/plugin/snapshot.js +122 -121
  322. package/dist/config/plugin/source.js +125 -124
  323. package/dist/config/plugin/tool-output.js +123 -122
  324. package/dist/config/plugin/websearch.js +123 -122
  325. package/dist/config/plugin/worktree.js +124 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +123 -122
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +90 -89
  332. package/dist/database/database.js +73 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  334. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +15 -15
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +16 -16
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration/20261026223005_schedule.js +6 -0
  404. package/dist/database/migration.gen.js +56 -55
  405. package/dist/database/migration.js +58 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +96 -95
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +378 -377
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +102 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +104 -103
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +81 -80
  429. package/dist/file-access.js +149 -148
  430. package/dist/file-mutation.js +103 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +87 -86
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +233 -232
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +108 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +9 -9
  443. package/dist/filesystem.js +113 -112
  444. package/dist/form.js +83 -82
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +96 -95
  447. package/dist/generate.js +116 -115
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +100 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +369 -368
  474. package/dist/instruction-discovery.js +91 -90
  475. package/dist/instructions/builtins.js +96 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +92 -91
  479. package/dist/job.js +85 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +80 -79
  482. package/dist/location-activity.js +167 -166
  483. package/dist/location-lifecycle.js +143 -142
  484. package/dist/location-service-map.js +95 -94
  485. package/dist/location-services.js +366 -365
  486. package/dist/location.js +94 -93
  487. package/dist/managed-policy.js +3 -3
  488. package/dist/mcp/client.js +100 -99
  489. package/dist/mcp/index.js +116 -115
  490. package/dist/mcp/instructions.js +169 -168
  491. package/dist/mcp/oauth.js +85 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +99 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +100 -99
  496. package/dist/model-resolver.js +108 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +107 -106
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +113 -112
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +85 -84
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +140 -139
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +95 -94
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +82 -81
  510. package/dist/plugin/agent.js +83 -82
  511. package/dist/plugin/command.js +111 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +228 -227
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +3 -3
  516. package/dist/plugin/internal.js +339 -338
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +106 -105
  519. package/dist/plugin/module.js +124 -123
  520. package/dist/plugin/optimize.js +4 -4
  521. package/dist/plugin/plan.js +139 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +99 -98
  524. package/dist/plugin/provider/azure.js +122 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +122 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
  529. package/dist/plugin/provider/configured.js +118 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +102 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/github-copilot.js +104 -103
  534. package/dist/plugin/provider/gitlab.js +102 -101
  535. package/dist/plugin/provider/google-vertex.js +119 -118
  536. package/dist/plugin/provider/kilo.js +1 -1
  537. package/dist/plugin/provider/llmgateway.js +85 -84
  538. package/dist/plugin/provider/lmstudio.js +129 -128
  539. package/dist/plugin/provider/local.js +128 -127
  540. package/dist/plugin/provider/modal.js +101 -100
  541. package/dist/plugin/provider/neon.js +1 -1
  542. package/dist/plugin/provider/nvidia.js +1 -1
  543. package/dist/plugin/provider/ollama.js +131 -130
  544. package/dist/plugin/provider/openai-context-caps.js +99 -98
  545. package/dist/plugin/provider/openai.js +124 -123
  546. package/dist/plugin/provider/opencode.js +125 -124
  547. package/dist/plugin/provider/openrouter.js +100 -99
  548. package/dist/plugin/provider/poe.js +86 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +100 -99
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +121 -120
  553. package/dist/plugin/provider/vllm.js +131 -130
  554. package/dist/plugin/provider/xai.js +100 -99
  555. package/dist/plugin/provider/zenmux.js +1 -1
  556. package/dist/plugin/provider.js +172 -171
  557. package/dist/plugin/sdk.js +79 -78
  558. package/dist/plugin/service.js +3 -3
  559. package/dist/plugin/skill.js +140 -139
  560. package/dist/plugin/source-directory.js +1 -1
  561. package/dist/plugin/supervisor.js +358 -357
  562. package/dist/plugin/tool-input-repair.js +4 -4
  563. package/dist/plugin/update.js +6 -6
  564. package/dist/plugin/vcs/git.js +95 -94
  565. package/dist/plugin/vcs/hg.js +95 -94
  566. package/dist/plugin/verbosity.js +102 -101
  567. package/dist/plugin/warming.js +120 -119
  568. package/dist/plugin/websearch/exa.js +7 -7
  569. package/dist/plugin/websearch/firecrawl.js +4 -4
  570. package/dist/plugin/websearch/index.js +9 -9
  571. package/dist/plugin/websearch/mcp.js +6 -6
  572. package/dist/plugin/websearch/parallel.js +8 -8
  573. package/dist/plugin/websearch/tavily.js +6 -6
  574. package/dist/plugin/websearch/tinyfish.js +8 -8
  575. package/dist/plugin.js +237 -236
  576. package/dist/project/icon.js +5 -5
  577. package/dist/project/schema.js +4 -4
  578. package/dist/project/sql.js +4 -4
  579. package/dist/project.js +93 -92
  580. package/dist/provider.js +106 -105
  581. package/dist/pty/protocol.js +1 -1
  582. package/dist/pty/ticket.js +1 -1
  583. package/dist/pty.js +105 -104
  584. package/dist/reference/instructions.js +93 -92
  585. package/dist/reference.js +99 -98
  586. package/dist/repository-cache.js +89 -88
  587. package/dist/repository.js +1 -1
  588. package/dist/ripgrep/binary.js +2 -2
  589. package/dist/ripgrep.js +104 -103
  590. package/dist/rpc.js +95 -94
  591. package/dist/schedule/sql.js +11 -0
  592. package/dist/schedule.js +556 -0
  593. package/dist/schema.js +1 -1
  594. package/dist/session/affinity.js +1 -1
  595. package/dist/session/blob.js +121 -120
  596. package/dist/session/command.js +81 -80
  597. package/dist/session/compaction.js +163 -162
  598. package/dist/session/context.js +189 -188
  599. package/dist/session/diff.js +97 -96
  600. package/dist/session/environment.js +5 -5
  601. package/dist/session/error.js +5 -5
  602. package/dist/session/event.js +1 -1
  603. package/dist/session/execution/restart.js +232 -231
  604. package/dist/session/execution.js +153 -152
  605. package/dist/session/generate.js +189 -188
  606. package/dist/session/history.js +128 -127
  607. package/dist/session/inbox.js +139 -138
  608. package/dist/session/info.js +3 -3
  609. package/dist/session/instruction-entry.js +86 -85
  610. package/dist/session/instruction-state.js +8 -8
  611. package/dist/session/instructions.js +133 -132
  612. package/dist/session/message-updater.js +2 -2
  613. package/dist/session/message.js +1 -1
  614. package/dist/session/model-request.js +156 -155
  615. package/dist/session/model-transport.js +9 -9
  616. package/dist/session/move.js +157 -156
  617. package/dist/session/projector.js +135 -134
  618. package/dist/session/prompt.js +141 -140
  619. package/dist/session/recent-text.js +1 -1
  620. package/dist/session/revert.js +131 -130
  621. package/dist/session/run-coordinator.js +3 -3
  622. package/dist/session/runner/index.js +3 -3
  623. package/dist/session/runner/llm.js +239 -238
  624. package/dist/session/runner/max-steps.js +1 -1
  625. package/dist/session/runner/model.js +109 -108
  626. package/dist/session/runner/publish-llm-event.js +142 -141
  627. package/dist/session/runner/retry.js +5 -5
  628. package/dist/session/runner/step.js +155 -154
  629. package/dist/session/runner/to-llm-message.js +129 -128
  630. package/dist/session/schema.js +5 -5
  631. package/dist/session/session.js +173 -172
  632. package/dist/session/shell.js +136 -135
  633. package/dist/session/skill.js +140 -139
  634. package/dist/session/sql.js +5 -5
  635. package/dist/session/stats.js +80 -79
  636. package/dist/session/store.js +134 -133
  637. package/dist/session/stored.js +2 -2
  638. package/dist/session/subagent-completion.js +1 -1
  639. package/dist/session/subagent-job.js +220 -219
  640. package/dist/session/system-prompt.js +3 -3
  641. package/dist/session/title.js +193 -192
  642. package/dist/session/to-session-error.js +141 -140
  643. package/dist/session/transfer.js +228 -227
  644. package/dist/session/usage.js +1 -1
  645. package/dist/session.js +224 -223
  646. package/dist/shell/parse.js +8 -8
  647. package/dist/shell/result.js +1 -1
  648. package/dist/shell/scan.js +1 -1
  649. package/dist/shell/select.js +9 -9
  650. package/dist/shell.js +138 -137
  651. package/dist/skill/discovery.js +6 -6
  652. package/dist/skill/instructions.js +144 -143
  653. package/dist/skill.js +149 -148
  654. package/dist/snapshot.js +100 -99
  655. package/dist/state.js +1 -1
  656. package/dist/tool/html-markdown.js +1 -1
  657. package/dist/tool/http-body.js +1 -1
  658. package/dist/tool/mcp.js +166 -165
  659. package/dist/tool/plugin/edit.js +157 -156
  660. package/dist/tool/plugin/file-diff.js +1 -1
  661. package/dist/tool/plugin/glob.js +161 -160
  662. package/dist/tool/plugin/grep.js +161 -160
  663. package/dist/tool/plugin/mcp-resource.js +155 -154
  664. package/dist/tool/plugin/opencode.js +154 -153
  665. package/dist/tool/plugin/patch.js +159 -158
  666. package/dist/tool/plugin/question.js +139 -138
  667. package/dist/tool/plugin/read.js +162 -161
  668. package/dist/tool/plugin/shell.js +225 -224
  669. package/dist/tool/plugin/skill.js +150 -149
  670. package/dist/tool/plugin/subagent.js +227 -226
  671. package/dist/tool/plugin/todo.js +146 -145
  672. package/dist/tool/plugin/webfetch.js +150 -149
  673. package/dist/tool/plugin/websearch.js +144 -143
  674. package/dist/tool/plugin/write.js +155 -154
  675. package/dist/tool/read-filesystem.js +109 -108
  676. package/dist/tool/runtime.js +1 -1
  677. package/dist/tool-output.js +7 -7
  678. package/dist/tool.js +16 -16
  679. package/dist/types/database/migration/20261026223005_schedule.d.ts +3 -0
  680. package/dist/types/schedule/sql.d.ts +298 -0
  681. package/dist/types/schedule.d.ts +129 -0
  682. package/dist/types/session/model-request.d.ts +1 -1
  683. package/dist/usage-limits.js +96 -95
  684. package/dist/util/error-summary.js +1 -1
  685. package/dist/util/git-executable.js +3 -3
  686. package/dist/util/lazy.js +1 -1
  687. package/dist/util/slug.js +1 -1
  688. package/dist/util/token.js +1 -1
  689. package/dist/util/which.js +1 -1
  690. package/dist/util/wildcard.js +1 -1
  691. package/dist/v1/config/agent.js +7 -7
  692. package/dist/v1/config/command.js +3 -3
  693. package/dist/v1/config/mcp.js +4 -4
  694. package/dist/v1/config/migrate.js +101 -100
  695. package/dist/v1/config/permission.js +3 -3
  696. package/dist/v1/config/plugin.js +1 -1
  697. package/dist/v1/config/provider-options.js +1 -1
  698. package/dist/v1/config/provider.js +4 -4
  699. package/dist/variant.js +100 -99
  700. package/dist/vcs/patch.js +1 -1
  701. package/dist/vcs.js +98 -97
  702. package/dist/voice.js +97 -96
  703. package/dist/websearch.js +91 -90
  704. package/dist/wellknown/plugin.js +83 -82
  705. package/dist/wellknown.js +86 -85
  706. package/dist/workspace/driver.js +5 -5
  707. package/dist/workspace/sql.js +1 -1
  708. package/dist/workspace.js +87 -86
  709. package/dist/worktree/directory.js +2 -2
  710. package/dist/worktree/git.js +11 -11
  711. package/dist/worktree/sql.js +5 -5
  712. package/dist/worktree/strategies.js +98 -97
  713. package/dist/worktree.js +105 -104
  714. package/package.json +8 -8
  715. package/dist/chunks/vcs-5272mb2r.js +0 -257
  716. package/dist/chunks/vcs-ev660z6k.js +0 -18
  717. /package/dist/chunks/{vcs-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  718. /package/dist/chunks/{vcs-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  719. /package/dist/chunks/{vcs-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  720. /package/dist/chunks/{vcs-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  721. /package/dist/chunks/{vcs-1jakw16s.js → repository-1jakw16s.js} +0 -0
  722. /package/dist/chunks/{vcs-24dcb14g.js → repository-24dcb14g.js} +0 -0
  723. /package/dist/chunks/{vcs-2710q6r3.js → repository-2710q6r3.js} +0 -0
  724. /package/dist/chunks/{vcs-2bv980vf.js → repository-2bv980vf.js} +0 -0
  725. /package/dist/chunks/{vcs-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  726. /package/dist/chunks/{vcs-359p4xyc.js → repository-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{vcs-3asan66x.js → repository-3asan66x.js} +0 -0
  728. /package/dist/chunks/{vcs-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{vcs-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{vcs-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{vcs-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{vcs-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  733. /package/dist/chunks/{vcs-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  734. /package/dist/chunks/{vcs-53557ph1.js → repository-53557ph1.js} +0 -0
  735. /package/dist/chunks/{vcs-550bvhaj.js → repository-550bvhaj.js} +0 -0
  736. /package/dist/chunks/{vcs-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
  737. /package/dist/chunks/{vcs-6prwharc.js → repository-6prwharc.js} +0 -0
  738. /package/dist/chunks/{vcs-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
  739. /package/dist/chunks/{vcs-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  740. /package/dist/chunks/{vcs-7m9af43g.js → repository-7m9af43g.js} +0 -0
  741. /package/dist/chunks/{vcs-822emrt2.js → repository-822emrt2.js} +0 -0
  742. /package/dist/chunks/{vcs-84wd9syh.js → repository-84wd9syh.js} +0 -0
  743. /package/dist/chunks/{vcs-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  744. /package/dist/chunks/{vcs-8n3pysct.js → repository-8n3pysct.js} +0 -0
  745. /package/dist/chunks/{vcs-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  746. /package/dist/chunks/{vcs-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  747. /package/dist/chunks/{vcs-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  748. /package/dist/chunks/{vcs-a058387c.js → repository-a058387c.js} +0 -0
  749. /package/dist/chunks/{vcs-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{vcs-af5trqkr.js → repository-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{vcs-afrmfg78.js → repository-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{vcs-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{vcs-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{vcs-beh6qq61.js → repository-beh6qq61.js} +0 -0
  755. /package/dist/chunks/{vcs-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  756. /package/dist/chunks/{vcs-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  757. /package/dist/chunks/{vcs-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  758. /package/dist/chunks/{vcs-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
  759. /package/dist/chunks/{vcs-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  760. /package/dist/chunks/{vcs-d9fn303g.js → repository-d9fn303g.js} +0 -0
  761. /package/dist/chunks/{vcs-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  762. /package/dist/chunks/{vcs-dajrwvna.js → repository-dajrwvna.js} +0 -0
  763. /package/dist/chunks/{vcs-dap0rakb.js → repository-dap0rakb.js} +0 -0
  764. /package/dist/chunks/{vcs-df08tz66.js → repository-df08tz66.js} +0 -0
  765. /package/dist/chunks/{vcs-dy18nga0.js → repository-dy18nga0.js} +0 -0
  766. /package/dist/chunks/{vcs-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  767. /package/dist/chunks/{vcs-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  768. /package/dist/chunks/{vcs-ec1grn59.js → repository-ec1grn59.js} +0 -0
  769. /package/dist/chunks/{vcs-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  770. /package/dist/chunks/{vcs-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  771. /package/dist/chunks/{vcs-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  772. /package/dist/chunks/{vcs-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  773. /package/dist/chunks/{vcs-faypxj3z.js → repository-faypxj3z.js} +0 -0
  774. /package/dist/chunks/{vcs-fd410y7t.js → repository-fd410y7t.js} +0 -0
  775. /package/dist/chunks/{vcs-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
  776. /package/dist/chunks/{vcs-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  777. /package/dist/chunks/{vcs-g86h250q.js → repository-g86h250q.js} +0 -0
  778. /package/dist/chunks/{vcs-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  779. /package/dist/chunks/{vcs-gftt206x.js → repository-gftt206x.js} +0 -0
  780. /package/dist/chunks/{vcs-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
  781. /package/dist/chunks/{vcs-hk9envan.js → repository-hk9envan.js} +0 -0
  782. /package/dist/chunks/{vcs-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  783. /package/dist/chunks/{vcs-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  784. /package/dist/chunks/{vcs-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  785. /package/dist/chunks/{vcs-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  786. /package/dist/chunks/{vcs-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  787. /package/dist/chunks/{vcs-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
  788. /package/dist/chunks/{vcs-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
  789. /package/dist/chunks/{vcs-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  790. /package/dist/chunks/{vcs-m18g726c.js → repository-m18g726c.js} +0 -0
  791. /package/dist/chunks/{vcs-mp448xyj.js → repository-mp448xyj.js} +0 -0
  792. /package/dist/chunks/{vcs-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  793. /package/dist/chunks/{vcs-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  794. /package/dist/chunks/{vcs-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  795. /package/dist/chunks/{vcs-ncqqe42p.js → repository-ncqqe42p.js} +0 -0
  796. /package/dist/chunks/{vcs-njntx4h6.js → repository-njntx4h6.js} +0 -0
  797. /package/dist/chunks/{vcs-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
  798. /package/dist/chunks/{vcs-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  799. /package/dist/chunks/{vcs-q74kybfr.js → repository-q74kybfr.js} +0 -0
  800. /package/dist/chunks/{vcs-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  801. /package/dist/chunks/{vcs-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  802. /package/dist/chunks/{vcs-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  803. /package/dist/chunks/{vcs-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  804. /package/dist/chunks/{vcs-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  805. /package/dist/chunks/{vcs-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  806. /package/dist/chunks/{vcs-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  807. /package/dist/chunks/{vcs-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  808. /package/dist/chunks/{vcs-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
  809. /package/dist/chunks/{vcs-w803qqfp.js → repository-w803qqfp.js} +0 -0
  810. /package/dist/chunks/{vcs-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  811. /package/dist/chunks/{vcs-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  812. /package/dist/chunks/{vcs-wtztk69x.js → repository-wtztk69x.js} +0 -0
  813. /package/dist/chunks/{vcs-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  814. /package/dist/chunks/{vcs-x61499pn.js → repository-x61499pn.js} +0 -0
  815. /package/dist/chunks/{vcs-y44na4kk.js → repository-y44na4kk.js} +0 -0
  816. /package/dist/chunks/{vcs-y8f7s663.js → repository-y8f7s663.js} +0 -0
  817. /package/dist/chunks/{vcs-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  818. /package/dist/chunks/{vcs-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  819. /package/dist/chunks/{vcs-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-b8zfksyw.js";
2
+ Service85,
3
+ node89
4
+ } from "./repository-vz9e3ctc.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./vcs-204s3925.js";
8
+ } from "./repository-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./vcs-9rqn6x4v.js";
11
+ } from "./repository-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event11,
17
+ Event: () => Event6,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info12,
20
- NotFoundError: () => NotFoundError7,
21
- Service: () => Service59,
22
- layer: () => layer23,
23
- node: () => node62
19
+ Info: () => Info8,
20
+ NotFoundError: () => NotFoundError4,
21
+ Service: () => Service38,
22
+ layer: () => layer16,
23
+ node: () => node41
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event11 } from "@opencode/schema/command";
29
- var Info12 = Command.Info;
28
+ import { Event as Event6 } from "@opencode/schema/command";
29
+ var Info8 = Command.Info;
30
30
 
31
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service59 extends Context.Service()("@opencode/Command") {
43
+ class Service38 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer23 = Layer.effect(Service59, Effect.gen(function* () {
46
- const bus = yield* Service83;
47
- const info = (definition) => Info12.make({
45
+ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
46
+ const bus = yield* Service85;
47
+ const info = (definition) => Info8.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer23 = Layer.effect(Service59, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service59.of({
59
+ return Service38.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,15 +67,15 @@ var layer23 = Layer.effect(Service59, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node62 = makeLocationNode({
76
- service: Service59,
77
- layer: layer23,
78
- deps: [node87]
75
+ var node41 = makeLocationNode({
76
+ service: Service38,
77
+ layer: layer16,
78
+ deps: [node89]
79
79
  });
80
80
  function errorMessage(error) {
81
81
  if (error instanceof Error)
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info12, NotFoundError7, ExecutionError2, Service59, layer23, node62, exports_command4, Event11 };
90
+ export { Info8, NotFoundError4, ExecutionError2, Service38, layer16, node41, exports_command4, Event6 };
@@ -1,74 +1,74 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./vcs-h7hv4bsx.js";
4
+ } from "./repository-5107fk2n.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service83,
8
- node87
9
- } from "./vcs-b8zfksyw.js";
7
+ Service85,
8
+ node89
9
+ } from "./repository-vz9e3ctc.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./vcs-ec1grn59.js";
12
+ } from "./repository-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./vcs-gftt206x.js";
15
+ } from "./repository-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./vcs-b6vsg801.js";
18
+ } from "./repository-b6vsg801.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./vcs-z5v4ffb3.js";
22
+ } from "./repository-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./vcs-034tev2y.js";
25
+ } from "./repository-034tev2y.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./vcs-gg8p9cgs.js";
30
+ } from "./repository-gg8p9cgs.js";
31
31
  import {
32
32
  User3
33
- } from "./vcs-fg9p65nk.js";
33
+ } from "./repository-fg9p65nk.js";
34
34
  import {
35
35
  externalize2,
36
36
  recordRefs2,
37
37
  syncRefs2,
38
38
  releaseFrom2,
39
39
  releaseSession2
40
- } from "./vcs-9s8mp9xy.js";
40
+ } from "./repository-nkwqs6wb.js";
41
41
  import {
42
42
  apply2,
43
43
  initialize3,
44
44
  advanceEpoch2,
45
45
  rewind2
46
- } from "./vcs-5x26af84.js";
46
+ } from "./repository-nf3nsvxh.js";
47
47
  import {
48
48
  decodeMessageRowSync2
49
- } from "./vcs-4jvymcr5.js";
49
+ } from "./repository-z6y50tdx.js";
50
50
  import {
51
51
  projectAdmitted2,
52
52
  projectDelivered2,
53
53
  projectCancelled2,
54
54
  projectDeliveryChanged2
55
- } from "./vcs-qjq7p7j6.js";
55
+ } from "./repository-a7jkxg7e.js";
56
56
  import {
57
57
  initialize2
58
- } from "./vcs-eke9g6w2.js";
58
+ } from "./repository-m0hczx0h.js";
59
59
  import {
60
60
  Slug2
61
- } from "./vcs-gebd4c9n.js";
61
+ } from "./repository-gebd4c9n.js";
62
62
  import {
63
63
  __export
64
- } from "./vcs-9rqn6x4v.js";
64
+ } from "./repository-9rqn6x4v.js";
65
65
 
66
66
  // src/session/projector.ts
67
67
  var exports_projector = {};
68
68
  __export(exports_projector, {
69
69
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
70
70
  SessionProjector: () => exports_projector,
71
- node: () => node33
71
+ node: () => node29
72
72
  });
73
73
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
74
74
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -312,7 +312,7 @@ function projectIdle(db, event) {
312
312
  });
313
313
  }
314
314
  var layer = Layer.effectDiscard(Effect.gen(function* () {
315
- const bus = yield* Service83;
315
+ const bus = yield* Service85;
316
316
  const db = (yield* Service86).db;
317
317
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
318
318
  const stored = yield* db.insert(SessionTable2).values({
@@ -508,6 +508,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
508
508
  return publishSessionUsage(db, bus, event.data.sessionID);
509
509
  }), Effect.forkScoped({ startImmediately: true }));
510
510
  }));
511
- var node33 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node90] });
511
+ var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
512
512
 
513
- export { SessionAlreadyProjected2, node33, exports_projector };
513
+ export { SessionAlreadyProjected2, node29, exports_projector };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./vcs-qaymkmh1.js";
3
+ } from "./repository-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import { createHash } from "node:crypto";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./vcs-tczq8hjw.js";
3
+ } from "./repository-tczq8hjw.js";
4
4
  import {
5
5
  create3
6
- } from "./vcs-204s3925.js";
6
+ } from "./repository-204s3925.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service72,
18
+ Service: () => Service54,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node76
21
+ node: () => node57
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service72 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service54 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service72.of({
124
+ return Service54.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node76 = makeLocationNode({
143
- service: Service72,
142
+ var node57 = makeLocationNode({
143
+ service: Service54,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service72, node76, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service54, node57, exports_tool_output2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79
3
- } from "./vcs-z9wg9fq4.js";
2
+ Service80
3
+ } from "./repository-ycywz2xw.js";
4
4
  import {
5
- Service63
6
- } from "./vcs-mvmschgv.js";
5
+ Service68
6
+ } from "./repository-6pzctp9a.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service20
14
- } from "./vcs-gb3x7pd4.js";
13
+ Service61
14
+ } from "./repository-ck8hq31j.js";
15
15
  import {
16
16
  __export
17
- } from "./vcs-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
22
  Input: () => Input10,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin45,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description4,
24
+ Plugin: () => Plugin11,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description5,
27
27
  name: () => name10
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai/effect";
@@ -36,26 +36,26 @@ var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
42
  var Input10 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID5,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin45 = {
49
+ var Plugin11 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service63;
53
- const forms = yield* Service79;
54
- const websearch = yield* Service20;
52
+ const permission = yield* Service68;
53
+ const forms = yield* Service80;
54
+ const websearch = yield* Service61;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
56
  name: name10,
57
57
  options: { codemode: false },
58
- description: description4,
58
+ description: description5,
59
59
  input: Input10,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description4, Input10, Plugin45, exports_websearch2 };
187
+ export { name10, NO_RESULTS2, description5, Input10, Plugin11, exports_websearch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Document2
3
- } from "./vcs-k9zkdd2y.js";
3
+ } from "./repository-r94gekwm.js";
4
4
  import {
5
5
  match2
6
- } from "./vcs-z38nccrw.js";
6
+ } from "./repository-z38nccrw.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/managed-policy.ts
12
12
  var exports_managed_policy = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  name16,
3
3
  ps2
4
- } from "./vcs-hxe8n5wd.js";
4
+ } from "./repository-3njy631w.js";
5
5
  import {
6
6
  lazy2
7
- } from "./vcs-88xbtdfr.js";
7
+ } from "./repository-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./vcs-z38nccrw.js";
10
+ } from "./repository-z38nccrw.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./repository-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
17
17
  __export(exports_parse, {
18
18
  ShellParse: () => exports_parse,
19
- scan: () => scan3,
19
+ scan: () => scan2,
20
20
  scanPortable: () => scanPortable2
21
21
  });
22
22
  import { Effect } from "effect";
@@ -166,7 +166,7 @@ var ARITY = {
166
166
  "yarn run": 3
167
167
  };
168
168
  var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
169
- var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
169
+ var scan2 = Effect.fnUntraced(function* (command, shell, cwd, options) {
170
170
  if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
171
171
  return yield* scanPortable2(command, shell, cwd);
172
172
  return yield* scanLegacy(command, shell, cwd);
@@ -353,4 +353,4 @@ async function initialize() {
353
353
  return { bash, ps };
354
354
  }
355
355
 
356
- export { scan3, scanPortable2, exports_parse };
356
+ export { scan2, scanPortable2, exports_parse };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node54
5
- } from "./vcs-dcphv4q7.js";
4
+ node49
5
+ } from "./repository-1mde9y8f.js";
6
6
  import {
7
- Service66,
8
- node70
9
- } from "./vcs-vbhy04yp.js";
7
+ Service74,
8
+ node78
9
+ } from "./repository-n7wnam13.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./vcs-mvmschgv.js";
12
+ } from "./repository-6pzctp9a.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./vcs-jxt3q3kf.js";
15
+ } from "./repository-g4wje5yf.js";
16
16
  import {
17
- Error2
18
- } from "./vcs-jnxh9bnf.js";
17
+ Error3
18
+ } from "./repository-dz5kpwyf.js";
19
19
  import {
20
20
  get5
21
- } from "./vcs-3nnrz6f6.js";
21
+ } from "./repository-3nnrz6f6.js";
22
22
  import {
23
- Service39,
24
- node43
25
- } from "./vcs-sbanjb5j.js";
23
+ Service35,
24
+ node38
25
+ } from "./repository-ehfhc1vp.js";
26
26
  import {
27
- make16
28
- } from "./vcs-hfgk9wzg.js";
27
+ make15
28
+ } from "./repository-m37sd98t.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./vcs-96tdjhwb.js";
31
+ } from "./repository-jgcte78g.js";
32
32
  import {
33
33
  __export
34
- } from "./vcs-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service38,
39
+ Service: () => Service34,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer17,
44
- node: () => node42,
43
+ layer: () => layer13,
44
+ node: () => node37,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -64,12 +64,13 @@ var GENERATION_KEYS = new Set(Object.keys(GenerationOptions.fields));
64
64
  var OUTPUT_TOKEN_FALLBACK = 32000;
65
65
  var OUTPUT_TOKEN_MAX = 256000;
66
66
  var ESTIMATE_ERROR = 0.15;
67
+ var WINDOW_HEADROOM = 0.01;
67
68
  var OUTPUT_TOKEN_MIN = 1024;
68
- var outputLimit2 = (limit, inputTokens) => {
69
+ var outputLimit2 = (limit, inputTokens, headroom = 0) => {
69
70
  const requested = Math.min(limit.output > 0 ? limit.output : OUTPUT_TOKEN_FALLBACK, OUTPUT_TOKEN_MAX);
70
71
  if (inputTokens === undefined || limit.context <= 0)
71
72
  return requested;
72
- const room = limit.context - inputTokens.measured - Math.ceil(inputTokens.estimated * (1 + ESTIMATE_ERROR));
73
+ const room = Math.floor(limit.context * (1 - headroom)) - inputTokens.measured - Math.ceil(inputTokens.estimated * (1 + ESTIMATE_ERROR));
73
74
  return Math.min(requested, Math.max(OUTPUT_TOKEN_MIN, room));
74
75
  };
75
76
  var baseTranscript2 = (input) => {
@@ -77,7 +78,7 @@ var baseTranscript2 = (input) => {
77
78
  return {
78
79
  providerMetadataKey,
79
80
  system: [
80
- input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
81
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
81
82
  input.initial
82
83
  ].filter((part) => part.length > 0).map(SystemPart.make),
83
84
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -158,11 +159,11 @@ var boundImages2 = (messages) => {
158
159
  });
159
160
  };
160
161
 
161
- class Service38 extends Context.Service()("@opencode/SessionModelRequest") {
162
+ class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
162
163
  }
163
- var layer17 = Layer.effect(Service38, Effect.gen(function* () {
164
- const hooks = yield* Service66;
165
- const transport = yield* Service39;
164
+ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
165
+ const hooks = yield* Service74;
166
+ const transport = yield* Service35;
166
167
  const app = yield* Metadata2;
167
168
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
168
169
  const session = input.session;
@@ -170,7 +171,7 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
170
171
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
171
172
  const tools = input.tools ?? {
172
173
  definitions: [],
173
- execute: () => new Error2({ message: "Tools are not available for this request" })
174
+ execute: () => new Error3({ message: "Tools are not available for this request" })
174
175
  };
175
176
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
176
177
  const shaped = yield* shape({
@@ -178,7 +179,7 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
178
179
  model: model.ref,
179
180
  system: input.system,
180
181
  messages: input.messages,
181
- options: kind === "primary" || kind === "compaction" ? { maxTokens: outputLimit2(model.limit, input.inputTokens) } : {}
182
+ options: kind === "primary" ? { maxTokens: outputLimit2(model.limit, input.inputTokens, WINDOW_HEADROOM) } : kind === "compaction" ? { maxTokens: outputLimit2(model.limit, input.inputTokens) } : {}
182
183
  }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
183
184
  const byName = new Map(tools.definitions.map((t) => [t.name, t]));
184
185
  const hooked = new Map(Object.entries(shaped.tools ?? {}).flatMap(([name, d]) => {
@@ -261,17 +262,17 @@ var layer17 = Layer.effect(Service38, Effect.gen(function* () {
261
262
  };
262
263
  });
263
264
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
264
- return Service38.of({
265
+ return Service34.of({
265
266
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
266
267
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
267
268
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
268
269
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
269
270
  });
270
271
  }));
271
- var node42 = makeLocationNode({
272
- service: Service38,
273
- layer: layer17,
274
- deps: [node70, node43, node54]
272
+ var node37 = makeLocationNode({
273
+ service: Service34,
274
+ layer: layer13,
275
+ deps: [node78, node38, node49]
275
276
  });
276
277
 
277
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service38, layer17, node42, exports_model_request };
278
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service34, layer13, node37, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission2 = {};
@@ -8,7 +8,7 @@ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info18,
11
+ Info: () => Info19,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule3
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info18 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
24
+ var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule3, Info18, exports_permission2 };
31
+ export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };