@opencode/core 0.0.0-dev-21458 → 0.0.0-dev-21463

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 (485) hide show
  1. package/dist/agent.js +66 -66
  2. package/dist/aisdk-native.js +70 -70
  3. package/dist/aisdk.js +75 -75
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +54 -54
  6. package/dist/chunks/{ripgrep-vy2epn4a.js → ripgrep-06h1tyz4.js} +4 -4
  7. package/dist/chunks/{ripgrep-ag4rn41e.js → ripgrep-06x8he3q.js} +3 -3
  8. package/dist/chunks/{ripgrep-ww55sn04.js → ripgrep-09c1zjrt.js} +15 -15
  9. package/dist/chunks/{ripgrep-v210v162.js → ripgrep-0javqkgf.js} +7 -7
  10. package/dist/chunks/{ripgrep-1rs87y8d.js → ripgrep-0nmqjfd0.js} +23 -23
  11. package/dist/chunks/{ripgrep-xdh6s9ed.js → ripgrep-124s2bhj.js} +10 -10
  12. package/dist/chunks/{ripgrep-emzsebxx.js → ripgrep-1fmrbde1.js} +5 -5
  13. package/dist/chunks/{ripgrep-w7vtcvrx.js → ripgrep-1gvanxjs.js} +32 -32
  14. package/dist/chunks/{ripgrep-4kvg6bn8.js → ripgrep-1jshh0hj.js} +20 -20
  15. package/dist/chunks/{ripgrep-sdzwknx0.js → ripgrep-1rwjpbn5.js} +24 -24
  16. package/dist/chunks/{ripgrep-hdgw5fjw.js → ripgrep-1w5qwmmm.js} +7 -7
  17. package/dist/chunks/{ripgrep-zzdkzef9.js → ripgrep-1zd1rgqx.js} +17 -17
  18. package/dist/chunks/{ripgrep-amt7ef5n.js → ripgrep-22v61q2t.js} +9 -9
  19. package/dist/chunks/{ripgrep-y8ycp07x.js → ripgrep-230myn37.js} +14 -14
  20. package/dist/chunks/{ripgrep-6ac9zck1.js → ripgrep-251hxpd6.js} +1 -1
  21. package/dist/chunks/{ripgrep-1ep2p91f.js → ripgrep-27w5k9zf.js} +1 -1
  22. package/dist/chunks/{ripgrep-ar5c37sv.js → ripgrep-298dhb3n.js} +17 -17
  23. package/dist/chunks/{ripgrep-tzvv02w3.js → ripgrep-29mhb2se.js} +48 -48
  24. package/dist/chunks/{ripgrep-edj082x0.js → ripgrep-2r363r85.js} +3 -3
  25. package/dist/chunks/{ripgrep-d4he2qe1.js → ripgrep-2sejkfem.js} +7 -7
  26. package/dist/chunks/{ripgrep-2h0q315h.js → ripgrep-2sstcm55.js} +10 -10
  27. package/dist/chunks/{ripgrep-mzrmbcee.js → ripgrep-2wqnbphr.js} +12 -12
  28. package/dist/chunks/{ripgrep-yggz4gjb.js → ripgrep-2wvr9kck.js} +45 -45
  29. package/dist/chunks/{ripgrep-cz0dahpr.js → ripgrep-312nns96.js} +6 -6
  30. package/dist/chunks/{ripgrep-am1tmpj5.js → ripgrep-3220qrgn.js} +8 -8
  31. package/dist/chunks/{ripgrep-7hppxa70.js → ripgrep-3k2tm6e9.js} +1 -1
  32. package/dist/chunks/{ripgrep-68w3xa91.js → ripgrep-3mqyb98t.js} +3 -3
  33. package/dist/chunks/ripgrep-3qcx2nn5.js +257 -0
  34. package/dist/chunks/{ripgrep-hc033k72.js → ripgrep-3vt2dxg2.js} +2 -2
  35. package/dist/chunks/{ripgrep-pgp1nwjn.js → ripgrep-44ak30pa.js} +3 -3
  36. package/dist/chunks/{ripgrep-1rw66me6.js → ripgrep-49j0r9af.js} +17 -17
  37. package/dist/chunks/{ripgrep-dt0gb5zd.js → ripgrep-4kjvvtcf.js} +13 -13
  38. package/dist/chunks/{ripgrep-w39jehkq.js → ripgrep-4xpgt2w9.js} +3 -3
  39. package/dist/chunks/{ripgrep-f9ewqnvf.js → ripgrep-4yszj04w.js} +31 -31
  40. package/dist/chunks/{ripgrep-rxkx3yrv.js → ripgrep-4zd5n188.js} +22 -22
  41. package/dist/chunks/{ripgrep-b0k3m5sv.js → ripgrep-50ttpepc.js} +46 -46
  42. package/dist/chunks/{ripgrep-dzrdd8y4.js → ripgrep-560zx63f.js} +1 -1
  43. package/dist/chunks/{ripgrep-9jdajzrt.js → ripgrep-57pprckc.js} +19 -19
  44. package/dist/chunks/{ripgrep-2n3wn4cc.js → ripgrep-5cfq97pr.js} +25 -25
  45. package/dist/chunks/{ripgrep-m1jhgcxs.js → ripgrep-5cwz5tfs.js} +2 -2
  46. package/dist/chunks/{ripgrep-q3myhh1r.js → ripgrep-5d51bkr7.js} +44 -44
  47. package/dist/chunks/{ripgrep-vep9yay1.js → ripgrep-5g57z1ma.js} +3 -3
  48. package/dist/chunks/{ripgrep-hxcjpjn2.js → ripgrep-5h8zx44a.js} +17 -17
  49. package/dist/chunks/{ripgrep-5wbw6pv9.js → ripgrep-5kk0g6xv.js} +9 -9
  50. package/dist/chunks/{ripgrep-n7qpxvtd.js → ripgrep-5wdmk2gh.js} +28 -28
  51. package/dist/chunks/{ripgrep-e696dwzt.js → ripgrep-68zvyq3x.js} +8 -8
  52. package/dist/chunks/{ripgrep-apt503cy.js → ripgrep-6dx9d91q.js} +8 -8
  53. package/dist/chunks/{ripgrep-3fnjy7d5.js → ripgrep-6gya5b2a.js} +35 -35
  54. package/dist/chunks/{ripgrep-9wn2agq9.js → ripgrep-6mjf37c3.js} +30 -30
  55. package/dist/chunks/{ripgrep-y4fgtena.js → ripgrep-6s32m78n.js} +83 -83
  56. package/dist/chunks/{ripgrep-06m8zqpz.js → ripgrep-6ypqa0d2.js} +26 -26
  57. package/dist/chunks/{ripgrep-6sdx5bv6.js → ripgrep-713a57ta.js} +1 -1
  58. package/dist/chunks/{ripgrep-nj7hqrdc.js → ripgrep-72x17vkx.js} +7 -7
  59. package/dist/chunks/{ripgrep-t6z5h8be.js → ripgrep-75d596k4.js} +19 -19
  60. package/dist/chunks/{ripgrep-8w348b9w.js → ripgrep-77jva0j9.js} +6 -6
  61. package/dist/chunks/{ripgrep-607tc6va.js → ripgrep-7dqw4kz8.js} +4 -4
  62. package/dist/chunks/{ripgrep-ce3ajj6n.js → ripgrep-7e8r663x.js} +32 -32
  63. package/dist/chunks/{ripgrep-725dzmat.js → ripgrep-7jxgd9ay.js} +19 -19
  64. package/dist/chunks/{ripgrep-6m78wcz4.js → ripgrep-86gy2e90.js} +27 -27
  65. package/dist/chunks/{ripgrep-wbcvfxpg.js → ripgrep-8eadsrjy.js} +25 -25
  66. package/dist/chunks/{ripgrep-ryb7mfzk.js → ripgrep-8fmaj9a8.js} +18 -18
  67. package/dist/chunks/{ripgrep-hes8zqkx.js → ripgrep-8hs2d1kn.js} +10 -10
  68. package/dist/chunks/{ripgrep-ekrj3q3n.js → ripgrep-8sjwbqp5.js} +16 -16
  69. package/dist/chunks/{ripgrep-xw9fg8fb.js → ripgrep-8vcf4cwr.js} +1 -1
  70. package/dist/chunks/{ripgrep-eydep5ty.js → ripgrep-8wx9bhg6.js} +1 -1
  71. package/dist/chunks/{ripgrep-qcqpgb6f.js → ripgrep-91af422c.js} +15 -15
  72. package/dist/chunks/{ripgrep-v9ep9kw5.js → ripgrep-989d504g.js} +36 -36
  73. package/dist/chunks/{ripgrep-r4fw60a8.js → ripgrep-9ms3qzpy.js} +4 -4
  74. package/dist/chunks/{ripgrep-kmgpx441.js → ripgrep-9nhbmbq3.js} +9 -9
  75. package/dist/chunks/{ripgrep-fh3hfgk9.js → ripgrep-9xj3p3b6.js} +17 -17
  76. package/dist/chunks/{ripgrep-1vp80wqe.js → ripgrep-a0b0pnyt.js} +1 -1
  77. package/dist/chunks/{ripgrep-ye89p72n.js → ripgrep-a3w6cej7.js} +15 -15
  78. package/dist/chunks/{ripgrep-e2qvw7zx.js → ripgrep-abwmzdm0.js} +10 -10
  79. package/dist/chunks/{ripgrep-9vr292v9.js → ripgrep-agt495f3.js} +10 -10
  80. package/dist/chunks/{ripgrep-p2kzfj7d.js → ripgrep-avj6wgd7.js} +25 -25
  81. package/dist/chunks/{ripgrep-csqw7sk8.js → ripgrep-axkwkzd9.js} +11 -11
  82. package/dist/chunks/{ripgrep-8w0fc9v5.js → ripgrep-ayvmmyqf.js} +19 -19
  83. package/dist/chunks/{ripgrep-h0pyfwgt.js → ripgrep-b1hts85v.js} +22 -22
  84. package/dist/chunks/{ripgrep-gdbaa3vm.js → ripgrep-b7pfhk9a.js} +16 -16
  85. package/dist/chunks/{ripgrep-9f2mr1jq.js → ripgrep-bd8280h5.js} +17 -17
  86. package/dist/chunks/{ripgrep-4w1f8scj.js → ripgrep-bh4seszr.js} +30 -30
  87. package/dist/chunks/{ripgrep-hsmryvj1.js → ripgrep-bj5f8pf2.js} +4 -4
  88. package/dist/chunks/{ripgrep-wjr9rjd7.js → ripgrep-bjx1sjef.js} +4 -4
  89. package/dist/chunks/{ripgrep-gbqxypma.js → ripgrep-bmff2rpw.js} +24 -24
  90. package/dist/chunks/{ripgrep-e0b2kra3.js → ripgrep-bqwheb6v.js} +9 -9
  91. package/dist/chunks/{ripgrep-y24qngx4.js → ripgrep-c1kvbfjw.js} +12 -12
  92. package/dist/chunks/ripgrep-cb080mpn.js +26 -0
  93. package/dist/chunks/{ripgrep-xkajykm3.js → ripgrep-cph4sz5z.js} +11 -11
  94. package/dist/chunks/{ripgrep-5246atra.js → ripgrep-cvb5s8dx.js} +11 -11
  95. package/dist/chunks/{ripgrep-9cn598b5.js → ripgrep-cys88cvv.js} +5 -5
  96. package/dist/chunks/{ripgrep-ssc22y53.js → ripgrep-d3fk46xw.js} +28 -28
  97. package/dist/chunks/{ripgrep-abzgq1nw.js → ripgrep-d9ddtp67.js} +13 -13
  98. package/dist/chunks/{ripgrep-5rkje03p.js → ripgrep-dcf9rm2z.js} +5 -5
  99. package/dist/chunks/{ripgrep-b19v66bv.js → ripgrep-dfe61pt0.js} +41 -41
  100. package/dist/chunks/{ripgrep-dd2wt6q1.js → ripgrep-dgwfvztm.js} +17 -17
  101. package/dist/chunks/{ripgrep-xj1aydcy.js → ripgrep-dhb2hta4.js} +3 -3
  102. package/dist/chunks/{ripgrep-tfx4s5nm.js → ripgrep-dtt6326j.js} +7 -7
  103. package/dist/chunks/{ripgrep-hg8tkm75.js → ripgrep-e0d821cc.js} +6 -6
  104. package/dist/chunks/{ripgrep-7bjfyzh8.js → ripgrep-e1kmgh1g.js} +46 -46
  105. package/dist/chunks/{ripgrep-rncype5f.js → ripgrep-e225h40x.js} +17 -17
  106. package/dist/chunks/{ripgrep-7t3xedjm.js → ripgrep-e33zja9b.js} +33 -33
  107. package/dist/chunks/{ripgrep-enrp405z.js → ripgrep-edswj8x3.js} +17 -17
  108. package/dist/chunks/{ripgrep-bstm3mwn.js → ripgrep-eev4j3tf.js} +12 -12
  109. package/dist/chunks/{ripgrep-8vya4b9k.js → ripgrep-efw5yz4r.js} +43 -43
  110. package/dist/chunks/{ripgrep-c99e4gbg.js → ripgrep-eh2h7xf4.js} +15 -15
  111. package/dist/chunks/{ripgrep-zqecfbxk.js → ripgrep-eyakfeqd.js} +13 -13
  112. package/dist/chunks/{ripgrep-jszh17ab.js → ripgrep-f6egx6pd.js} +22 -22
  113. package/dist/chunks/{ripgrep-p8mhfpfb.js → ripgrep-fmcqyzhx.js} +7 -7
  114. package/dist/chunks/{ripgrep-t2fc4mz5.js → ripgrep-fqb2p7cx.js} +3 -3
  115. package/dist/chunks/{ripgrep-ff0c8932.js → ripgrep-fs83kz7m.js} +9 -9
  116. package/dist/chunks/{ripgrep-jp9kzq14.js → ripgrep-fxq1hvsx.js} +3 -3
  117. package/dist/chunks/{ripgrep-p42hj8p8.js → ripgrep-g0445xdp.js} +7 -7
  118. package/dist/chunks/{ripgrep-n8gj4qy5.js → ripgrep-g1962y70.js} +19 -19
  119. package/dist/chunks/{ripgrep-mg37qacw.js → ripgrep-g2kqvpw2.js} +19 -14
  120. package/dist/chunks/{ripgrep-y7nndgyc.js → ripgrep-g686f6pq.js} +7 -7
  121. package/dist/chunks/{ripgrep-w19xc5wf.js → ripgrep-g721rhm1.js} +18 -18
  122. package/dist/chunks/{ripgrep-b6rsy5zn.js → ripgrep-gd45gbwy.js} +15 -15
  123. package/dist/chunks/{ripgrep-9hwaqfsw.js → ripgrep-gj71zhbs.js} +3 -3
  124. package/dist/chunks/{ripgrep-yb81whfj.js → ripgrep-gjbmpe49.js} +30 -30
  125. package/dist/chunks/{ripgrep-vdxz864t.js → ripgrep-gk6en6xk.js} +35 -35
  126. package/dist/chunks/{ripgrep-868jxd9s.js → ripgrep-gw2dacjw.js} +27 -27
  127. package/dist/chunks/{ripgrep-y11negt3.js → ripgrep-h0qy9bnt.js} +5 -5
  128. package/dist/chunks/{ripgrep-qw7cqan8.js → ripgrep-h47csjds.js} +64 -64
  129. package/dist/chunks/{ripgrep-vdmef0hv.js → ripgrep-h6vdgmbd.js} +32 -32
  130. package/dist/chunks/{ripgrep-rjsqaxa7.js → ripgrep-hcv80w8f.js} +3 -3
  131. package/dist/chunks/{ripgrep-cne4vwe6.js → ripgrep-hd44qvhb.js} +14 -14
  132. package/dist/chunks/{ripgrep-bvkvrv05.js → ripgrep-hfj6ba10.js} +17 -17
  133. package/dist/chunks/{ripgrep-w1yzj816.js → ripgrep-hhvzr4qm.js} +21 -21
  134. package/dist/chunks/{ripgrep-df173w7t.js → ripgrep-hm49vy5t.js} +9 -9
  135. package/dist/chunks/{ripgrep-ms93yq6r.js → ripgrep-hpfvhvya.js} +7 -7
  136. package/dist/chunks/{ripgrep-khmqacep.js → ripgrep-hq3c8me3.js} +3 -3
  137. package/dist/chunks/{ripgrep-53tbswfk.js → ripgrep-hs6ysvtc.js} +32 -32
  138. package/dist/chunks/{ripgrep-897yn8js.js → ripgrep-htbjkf0w.js} +1 -1
  139. package/dist/chunks/{ripgrep-pev3esbk.js → ripgrep-hxsbxgw0.js} +34 -34
  140. package/dist/chunks/{ripgrep-4rb4nh12.js → ripgrep-j0pnngg3.js} +21 -21
  141. package/dist/chunks/{ripgrep-8xxtntea.js → ripgrep-j4axjra1.js} +9 -9
  142. package/dist/chunks/{ripgrep-dpf25vxh.js → ripgrep-jga877gc.js} +16 -16
  143. package/dist/chunks/{ripgrep-7v685v47.js → ripgrep-jqvncec7.js} +41 -41
  144. package/dist/chunks/{ripgrep-mr9jz2wx.js → ripgrep-jv8w58zf.js} +27 -27
  145. package/dist/chunks/{ripgrep-y0g19xg0.js → ripgrep-jx1ed50p.js} +45 -20
  146. package/dist/chunks/{ripgrep-wh5v440s.js → ripgrep-jyarf421.js} +4 -4
  147. package/dist/chunks/{ripgrep-7x97mf13.js → ripgrep-k7ct3b4w.js} +17 -17
  148. package/dist/chunks/{ripgrep-kpd84ec7.js → ripgrep-k8yk4ekq.js} +13 -13
  149. package/dist/chunks/{ripgrep-d9xyp96y.js → ripgrep-k9s1epkc.js} +7 -7
  150. package/dist/chunks/{ripgrep-zdxaswdy.js → ripgrep-k9tfrms9.js} +8 -8
  151. package/dist/chunks/{ripgrep-swz7b57b.js → ripgrep-kxpg0xct.js} +1 -1
  152. package/dist/chunks/{ripgrep-230q3gjt.js → ripgrep-kzrm98pv.js} +19 -19
  153. package/dist/chunks/{ripgrep-cw4w83nc.js → ripgrep-m1q28qka.js} +8 -8
  154. package/dist/chunks/{ripgrep-9ha6dkfn.js → ripgrep-mda08b8j.js} +9 -9
  155. package/dist/chunks/{ripgrep-k63sy5rb.js → ripgrep-mez1mdm0.js} +18 -18
  156. package/dist/chunks/{ripgrep-1gbrraea.js → ripgrep-mk60gw4q.js} +13 -13
  157. package/dist/chunks/{ripgrep-kax56nr6.js → ripgrep-mmjfp5s5.js} +10 -10
  158. package/dist/chunks/{ripgrep-m5jcjszt.js → ripgrep-my4zabxr.js} +3 -3
  159. package/dist/chunks/{ripgrep-gs3jaab1.js → ripgrep-n4h5z8fw.js} +21 -21
  160. package/dist/chunks/{ripgrep-vbc0n61v.js → ripgrep-nfj18b9m.js} +26 -26
  161. package/dist/chunks/{ripgrep-1sqf9bkf.js → ripgrep-ng3918dk.js} +4 -4
  162. package/dist/chunks/{ripgrep-2r6y34sj.js → ripgrep-nyg27w76.js} +2 -2
  163. package/dist/chunks/{ripgrep-dgzq35zb.js → ripgrep-p50c7myx.js} +1 -1
  164. package/dist/chunks/{ripgrep-1a2y92ex.js → ripgrep-pa098ddb.js} +42 -42
  165. package/dist/chunks/{ripgrep-pwt87mrq.js → ripgrep-pd1jyj3n.js} +14 -14
  166. package/dist/chunks/{ripgrep-v0ymv6m8.js → ripgrep-pkwzmj2h.js} +14 -14
  167. package/dist/chunks/{ripgrep-etg1n2kx.js → ripgrep-pnjc2gnv.js} +340 -334
  168. package/dist/chunks/{ripgrep-dadd6d4y.js → ripgrep-pq2gcbye.js} +18 -18
  169. package/dist/chunks/{ripgrep-bzywf3e9.js → ripgrep-prc3rt3m.js} +5 -5
  170. package/dist/chunks/{ripgrep-bydnjh3t.js → ripgrep-prq7hedt.js} +7 -7
  171. package/dist/chunks/{ripgrep-vrwbrhmt.js → ripgrep-prsxfqy1.js} +19 -19
  172. package/dist/chunks/{ripgrep-anw46eb6.js → ripgrep-pxnwhmcf.js} +6 -6
  173. package/dist/chunks/{ripgrep-7fkffz83.js → ripgrep-py3kkmfq.js} +3 -3
  174. package/dist/chunks/{ripgrep-kkve0fs6.js → ripgrep-pz39tkx9.js} +33 -33
  175. package/dist/chunks/{ripgrep-gyce5qg1.js → ripgrep-q509s3k3.js} +4 -4
  176. package/dist/chunks/{ripgrep-z96h84jq.js → ripgrep-q59jvvg4.js} +22 -22
  177. package/dist/chunks/{ripgrep-fnfphwr6.js → ripgrep-q9z8ctd8.js} +7 -7
  178. package/dist/chunks/{ripgrep-bq4j2sbx.js → ripgrep-qhdh8prp.js} +42 -42
  179. package/dist/chunks/{ripgrep-7em0bpab.js → ripgrep-qmm8f62j.js} +16 -16
  180. package/dist/chunks/{ripgrep-gs3s1a1g.js → ripgrep-qwjmgwmn.js} +7 -7
  181. package/dist/chunks/{ripgrep-e80seqcp.js → ripgrep-r2z489rp.js} +2 -2
  182. package/dist/chunks/{ripgrep-vhm2adcw.js → ripgrep-r565a100.js} +24 -24
  183. package/dist/chunks/{ripgrep-21sepexc.js → ripgrep-r8ay4eh8.js} +13 -13
  184. package/dist/chunks/{ripgrep-yn7c86qb.js → ripgrep-rbnhhjf8.js} +43 -43
  185. package/dist/chunks/{ripgrep-6t9ywwra.js → ripgrep-rbzr3q5g.js} +5 -5
  186. package/dist/chunks/{ripgrep-sqq24m9r.js → ripgrep-rf4xhyrq.js} +30 -30
  187. package/dist/chunks/{ripgrep-9wetr4xy.js → ripgrep-rfmtd9hm.js} +7 -7
  188. package/dist/chunks/{ripgrep-vbgdajqt.js → ripgrep-rpbyp8pn.js} +8 -8
  189. package/dist/chunks/{ripgrep-68w7pmtx.js → ripgrep-rqbrrxj6.js} +12 -12
  190. package/dist/chunks/{ripgrep-1xpgrxnn.js → ripgrep-rvn8t98y.js} +13 -13
  191. package/dist/chunks/{ripgrep-cv5sbdhn.js → ripgrep-rvnqf66d.js} +11 -11
  192. package/dist/chunks/{ripgrep-pazj47g9.js → ripgrep-s7158cf1.js} +4 -4
  193. package/dist/chunks/{ripgrep-hcwzd9ve.js → ripgrep-s7pm50yw.js} +4 -4
  194. package/dist/chunks/{ripgrep-rhjbct0v.js → ripgrep-s8d7rejh.js} +3 -3
  195. package/dist/chunks/{ripgrep-tkmw8vhp.js → ripgrep-s96dfbc8.js} +16 -16
  196. package/dist/chunks/{ripgrep-ycn2m60h.js → ripgrep-s9x4dfc6.js} +12 -12
  197. package/dist/chunks/{ripgrep-ppdavc1e.js → ripgrep-sjxt2y8n.js} +183 -183
  198. package/dist/chunks/{ripgrep-vnwvh6x6.js → ripgrep-skxfb30d.js} +25 -25
  199. package/dist/chunks/{ripgrep-6ehbgqat.js → ripgrep-sxzvkvgj.js} +5 -5
  200. package/dist/chunks/{ripgrep-33m7zff6.js → ripgrep-szj64q0v.js} +4 -4
  201. package/dist/chunks/{ripgrep-89znhe33.js → ripgrep-tcezcvh9.js} +3 -3
  202. package/dist/chunks/{ripgrep-dq407baf.js → ripgrep-tt8gc4fv.js} +3 -3
  203. package/dist/chunks/{ripgrep-pmpk6q9r.js → ripgrep-tz783a2y.js} +10 -10
  204. package/dist/chunks/{ripgrep-dx1ezjzk.js → ripgrep-v8351vk8.js} +5 -5
  205. package/dist/chunks/{ripgrep-y6mhz57t.js → ripgrep-vbfgae2j.js} +3 -3
  206. package/dist/chunks/{ripgrep-xb6ffzw0.js → ripgrep-vbnktpmr.js} +8 -8
  207. package/dist/chunks/{ripgrep-tdqqk9tn.js → ripgrep-vc4gp4va.js} +18 -18
  208. package/dist/chunks/{ripgrep-bfrs3k34.js → ripgrep-w7jyze1k.js} +1 -1
  209. package/dist/chunks/{ripgrep-f34pdxph.js → ripgrep-w8tjtray.js} +91 -37
  210. package/dist/chunks/{ripgrep-4bh89e3b.js → ripgrep-waskajng.js} +4 -4
  211. package/dist/chunks/{ripgrep-hfrgt7j1.js → ripgrep-wqgd9sqk.js} +11 -11
  212. package/dist/chunks/{ripgrep-4d2gzzb2.js → ripgrep-wthbqfdd.js} +2 -2
  213. package/dist/chunks/{ripgrep-addxnjmp.js → ripgrep-x661k3y3.js} +3 -3
  214. package/dist/chunks/{ripgrep-y6jtz2hz.js → ripgrep-x831e2b7.js} +14 -14
  215. package/dist/chunks/{ripgrep-stw0ktd7.js → ripgrep-x83knd5j.js} +2 -2
  216. package/dist/chunks/{ripgrep-07n27ccy.js → ripgrep-xc4hpcyp.js} +20 -20
  217. package/dist/chunks/{ripgrep-qqeeq2t9.js → ripgrep-xfkkasph.js} +6 -6
  218. package/dist/chunks/{ripgrep-jwpb8arh.js → ripgrep-xg2cxak3.js} +13 -13
  219. package/dist/chunks/{ripgrep-5tw2jtmr.js → ripgrep-xh90p7br.js} +13 -13
  220. package/dist/chunks/{ripgrep-7vyf5e2n.js → ripgrep-xk3573b9.js} +30 -30
  221. package/dist/chunks/{ripgrep-zh2s0dj1.js → ripgrep-y2w3p8tb.js} +12 -12
  222. package/dist/chunks/{ripgrep-hdavf2z4.js → ripgrep-ye7bjynm.js} +7 -7
  223. package/dist/chunks/{ripgrep-mktar7aj.js → ripgrep-yj7k2rcj.js} +1 -1
  224. package/dist/chunks/{ripgrep-245v63zg.js → ripgrep-ykpagz71.js} +9 -9
  225. package/dist/chunks/{ripgrep-dd35sy3n.js → ripgrep-yn91e0pt.js} +1 -1
  226. package/dist/chunks/{ripgrep-vr617c86.js → ripgrep-yrwfzynx.js} +80 -80
  227. package/dist/chunks/{ripgrep-hmgps8tw.js → ripgrep-ywrpet35.js} +28 -28
  228. package/dist/chunks/{ripgrep-yav0wb01.js → ripgrep-z1ggpzpx.js} +5 -5
  229. package/dist/chunks/{ripgrep-rn08qtw3.js → ripgrep-z55zg8mm.js} +14 -14
  230. package/dist/chunks/{ripgrep-spcybxfk.js → ripgrep-z7669q6a.js} +4 -4
  231. package/dist/chunks/{ripgrep-28k0q56j.js → ripgrep-zky955f5.js} +14 -14
  232. package/dist/codemode/instructions.js +6 -6
  233. package/dist/command.js +64 -64
  234. package/dist/config/discovery.js +66 -66
  235. package/dist/config/normalize.js +78 -78
  236. package/dist/config/plugin/agent.js +92 -92
  237. package/dist/config/plugin/command.js +175 -175
  238. package/dist/config/plugin/compaction.js +121 -121
  239. package/dist/config/plugin/compatibility.js +108 -108
  240. package/dist/config/plugin/formatter.js +91 -91
  241. package/dist/config/plugin/image.js +90 -90
  242. package/dist/config/plugin/instruction.js +91 -91
  243. package/dist/config/plugin/location-watcher.js +90 -90
  244. package/dist/config/plugin/mcp.js +97 -97
  245. package/dist/config/plugin/policy.js +91 -91
  246. package/dist/config/plugin/provider.js +90 -90
  247. package/dist/config/plugin/reference.js +92 -92
  248. package/dist/config/plugin/shell.js +92 -92
  249. package/dist/config/plugin/skill-file.js +81 -81
  250. package/dist/config/plugin/skill.js +111 -111
  251. package/dist/config/plugin/snapshot.js +90 -90
  252. package/dist/config/plugin/source.js +93 -93
  253. package/dist/config/plugin/tool-output.js +91 -91
  254. package/dist/config/plugin/websearch.js +91 -91
  255. package/dist/config/plugin/worktree.js +92 -92
  256. package/dist/config.js +96 -96
  257. package/dist/credential.js +66 -66
  258. package/dist/database/database.js +53 -53
  259. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  260. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  261. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  262. package/dist/database/drizzle/index.js +8 -8
  263. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  264. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  265. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  266. package/dist/database/drizzle.js +8 -8
  267. package/dist/database/migration.gen.js +42 -42
  268. package/dist/database/migration.js +44 -44
  269. package/dist/database/v1-migration.bun.js +11 -11
  270. package/dist/effect/app-node-builder.js +238 -238
  271. package/dist/environment/environment.js +70 -70
  272. package/dist/environment/index.js +70 -70
  273. package/dist/environment/unavailable.js +3 -3
  274. package/dist/event-logger.js +9 -9
  275. package/dist/file-access.js +84 -84
  276. package/dist/file-mutation.js +71 -71
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +187 -187
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +79 -79
  281. package/dist/filesystem/watcher.js +13 -13
  282. package/dist/filesystem.js +80 -80
  283. package/dist/form.js +65 -65
  284. package/dist/formatter/builtins.js +3 -3
  285. package/dist/formatter.js +69 -69
  286. package/dist/generate.js +82 -82
  287. package/dist/git.js +7 -7
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +80 -80
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +314 -314
  297. package/dist/instruction-discovery.js +69 -69
  298. package/dist/instructions/builtins.js +69 -69
  299. package/dist/instructions/index.js +3 -3
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +70 -70
  302. package/dist/job.js +63 -63
  303. package/dist/kv.js +58 -58
  304. package/dist/location-activity.js +72 -72
  305. package/dist/location-lifecycle.js +87 -87
  306. package/dist/location-service-map.js +68 -68
  307. package/dist/location-services.js +312 -312
  308. package/dist/location.js +69 -69
  309. package/dist/managed-policy.js +7 -7
  310. package/dist/mcp/client.js +19 -19
  311. package/dist/mcp/index.js +83 -83
  312. package/dist/mcp/instructions.js +106 -106
  313. package/dist/mcp/oauth.js +13 -13
  314. package/dist/mcp/stdio.js +67 -67
  315. package/dist/modal/models.js +80 -80
  316. package/dist/model-resolver.js +79 -79
  317. package/dist/model.js +79 -79
  318. package/dist/models-dev.js +87 -87
  319. package/dist/permission/saved.js +71 -71
  320. package/dist/permission/sql.js +3 -3
  321. package/dist/permission.js +89 -89
  322. package/dist/persistent-pty/index.js +73 -73
  323. package/dist/persistent-pty.js +57 -57
  324. package/dist/plugin/agent.js +61 -61
  325. package/dist/plugin/command.js +78 -78
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +180 -180
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/instance.js +5 -5
  330. package/dist/plugin/internal.js +286 -285
  331. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  332. package/dist/plugin/models-dev.js +76 -76
  333. package/dist/plugin/module.js +91 -91
  334. package/dist/plugin/optimize.js +2 -2
  335. package/dist/plugin/plan.js +82 -82
  336. package/dist/plugin/provider/amazon-bedrock.js +71 -71
  337. package/dist/plugin/provider/azure.js +91 -91
  338. package/dist/plugin/provider/chatgpt.js +89 -89
  339. package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
  340. package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
  341. package/dist/plugin/provider/configured.js +87 -87
  342. package/dist/plugin/provider/digitalocean.js +73 -73
  343. package/dist/plugin/provider/github-copilot.js +75 -75
  344. package/dist/plugin/provider/gitlab.js +73 -73
  345. package/dist/plugin/provider/google-vertex.js +88 -88
  346. package/dist/plugin/provider/llmgateway.js +61 -61
  347. package/dist/plugin/provider/lmstudio.js +97 -97
  348. package/dist/plugin/provider/local.js +94 -94
  349. package/dist/plugin/provider/modal.js +73 -73
  350. package/dist/plugin/provider/ollama.js +97 -97
  351. package/dist/plugin/provider/openai.js +89 -89
  352. package/dist/plugin/provider/opencode.js +81 -78
  353. package/dist/plugin/provider/openrouter.js +72 -72
  354. package/dist/plugin/provider/poe.js +61 -61
  355. package/dist/plugin/provider/sap-ai-core.js +71 -71
  356. package/dist/plugin/provider/snowflake-cortex.js +89 -89
  357. package/dist/plugin/provider/vercel.js +71 -71
  358. package/dist/plugin/provider/vllm.js +97 -97
  359. package/dist/plugin/provider/xai.js +72 -72
  360. package/dist/plugin/provider.js +133 -130
  361. package/dist/plugin/sdk.js +61 -61
  362. package/dist/plugin/service.js +3 -3
  363. package/dist/plugin/skill.js +109 -109
  364. package/dist/plugin/supervisor.js +305 -304
  365. package/dist/plugin/tool-input-repair.js +3 -3
  366. package/dist/plugin/update.js +5 -5
  367. package/dist/plugin/vcs/git.js +68 -68
  368. package/dist/plugin/vcs/hg.js +68 -68
  369. package/dist/plugin/verbosity.js +74 -74
  370. package/dist/plugin/warming.js +89 -89
  371. package/dist/plugin/websearch/exa.js +4 -4
  372. package/dist/plugin/websearch/firecrawl.js +5 -5
  373. package/dist/plugin/websearch/index.js +8 -8
  374. package/dist/plugin/websearch/mcp.js +3 -3
  375. package/dist/plugin/websearch/parallel.js +7 -7
  376. package/dist/plugin/websearch/tavily.js +6 -6
  377. package/dist/plugin/websearch/tinyfish.js +7 -7
  378. package/dist/plugin.js +186 -186
  379. package/dist/project/schema.js +7 -7
  380. package/dist/project/sql.js +2 -2
  381. package/dist/project.js +70 -70
  382. package/dist/provider.js +78 -78
  383. package/dist/pty.js +80 -80
  384. package/dist/reference/instructions.js +70 -70
  385. package/dist/reference.js +72 -72
  386. package/dist/repository-cache.js +63 -63
  387. package/dist/ripgrep.js +71 -71
  388. package/dist/rpc.js +68 -68
  389. package/dist/session/command.js +59 -59
  390. package/dist/session/compaction.js +106 -106
  391. package/dist/session/context.js +129 -129
  392. package/dist/session/diff.js +69 -69
  393. package/dist/session/environment.js +5 -5
  394. package/dist/session/error.js +2 -2
  395. package/dist/session/execution/restart.js +117 -117
  396. package/dist/session/execution.js +106 -106
  397. package/dist/session/generate.js +128 -128
  398. package/dist/session/history.js +9 -9
  399. package/dist/session/inbox.js +72 -72
  400. package/dist/session/info.js +2 -2
  401. package/dist/session/instruction-entry.js +64 -64
  402. package/dist/session/instruction-state.js +5 -5
  403. package/dist/session/instructions.js +77 -77
  404. package/dist/session/model-request.js +94 -94
  405. package/dist/session/model-transport.js +7 -7
  406. package/dist/session/move.js +106 -106
  407. package/dist/session/projector.js +68 -68
  408. package/dist/session/prompt.js +85 -85
  409. package/dist/session/revert.js +74 -74
  410. package/dist/session/run-coordinator.js +3 -3
  411. package/dist/session/runner/index.js +3 -3
  412. package/dist/session/runner/llm.js +190 -190
  413. package/dist/session/runner/model.js +79 -79
  414. package/dist/session/runner/publish-llm-event.js +91 -91
  415. package/dist/session/runner/retry.js +3 -3
  416. package/dist/session/runner/step.js +100 -100
  417. package/dist/session/runner/to-llm-message.js +10 -10
  418. package/dist/session/schema.js +5 -5
  419. package/dist/session/session.js +133 -133
  420. package/dist/session/shell.js +101 -101
  421. package/dist/session/skill.js +83 -83
  422. package/dist/session/sql.js +3 -3
  423. package/dist/session/stats.js +10 -10
  424. package/dist/session/store.js +70 -70
  425. package/dist/session/subagent-job.js +173 -173
  426. package/dist/session/system-prompt.js +5 -5
  427. package/dist/session/title.js +132 -132
  428. package/dist/session/to-session-error.js +90 -90
  429. package/dist/session/transfer.js +114 -114
  430. package/dist/session.js +177 -177
  431. package/dist/shell/parse.js +3 -3
  432. package/dist/shell/select.js +11 -11
  433. package/dist/shell.js +104 -104
  434. package/dist/skill/discovery.js +5 -5
  435. package/dist/skill/instructions.js +85 -85
  436. package/dist/skill.js +94 -94
  437. package/dist/snapshot.js +73 -73
  438. package/dist/tool/mcp.js +107 -107
  439. package/dist/tool/plugin/edit.js +94 -94
  440. package/dist/tool/plugin/glob.js +98 -98
  441. package/dist/tool/plugin/grep.js +98 -98
  442. package/dist/tool/plugin/mcp-resource.js +97 -97
  443. package/dist/tool/plugin/opencode.js +87 -87
  444. package/dist/tool/plugin/patch.js +96 -96
  445. package/dist/tool/plugin/question.js +85 -85
  446. package/dist/tool/plugin/read.js +99 -99
  447. package/dist/tool/plugin/shell.js +179 -179
  448. package/dist/tool/plugin/skill.js +87 -87
  449. package/dist/tool/plugin/subagent.js +180 -180
  450. package/dist/tool/plugin/todo.js +112 -112
  451. package/dist/tool/plugin/webfetch.js +90 -90
  452. package/dist/tool/plugin/websearch.js +94 -94
  453. package/dist/tool/plugin/write.js +96 -96
  454. package/dist/tool/read-filesystem.js +78 -78
  455. package/dist/tool-output.js +5 -5
  456. package/dist/tool.js +11 -11
  457. package/dist/types/plugin/internal.d.ts +3 -2
  458. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  459. package/dist/types/voice.d.ts +30 -1
  460. package/dist/v1/config/agent.js +3 -3
  461. package/dist/v1/config/command.js +3 -3
  462. package/dist/v1/config/mcp.js +3 -3
  463. package/dist/v1/config/migrate.js +72 -72
  464. package/dist/v1/config/plugin.js +3 -3
  465. package/dist/v1/config/provider.js +3 -3
  466. package/dist/variant.js +74 -74
  467. package/dist/vcs.js +71 -71
  468. package/dist/voice.js +67 -67
  469. package/dist/websearch.js +67 -67
  470. package/dist/wellknown/plugin.js +57 -57
  471. package/dist/wellknown.js +62 -62
  472. package/dist/workspace/driver.js +5 -5
  473. package/dist/workspace.js +63 -63
  474. package/dist/worktree/git.js +6 -6
  475. package/dist/worktree/sql.js +3 -3
  476. package/dist/worktree/strategies.js +70 -70
  477. package/dist/worktree.js +78 -78
  478. package/package.json +8 -8
  479. package/dist/chunks/ripgrep-g32r42h9.js +0 -257
  480. package/dist/chunks/ripgrep-t23bw0vy.js +0 -26
  481. /package/dist/chunks/{ripgrep-t1qm87d4.js → ripgrep-14w7p54a.js} +0 -0
  482. /package/dist/chunks/{ripgrep-jwv7ab79.js → ripgrep-3mkjzvwp.js} +0 -0
  483. /package/dist/chunks/{ripgrep-034tev2y.js → ripgrep-aj7mw0zk.js} +0 -0
  484. /package/dist/chunks/{ripgrep-1nwxscpy.js → ripgrep-x6pyv2yz.js} +0 -0
  485. /package/dist/chunks/{ripgrep-906y5cdw.js → ripgrep-yrbjxrxk.js} +0 -0
