@opencode/core 0.0.0-dev-21661 → 0.0.0-dev-21668

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-retry-pc1v25hk.js → snapshot-033a0jkt.js} +3 -3
  8. package/dist/chunks/{model-retry-32s59e8p.js → snapshot-0421tmwc.js} +9 -9
  9. package/dist/chunks/{model-retry-7xrq36hz.js → snapshot-0cxd67sz.js} +36 -36
  10. package/dist/chunks/{model-retry-w687dnns.js → snapshot-0h8y3ex8.js} +4 -4
  11. package/dist/chunks/{model-retry-qjqtgprh.js → snapshot-0sdvj732.js} +5 -5
  12. package/dist/chunks/{model-retry-6z7s29v1.js → snapshot-0x28tm96.js} +24 -24
  13. package/dist/chunks/{model-retry-ewms6j9b.js → snapshot-0xry0drq.js} +329 -329
  14. package/dist/chunks/{model-retry-s7kyse9r.js → snapshot-173t91w5.js} +9 -9
  15. package/dist/chunks/{model-retry-wkgj5k69.js → snapshot-1psv69az.js} +5 -5
  16. package/dist/chunks/{model-retry-waexrkk0.js → snapshot-1skgtqkp.js} +27 -27
  17. package/dist/chunks/{model-retry-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{model-retry-k2qg1sgb.js → snapshot-1z8e55mc.js} +30 -30
  19. package/dist/chunks/{model-retry-20nwq5j7.js → snapshot-20nwq5j7.js} +2 -2
  20. package/dist/chunks/{model-retry-fhjm4z34.js → snapshot-23kx2h0m.js} +32 -32
  21. package/dist/chunks/{model-retry-kjgnzevm.js → snapshot-26qqh6c2.js} +9 -9
  22. package/dist/chunks/{model-retry-27w5k9zf.js → snapshot-27w5k9zf.js} +2 -2
  23. package/dist/chunks/{model-retry-mw1nm45k.js → snapshot-2cj8dw40.js} +12 -12
  24. package/dist/chunks/snapshot-2m3we97b.js +257 -0
  25. package/dist/chunks/{model-retry-8zmpysdb.js → snapshot-2xayqnkb.js} +1 -1
  26. package/dist/chunks/{model-retry-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
  27. package/dist/chunks/{model-retry-16z8xvrr.js → snapshot-32d3hzha.js} +5 -5
  28. package/dist/chunks/{model-retry-x2s7p62g.js → snapshot-32jffxcm.js} +13 -13
  29. package/dist/chunks/{model-retry-bh48jfkc.js → snapshot-37yt7bbd.js} +177 -177
  30. package/dist/chunks/{model-retry-3cbjf1nt.js → snapshot-3cbjf1nt.js} +2 -2
  31. package/dist/chunks/{model-retry-xv9gw8q2.js → snapshot-3fgynn9z.js} +13 -13
  32. package/dist/chunks/{model-retry-4z2d5fre.js → snapshot-3fp5dj89.js} +17 -17
  33. package/dist/chunks/{model-retry-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{model-retry-a8rk6bya.js → snapshot-3maxfv7x.js} +14 -14
  35. package/dist/chunks/{model-retry-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{model-retry-g02cgtqg.js → snapshot-3s06s3jm.js} +85 -85
  37. package/dist/chunks/{model-retry-a634j94t.js → snapshot-48kj9ap1.js} +13 -13
  38. package/dist/chunks/{model-retry-akeabbgf.js → snapshot-4d3r9sj7.js} +6 -6
  39. package/dist/chunks/{model-retry-xby873vx.js → snapshot-4kjpm9vg.js} +22 -22
  40. package/dist/chunks/{model-retry-thtmsm01.js → snapshot-4ms7e40b.js} +35 -35
  41. package/dist/chunks/{model-retry-dw8101p3.js → snapshot-4pk1s674.js} +17 -17
  42. package/dist/chunks/{model-retry-k4pkx3h8.js → snapshot-4q3ynb4r.js} +3 -3
  43. package/dist/chunks/{model-retry-2352cqpm.js → snapshot-4stkd5r6.js} +20 -20
  44. package/dist/chunks/{model-retry-9wbkt707.js → snapshot-4t140x50.js} +25 -25
  45. package/dist/chunks/{model-retry-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
  46. package/dist/chunks/{model-retry-w830et9m.js → snapshot-4vgzdrnt.js} +11 -11
  47. package/dist/chunks/{model-retry-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
  48. package/dist/chunks/{model-retry-a6zfrhwy.js → snapshot-4yjsd0st.js} +18 -18
  49. package/dist/chunks/{model-retry-7vrs0mxf.js → snapshot-58b8s1qw.js} +14 -14
  50. package/dist/chunks/{model-retry-33jrma66.js → snapshot-5awenbjt.js} +16 -16
  51. package/dist/chunks/{model-retry-grv9e0a8.js → snapshot-5m4gtxdr.js} +33 -33
  52. package/dist/chunks/{model-retry-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{model-retry-pqrp5r8r.js → snapshot-5nbhg5mq.js} +14 -14
  54. package/dist/chunks/{model-retry-e3qxr5gk.js → snapshot-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{model-retry-pfyk31y2.js → snapshot-5vbppz2s.js} +5 -5
  56. package/dist/chunks/{model-retry-945mzj2f.js → snapshot-5z80vped.js} +16 -16
  57. package/dist/chunks/{model-retry-hjw91gt8.js → snapshot-5z9pfwbq.js} +4 -4
  58. package/dist/chunks/{model-retry-4eyfa5bt.js → snapshot-610sztem.js} +18 -18
  59. package/dist/chunks/{model-retry-dxtt3dn7.js → snapshot-65xpdfa7.js} +43 -43
  60. package/dist/chunks/{model-retry-vsdtm3y6.js → snapshot-66cfxs70.js} +21 -21
  61. package/dist/chunks/{model-retry-qvw98tg0.js → snapshot-6d6xnsqa.js} +5 -5
  62. package/dist/chunks/{model-retry-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{model-retry-adfgt62e.js → snapshot-6fc2jj72.js} +11 -11
  64. package/dist/chunks/{model-retry-gmwwyjpc.js → snapshot-6hx05w6d.js} +13 -13
  65. package/dist/chunks/{model-retry-f49gwp6r.js → snapshot-6jjcp2t3.js} +19 -19
  66. package/dist/chunks/{model-retry-qbat39qr.js → snapshot-6pefdjqg.js} +4 -4
  67. package/dist/chunks/{model-retry-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
  68. package/dist/chunks/{model-retry-sgsbvhae.js → snapshot-6rhfy3ae.js} +9 -9
  69. package/dist/chunks/{model-retry-hg04c070.js → snapshot-6t3tc22h.js} +21 -21
  70. package/dist/chunks/{model-retry-tc3wr7kw.js → snapshot-71r0w8zg.js} +8 -8
  71. package/dist/chunks/{model-retry-h86hs4jx.js → snapshot-752jpkzc.js} +20 -20
  72. package/dist/chunks/{model-retry-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-retry-5bnhtwbz.js → snapshot-7pr1y472.js} +50 -50
  74. package/dist/chunks/{model-retry-ytzfdnxp.js → snapshot-7q6s22z8.js} +11 -11
  75. package/dist/chunks/{model-retry-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{model-retry-tfkjdz6t.js → snapshot-7x3q52mv.js} +23 -23
  77. package/dist/chunks/{model-retry-yy9yh1zy.js → snapshot-7xnhddsz.js} +11 -11
  78. package/dist/chunks/{model-retry-vck6kdh7.js → snapshot-7xq4z8xa.js} +24 -24
  79. package/dist/chunks/{model-retry-nekjk3x1.js → snapshot-7zb10xad.js} +23 -23
  80. package/dist/chunks/{model-retry-qe6vkhvx.js → snapshot-8tsxffec.js} +11 -11
  81. package/dist/chunks/{model-retry-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{model-retry-18g90bpv.js → snapshot-8x9y3wj0.js} +9 -9
  83. package/dist/chunks/{model-retry-ea0wswcg.js → snapshot-8yhhbcjk.js} +45 -45
  84. package/dist/chunks/{model-retry-rfqv2m6w.js → snapshot-90ckabyq.js} +3 -3
  85. package/dist/chunks/{model-retry-91rj84md.js → snapshot-91rj84md.js} +1 -1
  86. package/dist/chunks/{model-retry-tsemnbjg.js → snapshot-93z9sy6y.js} +28 -28
  87. package/dist/chunks/{model-retry-5r72z9dp.js → snapshot-9437wt4d.js} +8 -8
  88. package/dist/chunks/{model-retry-0gka690g.js → snapshot-956c56jz.js} +2 -2
  89. package/dist/chunks/{model-retry-kr6h74hd.js → snapshot-97hv35cm.js} +4 -4
  90. package/dist/chunks/{model-retry-ckhajkac.js → snapshot-9fgzczsj.js} +14 -14
  91. package/dist/chunks/{model-retry-20bsrc0x.js → snapshot-9h4y1sr0.js} +10 -10
  92. package/dist/chunks/{model-retry-t3mtxhe8.js → snapshot-9pn10d5x.js} +36 -36
  93. package/dist/chunks/{model-retry-tjcpgb0t.js → snapshot-9sznrwc9.js} +22 -22
  94. package/dist/chunks/{model-retry-j5644rm0.js → snapshot-9y2jjkve.js} +8 -8
  95. package/dist/chunks/{model-retry-qyjpv9b5.js → snapshot-a2c90ztv.js} +13 -13
  96. package/dist/chunks/{model-retry-7d4vabvg.js → snapshot-a82ggzqd.js} +25 -25
  97. package/dist/chunks/{model-retry-qxbnebsm.js → snapshot-a8rbahn6.js} +44 -44
  98. package/dist/chunks/{model-retry-fmhdrg4y.js → snapshot-a9x398e2.js} +26 -26
  99. package/dist/chunks/{model-retry-aj7mw0zk.js → snapshot-aj7mw0zk.js} +2 -2
  100. package/dist/chunks/{model-retry-daaznt2t.js → snapshot-anyn98fc.js} +4 -4
  101. package/dist/chunks/{model-retry-bjhzkqyk.js → snapshot-ar2j3j0f.js} +4 -4
  102. package/dist/chunks/{model-retry-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
  103. package/dist/chunks/{model-retry-wmtep305.js → snapshot-b2gqx2s6.js} +24 -24
  104. package/dist/chunks/{model-retry-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
  105. package/dist/chunks/{model-retry-n7wnam13.js → snapshot-bgg6fpfq.js} +7 -7
  106. package/dist/chunks/{model-retry-bdhbhy6a.js → snapshot-bjvnb1jb.js} +14 -14
  107. package/dist/chunks/{model-retry-5v7kgtbj.js → snapshot-bpvjn4b4.js} +5 -5
  108. package/dist/chunks/{model-retry-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
  109. package/dist/chunks/{model-retry-7gq17r0e.js → snapshot-bt6ghjgk.js} +9 -9
  110. package/dist/chunks/{model-retry-6fshephh.js → snapshot-btd04tm9.js} +21 -21
  111. package/dist/chunks/{model-retry-rf0axqhe.js → snapshot-btnzg8nv.js} +20 -20
  112. package/dist/chunks/{model-retry-4p63kbz0.js → snapshot-bwcj1zz2.js} +21 -21
  113. package/dist/chunks/{model-retry-m2hnwcn8.js → snapshot-c1gjp1wv.js} +9 -9
  114. package/dist/chunks/{model-retry-aqtvbfp8.js → snapshot-c1yxjx8d.js} +4 -4
  115. package/dist/chunks/{model-retry-88wp77t0.js → snapshot-c2jwcn11.js} +31 -31
  116. package/dist/chunks/{model-retry-1q6rtcwx.js → snapshot-c2wjegh6.js} +11 -11
  117. package/dist/chunks/{model-retry-c3cfh5w6.js → snapshot-c3cfh5w6.js} +2 -2
  118. package/dist/chunks/{model-retry-d2887f8n.js → snapshot-c9t2ty9q.js} +4 -4
  119. package/dist/chunks/{model-retry-c5m2a8vb.js → snapshot-ccp6j38y.js} +8 -8
  120. package/dist/chunks/{model-retry-wh6kfv27.js → snapshot-chxh2xv4.js} +41 -41
  121. package/dist/chunks/{model-retry-5bwswyjb.js → snapshot-d092qe14.js} +28 -28
  122. package/dist/chunks/{model-retry-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{model-retry-1rpbm281.js → snapshot-de80h68g.js} +7 -7
  124. package/dist/chunks/{model-retry-xe04d561.js → snapshot-desdfmbz.js} +15 -15
  125. package/dist/chunks/{model-retry-fn90fkvf.js → snapshot-dktwc335.js} +30 -30
  126. package/dist/chunks/{model-retry-v7edqz63.js → snapshot-dmkv2tgn.js} +14 -14
  127. package/dist/chunks/{model-retry-dvj9ct8m.js → snapshot-dvj9ct8m.js} +3 -3
  128. package/dist/chunks/{model-retry-gg5ajwfv.js → snapshot-dvnjm1h8.js} +35 -35
  129. package/dist/chunks/{model-retry-2wmk5873.js → snapshot-dzn8tf7s.js} +4 -4
  130. package/dist/chunks/{model-retry-hnrrf75a.js → snapshot-e2ze8rsg.js} +10 -10
  131. package/dist/chunks/{model-retry-e834z07m.js → snapshot-e834z07m.js} +1 -1
  132. package/dist/chunks/{model-retry-tx91wa5k.js → snapshot-e8pm465n.js} +4 -4
  133. package/dist/chunks/{model-retry-hk6b7xe4.js → snapshot-e9h2djdw.js} +27 -27
  134. package/dist/chunks/{model-retry-4j6ygzg0.js → snapshot-easvm2vj.js} +17 -17
  135. package/dist/chunks/{model-retry-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{model-retry-q8skw5t4.js → snapshot-esvf2qf6.js} +11 -11
  137. package/dist/chunks/{model-retry-5r8en0fy.js → snapshot-et8k1vr1.js} +9 -9
  138. package/dist/chunks/snapshot-ev660z6k.js +18 -0
  139. package/dist/chunks/{model-retry-dmhcp16a.js → snapshot-expey290.js} +16 -16
  140. package/dist/chunks/{model-retry-wjkdsmbm.js → snapshot-f36md42a.js} +12 -12
  141. package/dist/chunks/{model-retry-s71ympam.js → snapshot-f95ahvj8.js} +29 -29
  142. package/dist/chunks/{model-retry-sm6vx8r5.js → snapshot-fepyh2km.js} +16 -16
  143. package/dist/chunks/{model-retry-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{model-retry-m04867d5.js → snapshot-fgjt3jgn.js} +5 -5
  145. package/dist/chunks/{model-retry-1gv4f02v.js → snapshot-fp00nt0f.js} +5 -5
  146. package/dist/chunks/{model-retry-hd9p2qrn.js → snapshot-fp9qajhf.js} +4 -4
  147. package/dist/chunks/{model-retry-tx653dhe.js → snapshot-fr70jeat.js} +18 -18
  148. package/dist/chunks/{model-retry-4fzjj0zw.js → snapshot-fvvr5s83.js} +6 -6
  149. package/dist/chunks/{model-retry-y1249fzv.js → snapshot-fyqk7716.js} +12 -12
  150. package/dist/chunks/{model-retry-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
  151. package/dist/chunks/{model-retry-zp9devnn.js → snapshot-gp4q1vjf.js} +2 -2
  152. package/dist/chunks/{model-retry-a0ze7ap3.js → snapshot-gtggn4m8.js} +17 -17
  153. package/dist/chunks/{model-retry-295s1tfa.js → snapshot-gz2sw2ma.js} +21 -21
  154. package/dist/chunks/{model-retry-7pg8rm12.js → snapshot-gzjdybps.js} +8 -8
  155. package/dist/chunks/{model-retry-xn0dkv9k.js → snapshot-h1xsva0t.js} +10 -10
  156. package/dist/chunks/{model-retry-4kxrtmfk.js → snapshot-h973wt88.js} +32 -32
  157. package/dist/chunks/{model-retry-dw7m3xvw.js → snapshot-hb29wq2n.js} +17 -17
  158. package/dist/chunks/{model-retry-4nh7jqqy.js → snapshot-hbw75saf.js} +83 -83
  159. package/dist/chunks/{model-retry-z4svz70a.js → snapshot-hj9jsy39.js} +4 -4
  160. package/dist/chunks/{model-retry-3x6mzmtb.js → snapshot-htnzn55t.js} +35 -35
  161. package/dist/chunks/{model-retry-j113cymg.js → snapshot-j113cymg.js} +1 -1
  162. package/dist/chunks/{model-retry-8gpczyd8.js → snapshot-j7t1g52h.js} +9 -9
  163. package/dist/chunks/{model-retry-cmjj196d.js → snapshot-j9cjhb81.js} +25 -25
  164. package/dist/chunks/{model-retry-gj9fd72a.js → snapshot-jh96v5at.js} +13 -13
  165. package/dist/chunks/{model-retry-gqy3s5ng.js → snapshot-jt7rgdp8.js} +23 -23
  166. package/dist/chunks/{model-retry-v1y7x4cv.js → snapshot-jx13zqpg.js} +14 -14
  167. package/dist/chunks/{model-retry-s3aa97yb.js → snapshot-k5xhafzb.js} +26 -26
  168. package/dist/chunks/{model-retry-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
  169. package/dist/chunks/snapshot-kg5hf5sk.js +26 -0
  170. package/dist/chunks/{model-retry-vryb9jrf.js → snapshot-kmcztane.js} +8 -8
  171. package/dist/chunks/{model-retry-15b56cgm.js → snapshot-knyqd3dz.js} +6 -6
  172. package/dist/chunks/{model-retry-bdv51ks6.js → snapshot-kra5gpw7.js} +45 -45
  173. package/dist/chunks/{model-retry-1x14vdzp.js → snapshot-ks069zf8.js} +49 -49
  174. package/dist/chunks/{model-retry-mfvka9j5.js → snapshot-kzwb18h7.js} +11 -11
  175. package/dist/chunks/{model-retry-m1714858.js → snapshot-m1714858.js} +1 -1
  176. package/dist/chunks/{model-retry-vmfhgzt5.js → snapshot-m37sd98t.js} +4 -4
  177. package/dist/chunks/{model-retry-5ntvbkr3.js → snapshot-m9vdqn0q.js} +33 -33
  178. package/dist/chunks/{model-retry-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-retry-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  180. package/dist/chunks/{model-retry-jeyepegn.js → snapshot-mesf2czn.js} +10 -10
  181. package/dist/chunks/{model-retry-ktxkps69.js → snapshot-mfw0x7a6.js} +66 -66
  182. package/dist/chunks/{model-retry-qgmn31h3.js → snapshot-mqew7zyd.js} +29 -29
  183. package/dist/chunks/{model-retry-jzh23w2y.js → snapshot-mtpeagzc.js} +3 -3
  184. package/dist/chunks/{model-retry-jzpxygg0.js → snapshot-mzyv1r8q.js} +8 -8
  185. package/dist/chunks/{model-retry-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
  186. package/dist/chunks/{model-retry-txfdt2b0.js → snapshot-n35z2g72.js} +15 -15
  187. package/dist/chunks/{model-retry-1pd714jw.js → snapshot-n911m9zj.js} +18 -18
  188. package/dist/chunks/{model-retry-nah043kf.js → snapshot-nah043kf.js} +1 -1
  189. package/dist/chunks/{model-retry-xegc1gxr.js → snapshot-nds6ga7z.js} +12 -12
  190. package/dist/chunks/{model-retry-yr0q3nx1.js → snapshot-nk8tpxf0.js} +6 -6
  191. package/dist/chunks/{model-retry-hfc726b7.js → snapshot-nkr5r85d.js} +2 -2
  192. package/dist/chunks/{model-retry-p4nbw5fh.js → snapshot-nskhb6ad.js} +27 -27
  193. package/dist/chunks/{model-retry-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
  194. package/dist/chunks/{model-retry-9abfe0c3.js → snapshot-p0x3txpd.js} +15 -15
  195. package/dist/chunks/{model-retry-ghrzdqqx.js → snapshot-p3p972wa.js} +5 -5
  196. package/dist/chunks/{model-retry-w9w8mt4n.js → snapshot-p76me67c.js} +4 -4
  197. package/dist/chunks/{model-retry-pppg3y1y.js → snapshot-p7qc0ane.js} +40 -40
  198. package/dist/chunks/{model-retry-v9ez2kgh.js → snapshot-p7vhpwh8.js} +5 -5
  199. package/dist/chunks/{model-retry-gj8x1tda.js → snapshot-pacbbjc0.js} +5 -5
  200. package/dist/chunks/{model-retry-qy1wtshc.js → snapshot-pcspdvfz.js} +6 -6
  201. package/dist/chunks/{model-retry-pknna89w.js → snapshot-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-retry-d0h8t5hk.js → snapshot-pqb8eb2f.js} +8 -8
  203. package/dist/chunks/{model-retry-xp3wxx2t.js → snapshot-pv9y8cyn.js} +19 -19
  204. package/dist/chunks/{model-retry-wecx54fa.js → snapshot-py70aet5.js} +45 -45
  205. package/dist/chunks/{model-retry-p4gac2xv.js → snapshot-q5ve17hv.js} +23 -23
  206. package/dist/chunks/{model-retry-c4970w7t.js → snapshot-qah7t4da.js} +6 -6
  207. package/dist/chunks/{model-retry-8jztxfpf.js → snapshot-qjgzc4b4.js} +4 -4
  208. package/dist/chunks/{model-retry-7cy37jqv.js → snapshot-qn60nzrt.js} +7 -7
  209. package/dist/chunks/{model-retry-jt5vb9t1.js → snapshot-qqn4m6zg.js} +18 -18
  210. package/dist/chunks/{model-retry-h2v6w9fm.js → snapshot-qz83k29f.js} +21 -21
  211. package/dist/chunks/{model-retry-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
  212. package/dist/chunks/{model-retry-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
  213. package/dist/chunks/{model-retry-tbbj6rhj.js → snapshot-rd6zdj6e.js} +9 -9
  214. package/dist/chunks/{model-retry-jav3q4wh.js → snapshot-rey6ew65.js} +7 -7
  215. package/dist/chunks/{model-retry-sjxh0ebt.js → snapshot-rffg35ng.js} +4 -4
  216. package/dist/chunks/{model-retry-cfkzqjea.js → snapshot-rj8x90ng.js} +24 -24
  217. package/dist/chunks/{model-retry-z16rqh1h.js → snapshot-rmhxa1va.js} +11 -11
  218. package/dist/chunks/{model-retry-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{model-retry-w445jyrw.js → snapshot-ry63fkbp.js} +8 -8
  220. package/dist/chunks/{model-retry-09pgmfn5.js → snapshot-s6v9y3bv.js} +3 -3
  221. package/dist/chunks/{model-retry-e3e7vv2j.js → snapshot-s73pgd5t.js} +11 -11
  222. package/dist/chunks/{model-retry-ygy08vjq.js → snapshot-sh0vvbd0.js} +25 -25
  223. package/dist/chunks/{model-retry-jq4gkdch.js → snapshot-sk9w2v45.js} +40 -40
  224. package/dist/chunks/{model-retry-w1zjn144.js → snapshot-sknn4ytw.js} +11 -11
  225. package/dist/chunks/{model-retry-504h1h2p.js → snapshot-snaj6n18.js} +5 -5
  226. package/dist/chunks/{model-retry-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{model-retry-9gzd5sdz.js → snapshot-sz1wsyga.js} +11 -11
  228. package/dist/chunks/{model-retry-8wc2fpae.js → snapshot-szcgc7h4.js} +5 -5
  229. package/dist/chunks/{model-retry-s6zqqgcc.js → snapshot-t1jhrm4y.js} +12 -12
  230. package/dist/chunks/{model-retry-2azy8kv6.js → snapshot-t211gxpv.js} +4 -4
  231. package/dist/chunks/{model-retry-rxcn9dmj.js → snapshot-t8549y5a.js} +42 -42
  232. package/dist/chunks/{model-retry-s7pe5jpp.js → snapshot-t8tbgrvw.js} +12 -12
  233. package/dist/chunks/{model-retry-yq1gzmdm.js → snapshot-tcnewvsx.js} +21 -21
  234. package/dist/chunks/{model-retry-160yv0cs.js → snapshot-tcvw3ax2.js} +8 -8
  235. package/dist/chunks/{model-retry-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{model-retry-ezfrkc6y.js → snapshot-tf2ec46p.js} +12 -12
  237. package/dist/chunks/{model-retry-cvqzdst0.js → snapshot-tf5c574a.js} +4 -4
  238. package/dist/chunks/{model-retry-sd3cteb1.js → snapshot-tfkshzr6.js} +3 -3
  239. package/dist/chunks/{model-retry-antzfpbp.js → snapshot-tj8qecb5.js} +17 -17
  240. package/dist/chunks/{model-retry-w7cnq13e.js → snapshot-tpez38m9.js} +47 -47
  241. package/dist/chunks/{model-retry-4efv169t.js → snapshot-tpzqzpez.js} +4 -4
  242. package/dist/chunks/{model-retry-tw8zr1ps.js → snapshot-tw8zr1ps.js} +1 -1
  243. package/dist/chunks/{model-retry-knncxtrw.js → snapshot-twkwk1tg.js} +7 -7
  244. package/dist/chunks/{model-retry-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{model-retry-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{model-retry-95x7pe01.js → snapshot-v753rv77.js} +2 -2
  247. package/dist/chunks/{model-retry-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{model-retry-cfkc8wvf.js → snapshot-ve7ke69q.js} +4 -4
  249. package/dist/chunks/{model-retry-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  250. package/dist/chunks/{model-retry-6pk7avk3.js → snapshot-vnn4dnfn.js} +13 -13
  251. package/dist/chunks/{model-retry-kj1j79ct.js → snapshot-w06brs61.js} +11 -11
  252. package/dist/chunks/{model-retry-wnr6a5h7.js → snapshot-w1pg8ac5.js} +29 -29
  253. package/dist/chunks/{model-retry-40za9wsf.js → snapshot-w2eysc6j.js} +9 -9
  254. package/dist/chunks/{model-retry-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{model-retry-76cb1hcw.js → snapshot-w8qtt4th.js} +4 -4
  256. package/dist/chunks/{model-retry-pdw6wz0h.js → snapshot-w9a9fs8e.js} +8 -8
  257. package/dist/chunks/{model-retry-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{model-retry-wd87259q.js → snapshot-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-retry-kt8g20y3.js → snapshot-wh9mm6vw.js} +19 -19
  260. package/dist/chunks/{model-retry-sdxydkh6.js → snapshot-x341zyq1.js} +12 -12
  261. package/dist/chunks/{model-retry-j8qp8vb7.js → snapshot-x4c5ct84.js} +2 -2
  262. package/dist/chunks/{model-retry-0etvtzr7.js → snapshot-x4rf9yj3.js} +10 -10
  263. package/dist/chunks/{model-retry-vrq9j7rb.js → snapshot-xaxjrmdm.js} +15 -15
  264. package/dist/chunks/{model-retry-t00mk0ke.js → snapshot-xctkx9ev.js} +24 -24
  265. package/dist/chunks/{model-retry-mt3ysty9.js → snapshot-xkympmbz.js} +6 -6
  266. package/dist/chunks/{model-retry-0qev6pn3.js → snapshot-xnh17wmv.js} +11 -11
  267. package/dist/chunks/{model-retry-r3hh8w6n.js → snapshot-xvtsgqh3.js} +24 -24
  268. package/dist/chunks/{model-retry-pgeypdwc.js → snapshot-xwbd5bvh.js} +29 -29
  269. package/dist/chunks/{model-retry-0eaaaj4x.js → snapshot-xxcv7c4s.js} +18 -18
  270. package/dist/chunks/{model-retry-zjy8xeq5.js → snapshot-xzpe0agp.js} +30 -30
  271. package/dist/chunks/{model-retry-e5dqjz6v.js → snapshot-y2tacs4v.js} +6 -6
  272. package/dist/chunks/{model-retry-1gde04cj.js → snapshot-y7gkpn43.js} +9 -9
  273. package/dist/chunks/{model-retry-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
  274. package/dist/chunks/{model-retry-r8a6rr1y.js → snapshot-ycqmxcqc.js} +17 -17
  275. package/dist/chunks/{model-retry-61wyp4gr.js → snapshot-yk0esd9v.js} +4 -4
  276. package/dist/chunks/{model-retry-z26cgg3v.js → snapshot-yphmbpfe.js} +20 -20
  277. package/dist/chunks/{model-retry-y3xtvwd4.js → snapshot-yywmapa3.js} +14 -14
  278. package/dist/chunks/{model-retry-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-retry-gddkg3ta.js → snapshot-z2f4zgv2.js} +23 -23
  280. package/dist/chunks/{model-retry-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
  281. package/dist/chunks/{model-retry-h6yftxtc.js → snapshot-z45bvydx.js} +29 -29
  282. package/dist/chunks/{model-retry-yfyqcpqq.js → snapshot-zg933662.js} +6 -6
  283. package/dist/chunks/{model-retry-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{model-retry-ecw9kts4.js → snapshot-zmh6aqr2.js} +12 -12
  285. package/dist/chunks/{model-retry-xvee63d2.js → snapshot-zyd3t986.js} +9 -9
  286. package/dist/chunks/{model-retry-z0t0wh6t.js → snapshot-zysf9qxs.js} +8 -8
  287. package/dist/chunks/{model-retry-btsa3r6q.js → snapshot-zzzmj3mf.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +114 -114
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +87 -87
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +78 -78
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +101 -101
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +2 -2
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +92 -92
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +3 -3
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +332 -332
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +114 -114
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai.js +116 -116
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +349 -349
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +82 -82
  564. package/dist/provider.js +103 -103
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +101 -101
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +99 -99
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +221 -221
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +164 -164
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +93 -93
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +81 -81
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +101 -101
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +165 -165
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +105 -105
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +166 -166
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +214 -214
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +9 -9
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +109 -109
  633. package/dist/skill.js +114 -114
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +126 -126
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +111 -111
  645. package/dist/tool/plugin/patch.js +120 -120
  646. package/dist/tool/plugin/question.js +107 -107
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +217 -217
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +115 -115
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +104 -104
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  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 +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +82 -82
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  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 +102 -102
  689. package/package.json +8 -8
  690. package/dist/chunks/model-retry-das67r30.js +0 -26
  691. package/dist/chunks/model-retry-f8ma18fn.js +0 -18
  692. package/dist/chunks/model-retry-qrbjjv6t.js +0 -257
  693. /package/dist/chunks/{model-retry-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{model-retry-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{model-retry-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{model-retry-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{model-retry-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{model-retry-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{model-retry-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{model-retry-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{model-retry-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{model-retry-3asan66x.js → snapshot-3asan66x.js} +0 -0
  703. /package/dist/chunks/{model-retry-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{model-retry-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-retry-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-retry-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-retry-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-retry-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-retry-53557ph1.js → snapshot-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-retry-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-retry-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{model-retry-6prwharc.js → snapshot-6prwharc.js} +0 -0
  713. /package/dist/chunks/{model-retry-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{model-retry-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{model-retry-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{model-retry-822emrt2.js → snapshot-822emrt2.js} +0 -0
  717. /package/dist/chunks/{model-retry-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{model-retry-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{model-retry-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{model-retry-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{model-retry-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{model-retry-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{model-retry-a058387c.js → snapshot-a058387c.js} +0 -0
  724. /package/dist/chunks/{model-retry-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{model-retry-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{model-retry-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{model-retry-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{model-retry-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{model-retry-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{model-retry-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{model-retry-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{model-retry-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{model-retry-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{model-retry-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{model-retry-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{model-retry-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{model-retry-df08tz66.js → snapshot-df08tz66.js} +0 -0
  738. /package/dist/chunks/{model-retry-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{model-retry-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{model-retry-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{model-retry-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{model-retry-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{model-retry-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{model-retry-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{model-retry-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{model-retry-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{model-retry-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{model-retry-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{model-retry-g86h250q.js → snapshot-g86h250q.js} +0 -0
  750. /package/dist/chunks/{model-retry-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{model-retry-gftt206x.js → snapshot-gftt206x.js} +0 -0
  752. /package/dist/chunks/{model-retry-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{model-retry-hk9envan.js → snapshot-hk9envan.js} +0 -0
  754. /package/dist/chunks/{model-retry-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{model-retry-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{model-retry-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{model-retry-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{model-retry-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{model-retry-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{model-retry-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{model-retry-m18g726c.js → snapshot-m18g726c.js} +0 -0
  762. /package/dist/chunks/{model-retry-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{model-retry-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{model-retry-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{model-retry-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{model-retry-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{model-retry-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{model-retry-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{model-retry-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{model-retry-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{model-retry-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{model-retry-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{model-retry-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{model-retry-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{model-retry-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{model-retry-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{model-retry-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{model-retry-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{model-retry-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{model-retry-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{model-retry-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{model-retry-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{model-retry-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{model-retry-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{model-retry-x61499pn.js → snapshot-x61499pn.js} +0 -0
  786. /package/dist/chunks/{model-retry-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{model-retry-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{model-retry-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{model-retry-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{model-retry-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{model-retry-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-retry-hd9p2qrn.js";
4
+ } from "./snapshot-fp9qajhf.js";
5
5
  import {
6
- Service33,
7
- node36
8
- } from "./model-retry-w7cnq13e.js";
6
+ Service40,
7
+ node44
8
+ } from "./snapshot-tpez38m9.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./model-retry-2z1j29yd.js";
11
+ } from "./snapshot-2z1j29yd.js";
12
12
  import {
13
- Service55,
14
- node57
15
- } from "./model-retry-wecx54fa.js";
13
+ Service70,
14
+ node73
15
+ } from "./snapshot-py70aet5.js";
16
16
  import {
17
- Service72,
18
- node76
19
- } from "./model-retry-t00mk0ke.js";
17
+ Service61,
18
+ node64
19
+ } from "./snapshot-xctkx9ev.js";
20
20
  import {
21
- Service65,
22
- node68
23
- } from "./model-retry-kj1j79ct.js";
21
+ Service60,
22
+ node62
23
+ } from "./snapshot-w06brs61.js";
24
24
  import {
25
25
  MEDIA_MIMES2
26
- } from "./model-retry-4p63kbz0.js";
26
+ } from "./snapshot-bwcj1zz2.js";
27
27
  import {
28
28
  __export
29
- } from "./model-retry-9rqn6x4v.js";
29
+ } from "./snapshot-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/mcp.ts
32
32
  var exports_mcp3 = {};
33
33
  __export(exports_mcp3, {
34
34
  McpTool: () => exports_mcp3,
35
- Service: () => Service32,
36
- layer: () => layer16,
37
- name: () => name14,
35
+ Service: () => Service37,
36
+ layer: () => layer17,
37
+ name: () => name15,
38
38
  namespace: () => namespace2,
39
- node: () => node35
39
+ node: () => node41
40
40
  });
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { extension } from "mime-types";
46
46
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
47
47
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
48
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
48
+ var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
49
49
 
50
- class Service32 extends Context.Service()("@opencode/McpTool") {
50
+ class Service37 extends Context.Service()("@opencode/McpTool") {
51
51
  }
52
- var layer16 = Layer.effect(Service32, Effect.gen(function* () {
53
- const mcp = yield* Service33;
54
- const tools = yield* Service72;
52
+ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
53
+ const mcp = yield* Service40;
54
+ const tools = yield* Service61;
55
55
  const bus = yield* Service85;
56
- const permission = yield* Service55;
57
- const toolOutput = yield* Service65;
56
+ const permission = yield* Service70;
57
+ const toolOutput = yield* Service60;
58
58
  const lock = Semaphore.makeUnsafe(1);
59
59
  let discovered = [];
60
60
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -69,7 +69,7 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
69
69
  output: tool.outputSchema ?? {},
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  yield* permission.assert({
72
- action: name14(tool.server, tool.name),
72
+ action: name15(tool.server, tool.name),
73
73
  resources: ["*"],
74
74
  save: ["*"],
75
75
  metadata: { input: input ?? {} },
@@ -111,7 +111,7 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
111
111
  output: output(),
112
112
  ...content.length === 0 ? {} : { content }
113
113
  };
114
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
114
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
115
115
  });
116
116
  }
117
117
  });
@@ -124,7 +124,7 @@ var layer16 = Layer.effect(Service32, Effect.gen(function* () {
124
124
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
125
125
  const updates = yield* PubSub.subscribe(changes);
126
126
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
127
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
127
+ return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
128
128
  }));
129
129
  var toContent = Effect.fnUntraced(function* (part, toolOutput) {
130
130
  if (part.type === "text")
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
144
144
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
145
145
  };
146
146
  });
147
- var node35 = makeLocationNode({
148
- service: Service32,
149
- layer: layer16,
150
- deps: [node76, node36, node89, node57, node68]
147
+ var node41 = makeLocationNode({
148
+ service: Service37,
149
+ layer: layer17,
150
+ deps: [node64, node44, node89, node73, node62]
151
151
  });
152
152
 
153
- export { namespace2, name14, Service32, layer16, node35, exports_mcp3 };
153
+ export { namespace2, name15, Service37, layer17, node41, exports_mcp3 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./model-retry-hd9p2qrn.js";
4
+ } from "./snapshot-fp9qajhf.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./model-retry-rb9dy4dg.js";
9
+ } from "./snapshot-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./model-retry-j5644rm0.js";
12
+ } from "./snapshot-9y2jjkve.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./model-retry-95x7pe01.js";
16
+ } from "./snapshot-v753rv77.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./model-retry-vd3b3yk9.js";
20
+ } from "./snapshot-vd3b3yk9.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./snapshot-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service22,
35
+ Service: () => Service16,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node25
37
+ node: () => node19
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service22 extends Context.Service()("@opencode/Vcs") {
57
+ class Service16 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service22, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service82;
62
62
  const bus = yield* Service85;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service22.of({
132
+ return Service16.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node25 = makeLocationNode({
191
- service: Service22,
190
+ var node19 = makeLocationNode({
191
+ service: Service16,
192
192
  layer,
193
193
  deps: [FSUtil.node, node86, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service22, node25, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service16, node19, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./model-retry-s71ympam.js";
2
+ ID7
3
+ } from "./snapshot-f95ahvj8.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 [ID7.make("gpt-5-chat-latest"), ID7.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,48 +1,48 @@
1
1
  import {
2
2
  Service85
3
- } from "./model-retry-hd9p2qrn.js";
3
+ } from "./snapshot-fp9qajhf.js";
4
4
  import {
5
- Service69
6
- } from "./model-retry-xn0dkv9k.js";
5
+ Service64
6
+ } from "./snapshot-h1xsva0t.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./model-retry-vd3b3yk9.js";
12
+ } from "./snapshot-vd3b3yk9.js";
13
13
  import {
14
- Service29,
14
+ Service41,
15
15
  awaitActivation2
16
- } from "./model-retry-f8ma18fn.js";
16
+ } from "./snapshot-ev660z6k.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./model-retry-bh48jfkc.js";
21
+ } from "./snapshot-37yt7bbd.js";
22
22
  import {
23
23
  __export
24
- } from "./model-retry-9rqn6x4v.js";
24
+ } from "./snapshot-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
30
- ID: () => ID3,
31
- Info: () => Info4,
29
+ Event: () => Event2,
30
+ ID: () => ID2,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service29,
33
+ Service: () => Service41,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node23
37
+ node: () => node18
38
38
  });
39
- import { Event as Event4, ID as ID3, Info as Info4, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service29, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
44
44
  const bus = yield* Service85;
45
- const kv = yield* Service69;
45
+ const kv = yield* Service64;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service29.of({
208
+ return Service41.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node23 = Node.makeLocationNode({
226
- service: Service29,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service41,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node23, exports_plugin2, Event4, ID3, Info4, Source2, State2 };
231
+ export { node18, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service55
3
- } from "./model-retry-wecx54fa.js";
2
+ Service70
3
+ } from "./snapshot-py70aet5.js";
4
4
  import {
5
- ID4,
5
+ ID5,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service37
10
- } from "./model-retry-gqy3s5ng.js";
9
+ Service43
10
+ } from "./snapshot-jt7rgdp8.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./snapshot-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input6,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input3,
19
19
  Output: () => Output3,
20
- Plugin: () => Plugin40,
21
- SkillTool: () => exports_skill3,
22
- description: () => description3,
23
- name: () => name6,
20
+ Plugin: () => Plugin21,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description2,
23
+ name: () => name3,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name6 = "skill";
30
- var Input6 = Schema.Struct({
31
- id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name3 = "skill";
30
+ var Input3 = Schema.Struct({
31
+ id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
33
  var Output3 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description2 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,17 +43,17 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin40 = {
46
+ var Plugin21 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service37;
51
- const permission = yield* Service55;
50
+ const skills = yield* Service43;
51
+ const permission = yield* Service70;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name6,
53
+ name: name3,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input6,
55
+ description: description2,
56
+ input: Input3,
57
57
  output: Output3,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
@@ -61,7 +61,7 @@ var Plugin40 = {
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name6,
64
+ action: name3,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin40 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name6, Input6, Output3, description3, toModelOutput2, Plugin40, exports_skill3 };
82
+ export { name3, Input3, Output3, description2, toModelOutput2, Plugin21, exports_skill2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/promise.ts
6
6
  var exports_promise = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./model-retry-rb9dy4dg.js";
3
+ } from "./snapshot-rb9dy4dg.js";
4
4
  import {
5
- ID10,
6
- Service70
7
- } from "./model-retry-cmjj196d.js";
5
+ ID6,
6
+ Service65
7
+ } from "./snapshot-j9cjhb81.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./model-retry-jzh23w2y.js";
10
+ } from "./snapshot-mtpeagzc.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./model-retry-yfyqcpqq.js";
13
+ } from "./snapshot-zg933662.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./model-retry-dvj9ct8m.js";
16
+ } from "./snapshot-dvj9ct8m.js";
17
17
  import {
18
18
  __export
19
- } from "./model-retry-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service70;
84
+ const snapshot = yield* Service65;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID10.make(from),
91
- to: ID10.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./model-retry-5fjb7ams.js";
4
+ } from "./snapshot-5fjb7ams.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./model-retry-91rj84md.js";
8
+ } from "./snapshot-91rj84md.js";
9
9
  import {
10
10
  __export
11
- } from "./model-retry-9rqn6x4v.js";
11
+ } from "./snapshot-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- Info7,
6
- ID4,
5
+ Info8,
6
+ ID5,
7
7
  Name2
8
- } from "./model-retry-gqy3s5ng.js";
8
+ } from "./snapshot-jt7rgdp8.js";
9
9
  import {
10
- Service58
11
- } from "./model-retry-qxbnebsm.js";
10
+ Service54
11
+ } from "./snapshot-a8rbahn6.js";
12
12
  import {
13
13
  __export
14
- } from "./model-retry-9rqn6x4v.js";
14
+ } from "./snapshot-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill3 = {};
18
+ __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin9,
21
+ Plugin: () => Plugin36,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill3
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -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 Plugin9 = define({
433
+ var Plugin36 = 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(Info7.make({
439
- id: ID4.make("opencode"),
438
+ editor.add(Info8.make({
439
+ id: ID5.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(Info7.make({
446
- id: ID4.make("report"),
445
+ editor.add(Info8.make({
446
+ id: ID5.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* Service58;
475
+ const config = yield* Service54;
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, Plugin9, exports_skill };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin36, exports_skill3 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-09pgmfn5.js";
4
+ } from "./snapshot-s6v9y3bv.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./model-retry-dvj9ct8m.js";
8
+ } from "./snapshot-dvj9ct8m.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./model-retry-jeyepegn.js";
11
+ load5
12
+ } from "./snapshot-mesf2czn.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./model-retry-hfc726b7.js";
15
+ } from "./snapshot-nkr5r85d.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./snapshot-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput3,
24
- Service: () => Service57,
24
+ Service: () => Service71,
25
25
  SessionStore: () => exports_store,
26
- node: () => node59
26
+ node: () => node74
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
54
  var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service57 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service71 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service57, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
59
59
  const { db } = yield* Service86;
60
- return Service57.of({
60
+ return Service71.of({
61
61
  get: Effect.fnUntraced(function* (sessionID) {
62
62
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
63
63
  return row ? fromRow2(row) : undefined;
@@ -101,7 +101,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
101
101
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
102
102
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
103
103
  }),
104
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
104
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
105
105
  message: Effect.fn("SessionStore.message")(function* (messageID) {
106
106
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
107
107
  return row ? {
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node59 = makeGlobalNode({ service: Service57, layer, deps: [node90] });
131
+ var node74 = makeGlobalNode({ service: Service71, layer, deps: [node90] });
132
132
 
133
- export { ListInput3, Service57, node59, exports_store };
133
+ export { ListInput3, Service71, node74, exports_store };