@opencode/core 0.0.0-dev-210 → 0.0.0-dev-220

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 (836) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +91 -90
  3. package/dist/aisdk-native.js +99 -98
  4. package/dist/aisdk.js +105 -104
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +81 -80
  7. package/dist/chunks/{filesystem-0vt12t1a.js → kv-012zgee3.js} +12 -12
  8. package/dist/chunks/{filesystem-034tev2y.js → kv-034tev2y.js} +2 -2
  9. package/dist/chunks/{filesystem-fg2aznv6.js → kv-04ha61zj.js} +13 -13
  10. package/dist/chunks/{filesystem-cnaqb1tg.js → kv-0a14bvbq.js} +14 -14
  11. package/dist/chunks/kv-0ae5074t.js +257 -0
  12. package/dist/chunks/{filesystem-cpvd08na.js → kv-0ahs07zn.js} +4 -4
  13. package/dist/chunks/{filesystem-psfkywbe.js → kv-0c5200xg.js} +28 -28
  14. package/dist/chunks/{filesystem-h7gvp0tv.js → kv-0w2jttgf.js} +2 -2
  15. package/dist/chunks/{filesystem-cm18kf9d.js → kv-12cn17wj.js} +18 -18
  16. package/dist/chunks/{filesystem-18g90bpv.js → kv-18g90bpv.js} +2 -2
  17. package/dist/chunks/{filesystem-1ep2p91f.js → kv-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{filesystem-1r7af8ee.js → kv-1r7af8ee.js} +3 -3
  19. package/dist/chunks/{filesystem-1x2knyw4.js → kv-1x2knyw4.js} +1 -1
  20. package/dist/chunks/{filesystem-b46dpqs0.js → kv-1xvmkwc1.js} +13 -13
  21. package/dist/chunks/{filesystem-204s3925.js → kv-204s3925.js} +1 -1
  22. package/dist/chunks/{filesystem-j6fmvzx1.js → kv-25xb6pe7.js} +66 -31
  23. package/dist/chunks/{filesystem-g8763th5.js → kv-26hpmn7d.js} +18 -18
  24. package/dist/chunks/{filesystem-r8m134k8.js → kv-2ftpkp9m.js} +17 -17
  25. package/dist/chunks/{filesystem-1ym1r093.js → kv-2jzckm7x.js} +48 -48
  26. package/dist/chunks/{filesystem-89jkg93w.js → kv-2rd32aej.js} +21 -21
  27. package/dist/chunks/{filesystem-w1fms507.js → kv-2vyekkkc.js} +27 -27
  28. package/dist/chunks/{filesystem-vg0erq9k.js → kv-2zp5a6yg.js} +3 -3
  29. package/dist/chunks/{filesystem-hry4p7je.js → kv-34jrcrfp.js} +13 -13
  30. package/dist/chunks/{filesystem-pvpa9p11.js → kv-3bn85y8g.js} +45 -45
  31. package/dist/chunks/{filesystem-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{filesystem-5yght9ra.js → kv-3hsgvtvz.js} +32 -32
  33. package/dist/chunks/{filesystem-45wb8ppp.js → kv-3jymkt4s.js} +4 -4
  34. package/dist/chunks/{filesystem-3nnrz6f6.js → kv-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{filesystem-jg2yb00g.js → kv-3qx2d3by.js} +34 -34
  36. package/dist/chunks/{filesystem-hyyve62m.js → kv-3ynrmz35.js} +31 -31
  37. package/dist/chunks/{filesystem-gm2f0atq.js → kv-4847f668.js} +18 -18
  38. package/dist/chunks/{filesystem-bdpbxs8g.js → kv-4g429xmd.js} +20 -20
  39. package/dist/chunks/{filesystem-4pyp9zr9.js → kv-4pyp9zr9.js} +1 -1
  40. package/dist/chunks/{filesystem-wq31c655.js → kv-4qy1z7f6.js} +35 -35
  41. package/dist/chunks/{filesystem-nv9tsjma.js → kv-4sbgv4xb.js} +6 -6
  42. package/dist/chunks/{filesystem-4pw98qd4.js → kv-4tqs0jzk.js} +4 -4
  43. package/dist/chunks/{filesystem-4v008n1t.js → kv-4v008n1t.js} +1 -1
  44. package/dist/chunks/{filesystem-ye085k5q.js → kv-4ye3148g.js} +97 -97
  45. package/dist/chunks/{filesystem-444az151.js → kv-52t9gqeq.js} +30 -30
  46. package/dist/chunks/{filesystem-pbbktnbz.js → kv-57rxwkwv.js} +4 -4
  47. package/dist/chunks/{filesystem-434rvpkg.js → kv-599a1s2w.js} +9 -9
  48. package/dist/chunks/{filesystem-fncrvfr8.js → kv-5a22xwpn.js} +9 -9
  49. package/dist/chunks/{filesystem-vdfc3vwf.js → kv-5bt48bf8.js} +33 -33
  50. package/dist/chunks/{filesystem-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{filesystem-rfy1qsv0.js → kv-5mm8f81r.js} +5 -5
  52. package/dist/chunks/{filesystem-b6vsg801.js → kv-5nnwax6m.js} +5 -5
  53. package/dist/chunks/{filesystem-55y85j01.js → kv-5v7cas5c.js} +15 -15
  54. package/dist/chunks/{filesystem-r98dxkx5.js → kv-5ybmaaxe.js} +24 -24
  55. package/dist/chunks/{filesystem-t1ncdzfb.js → kv-61frstw0.js} +30 -30
  56. package/dist/chunks/{filesystem-kaaytn36.js → kv-61thn005.js} +20 -20
  57. package/dist/chunks/kv-633sd1y2.js +179 -0
  58. package/dist/chunks/{filesystem-dma5n97j.js → kv-63krpghe.js} +37 -37
  59. package/dist/chunks/{filesystem-hs9b4b47.js → kv-64a4dgx4.js} +9 -9
  60. package/dist/chunks/{filesystem-pcrfxpzv.js → kv-65qthyj5.js} +21 -21
  61. package/dist/chunks/{filesystem-gxwtb78g.js → kv-69shnrg3.js} +17 -17
  62. package/dist/chunks/{filesystem-stka8v7r.js → kv-6ajg7n55.js} +5 -5
  63. package/dist/chunks/{filesystem-n61g9vyf.js → kv-6bzdkscq.js} +27 -27
  64. package/dist/chunks/{filesystem-6esdw8yj.js → kv-6esdw8yj.js} +1 -1
  65. package/dist/chunks/{filesystem-gsnkxft0.js → kv-6zzadmn7.js} +11 -11
  66. package/dist/chunks/kv-731rr8nf.js +26 -0
  67. package/dist/chunks/{filesystem-annen545.js → kv-74mpvf4f.js} +8 -8
  68. package/dist/chunks/{filesystem-76cb1hcw.js → kv-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{filesystem-nah043kf.js → kv-770pw0s1.js} +4 -4
  70. package/dist/chunks/{filesystem-y5d65aff.js → kv-78a6ksdd.js} +15 -15
  71. package/dist/chunks/{filesystem-91bvc4ty.js → kv-7a3c5r1g.js} +4 -4
  72. package/dist/chunks/{filesystem-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{filesystem-df9zz4rf.js → kv-7gsvdv77.js} +8 -8
  74. package/dist/chunks/{filesystem-1vz7yhpq.js → kv-7tq5dytk.js} +45 -45
  75. package/dist/chunks/{filesystem-0g3nw2rk.js → kv-7vppvan5.js} +5 -5
  76. package/dist/chunks/{filesystem-1hmj4y1x.js → kv-7vqmw3sn.js} +17 -17
  77. package/dist/chunks/{filesystem-7w2ypzdf.js → kv-7w2ypzdf.js} +1 -1
  78. package/dist/chunks/{filesystem-e3g479a6.js → kv-8bhp05y1.js} +83 -83
  79. package/dist/chunks/{filesystem-11hfp36g.js → kv-8jztxfpf.js} +4 -4
  80. package/dist/chunks/{filesystem-8wc2fpae.js → kv-8p5baybq.js} +5 -5
  81. package/dist/chunks/{filesystem-qf8srjpf.js → kv-8pffgsza.js} +23 -23
  82. package/dist/chunks/{filesystem-31avdb49.js → kv-8rgb2cvr.js} +11 -11
  83. package/dist/chunks/{filesystem-dr326g96.js → kv-8vbymk7s.js} +9 -9
  84. package/dist/chunks/{filesystem-8wtp7s3z.js → kv-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{filesystem-rcthcsey.js → kv-8x5yjrep.js} +13 -13
  86. package/dist/chunks/{filesystem-hrp7h9k8.js → kv-8y4f3b6m.js} +11 -11
  87. package/dist/chunks/{filesystem-90zstvax.js → kv-90zstvax.js} +1 -1
  88. package/dist/chunks/{filesystem-89vjf07m.js → kv-92azg307.js} +5 -5
  89. package/dist/chunks/{filesystem-61ennm6n.js → kv-95sp4hdf.js} +6 -6
  90. package/dist/chunks/{filesystem-97ctmtmy.js → kv-9gj0w5vn.js} +7 -7
  91. package/dist/chunks/{filesystem-pw343ads.js → kv-9s28vret.js} +40 -40
  92. package/dist/chunks/{filesystem-kj6bvb2j.js → kv-9svpjq3a.js} +5 -5
  93. package/dist/chunks/{filesystem-14hxjxc8.js → kv-9swetm95.js} +11 -11
  94. package/dist/chunks/{filesystem-gmqegw1e.js → kv-9xhmkd72.js} +12 -12
  95. package/dist/chunks/{filesystem-4dxkx4vc.js → kv-9xm13q7e.js} +15 -15
  96. package/dist/chunks/{filesystem-c34yv8jr.js → kv-a42ahrx1.js} +11 -11
  97. package/dist/chunks/{filesystem-p6aax6q6.js → kv-aa2ns65p.js} +23 -23
  98. package/dist/chunks/{filesystem-wxrneye3.js → kv-adxkyhe2.js} +8 -8
  99. package/dist/chunks/{filesystem-drvbhkez.js → kv-agqd6nxz.js} +2 -2
  100. package/dist/chunks/{filesystem-g82fkzhe.js → kv-ajcpcdxh.js} +19 -19
  101. package/dist/chunks/{filesystem-m3bdadrj.js → kv-at3qw7wz.js} +14 -14
  102. package/dist/chunks/{filesystem-z6vvjhzx.js → kv-av2nmxmh.js} +19 -19
  103. package/dist/chunks/{filesystem-ayjs7tqn.js → kv-ayjs7tqn.js} +2 -2
  104. package/dist/chunks/{filesystem-xt0z8zst.js → kv-b0npgc9t.js} +8 -8
  105. package/dist/chunks/{filesystem-ssfehs1z.js → kv-b1pn0vxn.js} +4 -4
  106. package/dist/chunks/{filesystem-6easw4m5.js → kv-b702c733.js} +4 -4
  107. package/dist/chunks/{filesystem-6r5tx5vd.js → kv-b7gscnqx.js} +17 -17
  108. package/dist/chunks/{filesystem-mgxqcbam.js → kv-bf66261d.js} +8 -8
  109. package/dist/chunks/{filesystem-8hwf4h4a.js → kv-bg484meh.js} +29 -29
  110. package/dist/chunks/{filesystem-bstexjd6.js → kv-bstexjd6.js} +1 -1
  111. package/dist/chunks/{filesystem-xptjxdz6.js → kv-c2fax6kv.js} +16 -16
  112. package/dist/chunks/{filesystem-09bv4atg.js → kv-c46s9eb3.js} +5 -5
  113. package/dist/chunks/{filesystem-yxy26kq2.js → kv-ckem8rwf.js} +12 -12
  114. package/dist/chunks/{filesystem-cwrgdav8.js → kv-cwrgdav8.js} +2 -2
  115. package/dist/chunks/{filesystem-d4v9tmah.js → kv-d4v9tmah.js} +2 -2
  116. package/dist/chunks/{filesystem-bhvs01y7.js → kv-d7akxsfc.js} +6 -6
  117. package/dist/chunks/{filesystem-fj2tjxmw.js → kv-d94yyeb9.js} +30 -30
  118. package/dist/chunks/{filesystem-fe5m0zbk.js → kv-daj7chhq.js} +25 -25
  119. package/dist/chunks/{filesystem-8aem79f2.js → kv-dgf6zq35.js} +21 -21
  120. package/dist/chunks/{filesystem-dvaraee2.js → kv-dnkd09hs.js} +19 -19
  121. package/dist/chunks/{filesystem-9wm1sbvz.js → kv-dqha5xxy.js} +30 -30
  122. package/dist/chunks/{filesystem-cj5ykkxh.js → kv-ds7s58c2.js} +5 -5
  123. package/dist/chunks/{filesystem-dt77769w.js → kv-dt77769w.js} +1 -1
  124. package/dist/chunks/{filesystem-sjq3mznt.js → kv-dxzgq9mt.js} +11 -11
  125. package/dist/chunks/{filesystem-e07q2w5p.js → kv-e07q2w5p.js} +1 -1
  126. package/dist/chunks/{filesystem-esbzcf2v.js → kv-e5p345z4.js} +6 -6
  127. package/dist/chunks/{filesystem-bprm2g42.js → kv-e6dfer8c.js} +24 -24
  128. package/dist/chunks/{filesystem-ytys4wt6.js → kv-e72jqpxh.js} +28 -28
  129. package/dist/chunks/{filesystem-e834z07m.js → kv-e834z07m.js} +1 -1
  130. package/dist/chunks/{filesystem-w5qh0yp9.js → kv-e86zhykr.js} +19 -19
  131. package/dist/chunks/{filesystem-e618q6jv.js → kv-ea0rn8y9.js} +9 -9
  132. package/dist/chunks/{filesystem-0nhbejy7.js → kv-eamxt9ya.js} +36 -35
  133. package/dist/chunks/{filesystem-n2h4jtew.js → kv-efaww74b.js} +5 -5
  134. package/dist/chunks/{filesystem-15rqtvc6.js → kv-egwx6sc7.js} +19 -19
  135. package/dist/chunks/{filesystem-pgzqbqf1.js → kv-egz82r8a.js} +6 -6
  136. package/dist/chunks/{filesystem-kjst82ar.js → kv-ephaerw8.js} +1 -1
  137. package/dist/chunks/{filesystem-y47dt2v0.js → kv-ewym2d35.js} +24 -24
  138. package/dist/chunks/{filesystem-x2kwmbaj.js → kv-f37hb3vx.js} +6 -6
  139. package/dist/chunks/{filesystem-jc4yfsds.js → kv-f6m9q3z5.js} +7 -7
  140. package/dist/chunks/{filesystem-j5ge61vx.js → kv-f9bjw1xa.js} +69 -49
  141. package/dist/chunks/{filesystem-890cq6zw.js → kv-fejsg08h.js} +23 -23
  142. package/dist/chunks/{filesystem-fffv3p7h.js → kv-fffv3p7h.js} +1 -1
  143. package/dist/chunks/{filesystem-pj65rgyr.js → kv-fzb1j6q3.js} +4 -4
  144. package/dist/chunks/{filesystem-n0raz6dg.js → kv-g4a9tkat.js} +4 -4
  145. package/dist/chunks/{filesystem-qpa23kw8.js → kv-gbeftx2c.js} +32 -32
  146. package/dist/chunks/{filesystem-csvfcyj3.js → kv-gbgp8t9w.js} +21 -21
  147. package/dist/chunks/{filesystem-k079z09p.js → kv-gfge5jvq.js} +1 -1
  148. package/dist/chunks/{filesystem-8cykdwq1.js → kv-gmcaypba.js} +50 -50
  149. package/dist/chunks/{filesystem-phmgxt2f.js → kv-h1fd1zdz.js} +3 -3
  150. package/dist/chunks/{filesystem-2pb4csn2.js → kv-h6f1yd3e.js} +40 -40
  151. package/dist/chunks/{filesystem-armxxs9m.js → kv-h9gr7s7t.js} +9 -9
  152. package/dist/chunks/{filesystem-7rct0254.js → kv-hc58cmaw.js} +15 -15
  153. package/dist/chunks/{filesystem-6bafzmvy.js → kv-hgkkk3en.js} +188 -188
  154. package/dist/chunks/{filesystem-2vzb41ed.js → kv-hjfa1fnd.js} +5 -5
  155. package/dist/chunks/{filesystem-nk58jtss.js → kv-hknpeeyr.js} +21 -21
  156. package/dist/chunks/{filesystem-hpg1pkwy.js → kv-hpg1pkwy.js} +1 -1
  157. package/dist/chunks/{filesystem-14k2p94z.js → kv-hryaegyv.js} +6 -6
  158. package/dist/chunks/{filesystem-zgd8t41s.js → kv-hvy79q2t.js} +9 -9
  159. package/dist/chunks/{filesystem-zyfw5drr.js → kv-hynthsg4.js} +51 -17
  160. package/dist/chunks/{filesystem-k3febq9m.js → kv-j1rmbcb1.js} +45 -45
  161. package/dist/chunks/{filesystem-rngmar94.js → kv-j6bs70x1.js} +36 -36
  162. package/dist/chunks/{filesystem-1z5aa1s9.js → kv-j6q561b5.js} +5 -5
  163. package/dist/chunks/{filesystem-f1g9v2n6.js → kv-j83smehp.js} +3 -3
  164. package/dist/chunks/{filesystem-6cems51h.js → kv-jchkmxa0.js} +11 -11
  165. package/dist/chunks/{filesystem-bwqn28c5.js → kv-jcpk82zm.js} +5 -5
  166. package/dist/chunks/{filesystem-jfaecv01.js → kv-jfaecv01.js} +1 -1
  167. package/dist/chunks/{filesystem-g4pcw3ts.js → kv-jhcvgvr6.js} +24 -24
  168. package/dist/chunks/{filesystem-w6763yes.js → kv-jmydtm9v.js} +32 -32
  169. package/dist/chunks/kv-js46qwqq.js +356 -0
  170. package/dist/chunks/{filesystem-hdfrs5mg.js → kv-jscvymgc.js} +9 -9
  171. package/dist/chunks/{filesystem-jtnps1zs.js → kv-jtnps1zs.js} +2 -2
  172. package/dist/chunks/{filesystem-8zh671ad.js → kv-jx1rt6bm.js} +22 -22
  173. package/dist/chunks/{filesystem-nbdtng8k.js → kv-jxda6dbt.js} +28 -28
  174. package/dist/chunks/{filesystem-hx3mz2q2.js → kv-k7fcp7vh.js} +8 -8
  175. package/dist/chunks/{filesystem-k814nvkf.js → kv-k814nvkf.js} +1 -1
  176. package/dist/chunks/{filesystem-xajgh51x.js → kv-k98kmmbk.js} +13 -13
  177. package/dist/chunks/{filesystem-bw7c9nwt.js → kv-kahm3ndg.js} +17 -17
  178. package/dist/chunks/{filesystem-94wxcshz.js → kv-kd2z5z9c.js} +9 -9
  179. package/dist/chunks/{filesystem-18crnhyq.js → kv-kgc898hj.js} +11 -11
  180. package/dist/chunks/{filesystem-9d50e9x8.js → kv-kgvyhc3g.js} +12 -12
  181. package/dist/chunks/{filesystem-xarg0qdr.js → kv-kkzv3wph.js} +11 -11
  182. package/dist/chunks/{filesystem-bmrbft0k.js → kv-ks9peych.js} +27 -27
  183. package/dist/chunks/{filesystem-kt3bjfbg.js → kv-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{filesystem-n1gr2kpt.js → kv-kx2hsc0a.js} +6 -6
  185. package/dist/chunks/{filesystem-m1714858.js → kv-m1714858.js} +1 -1
  186. package/dist/chunks/{filesystem-hfgk9wzg.js → kv-m37sd98t.js} +4 -4
  187. package/dist/chunks/{filesystem-rerxfbrr.js → kv-m4dmg5tq.js} +10 -10
  188. package/dist/chunks/{filesystem-p76me67c.js → kv-m7xh3h0x.js} +4 -4
  189. package/dist/chunks/{filesystem-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{filesystem-x4z26120.js → kv-ma7t0w64.js} +12 -12
  191. package/dist/chunks/kv-me0dhgxs.js +18 -0
  192. package/dist/chunks/{filesystem-nkdehe09.js → kv-mfq1s597.js} +31 -31
  193. package/dist/chunks/{filesystem-xdkjcj8h.js → kv-mt04zp9g.js} +25 -25
  194. package/dist/chunks/{filesystem-ck72d7f2.js → kv-mwkpd8g6.js} +12 -12
  195. package/dist/chunks/{filesystem-v7rdhf5e.js → kv-mzw7cnwp.js} +11 -11
  196. package/dist/chunks/{filesystem-j8b46n9s.js → kv-n3jfc8px.js} +20 -20
  197. package/dist/chunks/{filesystem-ax7jxbq7.js → kv-n5q9ghjn.js} +51 -51
  198. package/dist/chunks/{filesystem-wappnbgt.js → kv-n78qdz6f.js} +11 -11
  199. package/dist/chunks/{filesystem-hjwwwxxw.js → kv-n7v9rxsn.js} +24 -24
  200. package/dist/chunks/{filesystem-fny70jpy.js → kv-nad4mkqt.js} +8 -8
  201. package/dist/chunks/{filesystem-h01md3m8.js → kv-nepyj2zh.js} +6 -6
  202. package/dist/chunks/{filesystem-fej4fvmz.js → kv-nqt0rnqz.js} +15 -15
  203. package/dist/chunks/{filesystem-c8fxmp84.js → kv-nswvxj5k.js} +4 -4
  204. package/dist/chunks/{filesystem-4nyhany0.js → kv-nt66xtkz.js} +29 -29
  205. package/dist/chunks/{filesystem-p015t6z3.js → kv-p015t6z3.js} +2 -2
  206. package/dist/chunks/{filesystem-y20gse86.js → kv-p48hdm09.js} +11 -11
  207. package/dist/chunks/{filesystem-myztnk54.js → kv-p5j5bg0f.js} +16 -0
  208. package/dist/chunks/{filesystem-s43pka83.js → kv-p6k3stbe.js} +9 -9
  209. package/dist/chunks/{filesystem-1yq9hg58.js → kv-p7vhpwh8.js} +5 -5
  210. package/dist/chunks/{filesystem-c7xcdgb3.js → kv-pa952zd5.js} +3 -3
  211. package/dist/chunks/{filesystem-pknna89w.js → kv-pknna89w.js} +1 -1
  212. package/dist/chunks/{filesystem-m146rhxa.js → kv-pnd6yhbb.js} +19 -19
  213. package/dist/chunks/{filesystem-prq7xxp2.js → kv-prq7xxp2.js} +2 -2
  214. package/dist/chunks/{filesystem-k1txdcnn.js → kv-pxdj1q62.js} +26 -26
  215. package/dist/chunks/{filesystem-aq96vb51.js → kv-q2pskytr.js} +14 -14
  216. package/dist/chunks/{filesystem-gg8p9cgs.js → kv-q61bmwds.js} +16 -4
  217. package/dist/chunks/{filesystem-60wv84he.js → kv-q7efev1k.js} +15 -15
  218. package/dist/chunks/{filesystem-1a6vdzep.js → kv-qa1v0dcw.js} +12 -12
  219. package/dist/chunks/{filesystem-bdf3r1gz.js → kv-qbard0ja.js} +60 -60
  220. package/dist/chunks/{filesystem-24c2n9k1.js → kv-qe6tdfev.js} +34 -34
  221. package/dist/chunks/{filesystem-3kwyfx5c.js → kv-qkzwxqy8.js} +22 -22
  222. package/dist/chunks/{filesystem-qp7r0hxv.js → kv-qp7r0hxv.js} +1 -1
  223. package/dist/chunks/{filesystem-qqvy8y24.js → kv-qqvy8y24.js} +1 -1
  224. package/dist/chunks/{filesystem-d3bra3vm.js → kv-qvjwss32.js} +8 -8
  225. package/dist/chunks/{filesystem-xhesmbhs.js → kv-qwxwvmsk.js} +17 -17
  226. package/dist/chunks/{filesystem-r0yr0wbs.js → kv-r0yr0wbs.js} +1 -1
  227. package/dist/chunks/{filesystem-r542h3bh.js → kv-r542h3bh.js} +1 -1
  228. package/dist/chunks/{filesystem-7m5yeeqj.js → kv-r555eje6.js} +25 -25
  229. package/dist/chunks/{filesystem-tf83vx35.js → kv-r8z6cp6s.js} +7 -7
  230. package/dist/chunks/{filesystem-rb9dy4dg.js → kv-rb9dy4dg.js} +1 -1
  231. package/dist/chunks/{filesystem-qv57zvvg.js → kv-rm3kdsrk.js} +344 -334
  232. package/dist/chunks/{filesystem-pd94qqs3.js → kv-rqgh6f0p.js} +22 -22
  233. package/dist/chunks/{filesystem-rt5dr6hb.js → kv-rt5dr6hb.js} +1 -1
  234. package/dist/chunks/{filesystem-qbhjbqdd.js → kv-rt637qmr.js} +20 -20
  235. package/dist/chunks/{filesystem-fcrv3p1c.js → kv-ryf5krpb.js} +13 -13
  236. package/dist/chunks/{filesystem-s7gmm2q3.js → kv-s7gmm2q3.js} +3 -3
  237. package/dist/chunks/{filesystem-v0t96s7a.js → kv-s7kyse9r.js} +4 -4
  238. package/dist/chunks/{filesystem-t54qx1t0.js → kv-s8q4kr0g.js} +6 -6
  239. package/dist/chunks/{filesystem-3ztadfm7.js → kv-s8sm6pz9.js} +45 -45
  240. package/dist/chunks/{filesystem-vm40an3j.js → kv-s91tv05p.js} +11 -11
  241. package/dist/chunks/{filesystem-sa3fpqfw.js → kv-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{filesystem-5jmrcfpw.js → kv-sh593rcs.js} +15 -15
  243. package/dist/chunks/{filesystem-thq4q9my.js → kv-shx1cm30.js} +10 -10
  244. package/dist/chunks/{filesystem-sqjzf8x2.js → kv-sqjzf8x2.js} +1 -1
  245. package/dist/chunks/{filesystem-2ps4vp47.js → kv-sraj155f.js} +60 -56
  246. package/dist/chunks/{filesystem-xgjn9k1a.js → kv-sth2mpx1.js} +2 -2
  247. package/dist/chunks/{filesystem-svcy3p9a.js → kv-svcy3p9a.js} +1 -1
  248. package/dist/chunks/{filesystem-3rhjxprg.js → kv-sw303ny0.js} +18 -18
  249. package/dist/chunks/{filesystem-1596dtyg.js → kv-sz1d7yss.js} +14 -14
  250. package/dist/chunks/{filesystem-ynaqhc8e.js → kv-t1m8yzy8.js} +11 -11
  251. package/dist/chunks/{filesystem-emz5z3x7.js → kv-t5p319pj.js} +2 -2
  252. package/dist/chunks/{filesystem-ws6kh7b7.js → kv-t93906nx.js} +12 -12
  253. package/dist/chunks/{filesystem-czzevw5a.js → kv-t9bxgeh8.js} +15 -15
  254. package/dist/chunks/{filesystem-crxr35d9.js → kv-t9bz6ak5.js} +35 -35
  255. package/dist/chunks/{filesystem-qmx7pqgw.js → kv-ta4h3adp.js} +29 -21
  256. package/dist/chunks/{filesystem-2yqf0428.js → kv-tbz6hn3s.js} +5 -5
  257. package/dist/chunks/{filesystem-tczq8hjw.js → kv-tczq8hjw.js} +1 -1
  258. package/dist/chunks/{filesystem-4se3fcjy.js → kv-thnc25bd.js} +16 -16
  259. package/dist/chunks/{filesystem-ywjp853w.js → kv-ts8cpkvv.js} +27 -27
  260. package/dist/chunks/{filesystem-bsjb0v70.js → kv-tsf79j3w.js} +5 -5
  261. package/dist/chunks/{filesystem-xqx7k15x.js → kv-tvfgc8z5.js} +53 -53
  262. package/dist/chunks/{filesystem-twssxy5n.js → kv-twssxy5n.js} +2 -2
  263. package/dist/chunks/kv-ty7weeps.js +28 -0
  264. package/dist/chunks/{filesystem-r0dsnsr8.js → kv-v05nc33y.js} +16 -16
  265. package/dist/chunks/{filesystem-aw4xetmc.js → kv-v2ez46s2.js} +11 -11
  266. package/dist/chunks/{filesystem-v2r1d0zg.js → kv-v2r1d0zg.js} +1 -1
  267. package/dist/chunks/{filesystem-2ede0ce3.js → kv-v3c6vjpc.js} +18 -18
  268. package/dist/chunks/{filesystem-v5hpj9dd.js → kv-v5hpj9dd.js} +1 -1
  269. package/dist/chunks/{filesystem-8z7fx9da.js → kv-v9x4gzxv.js} +20 -20
  270. package/dist/chunks/{filesystem-n6v0k17x.js → kv-vwttaq9x.js} +11 -11
  271. package/dist/chunks/{filesystem-vsqvcqta.js → kv-vzppetdn.js} +6 -6
  272. package/dist/chunks/{filesystem-ykamt9jm.js → kv-w05smnam.js} +24 -24
  273. package/dist/chunks/{filesystem-w2eysc6j.js → kv-w2eysc6j.js} +2 -2
  274. package/dist/chunks/{filesystem-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
  275. package/dist/chunks/{filesystem-xbc6qp68.js → kv-w667zm0d.js} +6 -6
  276. package/dist/chunks/{filesystem-wakvkjy4.js → kv-wakvkjy4.js} +1 -1
  277. package/dist/chunks/{filesystem-rgzggw2r.js → kv-wbqjejvk.js} +2 -2
  278. package/dist/chunks/{filesystem-wd87259q.js → kv-wd87259q.js} +1 -1
  279. package/dist/chunks/{filesystem-hjaahymy.js → kv-wm6mgyw2.js} +50 -50
  280. package/dist/chunks/{filesystem-wnhgecwx.js → kv-wnhgecwx.js} +1 -1
  281. package/dist/chunks/{filesystem-wr3re1en.js → kv-wr3re1en.js} +1 -1
  282. package/dist/chunks/{filesystem-hc4wny2n.js → kv-ww3hkwgk.js} +11 -11
  283. package/dist/chunks/{filesystem-r2rzgj46.js → kv-x3zd0b7w.js} +30 -30
  284. package/dist/chunks/{filesystem-61ee6dgv.js → kv-x75aecwm.js} +25 -25
  285. package/dist/chunks/{filesystem-rvp0ckfz.js → kv-xddmewgr.js} +29 -29
  286. package/dist/chunks/{filesystem-w3p04qes.js → kv-xef7rqtq.js} +53 -53
  287. package/dist/chunks/{filesystem-majcfxdx.js → kv-xw5bqvrx.js} +9 -9
  288. package/dist/chunks/{filesystem-snfsmn1e.js → kv-xwmtk72n.js} +8 -8
  289. package/dist/chunks/{filesystem-qgjxsz2y.js → kv-xxampj5x.js} +20 -20
  290. package/dist/chunks/{filesystem-yara3q77.js → kv-yara3q77.js} +2 -2
  291. package/dist/chunks/{filesystem-x4vrc5nf.js → kv-yav7psvj.js} +19 -19
  292. package/dist/chunks/{filesystem-yb20nhc3.js → kv-yb20nhc3.js} +1 -1
  293. package/dist/chunks/{filesystem-zgtpaate.js → kv-ybt8qzqk.js} +17 -17
  294. package/dist/chunks/{filesystem-aw8sakew.js → kv-ye8h2zwf.js} +22 -22
  295. package/dist/chunks/{filesystem-ex5adzvz.js → kv-yf4mtc0f.js} +7 -7
  296. package/dist/chunks/{filesystem-zes7n4m2.js → kv-yg4xz38f.js} +91 -91
  297. package/dist/chunks/{filesystem-z38nccrw.js → kv-z38nccrw.js} +1 -1
  298. package/dist/chunks/{filesystem-5ect6tx9.js → kv-zb5gs1ba.js} +3 -3
  299. package/dist/chunks/{filesystem-fn2p6yf2.js → kv-zfbaz3eg.js} +31 -31
  300. package/dist/chunks/{filesystem-08w4mgsv.js → kv-zwyvyh0a.js} +33 -33
  301. package/dist/codemode/catalog.js +1 -1
  302. package/dist/codemode/instructions.js +7 -7
  303. package/dist/codemode/tool.js +3 -3
  304. package/dist/codemode/web.js +1 -1
  305. package/dist/command.js +87 -86
  306. package/dist/config/discovery.js +92 -91
  307. package/dist/config/integration.js +1 -1
  308. package/dist/config/markdown.js +1 -1
  309. package/dist/config/normalize.js +109 -108
  310. package/dist/config/plugin/agent.js +123 -122
  311. package/dist/config/plugin/command.js +221 -220
  312. package/dist/config/plugin/compaction.js +164 -163
  313. package/dist/config/plugin/compatibility.js +144 -143
  314. package/dist/config/plugin/entry-observer.js +1 -1
  315. package/dist/config/plugin/formatter.js +124 -123
  316. package/dist/config/plugin/image.js +123 -122
  317. package/dist/config/plugin/instruction.js +123 -122
  318. package/dist/config/plugin/location-watcher.js +123 -122
  319. package/dist/config/plugin/mcp.js +130 -129
  320. package/dist/config/plugin/policy.js +125 -124
  321. package/dist/config/plugin/provider.js +124 -123
  322. package/dist/config/plugin/reference.js +125 -124
  323. package/dist/config/plugin/shell.js +125 -124
  324. package/dist/config/plugin/skill-file.js +140 -139
  325. package/dist/config/plugin/skill-scan.js +3 -3
  326. package/dist/config/plugin/skill.js +147 -146
  327. package/dist/config/plugin/snapshot.js +123 -122
  328. package/dist/config/plugin/source.js +120 -119
  329. package/dist/config/plugin/tool-output.js +124 -123
  330. package/dist/config/plugin/websearch.js +124 -123
  331. package/dist/config/plugin/worktree.js +125 -124
  332. package/dist/config/variable.js +1 -1
  333. package/dist/config/watch.js +1 -1
  334. package/dist/config.js +128 -127
  335. package/dist/console-access.js +1 -1
  336. package/dist/credential/sql.js +2 -2
  337. package/dist/credential.js +89 -88
  338. package/dist/database/database.js +78 -77
  339. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  340. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  341. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  342. package/dist/database/drizzle/index.js +15 -15
  343. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  346. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  349. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  351. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  353. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  354. package/dist/database/drizzle.js +16 -16
  355. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  356. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  357. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  358. package/dist/database/migration/20260225215848_workspace.js +1 -1
  359. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  360. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  361. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  362. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  363. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  364. package/dist/database/migration/20260323234822_events.js +1 -1
  365. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  366. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  367. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  368. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  369. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  370. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  371. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  372. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  373. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  374. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  375. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  376. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  377. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  378. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  379. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  380. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  381. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  382. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  383. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  384. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  385. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  386. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  387. package/dist/database/migration/20260611035744_credential.js +1 -1
  388. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  389. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  390. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  391. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  392. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  393. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  394. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  395. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  396. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  397. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  398. package/dist/database/migration/20260812213948_worktree.js +1 -1
  399. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  400. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  401. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  402. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  403. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  404. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  405. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  406. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  407. package/dist/database/migration/20261025123711_blob.js +1 -1
  408. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  409. package/dist/database/migration/20261026223005_schedule.js +1 -1
  410. package/dist/database/migration/20261029002625_session_part.js +6 -0
  411. package/dist/database/migration.gen.js +57 -56
  412. package/dist/database/migration.js +59 -58
  413. package/dist/database/path.js +2 -2
  414. package/dist/database/schema.gen.js +1 -1
  415. package/dist/database/schema.sql.js +1 -1
  416. package/dist/database/sqlite.bun.js +1 -1
  417. package/dist/database/sqlite.js +1 -1
  418. package/dist/database/sqlite.node.js +1 -1
  419. package/dist/database/sqlite.workerd.js +1 -1
  420. package/dist/database/v1-migration.bun.js +105 -104
  421. package/dist/database/v1-migration.js +1 -1
  422. package/dist/effect/app-node-builder.js +386 -382
  423. package/dist/effect/app-node-platform.js +2 -2
  424. package/dist/effect/keyed-mutex.js +3 -3
  425. package/dist/effect/websocket-constructor.js +1 -1
  426. package/dist/environment/driver.js +1 -1
  427. package/dist/environment/environment.js +103 -102
  428. package/dist/environment/exec-defaults.js +2 -2
  429. package/dist/environment/files.js +1 -1
  430. package/dist/environment/index.js +103 -102
  431. package/dist/environment/local.js +2 -2
  432. package/dist/environment/memory.js +2 -2
  433. package/dist/environment/unavailable.js +1 -1
  434. package/dist/event/sql.js +1 -1
  435. package/dist/event-logger.js +82 -81
  436. package/dist/file-access.js +150 -149
  437. package/dist/file-mutation.js +104 -103
  438. package/dist/file-retention.js +1 -1
  439. package/dist/filesystem/fff.bun.js +2 -2
  440. package/dist/filesystem/fff.js +1 -1
  441. package/dist/filesystem/fff.node.js +2 -2
  442. package/dist/filesystem/fff.workerd.js +2 -2
  443. package/dist/filesystem/file-watch.js +88 -87
  444. package/dist/filesystem/location-watcher-policy.js +6 -6
  445. package/dist/filesystem/location-watcher.js +234 -233
  446. package/dist/filesystem/protected.js +1 -1
  447. package/dist/filesystem/search.js +109 -108
  448. package/dist/filesystem/watcher-binding.js +1 -1
  449. package/dist/filesystem/watcher.js +11 -11
  450. package/dist/filesystem.js +112 -111
  451. package/dist/form.js +94 -93
  452. package/dist/formatter/builtins.js +4 -4
  453. package/dist/formatter.js +97 -96
  454. package/dist/generate.js +117 -116
  455. package/dist/git.js +11 -11
  456. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  457. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  458. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  459. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  460. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  461. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  462. package/dist/github-copilot/copilot-provider.js +17 -17
  463. package/dist/github-copilot/models.js +101 -100
  464. package/dist/github-copilot/openai-compatible-error.js +1 -1
  465. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  466. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  467. package/dist/github-copilot/responses/openai-error.js +1 -1
  468. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  469. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  470. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  471. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  472. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  473. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  475. package/dist/image/photon-normalize.js +1 -1
  476. package/dist/image/photon-worker.js +1 -1
  477. package/dist/image/photon.js +4 -4
  478. package/dist/image.js +6 -6
  479. package/dist/instance/service.js +5 -5
  480. package/dist/instance.js +377 -373
  481. package/dist/instruction-discovery.js +92 -91
  482. package/dist/instructions/builtins.js +97 -96
  483. package/dist/instructions/index.js +5 -5
  484. package/dist/integration/connection.js +5 -5
  485. package/dist/integration.js +95 -94
  486. package/dist/job.js +86 -85
  487. package/dist/kv/sql.js +2 -2
  488. package/dist/kv.js +81 -80
  489. package/dist/location-activity.js +168 -167
  490. package/dist/location-lifecycle.js +144 -143
  491. package/dist/location-service-map.js +96 -95
  492. package/dist/location-services.js +374 -370
  493. package/dist/location.js +97 -96
  494. package/dist/managed-policy.js +3 -3
  495. package/dist/mcp/client.js +101 -100
  496. package/dist/mcp/index.js +117 -116
  497. package/dist/mcp/instructions.js +170 -169
  498. package/dist/mcp/oauth.js +86 -85
  499. package/dist/mcp/socket-client.js +1 -1
  500. package/dist/mcp/stdio.js +100 -99
  501. package/dist/mime.js +1 -1
  502. package/dist/modal/models.js +101 -100
  503. package/dist/model-resolver.js +109 -108
  504. package/dist/model-retry.js +1 -1
  505. package/dist/model.js +110 -109
  506. package/dist/models-dev/v1.js +1 -1
  507. package/dist/models-dev.js +118 -117
  508. package/dist/oauth/page.js +1 -1
  509. package/dist/permission/saved.js +90 -89
  510. package/dist/permission/sql.js +5 -5
  511. package/dist/permission.js +149 -148
  512. package/dist/persistent-pty/binary.bun.js +1 -1
  513. package/dist/persistent-pty/daemon.js +1 -1
  514. package/dist/persistent-pty/index.js +96 -95
  515. package/dist/persistent-pty/pty-binding.js +1 -1
  516. package/dist/persistent-pty.js +83 -82
  517. package/dist/plugin/agent.js +82 -81
  518. package/dist/plugin/command.js +110 -109
  519. package/dist/plugin/goal.js +3 -3
  520. package/dist/plugin/hooks.js +5 -5
  521. package/dist/plugin/host.js +227 -226
  522. package/dist/plugin/identity.js +5 -5
  523. package/dist/plugin/instance.js +1 -1
  524. package/dist/plugin/internal.js +347 -343
  525. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  526. package/dist/plugin/models-dev.js +107 -106
  527. package/dist/plugin/module.js +125 -124
  528. package/dist/plugin/optimize.js +2 -2
  529. package/dist/plugin/plan.js +140 -139
  530. package/dist/plugin/promise.js +1 -1
  531. package/dist/plugin/provider/amazon-bedrock.js +101 -100
  532. package/dist/plugin/provider/azure.js +123 -122
  533. package/dist/plugin/provider/cerebras.js +1 -1
  534. package/dist/plugin/provider/chatgpt.js +123 -122
  535. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
  536. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
  537. package/dist/plugin/provider/configured.js +119 -118
  538. package/dist/plugin/provider/credential-settings.js +82 -81
  539. package/dist/plugin/provider/databricks.js +1 -1
  540. package/dist/plugin/provider/digitalocean.js +103 -102
  541. package/dist/plugin/provider/dynamic.js +2 -2
  542. package/dist/plugin/provider/github-copilot.js +105 -104
  543. package/dist/plugin/provider/gitlab.js +104 -103
  544. package/dist/plugin/provider/google-vertex.js +120 -119
  545. package/dist/plugin/provider/kilo.js +1 -1
  546. package/dist/plugin/provider/llmgateway.js +86 -85
  547. package/dist/plugin/provider/lmstudio.js +130 -129
  548. package/dist/plugin/provider/local.js +129 -128
  549. package/dist/plugin/provider/modal.js +102 -101
  550. package/dist/plugin/provider/neon.js +1 -1
  551. package/dist/plugin/provider/nvidia.js +1 -1
  552. package/dist/plugin/provider/ollama.js +132 -131
  553. package/dist/plugin/provider/openai-context-caps.js +100 -99
  554. package/dist/plugin/provider/openai.js +123 -122
  555. package/dist/plugin/provider/opencode.js +126 -125
  556. package/dist/plugin/provider/openrouter.js +101 -100
  557. package/dist/plugin/provider/poe.js +87 -86
  558. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  559. package/dist/plugin/provider/sap-ai-core.js +101 -100
  560. package/dist/plugin/provider/sdk-factory.js +1 -1
  561. package/dist/plugin/provider/snowflake-cortex.js +122 -121
  562. package/dist/plugin/provider/vllm.js +132 -131
  563. package/dist/plugin/provider/xai.js +101 -100
  564. package/dist/plugin/provider/zenmux.js +1 -1
  565. package/dist/plugin/provider.js +174 -173
  566. package/dist/plugin/sdk.js +82 -81
  567. package/dist/plugin/service.js +3 -3
  568. package/dist/plugin/skill.js +141 -140
  569. package/dist/plugin/source-directory.js +1 -1
  570. package/dist/plugin/supervisor.js +361 -357
  571. package/dist/plugin/tool-input-repair.js +4 -4
  572. package/dist/plugin/update.js +6 -6
  573. package/dist/plugin/vcs/git.js +94 -93
  574. package/dist/plugin/vcs/hg.js +96 -95
  575. package/dist/plugin/verbosity.js +103 -102
  576. package/dist/plugin/warming.js +121 -120
  577. package/dist/plugin/websearch/exa.js +7 -7
  578. package/dist/plugin/websearch/firecrawl.js +8 -8
  579. package/dist/plugin/websearch/index.js +9 -9
  580. package/dist/plugin/websearch/mcp.js +2 -2
  581. package/dist/plugin/websearch/parallel.js +8 -8
  582. package/dist/plugin/websearch/tavily.js +4 -4
  583. package/dist/plugin/websearch/tinyfish.js +8 -8
  584. package/dist/plugin.js +234 -233
  585. package/dist/project/icon.js +5 -5
  586. package/dist/project/schema.js +8 -8
  587. package/dist/project/sql.js +4 -4
  588. package/dist/project.js +100 -99
  589. package/dist/provider.js +111 -110
  590. package/dist/pty/protocol.js +1 -1
  591. package/dist/pty/ticket.js +1 -1
  592. package/dist/pty.js +106 -105
  593. package/dist/reference/instructions.js +98 -97
  594. package/dist/reference.js +100 -99
  595. package/dist/repository-cache.js +90 -89
  596. package/dist/repository.js +1 -1
  597. package/dist/ripgrep/binary.js +2 -2
  598. package/dist/ripgrep.js +105 -104
  599. package/dist/rpc.js +96 -95
  600. package/dist/schedule/sql.js +6 -6
  601. package/dist/schedule.js +245 -553
  602. package/dist/schema.js +1 -1
  603. package/dist/session/affinity.js +1 -1
  604. package/dist/session/background.js +1 -1
  605. package/dist/session/blob.js +122 -121
  606. package/dist/session/command.js +82 -81
  607. package/dist/session/compaction.js +164 -163
  608. package/dist/session/context.js +190 -189
  609. package/dist/session/diff.js +98 -97
  610. package/dist/session/environment.js +5 -5
  611. package/dist/session/error.js +5 -5
  612. package/dist/session/event.js +1 -1
  613. package/dist/session/execution/restart.js +233 -232
  614. package/dist/session/execution.js +154 -153
  615. package/dist/session/generate.js +192 -191
  616. package/dist/session/history.js +138 -129
  617. package/dist/session/inbox.js +136 -135
  618. package/dist/session/info.js +3 -3
  619. package/dist/session/instruction-entry.js +87 -86
  620. package/dist/session/instruction-state.js +8 -8
  621. package/dist/session/instructions.js +134 -133
  622. package/dist/session/message-updater.js +4 -4
  623. package/dist/session/message.js +1 -1
  624. package/dist/session/model-request.js +157 -156
  625. package/dist/session/model-transport.js +9 -9
  626. package/dist/session/move.js +158 -157
  627. package/dist/session/projector.js +136 -135
  628. package/dist/session/prompt.js +142 -141
  629. package/dist/session/recent-text.js +1 -1
  630. package/dist/session/revert.js +132 -131
  631. package/dist/session/run-coordinator.js +3 -3
  632. package/dist/session/runner/index.js +3 -3
  633. package/dist/session/runner/llm.js +241 -240
  634. package/dist/session/runner/max-steps.js +1 -1
  635. package/dist/session/runner/model.js +110 -109
  636. package/dist/session/runner/publish-llm-event.js +143 -142
  637. package/dist/session/runner/retry.js +5 -5
  638. package/dist/session/runner/step.js +154 -153
  639. package/dist/session/runner/to-llm-message.js +130 -129
  640. package/dist/session/schema.js +5 -5
  641. package/dist/session/session.js +174 -173
  642. package/dist/session/shell.js +137 -136
  643. package/dist/session/skill.js +141 -140
  644. package/dist/session/sql.js +7 -5
  645. package/dist/session/stats.js +116 -83
  646. package/dist/session/store.js +135 -134
  647. package/dist/session/stored.js +2 -2
  648. package/dist/session/subagent-completion.js +1 -1
  649. package/dist/session/subagent-job.js +221 -220
  650. package/dist/session/system-prompt.js +3 -3
  651. package/dist/session/title.js +192 -191
  652. package/dist/session/to-session-error.js +142 -141
  653. package/dist/session/transfer.js +232 -231
  654. package/dist/session/usage.js +1 -1
  655. package/dist/session.js +227 -226
  656. package/dist/shell/parse.js +8 -8
  657. package/dist/shell/result.js +1 -1
  658. package/dist/shell/scan.js +1 -1
  659. package/dist/shell/select.js +11 -11
  660. package/dist/shell.js +139 -138
  661. package/dist/skill/discovery.js +2 -2
  662. package/dist/skill/instructions.js +143 -142
  663. package/dist/skill.js +150 -149
  664. package/dist/snapshot.js +101 -100
  665. package/dist/state.js +1 -1
  666. package/dist/tool/html-markdown.js +1 -1
  667. package/dist/tool/http-body.js +1 -1
  668. package/dist/tool/mcp.js +167 -166
  669. package/dist/tool/plugin/edit.js +158 -157
  670. package/dist/tool/plugin/file-diff.js +1 -1
  671. package/dist/tool/plugin/glob.js +160 -159
  672. package/dist/tool/plugin/grep.js +154 -153
  673. package/dist/tool/plugin/image-generate.js +230 -228
  674. package/dist/tool/plugin/mcp-resource.js +156 -155
  675. package/dist/tool/plugin/opencode.js +155 -154
  676. package/dist/tool/plugin/patch.js +158 -157
  677. package/dist/tool/plugin/question.js +140 -139
  678. package/dist/tool/plugin/read.js +163 -162
  679. package/dist/tool/plugin/schedule.js +230 -0
  680. package/dist/tool/plugin/shell.js +226 -225
  681. package/dist/tool/plugin/skill.js +151 -150
  682. package/dist/tool/plugin/subagent.js +220 -219
  683. package/dist/tool/plugin/todo.js +147 -146
  684. package/dist/tool/plugin/webfetch.js +149 -148
  685. package/dist/tool/plugin/websearch.js +147 -146
  686. package/dist/tool/plugin/write.js +160 -159
  687. package/dist/tool/read-filesystem.js +112 -111
  688. package/dist/tool/runtime.js +1 -1
  689. package/dist/tool-output.js +7 -7
  690. package/dist/tool.js +12 -12
  691. package/dist/types/database/migration/20261029002625_session_part.d.ts +3 -0
  692. package/dist/types/plugin/internal.d.ts +3 -2
  693. package/dist/types/schedule.d.ts +65 -1
  694. package/dist/types/session/history.d.ts +1165 -1
  695. package/dist/types/session/sql.d.ts +236 -0
  696. package/dist/types/tool/plugin/image-generate.d.ts +1 -1
  697. package/dist/types/tool/plugin/schedule.d.ts +46 -0
  698. package/dist/usage-limits.js +95 -94
  699. package/dist/util/error-summary.js +1 -1
  700. package/dist/util/git-executable.js +3 -3
  701. package/dist/util/lazy.js +1 -1
  702. package/dist/util/slug.js +1 -1
  703. package/dist/util/token.js +1 -1
  704. package/dist/util/which.js +1 -1
  705. package/dist/util/wildcard.js +1 -1
  706. package/dist/v1/config/agent.js +7 -7
  707. package/dist/v1/config/command.js +3 -3
  708. package/dist/v1/config/mcp.js +4 -4
  709. package/dist/v1/config/migrate.js +102 -101
  710. package/dist/v1/config/permission.js +3 -3
  711. package/dist/v1/config/plugin.js +3 -3
  712. package/dist/v1/config/provider-options.js +1 -1
  713. package/dist/v1/config/provider.js +4 -4
  714. package/dist/variant.js +103 -102
  715. package/dist/vcs/patch.js +1 -1
  716. package/dist/vcs.js +99 -98
  717. package/dist/voice.js +94 -93
  718. package/dist/websearch.js +88 -87
  719. package/dist/wellknown/plugin.js +84 -83
  720. package/dist/wellknown.js +87 -86
  721. package/dist/workspace/driver.js +5 -5
  722. package/dist/workspace/sql.js +1 -1
  723. package/dist/workspace.js +90 -89
  724. package/dist/worktree/directory.js +2 -2
  725. package/dist/worktree/git.js +11 -11
  726. package/dist/worktree/sql.js +5 -5
  727. package/dist/worktree/strategies.js +99 -98
  728. package/dist/worktree.js +110 -109
  729. package/package.json +8 -8
  730. package/dist/chunks/filesystem-bsgt82ad.js +0 -257
  731. package/dist/chunks/filesystem-s7ertgdh.js +0 -26
  732. package/dist/chunks/filesystem-z355x5yr.js +0 -18
  733. /package/dist/chunks/{filesystem-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
  734. /package/dist/chunks/{filesystem-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
  735. /package/dist/chunks/{filesystem-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
  736. /package/dist/chunks/{filesystem-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
  737. /package/dist/chunks/{filesystem-1jakw16s.js → kv-1jakw16s.js} +0 -0
  738. /package/dist/chunks/{filesystem-24dcb14g.js → kv-24dcb14g.js} +0 -0
  739. /package/dist/chunks/{filesystem-2710q6r3.js → kv-2710q6r3.js} +0 -0
  740. /package/dist/chunks/{filesystem-2bv980vf.js → kv-2bv980vf.js} +0 -0
  741. /package/dist/chunks/{filesystem-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
  742. /package/dist/chunks/{filesystem-359p4xyc.js → kv-359p4xyc.js} +0 -0
  743. /package/dist/chunks/{filesystem-3asan66x.js → kv-3asan66x.js} +0 -0
  744. /package/dist/chunks/{filesystem-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
  745. /package/dist/chunks/{filesystem-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
  746. /package/dist/chunks/{filesystem-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
  747. /package/dist/chunks/{filesystem-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
  748. /package/dist/chunks/{filesystem-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
  749. /package/dist/chunks/{filesystem-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
  750. /package/dist/chunks/{filesystem-53557ph1.js → kv-53557ph1.js} +0 -0
  751. /package/dist/chunks/{filesystem-550bvhaj.js → kv-550bvhaj.js} +0 -0
  752. /package/dist/chunks/{filesystem-5w3e23ze.js → kv-5w3e23ze.js} +0 -0
  753. /package/dist/chunks/{filesystem-6prwharc.js → kv-6prwharc.js} +0 -0
  754. /package/dist/chunks/{filesystem-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
  755. /package/dist/chunks/{filesystem-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
  756. /package/dist/chunks/{filesystem-7m9af43g.js → kv-7m9af43g.js} +0 -0
  757. /package/dist/chunks/{filesystem-822emrt2.js → kv-822emrt2.js} +0 -0
  758. /package/dist/chunks/{filesystem-84wd9syh.js → kv-84wd9syh.js} +0 -0
  759. /package/dist/chunks/{filesystem-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
  760. /package/dist/chunks/{filesystem-8n3pysct.js → kv-8n3pysct.js} +0 -0
  761. /package/dist/chunks/{filesystem-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
  762. /package/dist/chunks/{filesystem-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
  763. /package/dist/chunks/{filesystem-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
  764. /package/dist/chunks/{filesystem-a058387c.js → kv-a058387c.js} +0 -0
  765. /package/dist/chunks/{filesystem-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
  766. /package/dist/chunks/{filesystem-af5trqkr.js → kv-af5trqkr.js} +0 -0
  767. /package/dist/chunks/{filesystem-afrmfg78.js → kv-afrmfg78.js} +0 -0
  768. /package/dist/chunks/{filesystem-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
  769. /package/dist/chunks/{filesystem-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
  770. /package/dist/chunks/{filesystem-beh6qq61.js → kv-beh6qq61.js} +0 -0
  771. /package/dist/chunks/{filesystem-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
  772. /package/dist/chunks/{filesystem-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
  773. /package/dist/chunks/{filesystem-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
  774. /package/dist/chunks/{filesystem-cqv5kn06.js → kv-cqv5kn06.js} +0 -0
  775. /package/dist/chunks/{filesystem-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
  776. /package/dist/chunks/{filesystem-d9fn303g.js → kv-d9fn303g.js} +0 -0
  777. /package/dist/chunks/{filesystem-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
  778. /package/dist/chunks/{filesystem-dajrwvna.js → kv-dajrwvna.js} +0 -0
  779. /package/dist/chunks/{filesystem-dap0rakb.js → kv-dap0rakb.js} +0 -0
  780. /package/dist/chunks/{filesystem-df08tz66.js → kv-df08tz66.js} +0 -0
  781. /package/dist/chunks/{filesystem-dy18nga0.js → kv-dy18nga0.js} +0 -0
  782. /package/dist/chunks/{filesystem-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
  783. /package/dist/chunks/{filesystem-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
  784. /package/dist/chunks/{filesystem-ec1grn59.js → kv-ec1grn59.js} +0 -0
  785. /package/dist/chunks/{filesystem-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
  786. /package/dist/chunks/{filesystem-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
  787. /package/dist/chunks/{filesystem-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
  788. /package/dist/chunks/{filesystem-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
  789. /package/dist/chunks/{filesystem-faypxj3z.js → kv-faypxj3z.js} +0 -0
  790. /package/dist/chunks/{filesystem-fd410y7t.js → kv-fd410y7t.js} +0 -0
  791. /package/dist/chunks/{filesystem-fkpq3x5p.js → kv-fkpq3x5p.js} +0 -0
  792. /package/dist/chunks/{filesystem-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
  793. /package/dist/chunks/{filesystem-g86h250q.js → kv-g86h250q.js} +0 -0
  794. /package/dist/chunks/{filesystem-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
  795. /package/dist/chunks/{filesystem-gftt206x.js → kv-gftt206x.js} +0 -0
  796. /package/dist/chunks/{filesystem-hcxmzztb.js → kv-hcxmzztb.js} +0 -0
  797. /package/dist/chunks/{filesystem-hk9envan.js → kv-hk9envan.js} +0 -0
  798. /package/dist/chunks/{filesystem-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
  799. /package/dist/chunks/{filesystem-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
  800. /package/dist/chunks/{filesystem-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
  801. /package/dist/chunks/{filesystem-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
  802. /package/dist/chunks/{filesystem-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
  803. /package/dist/chunks/{filesystem-jwr30sdr.js → kv-jwr30sdr.js} +0 -0
  804. /package/dist/chunks/{filesystem-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
  805. /package/dist/chunks/{filesystem-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
  806. /package/dist/chunks/{filesystem-m18g726c.js → kv-m18g726c.js} +0 -0
  807. /package/dist/chunks/{filesystem-mp448xyj.js → kv-mp448xyj.js} +0 -0
  808. /package/dist/chunks/{filesystem-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
  809. /package/dist/chunks/{filesystem-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
  810. /package/dist/chunks/{filesystem-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
  811. /package/dist/chunks/{filesystem-ncqqe42p.js → kv-ncqqe42p.js} +0 -0
  812. /package/dist/chunks/{filesystem-nh4v3znn.js → kv-nh4v3znn.js} +0 -0
  813. /package/dist/chunks/{filesystem-njntx4h6.js → kv-njntx4h6.js} +0 -0
  814. /package/dist/chunks/{filesystem-p71gwv9c.js → kv-p71gwv9c.js} +0 -0
  815. /package/dist/chunks/{filesystem-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
  816. /package/dist/chunks/{filesystem-q74kybfr.js → kv-q74kybfr.js} +0 -0
  817. /package/dist/chunks/{filesystem-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
  818. /package/dist/chunks/{filesystem-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
  819. /package/dist/chunks/{filesystem-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
  820. /package/dist/chunks/{filesystem-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
  821. /package/dist/chunks/{filesystem-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
  822. /package/dist/chunks/{filesystem-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
  823. /package/dist/chunks/{filesystem-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
  824. /package/dist/chunks/{filesystem-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
  825. /package/dist/chunks/{filesystem-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
  826. /package/dist/chunks/{filesystem-w803qqfp.js → kv-w803qqfp.js} +0 -0
  827. /package/dist/chunks/{filesystem-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
  828. /package/dist/chunks/{filesystem-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
  829. /package/dist/chunks/{filesystem-wtztk69x.js → kv-wtztk69x.js} +0 -0
  830. /package/dist/chunks/{filesystem-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
  831. /package/dist/chunks/{filesystem-x61499pn.js → kv-x61499pn.js} +0 -0
  832. /package/dist/chunks/{filesystem-y44na4kk.js → kv-y44na4kk.js} +0 -0
  833. /package/dist/chunks/{filesystem-y8f7s663.js → kv-y8f7s663.js} +0 -0
  834. /package/dist/chunks/{filesystem-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
  835. /package/dist/chunks/{filesystem-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
  836. /package/dist/chunks/{filesystem-z9919s4g.js → kv-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service73
3
- } from "./filesystem-8cykdwq1.js";
2
+ Service72
3
+ } from "./kv-gmcaypba.js";
4
4
  import {
5
- Service12
6
- } from "./filesystem-zgd8t41s.js";
5
+ Service7
6
+ } from "./kv-hvy79q2t.js";
7
7
  import {
8
8
  observe2
9
- } from "./filesystem-hpg1pkwy.js";
9
+ } from "./kv-hpg1pkwy.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./kv-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
15
  var exports_location_watcher2 = {};
16
16
  __export(exports_location_watcher2, {
17
17
  ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin13
18
+ Plugin: () => Plugin19
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin13 = define({
22
+ var Plugin19 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service73;
26
- const policy = yield* Service12;
25
+ const config = yield* Service72;
26
+ const policy = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin13 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin13, exports_location_watcher2 };
38
+ export { Plugin19, exports_location_watcher2 };
@@ -211,6 +211,21 @@ var schema = {
211
211
  CONSTRAINT \`fk_session_message_session_id_session_v2_id_fk\` FOREIGN KEY (\`session_id\`) REFERENCES \`session_v2\`(\`id\`) ON DELETE CASCADE
212
212
  );
213
213
  `);
214
+ yield* tx.run(`
215
+ CREATE TABLE \`session_part\` (
216
+ \`message_id\` text NOT NULL,
217
+ \`session_id\` text NOT NULL,
218
+ \`ordinal\` integer NOT NULL,
219
+ \`type\` text NOT NULL,
220
+ \`call_id\` text,
221
+ \`time_created\` integer NOT NULL,
222
+ \`time_updated\` integer NOT NULL,
223
+ \`data\` text NOT NULL,
224
+ CONSTRAINT \`session_part_pk\` PRIMARY KEY(\`message_id\`, \`ordinal\`),
225
+ CONSTRAINT \`fk_session_part_message_id_session_message_id_fk\` FOREIGN KEY (\`message_id\`) REFERENCES \`session_message\`(\`id\`) ON DELETE CASCADE,
226
+ CONSTRAINT \`fk_session_part_session_id_session_v2_id_fk\` FOREIGN KEY (\`session_id\`) REFERENCES \`session_v2\`(\`id\`) ON DELETE CASCADE
227
+ );
228
+ `);
214
229
  yield* tx.run(`
215
230
  CREATE TABLE \`session_v2\` (
216
231
  \`id\` text PRIMARY KEY,
@@ -284,6 +299,7 @@ var schema = {
284
299
  yield* tx.run(`CREATE INDEX \`session_message_session_type_seq_idx\` ON \`session_message\` (\`session_id\`,\`type\`,\`seq\`);`);
285
300
  yield* tx.run(`CREATE INDEX \`session_message_session_time_created_id_idx\` ON \`session_message\` (\`session_id\`,\`time_created\`,\`id\`);`);
286
301
  yield* tx.run(`CREATE INDEX \`session_message_time_created_idx\` ON \`session_message\` (\`time_created\`);`);
302
+ yield* tx.run(`CREATE INDEX \`session_part_session_message_idx\` ON \`session_part\` (\`session_id\`,\`message_id\`,\`ordinal\`);`);
287
303
  yield* tx.run(`CREATE INDEX \`session_v2_project_idx\` ON \`session_v2\` (\`project_id\`);`);
288
304
  yield* tx.run(`CREATE INDEX \`session_v2_workspace_idx\` ON \`session_v2\` (\`workspace_id\`);`);
289
305
  yield* tx.run(`CREATE INDEX \`session_v2_parent_idx\` ON \`session_v2\` (\`parent_id\`);`);
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-18crnhyq.js";
3
+ } from "./kv-kgc898hj.js";
4
4
  import {
5
5
  call2
6
- } from "./filesystem-w2eysc6j.js";
6
+ } from "./kv-w2eysc6j.js";
7
7
  import {
8
8
  __export
9
- } from "./filesystem-9rqn6x4v.js";
9
+ } from "./kv-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin38,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint5
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint5 = "https://search.parallel.ai/mcp";
21
+ var endpoint4 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin37 = define({
50
+ var Plugin38 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin37 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin37 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint5, Plugin37, exports_parallel };
96
+ export { endpoint4, Plugin38, exports_parallel };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./kv-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./filesystem-wq31c655.js";
2
+ ID13
3
+ } from "./kv-4qy1z7f6.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./filesystem-qfa1cgps.js";
3
+ } from "./kv-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make22,
5
5
  diffByKey2
6
- } from "./filesystem-xt0z8zst.js";
6
+ } from "./kv-b0npgc9t.js";
7
7
  import {
8
- ID5,
8
+ ID8,
9
9
  Name2,
10
10
  available4,
11
- Service42,
12
- node45
13
- } from "./filesystem-w1fms507.js";
11
+ Service67,
12
+ node71
13
+ } from "./kv-2vyekkkc.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./kv-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions2 = {};
20
20
  __export(exports_instructions2, {
21
- Service: () => Service30,
21
+ Service: () => Service22,
22
22
  SkillInstructions: () => exports_instructions2,
23
- node: () => node34
23
+ node: () => node25
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID5,
28
+ id: ID8,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -64,15 +64,15 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service30 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service22 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service30, Effect.gen(function* () {
70
- const skills = yield* Service42;
71
- return Service30.of({
69
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
70
+ const skills = yield* Service67;
71
+ return Service22.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
73
  const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make20({
75
- key: Key3.make("core/skill-guidance"),
74
+ return make22({
75
+ key: Key4.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
78
78
  render: {
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node34 = makeLocationNode({ service: Service30, layer, deps: [node45] });
87
+ var node25 = makeLocationNode({ service: Service22, layer, deps: [node71] });
88
88
 
89
- export { Service30, node34, exports_instructions2 };
89
+ export { Service22, node25, exports_instructions2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./filesystem-gftt206x.js";
3
+ } from "./kv-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./kv-9rqn6x4v.js";
7
7
 
8
8
  // src/session/stored.ts
9
9
  var exports_stored = {};
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-18crnhyq.js";
3
+ } from "./kv-kgc898hj.js";
4
4
  import {
5
- Service85
6
- } from "./filesystem-xptjxdz6.js";
5
+ Service86
6
+ } from "./kv-c2fax6kv.js";
7
7
  import {
8
8
  ID16,
9
9
  OAuth3,
10
- Event19
11
- } from "./filesystem-n61g9vyf.js";
10
+ Event16
11
+ } from "./kv-6bzdkscq.js";
12
12
  import {
13
13
  key2
14
- } from "./filesystem-61ennm6n.js";
14
+ } from "./kv-95sp4hdf.js";
15
15
  import {
16
- ID14,
16
+ ID15,
17
17
  MethodID2,
18
18
  AuthorizationError2
19
- } from "./filesystem-vdfc3vwf.js";
19
+ } from "./kv-5bt48bf8.js";
20
20
  import {
21
- ID13
22
- } from "./filesystem-0nhbejy7.js";
21
+ ID14
22
+ } from "./kv-eamxt9ya.js";
23
23
  import {
24
- Service73
25
- } from "./filesystem-8cykdwq1.js";
24
+ Service72
25
+ } from "./kv-gmcaypba.js";
26
26
  import {
27
27
  Remote2,
28
28
  Document2,
29
29
  make12
30
- } from "./filesystem-e07q2w5p.js";
30
+ } from "./kv-e07q2w5p.js";
31
31
  import {
32
32
  integrate2
33
- } from "./filesystem-czzevw5a.js";
33
+ } from "./kv-t9bxgeh8.js";
34
34
  import {
35
35
  defaultServer2,
36
36
  server2,
37
37
  headers2
38
- } from "./filesystem-kt3bjfbg.js";
38
+ } from "./kv-kt3bjfbg.js";
39
39
  import {
40
40
  ID3,
41
41
  Input15,
42
42
  Response2
43
- } from "./filesystem-j8b46n9s.js";
43
+ } from "./kv-n3jfc8px.js";
44
44
 
45
45
  // src/plugin/provider/opencode.ts
46
46
  import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
91
91
  }
92
92
  function oauth(http) {
93
93
  return {
94
- integrationID: ID14.make("opencode"),
94
+ integrationID: ID15.make("opencode"),
95
95
  method: {
96
96
  id: methodID,
97
97
  type: "oauth",
@@ -156,10 +156,10 @@ var OpencodePlugin2 = define({
156
156
  id: "opencode.provider.opencode",
157
157
  effect: Effect.fn(function* (ctx) {
158
158
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
159
- const bus = yield* Service85;
159
+ const bus = yield* Service86;
160
160
  const client = yield* HttpClient.HttpClient;
161
161
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
162
- const config = yield* Service73;
162
+ const config = yield* Service72;
163
163
  const scope = yield* Scope.Scope;
164
164
  const loading = Semaphore.makeUnsafe(1);
165
165
  let snapshot = { remote: undefined, connection: undefined, organization: undefined };
@@ -195,12 +195,12 @@ var OpencodePlugin2 = define({
195
195
  });
196
196
  let integrated;
197
197
  const integrate = Effect.fnUntraced(function* (document) {
198
- yield* config.integration?.(ID14.make("opencode"), document) ?? Effect.void;
199
- integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID14.make("opencode"));
198
+ yield* config.integration?.(ID15.make("opencode"), document) ?? Effect.void;
199
+ integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID15.make("opencode"));
200
200
  });
201
201
  const publish = Effect.fnUntraced(function* (next) {
202
202
  yield* integrate(next.remote && next.connection && make12({
203
- integrationID: ID14.make("opencode"),
203
+ integrationID: ID15.make("opencode"),
204
204
  connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
205
205
  organization: next.organization,
206
206
  info: next.remote
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  integrate2(providers, integrated);
250
250
  });
251
251
  yield* ctx.provider.transform((providers) => {
252
- const item = providers.get(ID13.opencode);
252
+ const item = providers.get(ID14.opencode);
253
253
  if (!item)
254
254
  return;
255
255
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
261
261
  });
262
262
  });
263
263
  yield* ctx.model.transform((models) => {
264
- const item = models.provider.get(ID13.opencode);
264
+ const item = models.provider.get(ID14.opencode);
265
265
  if (!item)
266
266
  return;
267
267
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
316
316
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
317
317
  explainers = yield* Effect.forEach(next.connection ? new Set([
318
- ID13.opencode,
318
+ ID14.opencode,
319
319
  ...Object.keys(next.remote?.providers ?? {})
320
320
  ]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
321
321
  });
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
328
328
  onlyIfMissing: true
329
329
  });
330
330
  });
331
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
331
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
332
332
  yield* poll();
333
333
  })
334
334
  });
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-z5v4ffb3.js";
5
+ } from "./kv-z5v4ffb3.js";
6
6
  import {
7
- Service69,
8
- node71
9
- } from "./filesystem-r98dxkx5.js";
7
+ Service47,
8
+ node51
9
+ } from "./kv-5ybmaaxe.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./filesystem-90zstvax.js";
12
+ } from "./kv-90zstvax.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./kv-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service68,
24
- node: () => node70
23
+ Service: () => Service46,
24
+ node: () => node50
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
59
59
  }) {
60
60
  }
61
61
 
62
- class Service68 extends Context.Service()("@opencode/Ripgrep") {
62
+ class Service46 extends Context.Service()("@opencode/Ripgrep") {
63
63
  }
64
64
  var failure = (message, cause) => new Error4({ message, cause });
65
65
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
66
66
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
67
- var layer = Layer.effect(Service68, Effect.gen(function* () {
68
- const environment = yield* Service69;
67
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
68
+ const environment = yield* Service47;
69
69
  const binary = yield* RipgrepBinary2.Service;
70
70
  const run = (input) => {
71
71
  const program = Effect.scoped(Effect.gen(function* () {
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
93
93
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
94
94
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
95
95
  };
96
- return Service68.of({
96
+ return Service46.of({
97
97
  glob: (input) => run({
98
98
  cwd: input.cwd,
99
99
  limit: input.limit,
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
179
179
  }))))
180
180
  });
181
181
  }));
182
- var node70 = makeLocationNode({ service: Service68, layer, deps: [node71, RipgrepBinary2.node] });
182
+ var node50 = makeLocationNode({ service: Service46, layer, deps: [node51, RipgrepBinary2.node] });
183
183
 
184
- export { Error4, InvalidPatternError2, Service68, node70, exports_ripgrep };
184
+ export { Error4, InvalidPatternError2, Service46, node50, exports_ripgrep };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./filesystem-wakvkjy4.js";
4
+ } from "./kv-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./filesystem-qfa1cgps.js";
7
+ } from "./kv-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./filesystem-034tev2y.js";
10
+ } from "./kv-034tev2y.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -67,6 +67,18 @@ var SessionMessageTable2 = sqliteTable("session_message", {
67
67
  index("session_message_session_time_created_id_idx").on(table.session_id, table.time_created, table.id),
68
68
  index("session_message_time_created_idx").on(table.time_created)
69
69
  ]);
70
+ var SessionPartTable2 = sqliteTable("session_part", {
71
+ message_id: text().$type().notNull().references(() => SessionMessageTable2.id, { onDelete: "cascade" }),
72
+ session_id: text().$type().notNull().references(() => SessionTable2.id, { onDelete: "cascade" }),
73
+ ordinal: integer().notNull(),
74
+ type: text().$type().notNull(),
75
+ call_id: text(),
76
+ ...Timestamps2,
77
+ data: text({ mode: "json" }).notNull().$type()
78
+ }, (table) => [
79
+ primaryKey({ columns: [table.message_id, table.ordinal] }),
80
+ index("session_part_session_message_idx").on(table.session_id, table.message_id, table.ordinal)
81
+ ]);
70
82
  var SessionInboxTable2 = sqliteTable("session_inbox", {
71
83
  id: text().$type().primaryKey(),
72
84
  session_id: text().$type().notNull().references(() => SessionTable2.id, { onDelete: "cascade" }),
@@ -117,4 +129,4 @@ var BlobRefTable2 = sqliteTable("blob_ref", {
117
129
  index("blob_ref_session_seq_idx").on(table.session_id, table.seq)
118
130
  ]);
119
131
 
120
- export { SessionTable2, SessionMessageTable2, SessionInboxTable2, InstructionEntryTable2, InstructionBlobTable2, InstructionStateTable2, BlobTable2, BlobRefTable2 };
132
+ export { SessionTable2, SessionMessageTable2, SessionPartTable2, SessionInboxTable2, InstructionEntryTable2, InstructionBlobTable2, InstructionStateTable2, BlobTable2, BlobRefTable2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./kv-z5v4ffb3.js";
4
4
  import {
5
- Service73
6
- } from "./filesystem-8cykdwq1.js";
5
+ Service72
6
+ } from "./kv-gmcaypba.js";
7
7
  import {
8
- Info10,
9
- ID5,
8
+ Info14,
9
+ ID8,
10
10
  Name2
11
- } from "./filesystem-w1fms507.js";
11
+ } from "./kv-2vyekkkc.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./kv-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin41,
21
+ Plugin: () => Plugin51,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin41 = define({
433
+ var Plugin51 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
- editor.add(Info10.make({
439
- id: ID5.make("opencode"),
438
+ editor.add(Info14.make({
439
+ id: ID8.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("/builtin/opencode.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
- editor.add(Info10.make({
446
- id: ID5.make("report"),
445
+ editor.add(Info14.make({
446
+ id: ID8.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
449
449
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service73;
475
+ const config = yield* Service72;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin51, exports_skill3 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85
3
- } from "./filesystem-xptjxdz6.js";
2
+ Service86
3
+ } from "./kv-c2fax6kv.js";
4
4
  import {
5
- Service75,
6
- Event14
7
- } from "./filesystem-bdpbxs8g.js";
5
+ Service84,
6
+ Event20
7
+ } from "./kv-4g429xmd.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./kv-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin52,
15
+ Plugin: () => Plugin18,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin52 = define({
20
+ var Plugin18 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service85;
24
- const wellknown = yield* Service75;
23
+ const bus = yield* Service86;
24
+ const wellknown = yield* Service84;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin52 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin52, exports_plugin };
48
+ export { Plugin18, exports_plugin };