@@ -1,41 +1,46 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-xdh6s9ed.js";
3
+ } from "./ripgrep-124s2bhj.js";
4
4
  import {
5
5
  Service85
6
- } from "./ripgrep-eydep5ty.js";
6
+ } from "./ripgrep-8wx9bhg6.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./ripgrep-wbcvfxpg.js";
9
+ Event19
10
+ } from "./ripgrep-8eadsrjy.js";
11
11
  import {
12
12
  key2
13
- } from "./ripgrep-addxnjmp.js";
13
+ } from "./ripgrep-x661k3y3.js";
14
14
  import {
15
- ID14,
15
+ ID13,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./ripgrep-sdzwknx0.js";
18
+ } from "./ripgrep-1rwjpbn5.js";
19
19
  import {
20
- Service13
21
- } from "./ripgrep-am1tmpj5.js";
20
+ Service49
21
+ } from "./ripgrep-3220qrgn.js";
22
22
  import {
23
- ID13,
23
+ ID12,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./ripgrep-6m78wcz4.js";
26
+ } from "./ripgrep-86gy2e90.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./ripgrep-ssc22y53.js";
29
+ } from "./ripgrep-d3fk46xw.js";
30
30
  import {
31
31
  supports2,
32
- resolve4
33
- } from "./ripgrep-5rkje03p.js";
32
+ resolve2
33
+ } from "./ripgrep-dcf9rm2z.js";
34
34
  import {
35
- ID5,
36
- Input15,
35
+ InvalidRequestError2,
36
+ UnavailableError4,
37
+ Service58
38
+ } from "./ripgrep-jx1ed50p.js";
39
+ import {
40
+ ID3,
41
+ Input14,
37
42
  Response2
38
- } from "./ripgrep-1rs87y8d.js";
43
+ } from "./ripgrep-0nmqjfd0.js";
39
44
 
