@opencode/core 0.0.0-dev-21233 → 0.0.0-dev-21244

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{skill-711r5px4.js → formatter-0cbn14fb.js} +30 -25
  8. package/dist/chunks/{skill-eaj1djv9.js → formatter-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{skill-hcry4rxa.js → formatter-0tcnq6v6.js} +11 -11
  10. package/dist/chunks/{skill-cbghv35z.js → formatter-0v1kw2g7.js} +14 -14
  11. package/dist/chunks/{skill-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{skill-hh8xd2g7.js → formatter-0w0hsyng.js} +2 -2
  13. package/dist/chunks/{skill-pcf1k9th.js → formatter-0y9f2m8n.js} +6 -6
  14. package/dist/chunks/{skill-q6ec7ghb.js → formatter-0zcqa60s.js} +4 -4
  15. package/dist/chunks/{skill-gb51gx5j.js → formatter-147shrta.js} +1 -1
  16. package/dist/chunks/{skill-5n5c97r3.js → formatter-14tvmdth.js} +7 -7
  17. package/dist/chunks/{skill-jq9wm7kj.js → formatter-1b9h5v8t.js} +2 -2
  18. package/dist/chunks/{skill-g46rkewk.js → formatter-1y9yjfpn.js} +17 -17
  19. package/dist/chunks/{skill-kbzdcc1z.js → formatter-1z0c123x.js} +30 -30
  20. package/dist/chunks/{skill-x4s1hxy4.js → formatter-1z4aes97.js} +19 -19
  21. package/dist/chunks/{skill-5s0bhjqk.js → formatter-21cye1se.js} +15 -15
  22. package/dist/chunks/{skill-1a8spp1r.js → formatter-2fb2gztx.js} +16 -16
  23. package/dist/chunks/{skill-w57ms8mt.js → formatter-2qgrx7zj.js} +15 -15
  24. package/dist/chunks/{skill-ptxp58at.js → formatter-2thwhjsv.js} +10 -10
  25. package/dist/chunks/{skill-0mshdkct.js → formatter-2xr74ag8.js} +30 -30
  26. package/dist/chunks/{skill-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  27. package/dist/chunks/{skill-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  28. package/dist/chunks/{skill-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
  29. package/dist/chunks/{skill-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  30. package/dist/chunks/{skill-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  31. package/dist/chunks/{skill-ybq6hy8a.js → formatter-3vtk7r3y.js} +18 -18
  32. package/dist/chunks/{skill-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
  33. package/dist/chunks/{skill-24s8e1ye.js → formatter-42rf9s8q.js} +19 -19
  34. package/dist/chunks/{skill-44ak30pa.js → formatter-44ak30pa.js} +1 -1
  35. package/dist/chunks/{skill-2k71kv7p.js → formatter-4537tsak.js} +4 -4
  36. package/dist/chunks/{skill-zn9jy13z.js → formatter-4adehn3m.js} +6 -6
  37. package/dist/chunks/{skill-m8tc3etm.js → formatter-4ty81hg4.js} +45 -45
  38. package/dist/chunks/{skill-4j4tgtq5.js → formatter-4z58m4b4.js} +4 -4
  39. package/dist/chunks/{skill-54ma36ye.js → formatter-54ma36ye.js} +1 -1
  40. package/dist/chunks/{skill-qqeeq2t9.js → formatter-57b9ws8p.js} +4 -4
  41. package/dist/chunks/{skill-00awx1tb.js → formatter-5bkyxj6g.js} +85 -85
  42. package/dist/chunks/{skill-mtpeagzc.js → formatter-5epte933.js} +3 -3
  43. package/dist/chunks/{skill-bykqqmg1.js → formatter-5gwznhg8.js} +21 -21
  44. package/dist/chunks/{skill-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{skill-hp8bf08d.js → formatter-5mr4v717.js} +8 -8
  46. package/dist/chunks/{skill-rmwddm56.js → formatter-5tx2tm3v.js} +22 -22
  47. package/dist/chunks/{skill-51fhzrhh.js → formatter-5xac84sq.js} +26 -26
  48. package/dist/chunks/{skill-tx9w5tca.js → formatter-5y480sgp.js} +8 -8
  49. package/dist/chunks/{skill-0w5ft33m.js → formatter-5z12t68t.js} +13 -13
  50. package/dist/chunks/{skill-dv4gwh01.js → formatter-63qcved5.js} +43 -43
  51. package/dist/chunks/{skill-tmjmhw6b.js → formatter-64ksbt32.js} +9 -9
  52. package/dist/chunks/{skill-6827pfxn.js → formatter-6827pfxn.js} +1 -1
  53. package/dist/chunks/{skill-ysr3h47w.js → formatter-682gxy8b.js} +58 -58
  54. package/dist/chunks/{skill-db95amxg.js → formatter-6bfs7xd7.js} +20 -20
  55. package/dist/chunks/{skill-2ge34d2j.js → formatter-6kt042be.js} +11 -11
  56. package/dist/chunks/{skill-rmpja4kz.js → formatter-6ras8vtd.js} +20 -20
  57. package/dist/chunks/{skill-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
  58. package/dist/chunks/{skill-dssbfrwz.js → formatter-6yz0wx8n.js} +5 -5
  59. package/dist/chunks/{skill-775gj3j1.js → formatter-775gj3j1.js} +2 -2
  60. package/dist/chunks/{skill-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{skill-97aeaand.js → formatter-7cx595n2.js} +9 -9
  62. package/dist/chunks/{skill-0jwsre1p.js → formatter-7dqw4kz8.js} +5 -5
  63. package/dist/chunks/{skill-ddzfx2sp.js → formatter-7jy01c2j.js} +4 -4
  64. package/dist/chunks/{skill-e4qjwypm.js → formatter-7m4642cz.js} +7 -7
  65. package/dist/chunks/{skill-eyvd4r56.js → formatter-7mg7dxek.js} +17 -17
  66. package/dist/chunks/{skill-smjam21t.js → formatter-83wzpacr.js} +17 -17
  67. package/dist/chunks/{skill-84txncab.js → formatter-84txncab.js} +1 -1
  68. package/dist/chunks/{skill-aj2p83by.js → formatter-86y4chpd.js} +16 -16
  69. package/dist/chunks/{skill-89znhe33.js → formatter-89znhe33.js} +1 -1
  70. package/dist/chunks/{skill-ma7sk27v.js → formatter-8cr7kka4.js} +25 -25
  71. package/dist/chunks/{skill-0a54jmae.js → formatter-8ddypp76.js} +9 -9
  72. package/dist/chunks/{skill-bdjmc03q.js → formatter-8f9p3crs.js} +17 -17
  73. package/dist/chunks/{skill-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{skill-yc97vnhp.js → formatter-8n5tnz3w.js} +310 -310
  75. package/dist/chunks/{skill-m28477hs.js → formatter-8p41qfym.js} +17 -17
  76. package/dist/chunks/{skill-2fkbhf5s.js → formatter-93cy2f7w.js} +37 -29
  77. package/dist/chunks/{skill-721538d5.js → formatter-95c9qt52.js} +11 -11
  78. package/dist/chunks/{skill-sh4t0w1q.js → formatter-98gbvst6.js} +3 -3
  79. package/dist/chunks/{skill-jkh8wmvq.js → formatter-9b22j2js.js} +11 -11
  80. package/dist/chunks/{skill-zn5qbatk.js → formatter-9k0q07qp.js} +27 -27
  81. package/dist/chunks/{skill-5a1a4xxz.js → formatter-9pvd7fay.js} +28 -28
  82. package/dist/chunks/{skill-k76krqzs.js → formatter-a2ew8a62.js} +4 -4
  83. package/dist/chunks/{skill-d2kvkr0c.js → formatter-a5399v6v.js} +13 -13
  84. package/dist/chunks/{skill-d7q7g158.js → formatter-a7mmyf9t.js} +7 -7
  85. package/dist/chunks/{skill-0tb1pehm.js → formatter-a8k9xfsm.js} +17 -17
  86. package/dist/chunks/{skill-sv1af74h.js → formatter-ahej7gkg.js} +22 -22
  87. package/dist/chunks/{skill-p2w0np6h.js → formatter-aky1dekn.js} +11 -11
  88. package/dist/chunks/{skill-1e0fage9.js → formatter-ans500eg.js} +1 -1
  89. package/dist/chunks/{skill-v2bjyqkg.js → formatter-appvh9ax.js} +9 -9
  90. package/dist/chunks/{skill-hxbam2w6.js → formatter-b30s6mje.js} +11 -11
  91. package/dist/chunks/{skill-afdssyjb.js → formatter-baaqp4zd.js} +4 -4
  92. package/dist/chunks/{skill-n61013np.js → formatter-bbkhz5x0.js} +11 -11
  93. package/dist/chunks/{skill-tk14ecdn.js → formatter-be0x380s.js} +37 -37
  94. package/dist/chunks/{skill-bjx1sjef.js → formatter-bjx1sjef.js} +2 -2
  95. package/dist/chunks/{skill-ybzr8t0c.js → formatter-bry1x5ad.js} +15 -15
  96. package/dist/chunks/{skill-1ep4rre3.js → formatter-bzeyqsqd.js} +4 -4
  97. package/dist/chunks/{skill-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
  98. package/dist/chunks/{skill-7y6g135c.js → formatter-c2jwe8x1.js} +21 -21
  99. package/dist/chunks/{skill-j6ktnsbj.js → formatter-c5ggqzvz.js} +5 -5
  100. package/dist/chunks/{skill-a61mcpgr.js → formatter-c907h1r8.js} +25 -25
  101. package/dist/chunks/{skill-pea6wjc4.js → formatter-c916s19f.js} +86 -86
  102. package/dist/chunks/{skill-afm93r8m.js → formatter-cdnjftw5.js} +5 -5
  103. package/dist/chunks/{skill-k1ep3vpw.js → formatter-cebn8wab.js} +8 -8
  104. package/dist/chunks/{skill-axbdcqfv.js → formatter-cpgtpatm.js} +11 -11
  105. package/dist/chunks/{skill-d1a28jh7.js → formatter-d1a28jh7.js} +2 -2
  106. package/dist/chunks/{skill-t3mrtpce.js → formatter-d20vf659.js} +13 -13
  107. package/dist/chunks/{skill-1yf4km17.js → formatter-d3xt2zh4.js} +5 -5
  108. package/dist/chunks/{skill-ryvyvv32.js → formatter-d4vyzb3t.js} +31 -31
  109. package/dist/chunks/{skill-m7c2pgrj.js → formatter-d66rdyfa.js} +45 -45
  110. package/dist/chunks/{skill-vbhp0dye.js → formatter-d8c6spkq.js} +45 -45
  111. package/dist/chunks/{skill-z9dnddtr.js → formatter-d9yrqh4n.js} +52 -44
  112. package/dist/chunks/{skill-ch6w3xdz.js → formatter-dqkkx36v.js} +4 -4
  113. package/dist/chunks/{skill-5qd3pb7m.js → formatter-e3qxr5gk.js} +2 -2
  114. package/dist/chunks/{skill-e80seqcp.js → formatter-e80seqcp.js} +1 -1
  115. package/dist/chunks/{skill-g0zzgjed.js → formatter-ea05sntr.js} +10 -10
  116. package/dist/chunks/{skill-407q6sa9.js → formatter-eakdd8w5.js} +39 -39
  117. package/dist/chunks/{skill-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
  118. package/dist/chunks/{skill-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{skill-167gessz.js → formatter-ejgr9gnj.js} +15 -15
  120. package/dist/chunks/{skill-c1s4czd4.js → formatter-ex98dt4j.js} +20 -20
  121. package/dist/chunks/{skill-k7v4hzhw.js → formatter-f3wsxmbf.js} +14 -14
  122. package/dist/chunks/{skill-ytw5y04d.js → formatter-f534ymt6.js} +11 -11
  123. package/dist/chunks/{skill-942ape3s.js → formatter-f60jq6s2.js} +16 -16
  124. package/dist/chunks/{skill-dr27kx24.js → formatter-f63t7jgq.js} +23 -23
  125. package/dist/chunks/{skill-tswswthy.js → formatter-fc29xzdc.js} +50 -50
  126. package/dist/chunks/{skill-fcy631f0.js → formatter-fcy631f0.js} +1 -1
  127. package/dist/chunks/{skill-fdms3n6w.js → formatter-fdms3n6w.js} +2 -2
  128. package/dist/chunks/{skill-1dcff6nc.js → formatter-fgy909bt.js} +5 -5
  129. package/dist/chunks/{skill-ft3hqk2c.js → formatter-ft3hqk2c.js} +2 -2
  130. package/dist/chunks/{skill-dzewxd6e.js → formatter-ftwm2p4f.js} +50 -50
  131. package/dist/chunks/{skill-6x6512f8.js → formatter-g8nc3xyp.js} +11 -11
  132. package/dist/chunks/{skill-xt4njr3s.js → formatter-gd0tnyjc.js} +1 -1
  133. package/dist/chunks/{skill-73wdtct1.js → formatter-gd1hgps2.js} +4 -4
  134. package/dist/chunks/{skill-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{skill-8hpz99e3.js → formatter-gex9dnn3.js} +17 -17
  136. package/dist/chunks/{skill-wzwtd4q2.js → formatter-gr37njw6.js} +11 -11
  137. package/dist/chunks/formatter-gt2yvw7a.js +26 -0
  138. package/dist/chunks/{skill-9cw92fkg.js → formatter-gyrxp0ts.js} +41 -41
  139. package/dist/chunks/{skill-hpagwa2c.js → formatter-h289jyzk.js} +6 -6
  140. package/dist/chunks/{skill-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{skill-1vnwec3s.js → formatter-h83rqqxa.js} +17 -17
  142. package/dist/chunks/{skill-fn9t717r.js → formatter-hbb7npd7.js} +3 -3
  143. package/dist/chunks/{skill-n8g9f5aw.js → formatter-hbv5rvvj.js} +8 -8
  144. package/dist/chunks/{skill-ht9z38af.js → formatter-heqwx97d.js} +7 -7
  145. package/dist/chunks/{skill-9hg616bm.js → formatter-hfbyhya8.js} +10 -10
  146. package/dist/chunks/{skill-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
  147. package/dist/chunks/{skill-1j2x33v7.js → formatter-hmzjb8dj.js} +18 -18
  148. package/dist/chunks/{skill-fxaymqdw.js → formatter-hq3c8me3.js} +4 -4
  149. package/dist/chunks/formatter-ht5y0zrb.js +18 -0
  150. package/dist/chunks/{skill-j09zfasm.js → formatter-j09zfasm.js} +3 -3
  151. package/dist/chunks/{skill-8ryk0bb9.js → formatter-j34dxvpb.js} +5 -5
  152. package/dist/chunks/{skill-d48v5xqa.js → formatter-jav1j83y.js} +9 -9
  153. package/dist/chunks/{skill-4rqs6yce.js → formatter-jekssrtq.js} +8 -8
  154. package/dist/chunks/{skill-hjkky8wz.js → formatter-jg6jwpe0.js} +4 -4
  155. package/dist/chunks/{skill-p6zwjtwx.js → formatter-jm77avtd.js} +3 -3
  156. package/dist/chunks/{skill-x96ngv9r.js → formatter-jxqhfc7z.js} +10 -10
  157. package/dist/chunks/{skill-ps2yhsm3.js → formatter-k1b4tbj2.js} +26 -26
  158. package/dist/chunks/{skill-j58npq09.js → formatter-k6eyzvgr.js} +13 -13
  159. package/dist/chunks/{skill-9skj9fwe.js → formatter-kcdx8ksy.js} +32 -32
  160. package/dist/chunks/{skill-4e4ttbd6.js → formatter-kk4m4jz5.js} +6 -6
  161. package/dist/chunks/{skill-vwwhsbvp.js → formatter-kmn2wpkp.js} +3 -3
  162. package/dist/chunks/{skill-wdjfy1sg.js → formatter-kp329rnm.js} +4 -4
  163. package/dist/chunks/{skill-ztkm05qe.js → formatter-kqezzyfk.js} +20 -20
  164. package/dist/chunks/{skill-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
  165. package/dist/chunks/{skill-mtvcx4kk.js → formatter-kxk813jh.js} +22 -22
  166. package/dist/chunks/{skill-nm2sbdyw.js → formatter-m3w3e65b.js} +6 -6
  167. package/dist/chunks/{skill-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  168. package/dist/chunks/{skill-maspj1v3.js → formatter-maspj1v3.js} +1 -1
  169. package/dist/chunks/{skill-cwjaek22.js → formatter-me3jp302.js} +14 -14
  170. package/dist/chunks/{skill-95gd5fnz.js → formatter-mmfyj663.js} +6 -6
  171. package/dist/chunks/{skill-j5xh64qr.js → formatter-mphgtbj1.js} +9 -9
  172. package/dist/chunks/{skill-dgmheq7x.js → formatter-my89cahe.js} +24 -24
  173. package/dist/chunks/{skill-5cazt80r.js → formatter-mzfw0pb0.js} +33 -33
  174. package/dist/chunks/{skill-dbwk15v0.js → formatter-n6j8zy7f.js} +28 -28
  175. package/dist/chunks/{skill-f3rjyvb9.js → formatter-ndc46fve.js} +29 -29
  176. package/dist/chunks/{skill-mfgpt03n.js → formatter-nev18w5c.js} +5 -5
  177. package/dist/chunks/{skill-xa8dcf8m.js → formatter-nvcb2me1.js} +11 -11
  178. package/dist/chunks/{skill-hszepbzs.js → formatter-nxwm516h.js} +11 -11
  179. package/dist/chunks/{skill-0w1q6v6s.js → formatter-p07cp82q.js} +11 -11
  180. package/dist/chunks/{skill-3j1wy11z.js → formatter-p18ep857.js} +26 -26
  181. package/dist/chunks/{skill-hcms3ej7.js → formatter-p30hmy3j.js} +21 -21
  182. package/dist/chunks/{skill-p37cw4rj.js → formatter-p37cw4rj.js} +1 -1
  183. package/dist/chunks/{skill-9xnh36ct.js → formatter-p3z1s7cv.js} +26 -26
  184. package/dist/chunks/{skill-ek42zh69.js → formatter-pg2r46xe.js} +24 -24
  185. package/dist/chunks/{skill-nd4tfyg0.js → formatter-phz50fbd.js} +9 -9
  186. package/dist/chunks/{skill-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{skill-pknna89w.js → formatter-pknna89w.js} +1 -1
  188. package/dist/chunks/{skill-tdepd04k.js → formatter-pt0v59x6.js} +12 -12
  189. package/dist/chunks/{skill-2hn0k533.js → formatter-pxtr2dvv.js} +3 -3
  190. package/dist/chunks/{skill-swdxt3e8.js → formatter-py38g5de.js} +8 -8
  191. package/dist/chunks/{skill-z42dm00v.js → formatter-pzjmh3bc.js} +13 -13
  192. package/dist/chunks/{skill-1wy3a1da.js → formatter-q1xe5xm5.js} +8 -8
  193. package/dist/chunks/{skill-hv0kjr3z.js → formatter-q1yb1hsa.js} +20 -20
  194. package/dist/chunks/{skill-bzjf68bt.js → formatter-q34x7v2p.js} +33 -33
  195. package/dist/chunks/{skill-ma5jzer8.js → formatter-q8ksm80s.js} +36 -36
  196. package/dist/chunks/{skill-0qer0j0n.js → formatter-q9s9zqn4.js} +10 -10
  197. package/dist/chunks/{skill-24ythb25.js → formatter-qacrhxhp.js} +3 -3
  198. package/dist/chunks/{skill-pc6svy01.js → formatter-qapzhrk9.js} +3 -3
  199. package/dist/chunks/{skill-n3wcrd3g.js → formatter-qdrw3gfp.js} +7 -7
  200. package/dist/chunks/{skill-cddgxm6q.js → formatter-qgc12pw2.js} +28 -28
  201. package/dist/chunks/{skill-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{skill-9hwaqfsw.js → formatter-qne3fa44.js} +5 -5
  203. package/dist/chunks/{skill-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  204. package/dist/chunks/{skill-vscs4key.js → formatter-qtjmeqcc.js} +7 -7
  205. package/dist/chunks/{skill-n9y44nm0.js → formatter-qv499rce.js} +23 -23
  206. package/dist/chunks/{skill-5n8ca005.js → formatter-r0yrvwzz.js} +24 -24
  207. package/dist/chunks/{skill-4gycktp3.js → formatter-r4ekbdnr.js} +25 -25
  208. package/dist/chunks/{skill-n4d3d4w3.js → formatter-r9y2scxt.js} +11 -11
  209. package/dist/chunks/{skill-x181wg97.js → formatter-rbqdpnz1.js} +5 -5
  210. package/dist/chunks/{skill-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  211. package/dist/chunks/{skill-rert0e01.js → formatter-rert0e01.js} +2 -2
  212. package/dist/chunks/{skill-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{skill-92g1m7we.js → formatter-rk974gg7.js} +23 -23
  214. package/dist/chunks/{skill-qygncz6a.js → formatter-rs9wx55j.js} +24 -24
  215. package/dist/chunks/{skill-ytakhgxz.js → formatter-rzkcke2z.js} +34 -34
  216. package/dist/chunks/{skill-74ntyh7j.js → formatter-s91efq40.js} +30 -30
  217. package/dist/chunks/{skill-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{skill-9sspp2kc.js → formatter-sb8qnayt.js} +16 -16
  219. package/dist/chunks/{skill-a0wcqrzt.js → formatter-sdjxx6pg.js} +34 -34
  220. package/dist/chunks/{skill-fcdhtk1s.js → formatter-sg02e71r.js} +9 -9
  221. package/dist/chunks/{skill-vnwacm6t.js → formatter-sh5y8zvm.js} +1 -1
  222. package/dist/chunks/{skill-m70jk2v7.js → formatter-ssx21478.js} +19 -19
  223. package/dist/chunks/{skill-j17rh5na.js → formatter-svxhdcjy.js} +14 -14
  224. package/dist/chunks/{skill-j2ztd3ax.js → formatter-swf92kzb.js} +20 -20
  225. package/dist/chunks/{skill-syv4x271.js → formatter-syv4x271.js} +1 -1
  226. package/dist/chunks/{skill-acy09t17.js → formatter-szd00bka.js} +4 -4
  227. package/dist/chunks/{skill-hpwbz69d.js → formatter-t4x3hxzy.js} +19 -19
  228. package/dist/chunks/{skill-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{skill-tdstcens.js → formatter-tdstcens.js} +1 -1
  230. package/dist/chunks/{skill-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
  231. package/dist/chunks/{skill-4ysfff1b.js → formatter-ttfzm2et.js} +24 -24
  232. package/dist/chunks/{skill-k8zn6dzp.js → formatter-tw9chead.js} +17 -17
  233. package/dist/chunks/{skill-tyytaxap.js → formatter-tyytaxap.js} +1 -1
  234. package/dist/chunks/{skill-373db230.js → formatter-v0b295w1.js} +14 -14
  235. package/dist/chunks/{skill-v210v162.js → formatter-v210v162.js} +2 -2
  236. package/dist/chunks/{skill-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
  237. package/dist/chunks/{skill-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  238. package/dist/chunks/{skill-jr0bwz5h.js → formatter-vj5p38yv.js} +18 -18
  239. package/dist/chunks/{skill-jybvdwhe.js → formatter-vp00rtyr.js} +12 -12
  240. package/dist/chunks/{skill-r3ydk6z5.js → formatter-vyf7jw62.js} +6 -6
  241. package/dist/chunks/{skill-hdjck8j7.js → formatter-vywgh4c6.js} +34 -34
  242. package/dist/chunks/{skill-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{skill-dhb2hta4.js → formatter-w1ba7bfx.js} +5 -5
  244. package/dist/chunks/{skill-znpdtr75.js → formatter-w3wbfgm7.js} +25 -25
  245. package/dist/chunks/{skill-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{skill-7fkffz83.js → formatter-w92k2e0p.js} +6 -6
  247. package/dist/chunks/{skill-bn0s77k4.js → formatter-wcpje083.js} +10 -10
  248. package/dist/chunks/{skill-wd87259q.js → formatter-wd87259q.js} +1 -1
  249. package/dist/chunks/{skill-z47sjnwy.js → formatter-whwq5x3g.js} +180 -180
  250. package/dist/chunks/{skill-63kqh4pp.js → formatter-wjcqngme.js} +15 -15
  251. package/dist/chunks/{skill-dg66qqba.js → formatter-wp4vtpe6.js} +12 -12
  252. package/dist/chunks/{skill-bs5qht20.js → formatter-wpqhxtcy.js} +3 -3
  253. package/dist/chunks/{skill-j7qxhh0w.js → formatter-wqvrfkn5.js} +8 -8
  254. package/dist/chunks/{skill-jvhzr3z9.js → formatter-wyvwawjm.js} +42 -42
  255. package/dist/chunks/{skill-gqtdsdt7.js → formatter-x661k3y3.js} +4 -4
  256. package/dist/chunks/{skill-2dvjh35y.js → formatter-x7bd6s3f.js} +22 -22
  257. package/dist/chunks/{skill-ebwpp9d0.js → formatter-x835q0ad.js} +11 -11
  258. package/dist/chunks/{skill-8hk5zr5e.js → formatter-xc2rqamm.js} +20 -20
  259. package/dist/chunks/{skill-tegs1ycp.js → formatter-xcd0eash.js} +6 -6
  260. package/dist/chunks/{skill-vr9br9b3.js → formatter-xcexsawf.js} +33 -33
  261. package/dist/chunks/{skill-wwq19wsf.js → formatter-xgsj2745.js} +5 -5
  262. package/dist/chunks/{skill-wknnvmh5.js → formatter-xj0ka1v1.js} +11 -11
  263. package/dist/chunks/{skill-q6hmgxfy.js → formatter-xmrxjf82.js} +25 -25
  264. package/dist/chunks/{skill-g9qy5730.js → formatter-xxqjg4x2.js} +60 -60
  265. package/dist/chunks/{skill-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{skill-5hckghy7.js → formatter-y1m8s9mq.js} +25 -25
  267. package/dist/chunks/{skill-mz4wv8nb.js → formatter-y4t3c8zk.js} +13 -13
  268. package/dist/chunks/{skill-y71avatq.js → formatter-y71avatq.js} +1 -1
  269. package/dist/chunks/{skill-k41pdhxj.js → formatter-yn9r1x73.js} +21 -21
  270. package/dist/chunks/{skill-rhraev7y.js → formatter-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{skill-3cwb9jzf.js → formatter-yvvvp4gn.js} +8 -8
  272. package/dist/chunks/{skill-vbek984v.js → formatter-yx0rmv9r.js} +8 -8
  273. package/dist/chunks/{skill-9tn557k3.js → formatter-yyht7rfr.js} +3 -3
  274. package/dist/chunks/{skill-00qrbj62.js → formatter-yyjkxqgj.js} +1 -1
  275. package/dist/chunks/{skill-06xsmntz.js → formatter-yz37vbp4.js} +2 -2
  276. package/dist/chunks/{skill-9g88hcsg.js → formatter-yz8mk3e2.js} +44 -44
  277. package/dist/chunks/{skill-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/formatter-z5mqx5tk.js +257 -0
  279. package/dist/chunks/{skill-wf494znr.js → formatter-za681khs.js} +11 -11
  280. package/dist/chunks/{skill-qx787nm7.js → formatter-zct15kyb.js} +8 -8
  281. package/dist/chunks/{skill-vb3m6eyp.js → formatter-zjww4jny.js} +20 -20
  282. package/dist/chunks/{skill-azhh6n6p.js → formatter-znhp5m3s.js} +36 -36
  283. package/dist/chunks/{skill-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{skill-sd35z9tw.js → formatter-zrq3bjv4.js} +9 -9
  285. package/dist/chunks/{skill-6fq7r47e.js → formatter-zxczbdfd.js} +5 -5
  286. package/dist/chunks/{skill-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +204 -204
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +114 -114
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +72 -72
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +2 -2
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +88 -88
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +133 -133
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +83 -83
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +88 -88
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +119 -119
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +1 -1
  496. package/dist/plugin/internal.js +331 -331
  497. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +123 -123
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +123 -123
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +72 -72
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +346 -346
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +103 -103
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +215 -215
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +155 -155
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +208 -208
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +120 -120
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/webfetch.js +108 -108
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +98 -98
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/skill-961073wv.js +0 -26
  691. package/dist/chunks/skill-jpqp0310.js +0 -257
  692. package/dist/chunks/skill-vnkjks7b.js +0 -18
  693. /package/dist/chunks/{skill-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{skill-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{skill-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{skill-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{skill-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{skill-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{skill-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{skill-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{skill-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{skill-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{skill-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{skill-3asan66x.js → formatter-3asan66x.js} +0 -0
  705. /package/dist/chunks/{skill-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{skill-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{skill-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{skill-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{skill-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{skill-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{skill-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{skill-53557ph1.js → formatter-53557ph1.js} +0 -0
  713. /package/dist/chunks/{skill-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{skill-6prwharc.js → formatter-6prwharc.js} +0 -0
  715. /package/dist/chunks/{skill-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{skill-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{skill-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{skill-822emrt2.js → formatter-822emrt2.js} +0 -0
  719. /package/dist/chunks/{skill-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{skill-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{skill-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{skill-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{skill-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{skill-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{skill-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{skill-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{skill-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{skill-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{skill-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{skill-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{skill-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{skill-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{skill-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{skill-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{skill-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{skill-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{skill-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{skill-df08tz66.js → formatter-df08tz66.js} +0 -0
  739. /package/dist/chunks/{skill-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{skill-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{skill-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{skill-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{skill-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{skill-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{skill-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{skill-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{skill-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{skill-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{skill-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{skill-g86h250q.js → formatter-g86h250q.js} +0 -0
  751. /package/dist/chunks/{skill-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{skill-gftt206x.js → formatter-gftt206x.js} +0 -0
  753. /package/dist/chunks/{skill-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{skill-hk9envan.js → formatter-hk9envan.js} +0 -0
  755. /package/dist/chunks/{skill-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{skill-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{skill-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{skill-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{skill-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{skill-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{skill-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{skill-m18g726c.js → formatter-m18g726c.js} +0 -0
  763. /package/dist/chunks/{skill-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{skill-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{skill-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{skill-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{skill-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{skill-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{skill-pyv0edze.js → formatter-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{skill-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{skill-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{skill-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{skill-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{skill-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{skill-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{skill-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{skill-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{skill-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{skill-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{skill-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{skill-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{skill-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{skill-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{skill-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{skill-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{skill-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{skill-x61499pn.js → formatter-x61499pn.js} +0 -0
  788. /package/dist/chunks/{skill-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{skill-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{skill-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{skill-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{skill-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{skill-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./skill-q6ec7ghb.js";
4
+ } from "./formatter-0zcqa60s.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./skill-rdw6cm16.js";
8
+ } from "./formatter-rdw6cm16.js";
9
9
  import {
10
10
  Service82,
11
11
  node86
12
- } from "./skill-hh8xd2g7.js";
12
+ } from "./formatter-0w0hsyng.js";
13
13
  import {
14
14
  rewrite2,
15
- ID8,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service66,
20
- node70,
21
- Event13
22
- } from "./skill-f3rjyvb9.js";
19
+ Service72,
20
+ node75,
21
+ Event16
22
+ } from "./formatter-ndc46fve.js";
23
23
  import {
24
24
  __export
25
- } from "./skill-9rqn6x4v.js";
25
+ } from "./formatter-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,18 +30,18 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event12,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
- ID: () => ID7,
36
- Info: () => Info16,
35
+ ID: () => ID11,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service64,
40
+ Service: () => Service70,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node68,
44
+ node: () => node73,
45
45
  parse: () => parse5,
46
46
  supportsText: () => supportsText2
47
47
  });
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
49
49
  import { Context, Effect, Layer, Stream } from "effect";
50
50
  import { makeLocationNode } from "@opencode/util/effect/app-node";
51
51
  import { freeze } from "immer";
52
- import { Event as Event12 } from "@opencode/schema/model";
53
- var ID7 = Model.ID;
52
+ import { Event as Event15 } from "@opencode/schema/model";
53
+ var ID11 = Model.ID;
54
54
  var VariantID2 = Model.VariantID;
55
55
  var Family2 = Model.Family;
56
56
  var ReasoningField2 = Model.ReasoningField;
@@ -67,12 +67,12 @@ var mergeCapabilities2 = (config, base) => {
67
67
  };
68
68
  var Cost2 = Model.Cost;
69
69
  var Ref2 = Model.Ref;
70
- var Info16 = Model.Info;
70
+ var Info20 = Model.Info;
71
71
 
72
- class Service64 extends Context.Service()("@opencode/Model") {
72
+ class Service70 extends Context.Service()("@opencode/Model") {
73
73
  }
74
- var layer = Layer.effect(Service64, Effect.gen(function* () {
75
- const providers = yield* Service66;
74
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
75
+ const providers = yield* Service72;
76
76
  const bus = yield* Service85;
77
77
  const location = yield* Service82;
78
78
  let input;
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
119
119
  const models = writable(providerID);
120
120
  if (!models)
121
121
  return;
122
- const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
122
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
123
123
  update(model);
124
124
  model.id = modelID;
125
125
  model.providerID = providerID;
@@ -209,8 +209,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
209
209
  location: { directory: location.directory, workspaceID: location.workspaceID }
210
210
  });
211
211
  });
212
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
213
- return Service64.of({
212
+ yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
213
+ return Service70.of({
214
214
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
215
215
  reload,
216
216
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
229
229
  })
230
230
  });
231
231
  }));
232
- var node68 = makeLocationNode({ service: Service64, layer, deps: [node70, node89, node86] });
232
+ var node73 = makeLocationNode({ service: Service70, layer, deps: [node75, node89, node86] });
233
233
  var PREFERRED_FREE = [
234
234
  "big-pickle",
235
235
  "deepseek-v4.1-flash-free",
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
237
237
  "muse-spark-1.3-contributor-free"
238
238
  ];
239
239
  function preferFree(models) {
240
- const freeOnly = models.every((model) => model.providerID === ID8.opencode && !model.cost.some((cost) => cost.input > 0));
240
+ const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
241
241
  if (!freeOnly)
242
242
  return models;
243
243
  const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
@@ -256,9 +256,9 @@ function compatibility2(input) {
256
256
  function parse5(input) {
257
257
  const index = input.indexOf("/");
258
258
  return {
259
- providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
260
- modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
259
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
260
+ modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
261
261
  };
262
262
  }
263
263
 
264
- export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service64, node68, supportsText2, compatibility2, parse5, exports_model2, Event12 };
264
+ export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service70, node73, supportsText2, compatibility2, parse5, exports_model2, Event15 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./skill-q6ec7ghb.js";
4
+ } from "./formatter-0zcqa60s.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./skill-rdw6cm16.js";
8
+ } from "./formatter-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./skill-gqtdsdt7.js";
11
+ } from "./formatter-x661k3y3.js";
12
12
  import {
13
- ID9,
14
- Service67,
15
- node71,
16
- Event14
17
- } from "./skill-0mshdkct.js";
13
+ ID13,
14
+ Service73,
15
+ node76,
16
+ Event17
17
+ } from "./formatter-2xr74ag8.js";
18
18
  import {
19
19
  Service82,
20
20
  node86
21
- } from "./skill-hh8xd2g7.js";
21
+ } from "./formatter-0w0hsyng.js";
22
22
  import {
23
23
  __export
24
- } from "./skill-9rqn6x4v.js";
24
+ } from "./formatter-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event13,
43
- ID: () => ID8,
44
- Info: () => Info17,
42
+ Event: () => Event16,
43
+ ID: () => ID12,
44
+ Info: () => Info21,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
- Request: () => Request2,
48
- Service: () => Service66,
47
+ Request: () => Request3,
48
+ Service: () => Service72,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node70,
60
+ node: () => node75,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event13 } from "@opencode/schema/provider";
75
- var ID8 = Provider.ID;
74
+ import { Event as Event16 } from "@opencode/schema/provider";
75
+ var ID12 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
78
78
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
279
279
  return result;
280
280
  }, new Map).values());
281
281
  }
282
- var Request2 = Provider.Request;
282
+ var Request3 = Provider.Request;
283
283
  var Compaction3 = Provider.Compaction;
284
284
  var Transport2 = Provider.Transport;
285
285
  var Settings2 = Provider.Settings;
286
- var Info17 = Provider.Info;
286
+ var Info21 = Provider.Info;
287
287
 
288
- class Service66 extends Context.Service()("@opencode/Provider") {
288
+ class Service72 extends Context.Service()("@opencode/Provider") {
289
289
  }
290
290
  var definitions = new WeakMap;
291
291
  function index(providerID, models) {
@@ -298,9 +298,9 @@ function index(providerID, models) {
298
298
  definitions.set(models, indexes);
299
299
  return result;
300
300
  }
301
- var layer = Layer.effect(Service66, Effect.gen(function* () {
301
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
302
302
  const bus = yield* Service85;
303
- const integrations = yield* Service67;
303
+ const integrations = yield* Service73;
304
304
  const location = yield* Service82;
305
305
  const state = create3({
306
306
  name: "provider",
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
312
312
  const current = records.get(id);
313
313
  if (current)
314
314
  return current;
315
- const added = { provider: Info17.empty(id), models: new Map };
315
+ const added = { provider: Info21.empty(id), models: new Map };
316
316
  records.set(id, added);
317
317
  maps.add(added.models);
318
318
  return added;
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
393
393
  const available = Array.from(records.values()).filter((record) => {
394
394
  if (record.provider.activation === "disabled")
395
395
  return false;
396
- const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
396
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
397
397
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
398
398
  return false;
399
399
  if (record.provider.activation === "enabled")
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
419
419
  location: { directory: location.directory, workspaceID: location.workspaceID }
420
420
  });
421
421
  });
422
- yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service66.of({
422
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
+ return Service72.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
429
429
  snapshot
430
430
  });
431
431
  }));
432
- var node70 = makeLocationNode({ service: Service66, layer, deps: [node89, node71, node86] });
432
+ var node75 = makeLocationNode({ service: Service72, layer, deps: [node89, node76, node86] });
433
433
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
434
  const module = yield* Effect.tryPromise({
435
435
  try: () => {
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
699
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
700
  var decode = Schema2.decodeUnknownSync(Legacy);
701
701
 
702
- export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info17, Service66, node70, exports_provider3, Event13 };
702
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service72, node75, exports_provider3, Event16 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./skill-zn9jy13z.js";
4
+ } from "./formatter-4adehn3m.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./skill-ysr3h47w.js";
8
+ } from "./formatter-682gxy8b.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./skill-0mshdkct.js";
11
+ } from "./formatter-2xr74ag8.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./skill-vbhp0dye.js";
19
+ } from "./formatter-d8c6spkq.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./skill-t3mrtpce.js";
23
+ } from "./formatter-d20vf659.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./skill-775gj3j1.js";
3
+ } from "./formatter-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service26,
11
+ Service: () => Service37,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer17,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node29
15
+ node: () => node40
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service26.of({ bind, close, closeAll });
370
+ return Service37.of({ bind, close, closeAll });
371
371
  }));
372
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node29 = makeGlobalNode({ service: Service26, layer: layer13, deps: [webSocketConstructor2] });
375
+ var node40 = makeGlobalNode({ service: Service37, layer: layer17, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service26, makeLayer2, layer13, node29, exports_model_transport };
377
+ export { Service37, makeLayer2, layer17, node40, exports_model_transport };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service36
4
- } from "./skill-9cw92fkg.js";
3
+ Service67
4
+ } from "./formatter-gyrxp0ts.js";
5
5
  import {
6
- Service39
7
- } from "./skill-0tb1pehm.js";
6
+ Service46
7
+ } from "./formatter-a8k9xfsm.js";
8
8
  import {
9
9
  observe2
10
- } from "./skill-qsdy395h.js";
10
+ } from "./formatter-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./skill-9rqn6x4v.js";
13
+ } from "./formatter-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin41
19
+ Plugin: () => Plugin40
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin41 = define({
23
+ var Plugin40 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service36;
27
- const snapshot = yield* Service39;
26
+ const config = yield* Service67;
27
+ const snapshot = yield* Service46;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin41 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin41, exports_snapshot };
38
+ export { Plugin40, exports_snapshot };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./skill-z5v4ffb3.js";
5
+ } from "./formatter-z5v4ffb3.js";
6
6
  import {
7
- Service46,
8
- node50
9
- } from "./skill-bykqqmg1.js";
7
+ Service80,
8
+ node83
9
+ } from "./formatter-5gwznhg8.js";
10
10
  import {
11
- Content2
12
- } from "./skill-ryvyvv32.js";
11
+ Content3
12
+ } from "./formatter-d4vyzb3t.js";
13
13
  import {
14
14
  detect2
15
- } from "./skill-3smtnn6g.js";
15
+ } from "./formatter-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./skill-9rqn6x4v.js";
18
+ } from "./formatter-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service46;
334
+ const environment = yield* Service80;
335
335
  return Service7.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node50] });
340
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [node83] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service74
3
- } from "./skill-ps2yhsm3.js";
2
+ Service76
3
+ } from "./formatter-k1b4tbj2.js";
4
4
  import {
5
- Service75
6
- } from "./skill-ysr3h47w.js";
5
+ Service57
6
+ } from "./formatter-682gxy8b.js";
7
7
  import {
8
- ID5,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service53
14
- } from "./skill-a61mcpgr.js";
13
+ Service22
14
+ } from "./formatter-c907h1r8.js";
15
15
  import {
16
16
  __export
17
- } from "./skill-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input6,
22
+ Input: () => Input3,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin24,
24
+ Plugin: () => Plugin19,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description3,
27
- name: () => name6
26
+ description: () => description2,
27
+ name: () => name3
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name6 = "websearch";
32
+ var name3 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  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 description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `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
- var Input6 = Schema.Struct({
42
+ var Input3 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin24 = {
49
+ var Plugin19 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service75;
53
- const forms = yield* Service74;
54
- const websearch = yield* Service53;
52
+ const permission = yield* Service57;
53
+ const forms = yield* Service76;
54
+ const websearch = yield* Service22;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name6,
56
+ name: name3,
57
57
  options: { codemode: false },
58
- description: description3,
59
- input: Input6,
58
+ description: description2,
59
+ input: Input3,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name6,
63
+ action: name3,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name6];
179
+ delete event.tools[name3];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name6, NO_RESULTS2, description3, Input6, Plugin24, exports_websearch };
187
+ export { name3, NO_RESULTS2, description2, Input3, Plugin19, exports_websearch };