@opencode/core 0.0.0-dev-19336 → 0.0.0-dev-19338

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 (464) hide show
  1. package/dist/agent.js +59 -59
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +51 -51
  6. package/dist/catalog.js +60 -60
  7. package/dist/chunks/{location-services-1dfhrqqs.js → location-services-0hpxrkyb.js} +3 -3
  8. package/dist/chunks/{location-services-bmwmmh03.js → location-services-0wd6em3j.js} +7 -7
  9. package/dist/chunks/{location-services-5thce3ah.js → location-services-0zj4cm3y.js} +26 -26
  10. package/dist/chunks/{location-services-a5y8eyny.js → location-services-11m7nw5e.js} +22 -22
  11. package/dist/chunks/{location-services-vvv3thrh.js → location-services-15v2jbpx.js} +11 -11
  12. package/dist/chunks/{location-services-3xh3zrfj.js → location-services-162h2cbr.js} +10 -10
  13. package/dist/chunks/{location-services-3znngwgn.js → location-services-16td4x31.js} +7 -7
  14. package/dist/chunks/{location-services-n0ps73j4.js → location-services-1mapar6n.js} +11 -11
  15. package/dist/chunks/{location-services-1c4qjgv9.js → location-services-1qdk8c0g.js} +1 -1
  16. package/dist/chunks/{location-services-56gdpj1q.js → location-services-1ygqh575.js} +7 -7
  17. package/dist/chunks/{location-services-kqd2wwpf.js → location-services-24sbpj7j.js} +3 -3
  18. package/dist/chunks/{location-services-d9hczm2r.js → location-services-27j8ahm1.js} +17 -17
  19. package/dist/chunks/{location-services-dx15qm69.js → location-services-28fzndev.js} +19 -19
  20. package/dist/chunks/{location-services-d20tfxtv.js → location-services-28pzpvq0.js} +8 -8
  21. package/dist/chunks/{location-services-hmtdza7e.js → location-services-2acm1nys.js} +50 -50
  22. package/dist/chunks/{location-services-x95pbp60.js → location-services-2m4pqqb5.js} +27 -27
  23. package/dist/chunks/{location-services-egdp0v7k.js → location-services-2m8nxcnz.js} +3 -3
  24. package/dist/chunks/{location-services-k50vc20r.js → location-services-2wdxjxp6.js} +5 -5
  25. package/dist/chunks/{location-services-dt6arx9z.js → location-services-2xwaa7cw.js} +4 -4
  26. package/dist/chunks/{location-services-a103fdm3.js → location-services-2z317dgv.js} +25 -25
  27. package/dist/chunks/{location-services-3w0fmcng.js → location-services-37s12vcn.js} +3 -3
  28. package/dist/chunks/{location-services-f8q7mv7a.js → location-services-380vjcmd.js} +1 -1
  29. package/dist/chunks/{location-services-skw6ndhb.js → location-services-38acbevk.js} +35 -35
  30. package/dist/chunks/{location-services-dhambjr8.js → location-services-3wy413zp.js} +21 -21
  31. package/dist/chunks/{location-services-g764418v.js → location-services-3xwj35jq.js} +1 -1
  32. package/dist/chunks/{location-services-7sqxeqwy.js → location-services-3ythc6yv.js} +3 -3
  33. package/dist/chunks/{location-services-fgh0kbhd.js → location-services-4b6bntqd.js} +1 -1
  34. package/dist/chunks/{location-services-t2bav4cb.js → location-services-4gp2y10s.js} +6 -6
  35. package/dist/chunks/{location-services-g35h8zvz.js → location-services-4k845csn.js} +19 -19
  36. package/dist/chunks/{location-services-1x11rq2a.js → location-services-4v7qdvcn.js} +4 -4
  37. package/dist/chunks/{location-services-7amtd6bp.js → location-services-4zsc87zk.js} +11 -11
  38. package/dist/chunks/{location-services-0r7yqxbf.js → location-services-510m7gjw.js} +3 -3
  39. package/dist/chunks/{location-services-dcfrmvyb.js → location-services-51t4ys7s.js} +22 -22
  40. package/dist/chunks/{location-services-f32vetax.js → location-services-55bzypr0.js} +10 -10
  41. package/dist/chunks/{location-services-5ap78ss6.js → location-services-5bfzavyb.js} +39 -39
  42. package/dist/chunks/{location-services-4ycxm7c6.js → location-services-5bzad00n.js} +15 -15
  43. package/dist/chunks/{location-services-0387ntk2.js → location-services-5dcgz3aq.js} +12 -12
  44. package/dist/chunks/{location-services-6wwkxy3b.js → location-services-5etegeke.js} +1 -1
  45. package/dist/chunks/{location-services-j8b7ra2y.js → location-services-5fs5z9r9.js} +168 -168
  46. package/dist/chunks/{location-services-31zm1s50.js → location-services-5kh2vy3t.js} +32 -32
  47. package/dist/chunks/{location-services-a4j6dykb.js → location-services-5vm6jgpp.js} +10 -10
  48. package/dist/chunks/{location-services-fbrz957q.js → location-services-6320hmrj.js} +16 -16
  49. package/dist/chunks/location-services-6753kygg.js +22 -0
  50. package/dist/chunks/{location-services-6qtdhq9p.js → location-services-6c1jg7x4.js} +27 -27
  51. package/dist/chunks/{location-services-r33ff4dw.js → location-services-6ersrjne.js} +3 -3
  52. package/dist/chunks/{location-services-erd68jx8.js → location-services-6fjmxycd.js} +22 -22
  53. package/dist/chunks/{location-services-w8v69kqr.js → location-services-6sj05tzn.js} +6 -6
  54. package/dist/chunks/{location-services-h0r85tvv.js → location-services-6y3njc5p.js} +10 -10
  55. package/dist/chunks/{location-services-nw0bqh17.js → location-services-6z6w9rms.js} +9 -9
  56. package/dist/chunks/{location-services-3mmc2xt1.js → location-services-6zkt8sc0.js} +9 -9
  57. package/dist/chunks/{location-services-mvfsc1pv.js → location-services-73tb2d7t.js} +2 -2
  58. package/dist/chunks/{location-services-aj8kkpvr.js → location-services-78hqr335.js} +4 -4
  59. package/dist/chunks/{location-services-12behdsj.js → location-services-7f4cfqjs.js} +10 -10
  60. package/dist/chunks/{location-services-eeaf82dq.js → location-services-7j2qha59.js} +7 -7
  61. package/dist/chunks/{location-services-n3ehebhz.js → location-services-7vc3mrhj.js} +8 -8
  62. package/dist/chunks/{location-services-fygdb7h7.js → location-services-7ybwwvvx.js} +3 -3
  63. package/dist/chunks/{location-services-3tey5e4w.js → location-services-7zdm33ac.js} +7 -7
  64. package/dist/chunks/{location-services-4ttr90xy.js → location-services-85fsg3cm.js} +19 -19
  65. package/dist/chunks/{location-services-nq6tkbxw.js → location-services-8k3jg3eh.js} +14 -14
  66. package/dist/chunks/{location-services-z7wszd63.js → location-services-8ncan3qx.js} +16 -16
  67. package/dist/chunks/location-services-8rfyvjw4.js +462 -0
  68. package/dist/chunks/{location-services-zd0y80kv.js → location-services-9jzbrzc0.js} +13 -13
  69. package/dist/chunks/{location-services-xvbxf676.js → location-services-9kvjnr81.js} +31 -31
  70. package/dist/chunks/{location-services-2q8h11r1.js → location-services-9n75fd9y.js} +4 -4
  71. package/dist/chunks/{location-services-yt1hy964.js → location-services-9pfdanbq.js} +18 -18
  72. package/dist/chunks/{location-services-hm9cthtf.js → location-services-9r2qpqkx.js} +26 -26
  73. package/dist/chunks/{location-services-mgn1q268.js → location-services-9z8a7pbd.js} +24 -24
  74. package/dist/chunks/{location-services-qa4rp7fn.js → location-services-9zswys26.js} +7 -7
  75. package/dist/chunks/{location-services-3g0xtcs6.js → location-services-a5abhest.js} +12 -12
  76. package/dist/chunks/{location-services-w0pkcsrz.js → location-services-at0srrj9.js} +16 -16
  77. package/dist/chunks/{location-services-8azq3xgr.js → location-services-at5nfy9r.js} +20 -20
  78. package/dist/chunks/{location-services-54td8zkb.js → location-services-avay8ehz.js} +4 -4
  79. package/dist/chunks/{location-services-k16ay38w.js → location-services-b2jx7zxs.js} +1 -1
  80. package/dist/chunks/{location-services-bf0ztrs3.js → location-services-bct739vz.js} +3 -3
  81. package/dist/chunks/{location-services-6nh5w358.js → location-services-bdetpt2n.js} +7 -7
  82. package/dist/chunks/{location-services-cq37gk0t.js → location-services-bha4atvq.js} +1 -1
  83. package/dist/chunks/{location-services-zhj44hqa.js → location-services-brzmmewp.js} +2 -2
  84. package/dist/chunks/{location-services-marnn1hp.js → location-services-bscb95cy.js} +6 -6
  85. package/dist/chunks/{location-services-s78rk26g.js → location-services-bt4gwd2t.js} +20 -20
  86. package/dist/chunks/{location-services-dg94tkx3.js → location-services-btas0783.js} +25 -25
  87. package/dist/chunks/{location-services-7tkmrrpv.js → location-services-btq6dtd4.js} +29 -29
  88. package/dist/chunks/{location-services-zmm5wz6q.js → location-services-cpq8mvz9.js} +33 -33
  89. package/dist/chunks/{location-services-0f9afca0.js → location-services-cr07tj7n.js} +3 -3
  90. package/dist/chunks/{location-services-9wrk0c7x.js → location-services-d5mjh5gn.js} +18 -18
  91. package/dist/chunks/{location-services-e6ywpf8t.js → location-services-dpwabj80.js} +4 -4
  92. package/dist/chunks/{location-services-9r3q67g7.js → location-services-dqm30p7h.js} +73 -73
  93. package/dist/chunks/{location-services-efrqks1z.js → location-services-drbyteps.js} +18 -18
  94. package/dist/chunks/{location-services-n65r81b4.js → location-services-dt8w12tc.js} +4 -4
  95. package/dist/chunks/{location-services-30qzt7jy.js → location-services-dvanp92t.js} +16 -16
  96. package/dist/chunks/{location-services-vfx896b4.js → location-services-dxea83ar.js} +15 -15
  97. package/dist/chunks/{location-services-qtmpnr27.js → location-services-dxth83mh.js} +46 -46
  98. package/dist/chunks/{location-services-8jywm6xd.js → location-services-dyp5k833.js} +16 -16
  99. package/dist/chunks/{location-services-98cmn0hr.js → location-services-dzx5qajy.js} +15 -15
  100. package/dist/chunks/{location-services-1s1fbqj5.js → location-services-e4zvp2f4.js} +16 -16
  101. package/dist/chunks/{location-services-a3vv4rs0.js → location-services-e7p6faa2.js} +6 -6
  102. package/dist/chunks/{location-services-rhjbct0v.js → location-services-eaj1djv9.js} +7 -7
  103. package/dist/chunks/{location-services-kap76w5z.js → location-services-eebkyynq.js} +21 -21
  104. package/dist/chunks/{location-services-akrnn5pm.js → location-services-ep6z9mt6.js} +6 -6
  105. package/dist/chunks/{location-services-m2m38rh4.js → location-services-eq4p078r.js} +2 -2
  106. package/dist/chunks/{location-services-rhd00fat.js → location-services-ex5k2c35.js} +5 -5
  107. package/dist/chunks/{location-services-3rz3vg39.js → location-services-f5bs5vv8.js} +50 -50
  108. package/dist/chunks/{location-services-4eavgkwb.js → location-services-f9yp8s8r.js} +5 -5
  109. package/dist/chunks/{location-services-fxf97kjq.js → location-services-fafkyc6a.js} +10 -10
  110. package/dist/chunks/{location-services-sktxfqvp.js → location-services-fbtcayzh.js} +5 -5
  111. package/dist/chunks/{location-services-v5dkyp31.js → location-services-fdv30zvt.js} +6 -6
  112. package/dist/chunks/{location-services-n3pz4r15.js → location-services-fk8q8cg8.js} +15 -15
  113. package/dist/chunks/{location-services-hqxaqnsz.js → location-services-fnhdbvfa.js} +13 -13
  114. package/dist/chunks/{location-services-ne17v9pc.js → location-services-g09rc90z.js} +16 -16
  115. package/dist/chunks/{location-services-qm7jrdpz.js → location-services-g2y161wv.js} +7 -7
  116. package/dist/chunks/{location-services-bcnz578n.js → location-services-g3599gw0.js} +1 -1
  117. package/dist/chunks/{location-services-p12hzc12.js → location-services-gacdy71v.js} +22 -22
  118. package/dist/chunks/{location-services-3fc6dm20.js → location-services-gdvy8fx6.js} +3 -3
  119. package/dist/chunks/{location-services-er56z9m3.js → location-services-h1n238ac.js} +2 -2
  120. package/dist/chunks/{location-services-9xx5ccgp.js → location-services-h4r1yjny.js} +29 -29
  121. package/dist/chunks/{location-services-jd31tk7v.js → location-services-h5e374w5.js} +20 -20
  122. package/dist/chunks/{location-services-h7merwq8.js → location-services-h5pwjbm9.js} +20 -20
  123. package/dist/chunks/{location-services-4crx14pj.js → location-services-h9zmmqvn.js} +11 -11
  124. package/dist/chunks/{location-services-b1t5snx6.js → location-services-hpdzznjk.js} +20 -20
  125. package/dist/chunks/{location-services-nakqg6cg.js → location-services-hq4ymc60.js} +18 -18
  126. package/dist/chunks/{location-services-pjsas99n.js → location-services-j1t1n678.js} +6 -6
  127. package/dist/chunks/{location-services-rbr5swsa.js → location-services-j3xb24h1.js} +17 -17
  128. package/dist/chunks/{location-services-q70gtfmt.js → location-services-j81s0rnf.js} +13 -13
  129. package/dist/chunks/{location-services-npm3wgeg.js → location-services-jh4j6rwm.js} +11 -11
  130. package/dist/chunks/{location-services-gkk9gzwj.js → location-services-jhz8yd6p.js} +8 -8
  131. package/dist/chunks/{location-services-cy9hrc59.js → location-services-jk10gy5t.js} +33 -33
  132. package/dist/chunks/{location-services-k33dzkhb.js → location-services-jk9qnxpz.js} +39 -39
  133. package/dist/chunks/{location-services-tjbdzdwh.js → location-services-jphykfrz.js} +19 -19
  134. package/dist/chunks/{location-services-m27pyyd3.js → location-services-jtp7wgq3.js} +7 -7
  135. package/dist/chunks/{location-services-34na97t4.js → location-services-jzjzmfk7.js} +4 -4
  136. package/dist/chunks/{location-services-9w95a7ga.js → location-services-k5rw4hnc.js} +22 -22
  137. package/dist/chunks/{location-services-e255sby6.js → location-services-k67g98nv.js} +26 -26
  138. package/dist/chunks/{location-services-rpsdx5vs.js → location-services-k8n37kmc.js} +6 -6
  139. package/dist/chunks/{location-services-v5w9803s.js → location-services-ka2k270b.js} +7 -7
  140. package/dist/chunks/{location-services-96yt6zt0.js → location-services-kcwf74x3.js} +1 -1
  141. package/dist/chunks/{location-services-0kghfr31.js → location-services-kf1g5n2n.js} +20 -20
  142. package/dist/chunks/{location-services-s0avzt1k.js → location-services-kjd67z7p.js} +25 -25
  143. package/dist/chunks/{location-services-cknngr8n.js → location-services-kp0txnpa.js} +5 -5
  144. package/dist/chunks/{location-services-gbjggf4w.js → location-services-m48bak5g.js} +37 -37
  145. package/dist/chunks/{location-services-xekzrwwc.js → location-services-m86bnw2c.js} +7 -7
  146. package/dist/chunks/{location-services-w5qh34h0.js → location-services-m9d2dprq.js} +26 -26
  147. package/dist/chunks/{location-services-qj8eh1ht.js → location-services-magykp64.js} +3 -3
  148. package/dist/chunks/{location-services-a8xcd0w8.js → location-services-mr60nntp.js} +1 -1
  149. package/dist/chunks/{location-services-0qk6n2y7.js → location-services-mw0hasaz.js} +28 -28
  150. package/dist/chunks/{location-services-0aqaye2v.js → location-services-n4wjpn8n.js} +28 -28
  151. package/dist/chunks/{location-services-dcg0h0ke.js → location-services-n5ftgbap.js} +32 -32
  152. package/dist/chunks/{location-services-ebcw7cv9.js → location-services-n5pps5m7.js} +4 -4
  153. package/dist/chunks/{location-services-r01t9b5y.js → location-services-ncqtmwmy.js} +7 -7
  154. package/dist/chunks/{location-services-m14v0kx0.js → location-services-nmts8jzf.js} +10 -10
  155. package/dist/chunks/{location-services-1vb9fm0n.js → location-services-ntzg9vqq.js} +30 -30
  156. package/dist/chunks/location-services-nzxgkcr5.js +247 -0
  157. package/dist/chunks/{location-services-y9gdx2th.js → location-services-pa0527fm.js} +3 -3
  158. package/dist/chunks/{location-services-06dxphr1.js → location-services-paegk39x.js} +3 -3
  159. package/dist/chunks/{location-services-rk0rec3h.js → location-services-pdqbsy2v.js} +7 -7
  160. package/dist/chunks/{location-services-1ktzqmb5.js → location-services-pswdd2t8.js} +13 -13
  161. package/dist/chunks/{location-services-ksz0h0wp.js → location-services-q1c4k7jk.js} +1 -1
  162. package/dist/chunks/{location-services-e7v4kvvc.js → location-services-qe24w9vn.js} +11 -11
  163. package/dist/chunks/{location-services-7dqw4kz8.js → location-services-qgn6gcr1.js} +4 -4
  164. package/dist/chunks/{location-services-p75j69a2.js → location-services-qq9z19f4.js} +17 -17
  165. package/dist/chunks/{location-services-kc564ayd.js → location-services-qv2bye7a.js} +7 -7
  166. package/dist/chunks/{location-services-ewqwwm8c.js → location-services-qx1zvxc9.js} +9 -9
  167. package/dist/chunks/{location-services-1v3d03cy.js → location-services-r537c3kh.js} +21 -21
  168. package/dist/chunks/{location-services-hewa18pm.js → location-services-r69tr7x2.js} +42 -42
  169. package/dist/chunks/{location-services-dtz1dq5w.js → location-services-rcxgw5yf.js} +9 -9
  170. package/dist/chunks/{location-services-r9babyk8.js → location-services-rstnkd3y.js} +1 -1
  171. package/dist/chunks/{location-services-3am5m0cf.js → location-services-s2qffcb7.js} +5 -5
  172. package/dist/chunks/{location-services-9tdt6gn5.js → location-services-s2yb2sz1.js} +12 -12
  173. package/dist/chunks/{location-services-7emx6ety.js → location-services-s3fqj7fn.js} +22 -22
  174. package/dist/chunks/{location-services-pnean495.js → location-services-s9vxrr1q.js} +4 -4
  175. package/dist/chunks/{location-services-3gt2xagq.js → location-services-sh26c022.js} +24 -24
  176. package/dist/chunks/{location-services-p4j0k99t.js → location-services-snjhnxkw.js} +22 -22
  177. package/dist/chunks/{location-services-9yks55mb.js → location-services-szvm6efx.js} +18 -18
  178. package/dist/chunks/{location-services-m70sbz6t.js → location-services-t2az9yje.js} +3 -3
  179. package/dist/chunks/{location-services-zv3e7t68.js → location-services-t2w3xr5a.js} +1 -1
  180. package/dist/chunks/{location-services-z69s9t6b.js → location-services-t8r3ep1g.js} +4 -4
  181. package/dist/chunks/{location-services-jw1smgdw.js → location-services-tc8mvhgg.js} +3 -3
  182. package/dist/chunks/{location-services-gjes9ycv.js → location-services-tfs8xndz.js} +84 -84
  183. package/dist/chunks/{location-services-4wdwamv9.js → location-services-tjzgn1x1.js} +16 -16
  184. package/dist/chunks/{location-services-gp27hab3.js → location-services-tmz1m10x.js} +5 -5
  185. package/dist/chunks/{location-services-g56x3r05.js → location-services-tr9c2tdg.js} +17 -17
  186. package/dist/chunks/{location-services-6t5esrgx.js → location-services-ts6t2md9.js} +14 -14
  187. package/dist/chunks/{location-services-wrmagx7v.js → location-services-txm7s3af.js} +53 -53
  188. package/dist/chunks/{location-services-tjasw5j2.js → location-services-ty4y3jpx.js} +17 -17
  189. package/dist/chunks/{location-services-zg809rcf.js → location-services-v055rr52.js} +24 -24
  190. package/dist/chunks/{location-services-z5jxp7ad.js → location-services-v0qc9apc.js} +31 -31
  191. package/dist/chunks/{location-services-98r3f9c4.js → location-services-v17vgq8s.js} +27 -27
  192. package/dist/chunks/{location-services-vgtd617j.js → location-services-v5fza2qm.js} +7 -7
  193. package/dist/chunks/{location-services-mf9m2v67.js → location-services-vjnb44yt.js} +3 -3
  194. package/dist/chunks/{location-services-81s162yb.js → location-services-vk1048p9.js} +14 -14
  195. package/dist/chunks/{location-services-vz505d38.js → location-services-vqa79sa2.js} +6 -6
  196. package/dist/chunks/{location-services-x0b2ccgt.js → location-services-vxqn53pa.js} +24 -24
  197. package/dist/chunks/{location-services-4j4p0yst.js → location-services-vyjzrkx0.js} +7 -7
  198. package/dist/chunks/{location-services-m016k5dt.js → location-services-w28m7x89.js} +11 -11
  199. package/dist/chunks/{location-services-n26aazvb.js → location-services-w76aks9p.js} +8 -8
  200. package/dist/chunks/{location-services-d50f2zf5.js → location-services-w79zsp0s.js} +1 -1
  201. package/dist/chunks/{location-services-d5ta482m.js → location-services-wb0heqy3.js} +3 -3
  202. package/dist/chunks/{location-services-hk3dp6b5.js → location-services-wfjdd711.js} +1 -1
  203. package/dist/chunks/{location-services-k4f6a3yg.js → location-services-wnttaxta.js} +23 -23
  204. package/dist/chunks/{location-services-dgj0dq1g.js → location-services-x3et2xth.js} +7 -7
  205. package/dist/chunks/{location-services-4pg6n0t4.js → location-services-xdj7hph9.js} +6 -6
  206. package/dist/chunks/{location-services-n1wtw7cf.js → location-services-xsa3sn4e.js} +36 -36
  207. package/dist/chunks/{location-services-n76fdqym.js → location-services-xsdh20fb.js} +5 -5
  208. package/dist/chunks/{location-services-wd1wk3fx.js → location-services-xxdsfsv4.js} +22 -22
  209. package/dist/chunks/{location-services-1at44jv2.js → location-services-y3tjje57.js} +14 -14
  210. package/dist/chunks/{location-services-00v0w1pn.js → location-services-y8nep4sr.js} +32 -32
  211. package/dist/chunks/{location-services-v6654y3b.js → location-services-ycaafw61.js} +15 -15
  212. package/dist/chunks/{location-services-s2jzy5b9.js → location-services-ycmd6xcg.js} +9 -9
  213. package/dist/chunks/{location-services-4hzm3hzr.js → location-services-yfq8zh9v.js} +60 -60
  214. package/dist/chunks/{location-services-p79ar1tw.js → location-services-yx9tt4ea.js} +9 -9
  215. package/dist/chunks/{location-services-rv7qyr27.js → location-services-z43vqr8p.js} +23 -23
  216. package/dist/chunks/{location-services-8f0zq1qa.js → location-services-z50tb7yx.js} +4 -4
  217. package/dist/chunks/{location-services-z7vx10hx.js → location-services-zdhmhzs2.js} +12 -12
  218. package/dist/chunks/{location-services-bv56xrks.js → location-services-zerdtc7d.js} +4 -4
  219. package/dist/chunks/{location-services-t3nckq9e.js → location-services-zgwwbszc.js} +16 -16
  220. package/dist/chunks/{location-services-hv7wfk6h.js → location-services-znc92hjm.js} +40 -40
  221. package/dist/chunks/{location-services-kp0f7k9w.js → location-services-zr33rhch.js} +1 -1
  222. package/dist/chunks/{location-services-wzxndrfm.js → location-services-zr7mteb2.js} +24 -24
  223. package/dist/chunks/{location-services-7dh69f0v.js → location-services-zw66t5ma.js} +7 -7
  224. package/dist/chunks/{location-services-1sfmn0at.js → location-services-zwzjy0a1.js} +18 -18
  225. package/dist/codemode/catalog.js +3 -3
  226. package/dist/codemode/instructions.js +7 -7
  227. package/dist/command.js +63 -63
  228. package/dist/config/discovery.js +52 -52
  229. package/dist/config/normalize.js +16 -16
  230. package/dist/config/plugin/agent.js +86 -86
  231. package/dist/config/plugin/command.js +168 -168
  232. package/dist/config/plugin/compaction.js +117 -117
  233. package/dist/config/plugin/formatter.js +85 -85
  234. package/dist/config/plugin/image.js +84 -84
  235. package/dist/config/plugin/instruction.js +56 -56
  236. package/dist/config/plugin/location-watcher.js +83 -83
  237. package/dist/config/plugin/mcp.js +92 -92
  238. package/dist/config/plugin/policy.js +82 -82
  239. package/dist/config/plugin/provider.js +82 -82
  240. package/dist/config/plugin/reference.js +86 -86
  241. package/dist/config/plugin/shell.js +84 -84
  242. package/dist/config/plugin/skill-file.js +66 -66
  243. package/dist/config/plugin/skill.js +100 -100
  244. package/dist/config/plugin/snapshot.js +84 -84
  245. package/dist/config/plugin/source.js +86 -86
  246. package/dist/config/plugin/tool-output.js +86 -86
  247. package/dist/config/plugin/websearch.js +82 -82
  248. package/dist/config/plugin/worktree.js +85 -85
  249. package/dist/config.js +89 -89
  250. package/dist/credential.js +60 -60
  251. package/dist/database/database.js +50 -50
  252. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  253. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  254. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  255. package/dist/database/drizzle/index.js +9 -9
  256. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  257. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  258. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  259. package/dist/database/drizzle.js +9 -9
  260. package/dist/database/migration.gen.js +35 -35
  261. package/dist/database/migration.js +36 -36
  262. package/dist/database/v1-migration.bun.js +12 -12
  263. package/dist/effect/app-node-builder.js +223 -223
  264. package/dist/environment/environment.js +59 -59
  265. package/dist/environment/index.js +61 -61
  266. package/dist/event-logger.js +13 -13
  267. package/dist/file-access.js +69 -69
  268. package/dist/file-mutation.js +60 -60
  269. package/dist/filesystem/location-watcher.js +175 -175
  270. package/dist/filesystem/search.js +68 -68
  271. package/dist/filesystem/watcher.js +13 -13
  272. package/dist/filesystem.js +67 -67
  273. package/dist/form.js +64 -64
  274. package/dist/formatter/builtins.js +3 -3
  275. package/dist/formatter.js +59 -59
  276. package/dist/generate.js +68 -68
  277. package/dist/git.js +5 -5
  278. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
  279. package/dist/github-copilot/copilot-provider.js +3 -3
  280. package/dist/github-copilot/models.js +7 -7
  281. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  282. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  283. package/dist/image/photon.js +1 -1
  284. package/dist/image.js +5 -5
  285. package/dist/instance.js +297 -297
  286. package/dist/instruction-discovery.js +58 -58
  287. package/dist/instructions/builtins.js +57 -57
  288. package/dist/instructions/index.js +5 -5
  289. package/dist/integration.js +63 -63
  290. package/dist/job.js +57 -57
  291. package/dist/kv.js +51 -51
  292. package/dist/location-activity.js +55 -55
  293. package/dist/location-mutation.js +30 -30
  294. package/dist/location-service-map.js +56 -56
  295. package/dist/location-services.js +300 -300
  296. package/dist/location.js +59 -59
  297. package/dist/mcp/client.js +17 -17
  298. package/dist/mcp/index.js +76 -76
  299. package/dist/mcp/instructions.js +90 -90
  300. package/dist/mcp/stdio.js +56 -56
  301. package/dist/modal/models.js +7 -7
  302. package/dist/model-resolver.js +63 -63
  303. package/dist/model.js +8 -8
  304. package/dist/models-dev.js +64 -64
  305. package/dist/permission/saved.js +55 -55
  306. package/dist/permission.js +76 -76
  307. package/dist/persistent-pty/index.js +60 -60
  308. package/dist/persistent-pty.js +50 -50
  309. package/dist/plugin/agent.js +69 -69
  310. package/dist/plugin/command.js +67 -67
  311. package/dist/plugin/hooks.js +5 -5
  312. package/dist/plugin/host.js +173 -173
  313. package/dist/plugin/instance.js +5 -5
  314. package/dist/plugin/internal.js +275 -275
  315. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  316. package/dist/plugin/models-dev.js +53 -53
  317. package/dist/plugin/module.js +4 -4
  318. package/dist/plugin/optimize.js +3 -3
  319. package/dist/plugin/plan.js +67 -67
  320. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  321. package/dist/plugin/provider/anthropic.js +2 -2
  322. package/dist/plugin/provider/azure.js +86 -86
  323. package/dist/plugin/provider/cerebras.js +2 -2
  324. package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
  325. package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
  326. package/dist/plugin/provider/configured.js +84 -84
  327. package/dist/plugin/provider/digitalocean.js +55 -55
  328. package/dist/plugin/provider/github-copilot.js +57 -57
  329. package/dist/plugin/provider/gitlab.js +3 -3
  330. package/dist/plugin/provider/google-vertex.js +2 -2
  331. package/dist/plugin/provider/kilo.js +2 -2
  332. package/dist/plugin/provider/llmgateway.js +53 -53
  333. package/dist/plugin/provider/lmstudio.js +85 -85
  334. package/dist/plugin/provider/modal.js +56 -56
  335. package/dist/plugin/provider/nvidia.js +2 -2
  336. package/dist/plugin/provider/ollama.js +87 -87
  337. package/dist/plugin/provider/openai.js +56 -56
  338. package/dist/plugin/provider/opencode.js +56 -56
  339. package/dist/plugin/provider/openrouter.js +3 -3
  340. package/dist/plugin/provider/poe.js +52 -52
  341. package/dist/plugin/provider/sap-ai-core.js +2 -2
  342. package/dist/plugin/provider/snowflake-cortex.js +86 -86
  343. package/dist/plugin/provider/vercel.js +2 -2
  344. package/dist/plugin/provider/vllm.js +87 -87
  345. package/dist/plugin/provider/xai.js +54 -54
  346. package/dist/plugin/provider/zenmux.js +2 -2
  347. package/dist/plugin/provider.js +119 -119
  348. package/dist/plugin/sdk.js +50 -50
  349. package/dist/plugin/service.js +3 -3
  350. package/dist/plugin/skill.js +98 -98
  351. package/dist/plugin/supervisor.js +290 -290
  352. package/dist/plugin/update.js +5 -5
  353. package/dist/plugin/variant.js +4 -4
  354. package/dist/plugin/vcs/git.js +56 -56
  355. package/dist/plugin/vcs/hg.js +56 -56
  356. package/dist/plugin/warming.js +82 -82
  357. package/dist/plugin/websearch/exa.js +6 -6
  358. package/dist/plugin/websearch/firecrawl.js +5 -5
  359. package/dist/plugin/websearch/index.js +7 -7
  360. package/dist/plugin/websearch/mcp.js +5 -5
  361. package/dist/plugin/websearch/parallel.js +7 -7
  362. package/dist/plugin/websearch/tavily.js +4 -4
  363. package/dist/plugin.js +181 -181
  364. package/dist/project/schema.js +7 -7
  365. package/dist/project.js +58 -58
  366. package/dist/provider.js +7 -7
  367. package/dist/pty.js +54 -54
  368. package/dist/reference/instructions.js +59 -59
  369. package/dist/reference.js +61 -61
  370. package/dist/repository-cache.js +54 -54
  371. package/dist/ripgrep.js +63 -63
  372. package/dist/rpc.js +56 -56
  373. package/dist/session/command.js +51 -51
  374. package/dist/session/compaction.js +93 -93
  375. package/dist/session/context.js +114 -114
  376. package/dist/session/environment.js +5 -5
  377. package/dist/session/error.js +2 -2
  378. package/dist/session/execution/restart.js +117 -117
  379. package/dist/session/execution.js +90 -90
  380. package/dist/session/generate.js +114 -114
  381. package/dist/session/history.js +6 -6
  382. package/dist/session/inbox.js +55 -55
  383. package/dist/session/info.js +2 -2
  384. package/dist/session/instruction-entry.js +52 -52
  385. package/dist/session/instruction-state.js +2 -2
  386. package/dist/session/instructions.js +64 -64
  387. package/dist/session/message-updater.js +3 -3
  388. package/dist/session/model-request.js +78 -78
  389. package/dist/session/model-transport.js +5 -5
  390. package/dist/session/move.js +94 -94
  391. package/dist/session/projector.js +56 -56
  392. package/dist/session/prompt.js +69 -69
  393. package/dist/session/provider-context.js +3 -3
  394. package/dist/session/revert.js +56 -56
  395. package/dist/session/runner/index.js +3 -3
  396. package/dist/session/runner/llm.js +182 -182
  397. package/dist/session/runner/model.js +63 -63
  398. package/dist/session/runner/retry.js +80 -80
  399. package/dist/session/runner/step.js +85 -85
  400. package/dist/session/runner/to-llm-message.js +2 -2
  401. package/dist/session/schema.js +5 -5
  402. package/dist/session/session.js +129 -129
  403. package/dist/session/shell.js +95 -95
  404. package/dist/session/skill.js +67 -67
  405. package/dist/session/stats.js +10 -10
  406. package/dist/session/store.js +58 -58
  407. package/dist/session/subagent-job.js +165 -165
  408. package/dist/session/title.js +113 -113
  409. package/dist/session/to-session-error.js +77 -77
  410. package/dist/session/transfer.js +117 -117
  411. package/dist/session.js +174 -174
  412. package/dist/shell/parse.js +3 -3
  413. package/dist/shell/select.js +5 -5
  414. package/dist/shell.js +99 -99
  415. package/dist/skill/discovery.js +5 -5
  416. package/dist/skill/instructions.js +70 -70
  417. package/dist/skill.js +75 -75
  418. package/dist/snapshot.js +61 -61
  419. package/dist/tool/mcp.js +89 -89
  420. package/dist/tool/plugin/edit.js +82 -82
  421. package/dist/tool/plugin/glob.js +85 -85
  422. package/dist/tool/plugin/grep.js +89 -89
  423. package/dist/tool/plugin/opencode.js +3 -3
  424. package/dist/tool/plugin/patch.js +82 -82
  425. package/dist/tool/plugin/question.js +70 -70
  426. package/dist/tool/plugin/read.js +90 -90
  427. package/dist/tool/plugin/shell.js +171 -171
  428. package/dist/tool/plugin/skill.js +76 -76
  429. package/dist/tool/plugin/subagent.js +172 -172
  430. package/dist/tool/plugin/webfetch.js +75 -75
  431. package/dist/tool/plugin/websearch.js +77 -77
  432. package/dist/tool/plugin/write.js +86 -86
  433. package/dist/tool/read-filesystem.js +65 -65
  434. package/dist/tool-output.js +6 -6
  435. package/dist/tool.js +9 -9
  436. package/dist/v1/config/agent.js +4 -4
  437. package/dist/v1/config/attachment.js +3 -3
  438. package/dist/v1/config/command.js +5 -5
  439. package/dist/v1/config/config.js +13 -13
  440. package/dist/v1/config/formatter.js +5 -5
  441. package/dist/v1/config/lsp.js +3 -3
  442. package/dist/v1/config/mcp.js +3 -3
  443. package/dist/v1/config/migrate.js +3 -3
  444. package/dist/v1/config/permission.js +3 -3
  445. package/dist/v1/config/plugin.js +3 -3
  446. package/dist/v1/config/provider.js +3 -3
  447. package/dist/v1/config/skills.js +3 -3
  448. package/dist/vcs.js +59 -59
  449. package/dist/websearch.js +60 -60
  450. package/dist/wellknown/plugin.js +52 -52
  451. package/dist/wellknown.js +55 -55
  452. package/dist/workspace/driver.js +7 -7
  453. package/dist/workspace.js +58 -58
  454. package/dist/worktree/git.js +2 -2
  455. package/dist/worktree/refresh.js +293 -293
  456. package/dist/worktree.js +60 -60
  457. package/package.json +8 -8
  458. package/dist/chunks/location-services-0ckm5bhw.js +0 -22
  459. package/dist/chunks/location-services-cgxejw6v.js +0 -462
  460. package/dist/chunks/location-services-rvz3wna3.js +0 -247
  461. /package/dist/chunks/{location-services-gqsqt983.js → location-services-27x26mvx.js} +0 -0
  462. /package/dist/chunks/{location-services-wpmxaqyc.js → location-services-8y62cfgq.js} +0 -0
  463. /package/dist/chunks/{location-services-bcbmvgj8.js → location-services-e2dtrqwf.js} +0 -0
  464. /package/dist/chunks/{location-services-3tt1qkhr.js → location-services-sqbb0ctm.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
- ID10,
3
- Service65
4
- } from "./location-services-7emx6ety.js";
2
+ ID15,
3
+ Service71
4
+ } from "./location-services-s3fqj7fn.js";
5
5
  import {
6
- Service69
7
- } from "./location-services-1s1fbqj5.js";
6
+ Service73
7
+ } from "./location-services-e4zvp2f4.js";
8
8
  import {
9
- Service54
10
- } from "./location-services-hewa18pm.js";
9
+ Service47
10
+ } from "./location-services-r69tr7x2.js";
11
11
  import {
12
12
  Service53,
13
13
  args2
14
- } from "./location-services-3am5m0cf.js";
14
+ } from "./location-services-s2qffcb7.js";
15
15
  import {
16
- Service19
17
- } from "./location-services-9r3q67g7.js";
16
+ Service17
17
+ } from "./location-services-dqm30p7h.js";
18
18
  import {
19
- make6
20
- } from "./location-services-dtz1dq5w.js";
19
+ make8
20
+ } from "./location-services-rcxgw5yf.js";
21
21
  import {
22
22
  parseOption2
23
23
  } from "./location-services-5daktx2q.js";