40
45
  // src/plugin/provider/opencode.ts
41
46
  import {
@@ -73,11 +78,16 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
73
78
  var RemoteResponse = Schema.Struct({
74
79
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
75
80
  websearch: Schema.Struct({
76
- providerID: ID5
81
+ providerID: ID3
77
82
  }).pipe(Schema.optional),
78
83
  mcp: Schema.Struct({
79
84
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
80
85
  }).pipe(Schema.optional),
86
+ voice: Schema.Struct({
87
+ baseURL: Schema.String,
88
+ models: Schema.Array(Schema.String),
89
+ workspace: Schema.String.pipe(Schema.optional)
90
+ }).pipe(Schema.optional),
81
91
  policies: RemotePolicies,
82
92
  experimental: Schema.Struct({ policies: RemotePolicies }).pipe(Schema.optional)
83
93
  });
@@ -104,6 +114,8 @@ var SsoRequired = Schema.Struct({
104
114
  connectionId: Schema.String
105
115
  });
106
116
  var InvalidGrant = Schema.Struct({ error: Schema.Literal("invalid_grant") });
117
+ var LiveSession = Schema.fromJsonString(Schema.Struct({ session: Schema.Struct({ id: Schema.String }), transport: Schema.Struct({ sdp: Schema.String }) }));
118
+ var InferenceError = Schema.fromJsonString(Schema.Struct({ error: Schema.Struct({ message: Schema.String }) }));
107
119
  var Unauthorized = Schema.Struct({ _tag: Schema.Literal("Unauthorized") });
108
120
  var signedOutMessage = "Reconnect OpenCode Console to continue";
109
121
  var ssoMessage = (organization) => `Sign in with SSO again to use ${organization ?? "your OpenCode Console organization"}`;
@@ -124,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
124
136
  }
