@opencode/core 0.0.0-dev-1288 → 0.0.0-dev-1289

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 (563) hide show
  1. package/dist/agent.js +80 -80
  2. package/dist/aisdk.js +85 -85
  3. package/dist/app.js +11 -11
  4. package/dist/artifact.js +215 -215
  5. package/dist/bus.js +67 -67
  6. package/dist/chunks/{skill-0kd8641e.js → skill-00pmfkn2.js} +4 -4
  7. package/dist/chunks/{skill-t63sx3rf.js → skill-02ya0pww.js} +4 -4
  8. package/dist/chunks/{skill-6adb23kb.js → skill-05yr16e8.js} +13 -13
  9. package/dist/chunks/{skill-z0jdm4k5.js → skill-08bsz23m.js} +19 -19
  10. package/dist/chunks/{skill-6kpkha8e.js → skill-09p6mc78.js} +20 -20
  11. package/dist/chunks/{skill-qfg6bwge.js → skill-0aayx17d.js} +22 -22
  12. package/dist/chunks/{skill-cpvd08na.js → skill-0ahs07zn.js} +3 -3
  13. package/dist/chunks/{skill-rj6htxtc.js → skill-0dxcp800.js} +4 -4
  14. package/dist/chunks/{skill-6559t45n.js → skill-0hcfp01c.js} +13 -13
  15. package/dist/chunks/{skill-h4g6nytk.js → skill-0p8shtje.js} +25 -25
  16. package/dist/chunks/{skill-mh4srk08.js → skill-0sasm2mj.js} +20 -20
  17. package/dist/chunks/{skill-q4kv02me.js → skill-16rc6ajx.js} +38 -38
  18. package/dist/chunks/{skill-g4j39vhd.js → skill-1hvbzqf7.js} +6 -6
  19. package/dist/chunks/{skill-cb28kjhz.js → skill-1wemxep9.js} +21 -21
  20. package/dist/chunks/{skill-w687dnns.js → skill-1yped5qa.js} +3 -3
  21. package/dist/chunks/{skill-qy5agx8k.js → skill-23vqynnw.js} +8 -8
  22. package/dist/chunks/{skill-q4h3vea2.js → skill-28qvn9pn.js} +13 -13
  23. package/dist/chunks/{skill-55x0ca6n.js → skill-29a9ydt5.js} +5 -5
  24. package/dist/chunks/{skill-kf1ntdb9.js → skill-2ak45mg4.js} +17 -17
  25. package/dist/chunks/{skill-rxysp2vp.js → skill-2gtjxgkn.js} +33 -25
  26. package/dist/chunks/{skill-e7w2jmab.js → skill-2n72a457.js} +25 -25
  27. package/dist/chunks/{skill-ypzfmdvb.js → skill-2prt43t7.js} +3 -3
  28. package/dist/chunks/{skill-5gsrpjps.js → skill-2pvj0daj.js} +9 -9
  29. package/dist/chunks/{skill-xcdwrw2g.js → skill-31xqt7sv.js} +7 -7
  30. package/dist/chunks/{skill-54hyepmp.js → skill-34ba9yd5.js} +5 -5
  31. package/dist/chunks/{skill-ysr13b6p.js → skill-34ddrjeh.js} +17 -17
  32. package/dist/chunks/{skill-ty4vgx73.js → skill-37xrvzda.js} +15 -15
  33. package/dist/chunks/{skill-jt6dz72n.js → skill-3c0dxjfp.js} +29 -29
  34. package/dist/chunks/{skill-gdadnt0q.js → skill-3cn35h12.js} +7 -7
  35. package/dist/chunks/{skill-q0eja2hs.js → skill-3g1z23tk.js} +26 -26
  36. package/dist/chunks/{skill-ybsqb9vh.js → skill-3jr5rejc.js} +17 -17
  37. package/dist/chunks/{skill-yz12r0jf.js → skill-3mqsw1x6.js} +9 -9
  38. package/dist/chunks/{skill-fsty9ef7.js → skill-41zfhcvv.js} +30 -30
  39. package/dist/chunks/{skill-mb7e7qw7.js → skill-44x3a7d0.js} +7 -7
  40. package/dist/chunks/{skill-xmm0678x.js → skill-4akzktj1.js} +2 -2
  41. package/dist/chunks/{skill-bgsdyws9.js → skill-4fd97kgc.js} +11 -11
  42. package/dist/chunks/{skill-h1hexrfd.js → skill-4gbxgzcf.js} +10 -10
  43. package/dist/chunks/{skill-nhwnw7z8.js → skill-4kyzazf2.js} +27 -27
  44. package/dist/chunks/{skill-pcds1c82.js → skill-4t6cjxmd.js} +3 -3
  45. package/dist/chunks/{skill-e8d2b6mn.js → skill-4tz7xwxy.js} +35 -35
  46. package/dist/chunks/{skill-9npybxqx.js → skill-4ysjccq4.js} +150 -150
  47. package/dist/chunks/{skill-9rpw5thf.js → skill-530hs2vb.js} +28 -28
  48. package/dist/chunks/{skill-srd5t2wx.js → skill-55zmf6ag.js} +9 -9
  49. package/dist/chunks/{skill-a9q5y6nq.js → skill-583rqj1m.js} +7 -7
  50. package/dist/chunks/{skill-71fa4tkx.js → skill-5h0a6q0s.js} +41 -41
  51. package/dist/chunks/{skill-wt6a3mqf.js → skill-5ns414kb.js} +3 -3
  52. package/dist/chunks/{skill-0xr7csge.js → skill-5vjp84j8.js} +25 -25
  53. package/dist/chunks/{skill-s209603a.js → skill-5wyy7px7.js} +10 -10
  54. package/dist/chunks/{skill-1yq9hg58.js → skill-5zrxpy3q.js} +4 -4
  55. package/dist/chunks/{skill-kpjpjwkm.js → skill-6bfdh9pc.js} +25 -25
  56. package/dist/chunks/{skill-8wxtd3nx.js → skill-6bh0kand.js} +8 -8
  57. package/dist/chunks/{skill-dzfx4xpa.js → skill-6f9dv887.js} +8 -8
  58. package/dist/chunks/{skill-pkdgdegd.js → skill-6fc6gbqb.js} +17 -17
  59. package/dist/chunks/{skill-zcqr2s0j.js → skill-6ham7n9z.js} +1 -1
  60. package/dist/chunks/{skill-tsq3zbsd.js → skill-6rppfpp9.js} +5 -5
  61. package/dist/chunks/{skill-h4zg6gzy.js → skill-6t4etqyq.js} +8 -8
  62. package/dist/chunks/{skill-857aqfhe.js → skill-70mjyt55.js} +19 -19
  63. package/dist/chunks/{skill-9rqfe4ad.js → skill-73ff1310.js} +2 -2
  64. package/dist/chunks/{skill-jv5ccajn.js → skill-78p2h4ex.js} +3 -3
  65. package/dist/chunks/{skill-2brepv0z.js → skill-7edbn8tw.js} +30 -30
  66. package/dist/chunks/{skill-9cy7bv90.js → skill-7f85nwz0.js} +10 -10
  67. package/dist/chunks/{skill-4pyp9zr9.js → skill-7g6gbmjs.js} +2 -1
  68. package/dist/chunks/{skill-8xn5wnt4.js → skill-7h0xs0hp.js} +3 -3
  69. package/dist/chunks/{skill-trexsjkk.js → skill-7m5e46d0.js} +4 -4
  70. package/dist/chunks/{skill-7t89jwbf.js → skill-7qt0z06e.js} +1 -1
  71. package/dist/chunks/{skill-f2zjpyt5.js → skill-7v7any5x.js} +5 -5
  72. package/dist/chunks/{skill-jvqk8r7t.js → skill-81hek7th.js} +22 -22
  73. package/dist/chunks/{skill-zkdm0p6x.js → skill-835yhg2j.js} +14 -14
  74. package/dist/chunks/{skill-xkbnm6m8.js → skill-85af6g8v.js} +46 -46
  75. package/dist/chunks/{skill-wq1xd5na.js → skill-87kxp3gn.js} +10 -10
  76. package/dist/chunks/{skill-0tfnrs7b.js → skill-8fqxwxn3.js} +80 -80
  77. package/dist/chunks/{skill-kzdam8c6.js → skill-8hfctyyf.js} +6 -6
  78. package/dist/chunks/{skill-vpaj1tc4.js → skill-8j0yh7pe.js} +14 -14
  79. package/dist/chunks/{skill-ytfevedp.js → skill-8t9j0vbh.js} +18 -18
  80. package/dist/chunks/{skill-e6xsdcex.js → skill-8y07vnq7.js} +3 -3
  81. package/dist/chunks/{skill-04qc8z7j.js → skill-94e33dpz.js} +1 -1
  82. package/dist/chunks/{skill-tax8e16k.js → skill-9ftwcsef.js} +3 -3
  83. package/dist/chunks/{skill-q32ndhrq.js → skill-9nkjg9qd.js} +5 -5
  84. package/dist/chunks/{skill-s98wrfw7.js → skill-9rg25ym8.js} +2 -2
  85. package/dist/chunks/{skill-r0wrga32.js → skill-a1qwck5h.js} +7 -7
  86. package/dist/chunks/{skill-2m68rr6d.js → skill-a4da54ev.js} +21 -21
  87. package/dist/chunks/{skill-6cen8r5r.js → skill-a8janbyh.js} +15 -15
  88. package/dist/chunks/{skill-2p60zmnr.js → skill-ad21tgm2.js} +3 -3
  89. package/dist/chunks/{skill-9aprp0hr.js → skill-aeh58v89.js} +19 -19
  90. package/dist/chunks/{skill-779a1kce.js → skill-agvaa458.js} +11 -11
  91. package/dist/chunks/{skill-xekq0vej.js → skill-akkwce2p.js} +33 -33
  92. package/dist/chunks/{skill-ez0tast9.js → skill-amnfdvvn.js} +24 -24
  93. package/dist/chunks/{skill-g49394pz.js → skill-an8ygpdc.js} +15 -15
  94. package/dist/chunks/{skill-mykrynga.js → skill-aq35kh2d.js} +10 -10
  95. package/dist/chunks/{skill-y4gmpd10.js → skill-awms6726.js} +2 -2
  96. package/dist/chunks/{skill-776n154v.js → skill-azm68axa.js} +10 -10
  97. package/dist/chunks/{skill-gj096rv2.js → skill-b3q1hvtg.js} +12 -12
  98. package/dist/chunks/{skill-26wfx3k0.js → skill-ba5f9dy2.js} +3 -3
  99. package/dist/chunks/{skill-70b87wq7.js → skill-be5dwegh.js} +1 -1
  100. package/dist/chunks/{skill-2gmad1r4.js → skill-bne54h0r.js} +8 -8
  101. package/dist/chunks/{skill-y9fr1g04.js → skill-brjmya0n.js} +1 -1
  102. package/dist/chunks/{skill-xksw6ev0.js → skill-brv6mkyx.js} +3 -3
  103. package/dist/chunks/{skill-k6haj2vm.js → skill-brzabmq1.js} +11 -11
  104. package/dist/chunks/{skill-e0zepttq.js → skill-btahyfxn.js} +15 -15
  105. package/dist/chunks/{skill-k78pvvak.js → skill-c2wf8p69.js} +9 -9
  106. package/dist/chunks/{skill-qn714ycf.js → skill-cac5zsrz.js} +5 -5
  107. package/dist/chunks/{skill-5b2gq477.js → skill-cdxrxhxa.js} +7 -7
  108. package/dist/chunks/{skill-jq1k8593.js → skill-cy1b0p56.js} +9 -9
  109. package/dist/chunks/{skill-he42nnyh.js → skill-czx08qs3.js} +12 -12
  110. package/dist/chunks/{skill-ftahzyhk.js → skill-d2c0n8v1.js} +1 -1
  111. package/dist/chunks/{skill-ad03y81a.js → skill-d4y36rsf.js} +40 -40
  112. package/dist/chunks/{skill-9ts8ce21.js → skill-de5yb26h.js} +3 -3
  113. package/dist/chunks/{skill-9agfr4d6.js → skill-dkbn087s.js} +2 -2
  114. package/dist/chunks/{skill-88fk8ra6.js → skill-dn30q06y.js} +7 -7
  115. package/dist/chunks/{skill-7y3b0gxe.js → skill-dn7vvezt.js} +22 -22
  116. package/dist/chunks/{skill-w7a3yet4.js → skill-dvqmnp87.js} +3 -3
  117. package/dist/chunks/{skill-0ev6yt64.js → skill-e19by0tj.js} +28 -28
  118. package/dist/chunks/{skill-495vdj1c.js → skill-e5653pfs.js} +7 -7
  119. package/dist/chunks/{skill-67wqnxeg.js → skill-e6eza9pa.js} +12 -12
  120. package/dist/chunks/{skill-3f0anman.js → skill-e70s1wcj.js} +11 -11
  121. package/dist/chunks/{skill-c5m2a8vb.js → skill-e71bb87j.js} +7 -7
  122. package/dist/chunks/{skill-439vg8zg.js → skill-e73pe703.js} +1 -1
  123. package/dist/chunks/{skill-pqpekw9r.js → skill-efzcx815.js} +1 -1
  124. package/dist/chunks/{skill-g2gzn0dm.js → skill-ek2c450p.js} +7 -7
  125. package/dist/chunks/{skill-3j862yd2.js → skill-ek8dn5z5.js} +3 -3
  126. package/dist/chunks/{skill-rcycq7bh.js → skill-ex1vgm7n.js} +8 -8
  127. package/dist/chunks/{skill-461vt668.js → skill-f7hvrhxd.js} +13 -13
  128. package/dist/chunks/{skill-gwyytpcj.js → skill-f80thpwy.js} +3 -3
  129. package/dist/chunks/{skill-0fchx9hj.js → skill-f8jh51n5.js} +9 -9
  130. package/dist/chunks/{skill-vk29xtdn.js → skill-fngenedm.js} +8 -8
  131. package/dist/chunks/{skill-vzqtskbr.js → skill-fsdb1zbj.js} +34 -34
  132. package/dist/chunks/{skill-96m3d58b.js → skill-fshvyy3a.js} +12 -12
  133. package/dist/chunks/{skill-86zcfc4c.js → skill-ftxxn22b.js} +4 -4
  134. package/dist/chunks/{skill-9bk4t4nz.js → skill-fvvxvqrp.js} +25 -25
  135. package/dist/chunks/{skill-63najkvs.js → skill-g3cqzqfs.js} +2 -2
  136. package/dist/chunks/{skill-qw4fr088.js → skill-g9cxvqjb.js} +15 -15
  137. package/dist/chunks/{skill-5v1kbzzt.js → skill-gck0w74f.js} +19 -19
  138. package/dist/chunks/{skill-gqbzaqtg.js → skill-ge7emkab.js} +9 -9
  139. package/dist/chunks/{skill-bhmwncm1.js → skill-ggysf3xd.js} +7 -7
  140. package/dist/chunks/{skill-e164s8vb.js → skill-gjc357wv.js} +29 -29
  141. package/dist/chunks/{skill-s4kyhetj.js → skill-gjnyez1s.js} +3 -3
  142. package/dist/chunks/{skill-gm1em1g1.js → skill-gz501xkt.js} +15 -15
  143. package/dist/chunks/{skill-p722s6re.js → skill-h6k4j8gr.js} +10 -10
  144. package/dist/chunks/{skill-w6ax8ecs.js → skill-ha27dm6a.js} +17 -17
  145. package/dist/chunks/{skill-0nk245hp.js → skill-hdv5g955.js} +21 -21
  146. package/dist/chunks/{skill-4vh8e1q7.js → skill-hf0tdtbj.js} +6 -6
  147. package/dist/chunks/{skill-ztxtkq44.js → skill-hfefzga6.js} +11 -11
  148. package/dist/chunks/{skill-21jyc2zq.js → skill-hg6rfv73.js} +10 -10
  149. package/dist/chunks/{skill-8pvbfnhx.js → skill-hgfjmfwb.js} +1 -1
  150. package/dist/chunks/{skill-5462zn5f.js → skill-hm2py80f.js} +13 -13
  151. package/dist/chunks/{skill-66sjh686.js → skill-hyx6bsx1.js} +22 -22
  152. package/dist/chunks/{skill-5d5yp73e.js → skill-j10zz1gx.js} +19 -19
  153. package/dist/chunks/{skill-exayx9c2.js → skill-j56v13vn.js} +8 -8
  154. package/dist/chunks/{skill-f86yk39q.js → skill-japaj4n9.js} +9 -9
  155. package/dist/chunks/{skill-88gs4f06.js → skill-jbwkk6ab.js} +6 -6
  156. package/dist/chunks/{skill-jmcdzceq.js → skill-je1tg5nn.js} +23 -23
  157. package/dist/chunks/{skill-f0t7yv95.js → skill-jegr924z.js} +8 -8
  158. package/dist/chunks/{skill-tr8x705m.js → skill-jht64jd1.js} +3 -3
  159. package/dist/chunks/{skill-nm2a7b5s.js → skill-jmv33hj0.js} +28 -28
  160. package/dist/chunks/{skill-pmvha8p2.js → skill-jq10t2yk.js} +7 -7
  161. package/dist/chunks/{skill-q7vty0a9.js → skill-jqavjjfa.js} +20 -20
  162. package/dist/chunks/{skill-vvhvz5v6.js → skill-knq5zpdc.js} +6 -6
  163. package/dist/chunks/{skill-6aysq5vq.js → skill-kr3b8h6a.js} +14 -14
  164. package/dist/chunks/{skill-w2b8mj54.js → skill-kxpf5d23.js} +15 -15
  165. package/dist/chunks/{skill-rwz4qwm5.js → skill-m0v1nx60.js} +21 -21
  166. package/dist/chunks/{skill-af5h9vj2.js → skill-m8gcf2xa.js} +358 -358
  167. package/dist/chunks/{skill-q963thn8.js → skill-m9hanyrx.js} +3 -3
  168. package/dist/chunks/{skill-se3qh63c.js → skill-me1931mg.js} +68 -68
  169. package/dist/chunks/{skill-cendkn2m.js → skill-mpd68p8f.js} +14 -14
  170. package/dist/chunks/{skill-6sf4gdbt.js → skill-mq4p7hh6.js} +20 -20
  171. package/dist/chunks/{skill-kg05dcep.js → skill-ms7w2f0p.js} +38 -38
  172. package/dist/chunks/skill-na4j4pj3.js +26 -0
  173. package/dist/chunks/{skill-j186219z.js → skill-nc9nvr4s.js} +21 -21
  174. package/dist/chunks/{skill-ggtm172q.js → skill-nckms97z.js} +3 -3
  175. package/dist/chunks/{skill-44erdk8z.js → skill-nmff4vdb.js} +13 -13
  176. package/dist/chunks/{skill-rzx3251q.js → skill-nmtv1yff.js} +11 -11
  177. package/dist/chunks/{skill-y2j4d7b6.js → skill-p61qhw8k.js} +7 -7
  178. package/dist/chunks/{skill-fd1fb83z.js → skill-p8hfdmeg.js} +11 -11
  179. package/dist/chunks/{skill-68qm1786.js → skill-p8rnc9ff.js} +9 -9
  180. package/dist/chunks/{skill-75fqvagm.js → skill-pd7731ad.js} +12 -12
  181. package/dist/chunks/{skill-92m3eqsk.js → skill-pekznmtf.js} +13 -13
  182. package/dist/chunks/{skill-fg9p65nk.js → skill-prq7xxp2.js} +4 -4
  183. package/dist/chunks/{skill-qvb92zbx.js → skill-q6wt2jfg.js} +26 -26
  184. package/dist/chunks/{skill-7fze536j.js → skill-q9xvkj9c.js} +45 -45
  185. package/dist/chunks/{skill-94hpwp71.js → skill-qe287z11.js} +3 -3
  186. package/dist/chunks/{skill-me0dhgxs.js → skill-qmh7vbk2.js} +4 -4
  187. package/dist/chunks/{skill-cey47jp0.js → skill-qqqy4pp5.js} +42 -42
  188. package/dist/chunks/{skill-03tcc1wc.js → skill-qqt05yh5.js} +9 -9
  189. package/dist/chunks/{skill-xz6s9d9v.js → skill-qtspk4m2.js} +27 -27
  190. package/dist/chunks/{skill-gdmbfj8d.js → skill-qxnwwp4f.js} +33 -33
  191. package/dist/chunks/{skill-sk5qsbcw.js → skill-qycm87ym.js} +3 -3
  192. package/dist/chunks/{skill-xacrkbdt.js → skill-r17fbvme.js} +3 -3
  193. package/dist/chunks/{skill-7dkfmmsp.js → skill-r2c71qh7.js} +16 -16
  194. package/dist/chunks/{skill-pnyht9cq.js → skill-r3w0e376.js} +1 -1
  195. package/dist/chunks/{skill-dy41a2ws.js → skill-r4yhzkx5.js} +7 -7
  196. package/dist/chunks/{skill-h4kbzpph.js → skill-rj5kxn5x.js} +22 -22
  197. package/dist/chunks/{skill-cpzt8qfw.js → skill-rmb0d2he.js} +4 -4
  198. package/dist/chunks/{skill-adjefrk5.js → skill-rvj3hvfb.js} +19 -19
  199. package/dist/chunks/{skill-q4c6m8h2.js → skill-s12vsefe.js} +1 -1
  200. package/dist/chunks/{skill-jkdcm5hg.js → skill-s26c8eb5.js} +3 -3
  201. package/dist/chunks/{skill-w4fj6w8c.js → skill-s685wf85.js} +4 -4
  202. package/dist/chunks/{skill-ntjqk3rm.js → skill-s6m5tnzx.js} +17 -17
  203. package/dist/chunks/{skill-h3ks57pr.js → skill-sac6s26t.js} +78 -78
  204. package/dist/chunks/{skill-z080rjh6.js → skill-sf9y72b7.js} +3 -3
  205. package/dist/chunks/{skill-rzk485s7.js → skill-sqfxeqqz.js} +22 -22
  206. package/dist/chunks/{skill-1x2p7x5n.js → skill-tavdr0cm.js} +25 -25
  207. package/dist/chunks/{skill-8mb4vsq0.js → skill-teycsgxm.js} +26 -26
  208. package/dist/chunks/{skill-etrnj9s7.js → skill-tf9r37f3.js} +9 -9
  209. package/dist/chunks/{skill-pdc5q8mj.js → skill-tfvg6qv8.js} +11 -11
  210. package/dist/chunks/{skill-gxs71cxp.js → skill-tg7s7b5t.js} +3 -3
  211. package/dist/chunks/{skill-t5ymqest.js → skill-tgekmjc5.js} +9 -9
  212. package/dist/chunks/{skill-tx91wa5k.js → skill-tnh26vfm.js} +3 -3
  213. package/dist/chunks/{skill-kwfh7c08.js → skill-tp0950fn.js} +4 -4
  214. package/dist/chunks/{skill-b26ddj6h.js → skill-tp1jb13k.js} +5 -5
  215. package/dist/chunks/{skill-e39q5v3d.js → skill-tq2659cf.js} +8 -8
  216. package/dist/chunks/{skill-np243n95.js → skill-tqfrgt2r.js} +6 -6
  217. package/dist/chunks/{skill-wsy9w2q0.js → skill-tsma5p3r.js} +12 -12
  218. package/dist/chunks/{skill-0fvxehme.js → skill-ttz31trp.js} +3 -3
  219. package/dist/chunks/{skill-44pmzq9c.js → skill-twhtcdx9.js} +3 -3
  220. package/dist/chunks/{skill-gmqcaesv.js → skill-v1engfwd.js} +158 -158
  221. package/dist/chunks/{skill-6n3z4peb.js → skill-v5mpdfnz.js} +1 -1
  222. package/dist/chunks/{skill-xamez0gd.js → skill-v64ytr12.js} +10 -10
  223. package/dist/chunks/{skill-ac21q9d8.js → skill-v8srm5qp.js} +11 -11
  224. package/dist/chunks/{skill-zt9ejasa.js → skill-v91vrv4c.js} +17 -17
  225. package/dist/chunks/{skill-qyfb1dw6.js → skill-vcgw1cs3.js} +20 -20
  226. package/dist/chunks/{skill-yf162282.js → skill-vjzgscs0.js} +5 -5
  227. package/dist/chunks/{skill-xrnga7ra.js → skill-vk3m6b26.js} +3 -3
  228. package/dist/chunks/{skill-qfz6bxfd.js → skill-vmqe41cb.js} +3 -3
  229. package/dist/chunks/{skill-ctmpqb7w.js → skill-vq0qa3sh.js} +7 -7
  230. package/dist/chunks/{skill-fe9kz23p.js → skill-vq2xywmt.js} +4 -4
  231. package/dist/chunks/{skill-rj7j5fvs.js → skill-vt2d6wap.js} +3 -3
  232. package/dist/chunks/{skill-23s8wbct.js → skill-vxt7wgpd.js} +1 -1
  233. package/dist/chunks/{skill-prkekjc8.js → skill-vytp7mpm.js} +9 -9
  234. package/dist/chunks/{skill-nxgd89cq.js → skill-w0ee2s96.js} +1 -1
  235. package/dist/chunks/{skill-40za9wsf.js → skill-w2eysc6j.js} +7 -7
  236. package/dist/chunks/{skill-w79nt68w.js → skill-w35wzz9x.js} +3 -3
  237. package/dist/chunks/{skill-a0f8fvmt.js → skill-w4xw9ac5.js} +4 -4
  238. package/dist/chunks/{skill-xb05ve8s.js → skill-w84yb85h.js} +20 -20
  239. package/dist/chunks/{skill-zjweszz6.js → skill-w95rpqs7.js} +8 -8
  240. package/dist/chunks/{skill-m84krmx1.js → skill-wjj5qqhg.js} +29 -29
  241. package/dist/chunks/{skill-dzrdx94s.js → skill-wq2ewmay.js} +9 -9
  242. package/dist/chunks/{skill-mzp60shv.js → skill-wqqxb4v6.js} +32 -29
  243. package/dist/chunks/{skill-9fs44kj1.js → skill-wvj9vwam.js} +3 -3
  244. package/dist/chunks/{skill-hvd5tw3z.js → skill-wwsaayej.js} +16 -16
  245. package/dist/chunks/{skill-kx82nz73.js → skill-x2zvk9pn.js} +4 -4
  246. package/dist/chunks/{skill-0zjy86nb.js → skill-x3f35jkj.js} +43 -43
  247. package/dist/chunks/{skill-h78cq6gt.js → skill-xeda3fwf.js} +4 -4
  248. package/dist/chunks/{skill-x3eexw8z.js → skill-xkb4z5m5.js} +1 -1
  249. package/dist/chunks/{skill-1v2g13eq.js → skill-xp7vz6kd.js} +8 -8
  250. package/dist/chunks/{skill-tt9rk80g.js → skill-xtyr0vxr.js} +3 -3
  251. package/dist/chunks/{skill-edhbmgy4.js → skill-xw4tt3tz.js} +22 -22
  252. package/dist/chunks/{skill-xjr6c8m4.js → skill-xxschbft.js} +3 -3
  253. package/dist/chunks/{skill-cd4gqj6m.js → skill-y282amyv.js} +7 -7
  254. package/dist/chunks/{skill-cqwx6s5k.js → skill-y4rcg1v2.js} +15 -15
  255. package/dist/chunks/{skill-849655md.js → skill-yb1yhpzz.js} +14 -14
  256. package/dist/chunks/{skill-b8mx8zzt.js → skill-yexs5h3k.js} +6 -6
  257. package/dist/chunks/{skill-0a6gezy6.js → skill-yf5veaxj.js} +12 -12
  258. package/dist/chunks/{skill-mjcdh3gk.js → skill-ygt3ykv7.js} +11 -11
  259. package/dist/chunks/{skill-xjxz5vy8.js → skill-yjweffhj.js} +16 -16
  260. package/dist/chunks/{skill-26ap4nbq.js → skill-ymtpamqc.js} +10 -10
  261. package/dist/chunks/{skill-f392mvjm.js → skill-yn6596c6.js} +14 -14
  262. package/dist/chunks/{skill-2w5yyhv1.js → skill-ynmhxp6r.js} +15 -15
  263. package/dist/chunks/{skill-xccw6ckh.js → skill-yp0zdv5j.js} +30 -30
  264. package/dist/chunks/{skill-rbg54dp1.js → skill-yqveydy6.js} +3 -3
  265. package/dist/chunks/{skill-dtfy0h3z.js → skill-yqw7crqm.js} +12 -12
  266. package/dist/chunks/{skill-jdf9jawx.js → skill-ysz78v0j.js} +26 -26
  267. package/dist/chunks/{skill-vnx5c0hq.js → skill-z4jgq3cs.js} +45 -45
  268. package/dist/chunks/{skill-7mbas0vy.js → skill-z4xz3wht.js} +7 -7
  269. package/dist/chunks/{skill-m73zgh3e.js → skill-za64yvk4.js} +13 -13
  270. package/dist/chunks/{skill-hr60ecax.js → skill-zbrfe41p.js} +36 -36
  271. package/dist/chunks/{skill-9a7a2vmy.js → skill-zg2162m8.js} +14 -14
  272. package/dist/chunks/{skill-ewstw71d.js → skill-zrgq9bxr.js} +13 -13
  273. package/dist/chunks/{skill-yaann9ba.js → skill-zwy29mpq.js} +3 -3
  274. package/dist/codemode/execution.js +3 -3
  275. package/dist/codemode/fetch.js +118 -118
  276. package/dist/codemode/instructions.js +6 -6
  277. package/dist/codemode/tool.js +125 -125
  278. package/dist/command.js +78 -78
  279. package/dist/config/discovery.js +75 -75
  280. package/dist/config/integration.js +3 -3
  281. package/dist/config/normalize.js +89 -89
  282. package/dist/config/plugin/agent.js +105 -105
  283. package/dist/config/plugin/command.js +205 -205
  284. package/dist/config/plugin/compaction.js +140 -140
  285. package/dist/config/plugin/compatibility.js +121 -121
  286. package/dist/config/plugin/formatter.js +103 -103
  287. package/dist/config/plugin/image.js +102 -102
  288. package/dist/config/plugin/instruction.js +104 -104
  289. package/dist/config/plugin/location-watcher.js +104 -104
  290. package/dist/config/plugin/mcp.js +117 -117
  291. package/dist/config/plugin/policy.js +102 -102
  292. package/dist/config/plugin/provider.js +102 -102
  293. package/dist/config/plugin/reference.js +103 -103
  294. package/dist/config/plugin/shell.js +104 -104
  295. package/dist/config/plugin/skill-file.js +118 -118
  296. package/dist/config/plugin/skill.js +124 -124
  297. package/dist/config/plugin/snapshot.js +102 -102
  298. package/dist/config/plugin/source.js +105 -105
  299. package/dist/config/plugin/tool-output.js +102 -102
  300. package/dist/config/plugin/websearch.js +103 -103
  301. package/dist/config/plugin/worktree.js +103 -103
  302. package/dist/config.js +108 -108
  303. package/dist/credential.js +75 -75
  304. package/dist/database/database.js +66 -66
  305. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  306. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  307. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  308. package/dist/database/drizzle/index.js +8 -8
  309. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  310. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  311. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  312. package/dist/database/drizzle.js +8 -8
  313. package/dist/database/migration.gen.js +50 -50
  314. package/dist/database/migration.js +65 -65
  315. package/dist/database/v1-migration.bun.js +11 -11
  316. package/dist/effect/app-node-builder.js +284 -284
  317. package/dist/environment/environment.js +81 -81
  318. package/dist/environment/index.js +85 -85
  319. package/dist/environment/unavailable.js +3 -3
  320. package/dist/event-logger.js +9 -9
  321. package/dist/file-access.js +126 -126
  322. package/dist/file-mutation.js +84 -84
  323. package/dist/file-write.js +129 -129
  324. package/dist/filesystem/file-watch.js +14 -14
  325. package/dist/filesystem/location-watcher-policy.js +5 -5
  326. package/dist/filesystem/location-watcher.js +216 -216
  327. package/dist/filesystem/search.js +87 -87
  328. package/dist/filesystem/watcher.js +9 -9
  329. package/dist/filesystem.js +92 -92
  330. package/dist/flag.js +108 -108
  331. package/dist/form.js +78 -78
  332. package/dist/formatter/builtins.js +3 -3
  333. package/dist/formatter.js +79 -79
  334. package/dist/generate.js +91 -91
  335. package/dist/git.js +3 -3
  336. package/dist/github-copilot/models.js +90 -90
  337. package/dist/image/photon.js +1 -1
  338. package/dist/image.js +5 -5
  339. package/dist/instance/service.js +5 -5
  340. package/dist/instance.js +384 -384
  341. package/dist/instruction-discovery.js +83 -83
  342. package/dist/instructions/builtins.js +80 -80
  343. package/dist/instructions/index.js +5 -5
  344. package/dist/integration.js +75 -75
  345. package/dist/job/list.js +4 -4
  346. package/dist/job.js +75 -75
  347. package/dist/kv.js +71 -71
  348. package/dist/location-activity.js +76 -76
  349. package/dist/location-lifecycle.js +123 -123
  350. package/dist/location-service-map.js +79 -79
  351. package/dist/location-services.js +382 -382
  352. package/dist/location.js +74 -74
  353. package/dist/managed-policy.js +2 -2
  354. package/dist/mcp/client.js +124 -124
  355. package/dist/mcp/connection.js +80 -80
  356. package/dist/mcp/index.js +120 -120
  357. package/dist/mcp/instructions.js +151 -151
  358. package/dist/mcp/oauth.js +10 -10
  359. package/dist/mcp/pool.js +88 -88
  360. package/dist/mcp/stdio.js +125 -125
  361. package/dist/mime.js +1 -1
  362. package/dist/modal/models.js +90 -90
  363. package/dist/model-resolver.js +89 -89
  364. package/dist/model.js +91 -91
  365. package/dist/models-dev.js +97 -97
  366. package/dist/permission/saved.js +77 -77
  367. package/dist/permission.js +126 -126
  368. package/dist/persistent-pty/index.js +79 -79
  369. package/dist/persistent-pty.js +69 -69
  370. package/dist/plugin/agent.js +73 -73
  371. package/dist/plugin/command.js +115 -115
  372. package/dist/plugin/fork-notice.js +3 -3
  373. package/dist/plugin/goal.js +3 -3
  374. package/dist/plugin/hooks.js +5 -5
  375. package/dist/plugin/host.js +207 -207
  376. package/dist/plugin/identity.js +4 -4
  377. package/dist/plugin/internal.js +362 -362
  378. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  379. package/dist/plugin/models-dev.js +86 -86
  380. package/dist/plugin/module.js +99 -99
  381. package/dist/plugin/optimize.js +3 -3
  382. package/dist/plugin/plan.js +119 -119
  383. package/dist/plugin/provider/amazon-bedrock.js +84 -84
  384. package/dist/plugin/provider/azure.js +106 -106
  385. package/dist/plugin/provider/chatgpt.js +105 -105
  386. package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
  387. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  388. package/dist/plugin/provider/claude-agent/claude/io.js +3 -3
  389. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  390. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  391. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  392. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  393. package/dist/plugin/provider/claude-agent/claude/sessions.js +13 -13
  394. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  395. package/dist/plugin/provider/claude-agent/index.js +118 -118
  396. package/dist/plugin/provider/claude-agent/instructions.js +92 -92
  397. package/dist/plugin/provider/claude-agent/integration.js +93 -93
  398. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  399. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +6 -6
  400. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  401. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  402. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  403. package/dist/plugin/provider/claude-agent/provider.js +88 -88
  404. package/dist/plugin/provider/claude-agent/session.js +89 -89
  405. package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
  406. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  407. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  408. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  409. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  410. package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
  411. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  412. package/dist/plugin/provider/cloudflare-ai-gateway.js +103 -103
  413. package/dist/plugin/provider/cloudflare-workers-ai.js +103 -103
  414. package/dist/plugin/provider/configured.js +99 -99
  415. package/dist/plugin/provider/credential-settings.js +72 -72
  416. package/dist/plugin/provider/digitalocean.js +86 -86
  417. package/dist/plugin/provider/github-copilot.js +88 -88
  418. package/dist/plugin/provider/gitlab.js +87 -87
  419. package/dist/plugin/provider/google-vertex.js +100 -100
  420. package/dist/plugin/provider/llmgateway.js +72 -72
  421. package/dist/plugin/provider/lmstudio.js +112 -112
  422. package/dist/plugin/provider/local.js +109 -109
  423. package/dist/plugin/provider/modal.js +86 -86
  424. package/dist/plugin/provider/ollama.js +112 -112
  425. package/dist/plugin/provider/openai-context-caps.js +84 -84
  426. package/dist/plugin/provider/openai.js +107 -107
  427. package/dist/plugin/provider/opencode-watches.js +3 -3
  428. package/dist/plugin/provider/opencode.js +129 -129
  429. package/dist/plugin/provider/openrouter.js +82 -82
  430. package/dist/plugin/provider/poe.js +73 -73
  431. package/dist/plugin/provider/refresh.js +73 -73
  432. package/dist/plugin/provider/sap-ai-core.js +81 -81
  433. package/dist/plugin/provider/snowflake-cortex.js +104 -104
  434. package/dist/plugin/provider/vllm.js +112 -112
  435. package/dist/plugin/provider/xai.js +82 -82
  436. package/dist/plugin/provider.js +197 -197
  437. package/dist/plugin/sdk.js +74 -74
  438. package/dist/plugin/service.js +3 -3
  439. package/dist/plugin/skill.js +122 -122
  440. package/dist/plugin/supervisor.js +369 -369
  441. package/dist/plugin/tool-input-repair.js +3 -3
  442. package/dist/plugin/vcs/git.js +78 -78
  443. package/dist/plugin/vcs/hg.js +78 -78
  444. package/dist/plugin/verbosity.js +84 -84
  445. package/dist/plugin/warming.js +102 -102
  446. package/dist/plugin/websearch/exa.js +7 -7
  447. package/dist/plugin/websearch/firecrawl.js +8 -8
  448. package/dist/plugin/websearch/index.js +9 -9
  449. package/dist/plugin/websearch/mcp.js +5 -5
  450. package/dist/plugin/websearch/parallel.js +6 -6
  451. package/dist/plugin/websearch/provider.js +3 -3
  452. package/dist/plugin/websearch/tavily.js +5 -5
  453. package/dist/plugin/websearch/tinyfish.js +8 -8
  454. package/dist/plugin.js +216 -216
  455. package/dist/project.js +73 -73
  456. package/dist/provider.js +84 -84
  457. package/dist/pty.js +88 -88
  458. package/dist/reference/instructions.js +82 -82
  459. package/dist/reference.js +81 -81
  460. package/dist/repository-cache.js +75 -75
  461. package/dist/ripgrep.js +86 -86
  462. package/dist/rpc.js +79 -79
  463. package/dist/schedule/check.js +211 -211
  464. package/dist/schedule.js +216 -216
  465. package/dist/session/blob.js +105 -105
  466. package/dist/session/command.js +71 -71
  467. package/dist/session/compaction.js +142 -142
  468. package/dist/session/context.js +167 -167
  469. package/dist/session/diff.js +77 -77
  470. package/dist/session/environment.js +5 -5
  471. package/dist/session/error.js +3 -3
  472. package/dist/session/execution/restart.js +139 -139
  473. package/dist/session/execution/subagent-report.js +115 -115
  474. package/dist/session/execution.js +140 -140
  475. package/dist/session/generate.js +167 -167
  476. package/dist/session/history.js +111 -111
  477. package/dist/session/inbox.js +122 -122
  478. package/dist/session/instruction-entry.js +72 -72
  479. package/dist/session/instruction-state.js +2 -2
  480. package/dist/session/instructions.js +118 -118
  481. package/dist/session/message-updater.js +3 -3
  482. package/dist/session/model-request.js +140 -140
  483. package/dist/session/model-transport.js +7 -7
  484. package/dist/session/move.js +142 -142
  485. package/dist/session/projector.js +117 -117
  486. package/dist/session/prompt.js +121 -121
  487. package/dist/session/revert.js +114 -114
  488. package/dist/session/run-coordinator.js +3 -3
  489. package/dist/session/runner/index.js +3 -3
  490. package/dist/session/runner/llm.js +215 -215
  491. package/dist/session/runner/model.js +91 -91
  492. package/dist/session/runner/publish-llm-event.js +123 -123
  493. package/dist/session/runner/retry.js +4 -4
  494. package/dist/session/runner/step.js +132 -132
  495. package/dist/session/runner/to-llm-message.js +112 -112
  496. package/dist/session/session.js +155 -155
  497. package/dist/session/shell.js +114 -114
  498. package/dist/session/skill.js +120 -120
  499. package/dist/session/stats.js +8 -8
  500. package/dist/session/store.js +116 -116
  501. package/dist/session/stored.js +3 -3
  502. package/dist/session/subagent-job.js +137 -137
  503. package/dist/session/title.js +165 -165
  504. package/dist/session/to-session-error.js +122 -122
  505. package/dist/session/transfer.js +121 -121
  506. package/dist/session.js +206 -206
  507. package/dist/shared-cache.js +5 -5
  508. package/dist/shell/parse.js +2 -2
  509. package/dist/shell/select.js +11 -11
  510. package/dist/shell.js +115 -115
  511. package/dist/skill/instructions.js +124 -124
  512. package/dist/skill.js +121 -121
  513. package/dist/snapshot.js +79 -79
  514. package/dist/tool/mcp.js +152 -152
  515. package/dist/tool/plugin/artifact.js +202 -202
  516. package/dist/tool/plugin/edit.js +133 -133
  517. package/dist/tool/plugin/glob.js +134 -134
  518. package/dist/tool/plugin/grep.js +135 -135
  519. package/dist/tool/plugin/image-generate.js +211 -211
  520. package/dist/tool/plugin/mcp-events.js +131 -131
  521. package/dist/tool/plugin/mcp-resource.js +131 -131
  522. package/dist/tool/plugin/opencode.js +130 -130
  523. package/dist/tool/plugin/patch.js +134 -134
  524. package/dist/tool/plugin/question.js +119 -119
  525. package/dist/tool/plugin/read.js +136 -136
  526. package/dist/tool/plugin/schedule.js +215 -215
  527. package/dist/tool/plugin/shell.js +205 -205
  528. package/dist/tool/plugin/skill.js +126 -126
  529. package/dist/tool/plugin/subagent.js +210 -210
  530. package/dist/tool/plugin/todo.js +125 -125
  531. package/dist/tool/plugin/webfetch.js +128 -128
  532. package/dist/tool/plugin/websearch.js +128 -128
  533. package/dist/tool/plugin/write.js +134 -134
  534. package/dist/tool/read-filesystem.js +88 -88
  535. package/dist/tool/search.js +83 -83
  536. package/dist/tool-output.js +5 -5
  537. package/dist/tool.js +135 -135
  538. package/dist/types/tool/read-filesystem.d.ts +1 -0
  539. package/dist/usage-limits.js +80 -80
  540. package/dist/v1/config/agent.js +6 -6
  541. package/dist/v1/config/command.js +3 -3
  542. package/dist/v1/config/mcp.js +3 -3
  543. package/dist/v1/config/migrate.js +82 -82
  544. package/dist/v1/config/permission.js +3 -3
  545. package/dist/v1/config/plugin.js +3 -3
  546. package/dist/variant.js +82 -82
  547. package/dist/vcs.js +81 -81
  548. package/dist/voice.js +80 -80
  549. package/dist/websearch.js +83 -83
  550. package/dist/wellknown/plugin.js +72 -72
  551. package/dist/wellknown.js +77 -77
  552. package/dist/workspace/driver.js +7 -7
  553. package/dist/workspace.js +74 -74
  554. package/dist/worktree/git.js +4 -4
  555. package/dist/worktree/strategies.js +80 -80
  556. package/dist/worktree.js +84 -84
  557. package/package.json +9 -9
  558. package/dist/chunks/skill-m9fc8chp.js +0 -26
  559. /package/dist/chunks/{skill-80mg3ag8.js → skill-775hqbnd.js} +0 -0
  560. /package/dist/chunks/{skill-ze75qvmd.js → skill-j9nxzz3g.js} +0 -0
  561. /package/dist/chunks/{skill-m9n49n2a.js → skill-qps79ava.js} +0 -0
  562. /package/dist/chunks/{skill-8fd4mn1c.js → skill-qq8nxmq8.js} +0 -0
  563. /package/dist/chunks/{skill-ct1nm8d1.js → skill-r46m9nfb.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./skill-w7a3yet4.js";
4
+ } from "./skill-dvqmnp87.js";
5
5
  import {
6
6
  Service93,
7
7
  node95
8
- } from "./skill-y9fr1g04.js";
8
+ } from "./skill-brjmya0n.js";
9
9
  import {
10
- Service59,
11
- node62
12
- } from "./skill-44erdk8z.js";
10
+ Service82,
11
+ node84
12
+ } from "./skill-nmff4vdb.js";
13
13
  import {
14
- Service58,
15
- node61
16
- } from "./skill-q32ndhrq.js";
14
+ Service45,
15
+ node47
16
+ } from "./skill-9nkjg9qd.js";
17
17
  import {
18
18
  SessionEvent2
19
19
  } from "./skill-ec1grn59.js";