@@ -26,10 +26,10 @@ import {
26
26
  } from "./location-services-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin15
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin39
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin15 = define({
44
+ var Plugin39 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service54;
47
+ const config = yield* Service47;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin15 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service69;
57
+ const location = yield* Service73;
58
58
  const processes = yield* AppProcess.Service;
59
59
  const shell = yield* Service53;
60
- const sessions = yield* Service19;
61
- const agents = yield* Service65;
62
- const subagents = yield* make6;
60
+ const sessions = yield* Service17;
61
+ const agents = yield* Service71;
62
+ const subagents = yield* make8;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin15 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin15, exports_command };
207
+ export { Plugin39, exports_command2 };
@@ -1,11 +1,11 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./location-services-7f4cfqjs.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./location-services-12behdsj.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./location-services-q70gtfmt.js";
8
+ } from "./location-services-j81s0rnf.js";
9
9
  import {
10
10
  llmClient2
11
11
  } from "./location-services-5t3nmthw.js";
@@ -17,28 +17,28 @@ import {
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./location-services-06dxphr1.js";
20
+ } from "./location-services-paegk39x.js";
21
21
  import {
22
22
  load3
23
- } from "./location-services-4eavgkwb.js";
23
+ } from "./location-services-f9yp8s8r.js";
24
24
  import {
25
25
  create3
26
26
  } from "./location-services-kg06axw8.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./location-services-d50f2zf5.js";