125
137
  function oauth(http) {
126
138
  return {
127
- integrationID: ID14.make("opencode"),
139
+ integrationID: ID13.make("opencode"),
128
140
  method: {
129
141
  id: methodID,
130
142
  type: "oauth",
@@ -192,7 +204,8 @@ var OpencodePlugin2 = define({
192
204
  const bus = yield* Service85;
193
205
  const client = yield* HttpClient.HttpClient;
194
206
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
195
- const managed = yield* Service13;
207
+ const managed = yield* Service49;
208
+ const voice = yield* Service58;
196
209
  const scope = yield* Scope.Scope;
197
210
  const loading = Semaphore.makeUnsafe(1);
198
211
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -227,10 +240,57 @@ var OpencodePlugin2 = define({
227
240
  return key2(connection) === key2(snapshot.connection) ? { config: snapshot.config, connection, organization: snapshot.organization, mcp: snapshot.mcp } : { config: undefined, connection, organization: undefined, mcp: undefined };
228
241
  })));
229
242
  });
230
- const publish = (next) => managed.set({
231
- statements: [...next.config?.experimental?.policies ?? [], ...next.config?.policies ?? []],
232
- organization: next.organization
243
+ const resolveActive = Effect.fnUntraced(function* (connection) {
244
+ const active = yield* ctx.integration.connection.active("opencode");
245
+ if (!active || key2(active) !== key2(connection))
246
+ return yield* Effect.fail(new Error("OpenCode Console connection changed"));
247
+ const credential = yield* ctx.integration.connection.resolve(active);
248
+ if (!credential || credential.type === "external")
249
+ return yield* Effect.fail(new Error("OpenCode Console is not connected"));
250
+ return credential;
233
251
  });
252
+ const consoleVoice = (connection, offer) => {
253
+ const send = (path, body) => Effect.gen(function* () {
254
+ const credential = yield* resolveActive(connection);
255
+ const response = yield* HttpClient.withScope(http).execute(HttpClientRequest.post(`${offer.baseURL}${path}`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders(credentialHeaders(credential)), HttpClientRequest.bodyJsonUnsafe(body)));
256
+ return { status: response.status, text: yield* response.text };
257
+ }).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
258
+ duration: Duration.seconds(20),
259
+ orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
260
+ }), Effect.mapError((cause) => new UnavailableError4({
261
+ service: "opencode",
262
+ message: cause instanceof Error ? cause.message : String(cause)
263
+ })), Effect.flatMap((reply) => {
264
+ if (reply.status >= 200 && reply.status < 300)
265
+ return Effect.succeed(reply.text);
266
+ if (reply.status === 401)
267
+ return Effect.fail(new UnavailableError4({ service: "opencode", message: `${signedOutMessage}.` }));
268
+ const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
269
+ return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError4({ service: "opencode", message }));
270
+ }));
271
+ return {
272
+ integration: "opencode",
273
+ models: offer.models,
274
+ workspace: offer.workspace,
275
+ session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError4({
276
+ service: "opencode",
277
+ message: "OpenCode Console returned an invalid voice session"
278
+ })))), Effect.map((created) => ({
279
+ transport: { type: "webrtc", sdp: created.transport.sdp },
280
+ id: created.session.id
281
+ }))),
282
+ instruct: (input) => send(`/live/sessions/${encodeURIComponent(input.id)}/instructions`, {
283
+ instructions: input.instructions
284
+ }).pipe(Effect.asVoid)
285
+ };
286
+ };
287
+ const publish = (next) => Effect.all([
288
+ managed.set({
289
+ statements: [...next.config?.experimental?.policies ?? [], ...next.config?.policies ?? []],
290
+ organization: next.organization
291
+ }),
292
+ voice.host(next.connection && next.config?.voice ? consoleVoice(next.connection, next.config.voice) : undefined)
293
+ ], { discard: true });
234
294
  yield* ctx.integration.transform((editor) => {
235
295
  editor.update("opencode", (integration) => {
236
296
  integration.name = "OpenCode Console";
@@ -246,7 +306,7 @@ var OpencodePlugin2 = define({
246
306
  providers.update(providerID, (provider) => {
247
307
  if (source && source.provider !== provider)
248
308
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
249
- provider.integrationID = ID14.make("opencode");
309
+ provider.integrationID = ID13.make("opencode");
250
310
  if (item.canonical !== undefined)
251
311
  provider.canonical = item.canonical;
252
312
  if (item.name !== undefined)
@@ -284,7 +344,7 @@ var OpencodePlugin2 = define({
284
344
  providers.models.update(providerID, modelID, (model) => {
285
345
  if (config.capabilities?.reasoning !== undefined)
286
346
  model.variants = [
287
- ...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
347
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
288
348
  ];
289
349
  for (const variant of config.variants ?? []) {
290
350
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -320,7 +380,7 @@ var OpencodePlugin2 = define({
320
380
  sourceConnection: snapshot.connection
321
381
  });
322
382
  }
323
- const item = providers.get(ID13.opencode);
383
+ const item = providers.get(ID12.opencode);
324
384
  if (!item)
325
385
  return;
326
386
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -332,7 +392,7 @@ var OpencodePlugin2 = define({
332
392
  });
333
393
  });
334
394
  yield* ctx.model.transform((models) => {
335
- const item = models.provider.get(ID13.opencode);
395
+ const item = models.provider.get(ID12.opencode);
336
396
  if (!item)
337
397
  return;
338
398
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -355,18 +415,12 @@ var OpencodePlugin2 = define({
355
415
  id: descriptor.providerID,
356
416
  name: "OpenCode Web Search",
357
417
  execute: (input) => Effect.gen(function* () {
358
- const active = yield* ctx.integration.connection.active("opencode");
359
- if (!active || (connection.type === "credential" ? active.type !== "credential" || active.id !== connection.id : active.type !== "env" || active.name !== connection.name)) {
360
- return yield* Effect.fail(new Error("OpenCode Console connection changed"));
361
- }
362
- const credential = yield* ctx.integration.connection.resolve(active);
363
- if (!credential || credential.type === "external")
364
- return yield* Effect.fail(new Error("OpenCode Console is not connected"));
418
+ const credential = yield* resolveActive(connection);
365
419
  const metadata = credential.metadata;
366
420
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
367
421
  const token = credential.type === "oauth" ? credential.access : credential.key;
368
422
  const server = yield* normalizeServer(serverUrl(credential));
369
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
423
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
370
424
  query: input.query,
371
425
  providerID: descriptor.providerID
372
426
  }));
@@ -427,7 +481,7 @@ var OpencodePlugin2 = define({
427
481
  });
428
482
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
429
483
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
430
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
484
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
431
485
  });
432
486
  yield* guard(snapshot);
433
487
  const polling = yield* FiberHandle.make();
@@ -438,7 +492,7 @@ var OpencodePlugin2 = define({
438
492
  onlyIfMissing: true
439
493
  });
440
494
  });
441
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
495
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
442
496
  yield* poll();
443
497
  })
444
498
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./ripgrep-b0k3m5sv.js";
3
+ } from "./ripgrep-50ttpepc.js";
4
4
  import {
5
5
  __export
6
6
  } from "./ripgrep-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin31
12
+ Plugin: () => Plugin12
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin31 = define({
32
+ var Plugin12 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin31, exports_plan };
108
+ export { Plugin12, exports_plan };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./ripgrep-2r6y34sj.js";
4
+ } from "./ripgrep-nyg27w76.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service85,
8
8
  node89
9
- } from "./ripgrep-eydep5ty.js";
9
+ } from "./ripgrep-8wx9bhg6.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./ripgrep-ec1grn59.js";
@@ -22,30 +22,30 @@ import {
22
22
  } from "./ripgrep-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./ripgrep-034tev2y.js";
25
+ } from "./ripgrep-aj7mw0zk.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./ripgrep-dgzq35zb.js";
30
+ } from "./ripgrep-p50c7myx.js";
31
31
  import {
32
32
  apply2,
33
33
  initialize3,
34
34
  advanceEpoch2,
35
35
  rewind2
36
- } from "./ripgrep-hc033k72.js";
36
+ } from "./ripgrep-3vt2dxg2.js";
37
37
  import {
38
38
  decodeMessageRowSync2
39
- } from "./ripgrep-yav0wb01.js";
39
+ } from "./ripgrep-z1ggpzpx.js";
40
40
  import {
41
41
  projectAdmitted2,
42
42
  projectDelivered2,
43
43
  projectCancelled2,
44
44
  projectDeliveryChanged2
45
- } from "./ripgrep-qcqpgb6f.js";
45
+ } from "./ripgrep-91af422c.js";
46
46
  import {
47
47
  initialize2
48
- } from "./ripgrep-y6jtz2hz.js";
48
+ } from "./ripgrep-x831e2b7.js";
49
49
  import {
50
50
  Slug2
51
51
  } from "./ripgrep-gebd4c9n.js";