20
20
  import {
21
- Service57,
22
- node60,
21
+ Service44,
22
+ node46,
23
23
  nextPromotable2
24
- } from "./skill-w6ax8ecs.js";
24
+ } from "./skill-ha27dm6a.js";
25
25
  import {
26
- make29
27
- } from "./skill-0kd8641e.js";
26
+ make28
27
+ } from "./skill-00pmfkn2.js";
28
28
  import {
29
- make30
30
- } from "./skill-ypzfmdvb.js";
29
+ make29
30
+ } from "./skill-2prt43t7.js";
31
31
  import {
32
32
  DrainResult2,
33
- Service56
34
- } from "./skill-rbg54dp1.js";
33
+ Service43
34
+ } from "./skill-yqveydy6.js";
35
35
  import {
36
- Service74,
37
- node76
38
- } from "./skill-k78pvvak.js";
36
+ Service67,
37
+ node69
38
+ } from "./skill-c2wf8p69.js";
39
39
  import {
40
40
  toSessionError2
41
- } from "./skill-55x0ca6n.js";
41
+ } from "./skill-29a9ydt5.js";
42
42
  import {
43
43
  __export
44
44
  } from "./skill-9rqn6x4v.js";
@@ -46,16 +46,16 @@ import {
46
46
  // src/session/execution.ts
47
47
  var exports_execution = {};
48
48
  __export(exports_execution, {
49
- Service: () => Service55,
49
+ Service: () => Service42,
50
50
  SessionExecution: () => exports_execution,
51
- layer: () => layer21,
52
- node: () => node59,
53
- noopLayer: () => noopLayer3,
51
+ layer: () => layer19,
52
+ node: () => node45,
53
+ noopLayer: () => noopLayer2,
54
54
  terminal: () => terminal2
55
55
  });
56
56
  import { Cause, Context, Effect, Exit, Layer } from "effect";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
- class Service55 extends Context.Service()("@opencode/SessionExecution") {
58
+ class Service42 extends Context.Service()("@opencode/SessionExecution") {
59
59
  }
60
60
  function terminal2(exit, reason) {
61
61
  if (Exit.isSuccess(exit))
@@ -64,19 +64,19 @@ function terminal2(exit, reason) {
64
64
  return { type: "interrupted", reason: reason ?? "shutdown" };
65
65
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
66
66
  }
67
- var layer21 = Layer.effect(Service55, Effect.gen(function* () {
68
- const store = yield* Service74;
69
- const instances = yield* Service58;
67
+ var layer19 = Layer.effect(Service42, Effect.gen(function* () {
68
+ const store = yield* Service67;
69
+ const instances = yield* Service45;
70
70
  const bus = yield* Service93;
71
- const jobs = yield* Service59;
72
- const inbox = yield* Service57;
71
+ const jobs = yield* Service82;
72
+ const inbox = yield* Service44;
73
73
  const db = (yield* Service94).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
77
77
  });
78
78
  const holder = {};
79
- const subagentReport = make29({
79
+ const subagentReport = make28({
80
80
  store,
81
81
  jobs,
82
82
  inbox,
@@ -90,7 +90,7 @@ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
90
90
  const session = yield* store.get(sessionID);
91
91
  if (!session)
92
92
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
93
- const result = yield* Service56.use((runner) => runner.drain({
93
+ const result = yield* Service43.use((runner) => runner.drain({
94
94
  sessionID,
95
95
  force,
96
96
  continuation,
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
104
104
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
105
105
  });
106
106
  });
107
- const coordinator = yield* make30({
107
+ const coordinator = yield* make29({
108
108
  started: (sessionID) => reportLifecycle(sessionID, Effect.gen(function* () {
109
109
  const before = yield* jobs.currentGeneration(sessionID);
110
110
  const event = yield* bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID));
@@ -131,7 +131,7 @@ var layer21 = Layer.effect(Service55, Effect.gen(function* () {
131
131
  });
132
132
  holder.coordinator = coordinator;
133
133
  interruption = coordinator.interruption;
134
- return Service55.of({
134
+ return Service42.of({
135
135
  active: coordinator.active,
136
136
  isActive: coordinator.isActive,
137
137
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -158,12 +158,12 @@ function publishTerminal(bus, sessionID, outcome, commit) {
158
158
  }
159
159
  return bus.publish(SessionEvent2.Execution.Failed, { sessionID, error: outcome.error }, { commit });
160
160
  }
161
- var node59 = makeGlobalNode({
162
- service: Service55,
163
- layer: layer21,
164
- deps: [node76, node61, node95, node96, node62, node60]
161
+ var node45 = makeGlobalNode({
162
+ service: Service42,
163
+ layer: layer19,
164
+ deps: [node69, node47, node95, node96, node84, node46]
165
165
  });
166
- var noopLayer3 = Layer.succeed(Service55, Service55.of({
166
+ var noopLayer2 = Layer.succeed(Service42, Service42.of({
167
167
  active: Effect.succeed(new Set),
168
168
  isActive: () => Effect.succeed(false),
169
169
  resume: () => Effect.void,
@@ -172,4 +172,4 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
172
172
  awaitIdle: () => Effect.void
173
173
  }));
174
174
 
175
- export { Service55, terminal2, layer21, node59, noopLayer3, exports_execution };
175
+ export { Service42, terminal2, layer19, node45, noopLayer2, exports_execution };
@@ -9,7 +9,7 @@ __export(exports_goal, {
9
9
  MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
10
10
  MAX_ROUNDS: () => MAX_ROUNDS2,
11
11
  MAX_STALLS: () => MAX_STALLS2,
12
- Plugin: () => Plugin8,
12
+ Plugin: () => Plugin40,
13
13
  WAIT_LIMIT: () => WAIT_LIMIT2
14
14
  });
15
15
  import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
102
102
  });
103
103
  var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
104
104
  var USAGE = "Usage: /goal <objective> | pause | resume | clear";
105
- var Plugin8 = define({
105
+ var Plugin40 = define({
106
106
  id: "opencode.goal",
107
107
  effect: Effect.fn(function* (ctx) {
108
108
  const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
@@ -407,4 +407,4 @@ function escape(text) {
407
407
  return text.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
408
408
  }
409
409
 
410
- export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin8, exports_goal };
410
+ export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin40, exports_goal };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./skill-y9fr1g04.js";
4
+ } from "./skill-brjmya0n.js";
5
5
  import {
6
- Service87,
7
- node89
8
- } from "./skill-9aprp0hr.js";
6
+ Service89,
7
+ node91
8
+ } from "./skill-aeh58v89.js";
9
9
  import {
10
10
  Service91,
11
11
  node93
12
- } from "./skill-xrnga7ra.js";
12
+ } from "./skill-vk3m6b26.js";
13
13
  import {
14
14
  Ref5,
15
15
  Service90,
16
16
  node92
17
- } from "./skill-8pvbfnhx.js";
17
+ } from "./skill-hgfjmfwb.js";
18
18
  import {
19
19
  canonical3
20
- } from "./skill-2gmad1r4.js";
20
+ } from "./skill-bne54h0r.js";
21
21
  import {
22
22
  SessionEvent2
23
23
  } from "./skill-ec1grn59.js";
24
24
  import {
25
- Service73,
26
- node75
27
- } from "./skill-ad03y81a.js";
25
+ Service66,
26
+ node68
27
+ } from "./skill-d4y36rsf.js";
28
28
  import {
29
- Service89,
30
- node91
31
- } from "./skill-t5ymqest.js";
29
+ Service22,
30
+ node25
31
+ } from "./skill-tgekmjc5.js";
32
32
  import {
33
33
  __export
34
34
  } from "./skill-9rqn6x4v.js";
@@ -37,8 +37,8 @@ import {
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service71,
41
- node: () => node73
40
+ Service: () => Service20,
41
+ node: () => node23
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -46,14 +46,14 @@ import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
  var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
48
48
 
49
- class Service71 extends Context.Service()("@opencode/LocationLifecycle") {
49
+ class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
50
50
  }
51
- var layer = Layer.effect(Service71, Effect.gen(function* () {
51
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
52
52
  const bus = yield* Service93;
53
53
  const location = yield* Service90;
54
- const permission = yield* Service73;
55
- const forms = yield* Service87;
56
- const rpc = yield* Service89;
54
+ const permission = yield* Service66;
55
+ const forms = yield* Service89;
56
+ const rpc = yield* Service22;
57
57
  const project = yield* Service91;
58
58
  const scope = yield* Effect.scope;
59
59
  const self = canonical3(Ref5.make({ directory: location.directory, workspaceID: location.workspaceID }));
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
85
85
  });
86
86
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
87
87
  }).pipe(Effect.uninterruptible);
88
- return Service71.of({
88
+ return Service20.of({
89
89
  isClosed: () => closed,
90
90
  shutdown,
91
91
  awaitShutdown: Deferred.await(done),
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
97
97
  isRetained: () => retained > 0
98
98
  });
99
99
  }));
100
- var node73 = makeLocationNode({
101
- service: Service71,
100
+ var node23 = makeLocationNode({
101
+ service: Service20,
102
102
  layer,
103
- deps: [node95, node92, node75, node93, node89, node91]
103
+ deps: [node95, node92, node68, node93, node91, node25]
104
104
  });
105
105
 
106
- export { Service71, node73, exports_location_lifecycle };
106
+ export { Service20, node23, exports_location_lifecycle };
@@ -7,11 +7,11 @@ import {
7
7
  TreeID2,
8
8
  Service92,
9
9
  node94
10
- } from "./skill-8fd4mn1c.js";
10
+ } from "./skill-qq8nxmq8.js";
11
11
  import {
12
12
  Service90,
13
13
  node92
14
- } from "./skill-8pvbfnhx.js";
14
+ } from "./skill-hgfjmfwb.js";
15
15
  import {
16
16
  create4
17
17
  } from "./skill-40y6dtc2.js";
@@ -24,10 +24,10 @@ var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error2,
26
26
  ID: () => ID8,
27
- Service: () => Service46,
27
+ Service: () => Service47,
28
28
  Snapshot: () => exports_snapshot2,
29
29
  node: () => node49,
30
- noopLayer: () => noopLayer2
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -43,9 +43,9 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service46 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service47 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service46, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service92;
51
51
  const global = yield* Global.Service;
@@ -153,14 +153,14 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service46.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
158
  var node49 = makeLocationNode({
159
- service: Service46,
159
+ service: Service47,
160
160
  layer,
161
161
  deps: [FSUtil.node, node94, Global.node, node92]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service46, Service46.of({
163
+ var noopLayer3 = Layer.succeed(Service47, Service47.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -178,4 +178,4 @@ function failure(operation, cause) {
178
178
  });
179
179
  }
180
180
 
181
- export { ID8, Error2, Service46, node49, noopLayer2, exports_snapshot2 };
181
+ export { ID8, Error2, Service47, node49, noopLayer3, exports_snapshot2 };
@@ -6,11 +6,11 @@ import {
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options6,
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 Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options6, Spec2, exports_plugin3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service94
3
- } from "./skill-w7a3yet4.js";
3
+ } from "./skill-dvqmnp87.js";
4
4
  import {
5
5
  Service93
6
- } from "./skill-y9fr1g04.js";
6
+ } from "./skill-brjmya0n.js";
7
7
  import {
8
- Service58
9
- } from "./skill-q32ndhrq.js";
8
+ Service45
9
+ } from "./skill-9nkjg9qd.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./skill-8kjyvwy5.js";
@@ -14,40 +14,40 @@ import {
14
14
  SessionMessage2
15
15
  } from "./skill-gftt206x.js";
16
16
  import {
17
- NotFoundError11,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./skill-s4kyhetj.js";
23
+ } from "./skill-gjnyez1s.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./skill-ec1grn59.js";
27
27
  import {
28
28
  SyntheticPayload2,
29
- Service57
30
- } from "./skill-w6ax8ecs.js";
29
+ Service44
30
+ } from "./skill-ha27dm6a.js";
31
31
  import {
32
- Service74
33
- } from "./skill-k78pvvak.js";
32
+ Service67
33
+ } from "./skill-c2wf8p69.js";
34
34
  import {
35
- Service55
36
- } from "./skill-71fa4tkx.js";
35
+ Service42
36
+ } from "./skill-5h0a6q0s.js";
37
37
  import {
38
38
  prepare2
39
- } from "./skill-pkdgdegd.js";
39
+ } from "./skill-6fc6gbqb.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./skill-dtfy0h3z.js";
44
+ } from "./skill-yqw7crqm.js";
45
45
  import {
46
46
  start5
47
- } from "./skill-88fk8ra6.js";
47
+ } from "./skill-dn30q06y.js";
48
48
  import {
49
49
  get4
50
- } from "./skill-8wxtd3nx.js";
50
+ } from "./skill-6bh0kand.js";
51
51
  import {
52
52
  __export
53
53
  } from "./skill-9rqn6x4v.js";
@@ -64,16 +64,16 @@ import { FSUtil } from "@opencode/util/fs-util";
64
64
  var make24 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service93;
66
66
  const database = yield* Service94;
67
- const store = yield* Service74;
68
- const instances = yield* Service58;
69
- const execution = yield* Service55;
70
- const admission = yield* Service57;
67
+ const store = yield* Service67;
68
+ const instances = yield* Service45;
69
+ const execution = yield* Service42;
70
+ const admission = yield* Service44;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError11({ sessionID });
76
+ return yield* new NotFoundError10({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -164,7 +164,7 @@ var make24 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(Service58, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start5({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service58, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service94, database), Effect.provideService(Service93, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service93, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service93, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service58
3
- } from "./skill-q32ndhrq.js";
2
+ Service45
3
+ } from "./skill-9nkjg9qd.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./skill-me0dhgxs.js";
6
+ } from "./skill-qmh7vbk2.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./skill-s4kyhetj.js";
9
+ } from "./skill-gjnyez1s.js";
10
10
  import {
11
- Service61
12
- } from "./skill-26ap4nbq.js";
11
+ Service65
12
+ } from "./skill-ymtpamqc.js";
13
13
  import {
14
14
  __export
15
15
  } from "./skill-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service58;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service61), instances.provide(input.session));
25
+ const instances = yield* Service45;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service65), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useragent2
3
- } from "./skill-bgsdyws9.js";
3
+ } from "./skill-4fd97kgc.js";
4
4
  import {
5
5
  call2
6
- } from "./skill-40za9wsf.js";
6
+ } from "./skill-w2eysc6j.js";
7
7
  import {
8
- register2
9
- } from "./skill-xjr6c8m4.js";
8
+ register3
9
+ } from "./skill-xxschbft.js";
10
10
  import {
11
11
  __export
12
12
  } from "./skill-9rqn6x4v.js";
@@ -14,7 +14,7 @@ import {
14
14
  // src/plugin/websearch/parallel.ts
15
15
  var exports_parallel = {};
16
16
  __export(exports_parallel, {
17
- Plugin: () => Plugin4,
17
+ Plugin: () => Plugin43,
18
18
  WebSearchParallel: () => exports_parallel,
19
19
  endpoint: () => endpoint4
20
20
  });
@@ -50,11 +50,11 @@ var McpOutput = Schema.Struct({
50
50
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
51
51
  structuredContent: SearchResponse
52
52
  });
53
- var Plugin4 = define({
53
+ var Plugin43 = define({
54
54
  id: "opencode.websearch.parallel",
55
55
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
56
56
  const http = yield* HttpClient.HttpClient;
57
- yield* register2(ctx, {
57
+ yield* register3(ctx, {
58
58
  id: "parallel",
59
59
  name: "Parallel",
60
60
  env: "PARALLEL_API_KEY",
@@ -82,4 +82,4 @@ var Plugin4 = define({
82
82
  })
83
83
  });
84
84
 
85
- export { endpoint4, Plugin4, exports_parallel };
85
+ export { endpoint4, Plugin43, exports_parallel };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service94
3
- } from "./skill-w7a3yet4.js";
3
+ } from "./skill-dvqmnp87.js";
4
4
  import {
5
- Service64
6
- } from "./skill-dy41a2ws.js";
5
+ Service77
6
+ } from "./skill-r4yhzkx5.js";
7
7
  import {
8
8
  detect2
9
- } from "./skill-4pyp9zr9.js";
9
+ } from "./skill-7g6gbmjs.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./skill-me0dhgxs.js";
12
+ } from "./skill-qmh7vbk2.js";
13
13
  import {
14
- Service76
15
- } from "./skill-r0wrga32.js";
14
+ Service70
15
+ } from "./skill-a1qwck5h.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./skill-s4kyhetj.js";
19
+ } from "./skill-gjnyez1s.js";
20
20
  import {
21
21
  Ref2,
22
22
  refHash2
23
- } from "./skill-fg9p65nk.js";
23
+ } from "./skill-prq7xxp2.js";
24
24
  import {
25
- read4
26
- } from "./skill-7mbas0vy.js";
25
+ read3
26
+ } from "./skill-z4xz3wht.js";
27
27
  import {
28
28
  prepare3,
29
- Service61
30
- } from "./skill-26ap4nbq.js";
29
+ Service65
30
+ } from "./skill-ymtpamqc.js";
31
31
  import {
32
32
  __export
33
33
  } from "./skill-9rqn6x4v.js";
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
48
48
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  yield* awaitActivation2;
51
- const hooks = yield* Service76;
51
+ const hooks = yield* Service70;
52
52
  const event = yield* hooks.trigger("session", "prompt", {
53
53
  sessionID: request.session.id,
54
54
  messageID: request.messageID,
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
67
67
  const selected = yield* Effect.gen(function* () {
68
68
  if (!requested?.length)
69
69
  return;
70
- const skillService = yield* Service61;
70
+ const skillService = yield* Service65;
71
71
  const prepared = new Map;
72
72
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
73
73
  const name = prepared.get(attachment.id);
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
142
142
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
143
143
  if (!RESIZABLE_IMAGE_MIMES.has(mime))
144
144
  return { data: Base64.make(data), mime };
145
- const image = yield* Service64;
145
+ const image = yield* Service77;
146
146
  const label = attachmentLabel(input);
147
147
  const content = { uri: label, content: data, encoding: "base64", mime };
148
148
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -150,7 +150,7 @@ var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment
150
150
  });
151
151
  var readBlobAttachment = Effect.fn("SessionPrompt.readBlobAttachment")(function* (uri) {
152
152
  const { db } = yield* Service94;
153
- const blob = yield* read4(db, refHash2(uri));
153
+ const blob = yield* read3(db, refHash2(uri));
154
154
  if (!blob)
155
155
  return yield* new AttachmentError2({ uri, message: `Attachment is no longer stored: ${uri}` });
156
156
  return blob;
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./skill-pqpekw9r.js";
5
+ } from "./skill-efzcx815.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";