29
+ } from "./location-services-w79zsp0s.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./location-services-erd68jx8.js";
34
+ } from "./location-services-6fjmxycd.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./location-services-n65r81b4.js";
37
+ } from "./location-services-dt8w12tc.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./location-services-8f0zq1qa.js";
41
+ } from "./location-services-z50tb7yx.js";
42
42
  import {
43
43
  estimate2
44
44
  } from "./location-services-h6vf3j39.js";
@@ -53,12 +53,12 @@ import {
53
53
  // src/session/compaction.ts
54
54
  var exports_compaction2 = {};
55
55
  __export(exports_compaction2, {
56
- Service: () => Service9,
56
+ Service: () => Service12,
57
57
  SessionCompaction: () => exports_compaction2,
58
58
  buildPrompt: () => buildPrompt2,
59
59
  estimateTokens: () => estimateTokens2,
60
60
  layer: () => layer7,
61
- node: () => node12,
61
+ node: () => node15,
62
62
  retainUsers: () => retainUsers2,
63
63
  serializeToolContent: () => serializeToolContent2,
64
64
  truncateToolOutput: () => truncateToolOutput2
@@ -123,7 +123,7 @@ var SUMMARY_RULES = `Rules:
123
123
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
124
124
  `).filter((line) => line.startsWith("##"));
125
125
 
126
- class Service9 extends Context.Service()("@opencode/SessionCompaction") {
126
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
127
127
  }
128
128
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
129
129
  var estimateTokens2 = (input) => {
@@ -291,10 +291,10 @@ var buildPrompt2 = (update) => {
291
291
  };
292
292
  var hasSummarySection = (summary) => summary.split(`
293
293
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
294
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
295
- const bus = yield* Service78;
294
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
295
+ const bus = yield* Service79;
296
296
  const llm = yield* LLMClient.Service;
297
- const db = (yield* Service79).db;
297
+ const db = (yield* Service80).db;
298
298
  const state = create3({
299
299
  name: "session-compaction",
300
300
  initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
@@ -574,7 +574,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
574
574
  }
575
575
  }));
576
576
  });
577
- return Service9.of({
577
+ return Service12.of({
578
578
  transform: state.transform,
579
579
  reload: state.reload,
580
580
  enabled: () => state.get().auto,
@@ -583,10 +583,10 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
583
583
  compactManual
584
584
  });
585
585
  }));
586
- var node12 = makeLocationNode({
587
- service: Service9,
586
+ var node15 = makeLocationNode({
587
+ service: Service12,
588
588
  layer: layer7,
589
- deps: [node83, node84, llmClient2]
589
+ deps: [node84, node85, llmClient2]
590
590
  });
591
591
 
592
- export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction2 };
592
+ export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node15, exports_compaction2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-f32vetax.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
- Service78
6
- } from "./location-services-q70gtfmt.js";
5
+ Service79
6
+ } from "./location-services-j81s0rnf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20,
10
- Service77
11
- } from "./location-services-00v0w1pn.js";
9
+ Event13,
10
+ Service63
11
+ } from "./location-services-y8nep4sr.js";
12
12
  import {
13
- ID14,
13
+ ID7,
14
14
  MethodID2,
15
- Service75
16
- } from "./location-services-z5jxp7ad.js";
15
+ Service61
16
+ } from "./location-services-v0qc9apc.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
20
  } from "./location-services-pjvnvgmy.js";
21
21
  import {
22
- ID18
23
- } from "./location-services-m27pyyd3.js";
22
+ ID11
23
+ } from "./location-services-jtp7wgq3.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./location-services-7dh69f0v.js";
26
+ } from "./location-services-zw66t5ma.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID18.make("snowflake-cortex");
34
- var integrationID = ID14.make(providerID);
33
+ var providerID = ID11.make("snowflake-cortex");
34
+ var integrationID = ID7.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service77;
57
- const integrations = yield* Service75;
58
- const bus = yield* Service78;
56
+ const credentials = yield* Service63;
57
+ const integrations = yield* Service61;
58
+ const bus = yield* Service79;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -6,13 +6,13 @@ import {
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service34,
9
+ Service: () => Service32,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service34 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service32 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service34, exports_runner };
18
+ export { DrainResult2, Service32, exports_runner };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./location-services-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-services-mf9m2v67.js";
7
+ } from "./location-services-vjnb44yt.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID18
3
- } from "./location-services-m27pyyd3.js";
2
+ ID11
3
+ } from "./location-services-jtp7wgq3.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./location-services-hjbc5kem.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID18.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID18.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -5,9 +5,9 @@ import {
5
5
  AbsolutePath2
6
6
  } from "./location-services-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID12,
9
9
  Name2
10
- } from "./location-services-x0b2ccgt.js";
10
+ } from "./location-services-vxqn53pa.js";
11
11
  import {
12
12
  __export
13
13
  } from "./location-services-9rqn6x4v.js";
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID6.make(id),
60
+ id: ID12.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,79 +1,79 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-services-12behdsj.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-7f4cfqjs.js";
5
5
  import {
6
- ID10,
7
- Service65,
8
- node69
9
- } from "./location-services-7emx6ety.js";
6
+ ID15,
7
+ Service71,
8
+ node76
9
+ } from "./location-services-s3fqj7fn.js";
10
10
  import {
11
- Service73,
12
- node78
13
- } from "./location-services-hm9cthtf.js";
11
+ Service60,
12
+ node64
13
+ } from "./location-services-9r2qpqkx.js";
14
14
  import {
15
15
  combine2
16
- } from "./location-services-rhjbct0v.js";
16
+ } from "./location-services-eaj1djv9.js";
17
17
  import {
18
18
  make14
19
- } from "./location-services-hqxaqnsz.js";
19
+ } from "./location-services-fnhdbvfa.js";
20
20
  import {
21
- Service41,
22
- node44
23
- } from "./location-services-a5y8eyny.js";
21
+ Service43,
22
+ node46
23
+ } from "./location-services-11m7nw5e.js";
24
24
  import {
25
- Service69,
26
- node74
27
- } from "./location-services-1s1fbqj5.js";
25
+ Service73,
26
+ node78
27
+ } from "./location-services-e4zvp2f4.js";
28
28
  import {
29
- Service22,
30
- node27
31
- } from "./location-services-efrqks1z.js";
29
+ Service21,
30
+ node25
31
+ } from "./location-services-drbyteps.js";
32
32
  import {
33
33
  AgentNotFoundError2
34
- } from "./location-services-g764418v.js";
34
+ } from "./location-services-3xwj35jq.js";
35
35
  import {
36
36
  provenance2
37
- } from "./location-services-06dxphr1.js";
37
+ } from "./location-services-paegk39x.js";
38
38
  import {
39
39
  entriesForRunner2
40
- } from "./location-services-4eavgkwb.js";
40
+ } from "./location-services-f9yp8s8r.js";
41
41
  import {
42
- Service63,
43
- node67
44
- } from "./location-services-1ktzqmb5.js";
42
+ Service70,
43
+ node75
44
+ } from "./location-services-pswdd2t8.js";
45
45
  import {
46
- Service50,
47
- node54
48
- } from "./location-services-dx15qm69.js";
46
+ Service57,
47
+ node61
48
+ } from "./location-services-28fzndev.js";
49
49
  import {
50
- Service31,
51
- node35
52
- } from "./location-services-xvbxf676.js";
50
+ Service22,
51
+ node26
52
+ } from "./location-services-9kvjnr81.js";
53
53
  import {
54
- Service30,
55
- node34
56
- } from "./location-services-mgn1q268.js";
54
+ Service20,
55
+ node24
56
+ } from "./location-services-9z8a7pbd.js";
57
57
  import {
58
58
  Service28,
59
- node32
60
- } from "./location-services-4ycxm7c6.js";
59
+ node33
60
+ } from "./location-services-5bzad00n.js";
61
61
  import {
62
- Service23,
63
- node28
64
- } from "./location-services-yt1hy964.js";
62
+ Service19,
63
+ node23
64
+ } from "./location-services-9pfdanbq.js";
65
65
  import {
66
- Service26,
67
- node31
68
- } from "./location-services-4wdwamv9.js";
66
+ Service27,
67
+ node32
68
+ } from "./location-services-tjzgn1x1.js";
69
69
  import {
70
70
  Service24,
71
- node29
72
- } from "./location-services-erd68jx8.js";
71
+ node28
72
+ } from "./location-services-6fjmxycd.js";
73
73
  import {
74
- Service36,
75
- node39
76
- } from "./location-services-9tdt6gn5.js";
74
+ Service34,
75
+ node37
76
+ } from "./location-services-s2yb2sz1.js";
77
77
  import {
78
78
  __export
79
79
  } from "./location-services-9rqn6x4v.js";
@@ -81,34 +81,34 @@ import {
81
81
  // src/session/context.ts
82
82
  var exports_context = {};
83
83
  __export(exports_context, {
84
- Service: () => Service21,
84
+ Service: () => Service18,
85
85
  SessionContext: () => exports_context,
86
- node: () => node26
86
+ node: () => node22
87
87
  });
88
88
  import { Model } from "@opencode/schema/model";
89
89
  import { Context, Effect, Layer } from "effect";
90
90
  import { makeLocationNode } from "@opencode/util/effect/app-node";
91
- class Service21 extends Context.Service()("@opencode/SessionContext") {
91
+ class Service18 extends Context.Service()("@opencode/SessionContext") {
92
92
  }
93
- var layer = Layer.effect(Service21, Effect.gen(function* () {
94
- const agents = yield* Service65;
95
- const builtins = yield* Service22;
96
- const catalog = yield* Service73;
97
- const db = (yield* Service79).db;
98
- const discovery = yield* Service41;
99
- const entries = yield* Service26;
100
- const location = yield* Service69;
101
- const mcpInstructions = yield* Service30;
102
- const mcpTools = yield* Service31;
103
- const models = yield* Service36;
93
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
94
+ const agents = yield* Service71;
95
+ const builtins = yield* Service21;
96
+ const catalog = yield* Service60;
97
+ const db = (yield* Service80).db;
98
+ const discovery = yield* Service43;
99
+ const entries = yield* Service27;
100
+ const location = yield* Service73;
101
+ const mcpInstructions = yield* Service20;
102
+ const mcpTools = yield* Service22;
103
+ const models = yield* Service34;
104
104
  const modelRequests = yield* Service24;
105
105
  const referenceInstructions = yield* Service28;
106
- const skillInstructions = yield* Service23;
107
- const store = yield* Service63;
108
- const registry = yield* Service50;
106
+ const skillInstructions = yield* Service19;
107
+ const store = yield* Service70;
108
+ const registry = yield* Service57;
109
109
  const resolveModel = (session) => models.resolve(session, catalog.model.available);
110
110
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
111
- const agent = yield* agents.get(ID10.make("title"));
111
+ const agent = yield* agents.get(ID15.make("title"));
112
112
  if (!agent)
113
113
  return;
114
114
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -183,29 +183,29 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
183
183
  tools: selection.tools
184
184
  };
185
185
  });
186
- return Service21.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
186
+ return Service18.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
187
187
  }));
188
188
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
189
- var node26 = makeLocationNode({
190
- service: Service21,
189
+ var node22 = makeLocationNode({
190
+ service: Service18,
191
191
  layer,
192
192
  deps: [
193
- node69,
194
- node78,
195
- node84,
196
- node27,
197
- node44,
198
- node31,
199
- node74,
200
- node34,
201
- node35,
193
+ node76,
194
+ node64,
195
+ node85,
196
+ node25,
197
+ node46,
202
198
  node32,
203
- node39,
204
- node29,
205
- node67,
199
+ node78,
200
+ node24,
201
+ node26,
202
+ node33,
203
+ node37,
206
204
  node28,
207
- node54
205
+ node75,
206
+ node23,
207
+ node61
208
208
  ]
209
209
  });
210
210
 
211
- export { Service21, node26, exports_context };
211
+ export { Service18, node22, exports_context };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-services-12behdsj.js";
2
+ Service80,
3
+ node85
4
+ } from "./location-services-7f4cfqjs.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./location-services-rhjbct0v.js";
10
+ } from "./location-services-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
13
  } from "./location-services-a1bz86dw.js";
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service26,
25
+ Service: () => Service27,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node31,
29
+ node: () => node32,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service26 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service27 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({
65
- key: Key3.make(`api/${entry.key}`),
64
+ var source = (entry) => make21({
65
+ key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
68
68
  render: {
@@ -75,8 +75,8 @@ 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(Service26, Effect.gen(function* () {
79
- const { db } = yield* Service79;
78
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
79
+ const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, 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 Service26.of({ list, put, remove, load });
111
+ return Service27.of({ list, put, remove, load });
112
112
  }));
113
- var node31 = makeLocationNode({ service: Service26, layer, deps: [node84] });
113
+ var node32 = makeLocationNode({ service: Service27, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node31, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node32, exports_instruction_entry };