@@ -58,7 +58,7 @@ var exports_projector = {};
58
58
  __export(exports_projector, {
59
59
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
60
60
  SessionProjector: () => exports_projector,
61
- node: () => node23
61
+ node: () => node25
62
62
  });
63
63
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
64
64
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -484,6 +484,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
484
484
  return publishSessionUsage(db, bus, event.data.sessionID);
485
485
  }), Effect.forkScoped({ startImmediately: true }));
486
486
  }));
487
- var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
487
+ var node25 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
488
488
 
489
- export { SessionAlreadyProjected2, node23, exports_projector };
489
+ export { SessionAlreadyProjected2, node25, exports_projector };
@@ -2,13 +2,13 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./ripgrep-7hppxa70.js";
5
+ } from "./ripgrep-3k2tm6e9.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./ripgrep-m1jhgcxs.js";
11
+ } from "./ripgrep-5cwz5tfs.js";
12
12
  import {
13
13
  __export
14
14
  } from "./ripgrep-9rqn6x4v.js";
@@ -7,7 +7,7 @@ var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info24,
10
+ Info: () => Info23,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info24 = Connection.Info;
18
+ var Info23 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./ripgrep-2r6y34sj.js";
4
+ } from "./ripgrep-nyg27w76.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./ripgrep-rhjbct0v.js";
10
+ } from "./ripgrep-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./ripgrep-dgzq35zb.js";
13
+ } from "./ripgrep-p50c7myx.js";
14
14
  import {
15
15
  __export
16
16
  } from "./ripgrep-9rqn6x4v.js";
@@ -18,15 +18,15 @@ import {
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service20,
25
+ Service: () => Service24,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node24,
29
+ node: () => node28,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service20 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service24 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service20, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
79
79
  const { db } = yield* Service86;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service20.of({ list, put, remove, load });
111
+ return Service24.of({ list, put, remove, load });
112
112
  }));
113
- var node24 = makeLocationNode({ service: Service20, layer, deps: [node90] });
113
+ var node28 = makeLocationNode({ service: Service24, layer, deps: [node90] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service20, node24, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service24, node28, exports_instruction_entry };
@@ -6,11 +6,11 @@ import {
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./ripgrep-6m78wcz4.js";
9
+ } from "./ripgrep-86gy2e90.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./ripgrep-ssc22y53.js";
13
+ } from "./ripgrep-d3fk46xw.js";
14
14
  import {
15
15
  __export
16
16
  } from "./ripgrep-9rqn6x4v.js";
@@ -13,13 +13,13 @@ import {
13
13
  create3
14
14
  } from "./ripgrep-rdw6cm16.js";
15
15
  import {
16
- Service36,
17
- node38
18
- } from "./ripgrep-p8mhfpfb.js";
16
+ Service83,
17
+ node87
18
+ } from "./ripgrep-fmcqyzhx.js";
19
19
  import {
20
- Service69,
21
- node72
22
- } from "./ripgrep-gs3s1a1g.js";
20
+ Service71,
21
+ node75
22
+ } from "./ripgrep-qwjmgwmn.js";
23
23
  import {
24
24
  match2
25
25
  } from "./ripgrep-y1fvbwt7.js";
@@ -31,16 +31,16 @@ import {
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error2,
34
+ Content: () => Content3,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service33,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node35
41
+ node: () => node45
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service33 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service33, Effect.gen(function* () {
57
- const hooks = yield* Service69;
58
- const image = yield* Service36;
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
+ const hooks = yield* Service71;
58
+ const image = yield* Service83;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service33.of({
187
+ return Service43.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node35 = makeLocationNode({
277
- service: Service33,
276
+ var node45 = makeLocationNode({
277
+ service: Service43,
278
278
  layer,
279
- deps: [node72, node38]
279
+ deps: [node75, node87]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service33, node35, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service43, node45, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -6,8 +6,8 @@ import {
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make13,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make13(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make13, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./ripgrep-2r6y34sj.js";
4
+ } from "./ripgrep-nyg27w76.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./ripgrep-dgzq35zb.js";
8
+ } from "./ripgrep-p50c7myx.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./ripgrep-yav0wb01.js";
12
+ } from "./ripgrep-z1ggpzpx.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./ripgrep-6ac9zck1.js";
15
+ } from "./ripgrep-251hxpd6.js";
16
16
  import {
17
17
  __export
18
18
  } from "./ripgrep-9rqn6x4v.js";
@@ -20,10 +20,10 @@ import {
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service68,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service69,
25
25
  SessionStore: () => exports_store,
26
- node: () => node71
26
+ node: () => node73
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";
@@ -51,13 +51,13 @@ var ListProjectInput = Schema.Struct({
51
51
  subpath: RelativePath.pipe(Schema.optional)
52
52
  });
53
53
  var ListAllInput = Schema.Struct(ListInputBase);
54
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
55
55
 
56
- class Service68 extends Context.Service()("@opencode/SessionStore") {
56
+ class Service69 extends Context.Service()("@opencode/SessionStore") {
57
57
  }
58
- var layer = Layer.effect(Service68, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
59
59
  const { db } = yield* Service86;
60
- return Service68.of({
60
+ return Service69.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;
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node71 = makeGlobalNode({ service: Service68, layer, deps: [node90] });
131
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node90] });
132
132
 
133
- export { ListInput5, Service68, node71, exports_store };
133
+ export { ListInput4, Service69, node73, exports_store };