@opencode/core 0.0.0-dev-21801 → 0.0.0-dev-21802

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 (824) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{tool-output-034tev2y.js → location-034tev2y.js} +2 -2
  8. package/dist/chunks/{tool-output-6285fq4d.js → location-04s74fx7.js} +8 -8
  9. package/dist/chunks/{tool-output-ztsh3kna.js → location-075x5646.js} +16 -16
  10. package/dist/chunks/{tool-output-eyhcn785.js → location-0aqnrq7x.js} +35 -35
  11. package/dist/chunks/{tool-output-2p2a88gw.js → location-0bpkyfh4.js} +22 -22
  12. package/dist/chunks/{tool-output-p2y1bt5g.js → location-0d0matx1.js} +32 -32
  13. package/dist/chunks/{tool-output-1xfs8wvw.js → location-0ear39jp.js} +11 -11
  14. package/dist/chunks/{tool-output-n2a2fj9v.js → location-0hc0bbs9.js} +4 -4
  15. package/dist/chunks/{tool-output-cj0twgab.js → location-0nykq6f5.js} +21 -21
  16. package/dist/chunks/{tool-output-w7zjqt6n.js → location-0q213vj2.js} +4 -4
  17. package/dist/chunks/{tool-output-cee096dw.js → location-15hh3cbc.js} +8 -8
  18. package/dist/chunks/{tool-output-6aqbrqep.js → location-16mb5f8v.js} +33 -33
  19. package/dist/chunks/{tool-output-pqp4ah5f.js → location-17a3f6rk.js} +44 -44
  20. package/dist/chunks/{tool-output-7nv1f492.js → location-1ccg85h0.js} +18 -18
  21. package/dist/chunks/{tool-output-1ep2p91f.js → location-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{tool-output-szfa6w1b.js → location-1h4xhwew.js} +23 -23
  23. package/dist/chunks/{tool-output-h7pf2zmx.js → location-1rx1hnzt.js} +2 -2
  24. package/dist/chunks/{tool-output-8xppqwrp.js → location-1s73zfxt.js} +18 -18
  25. package/dist/chunks/{tool-output-n2b0dnay.js → location-1vd7snte.js} +42 -42
  26. package/dist/chunks/{tool-output-1x2knyw4.js → location-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{tool-output-1y0wdj51.js → location-1y0wdj51.js} +1 -1
  28. package/dist/chunks/{tool-output-v6h5bgwd.js → location-231a8wys.js} +8 -8
  29. package/dist/chunks/{tool-output-3j1ep4vq.js → location-26sbc8wa.js} +26 -26
  30. package/dist/chunks/{tool-output-whcqjvyx.js → location-288dktsv.js} +4 -4
  31. package/dist/chunks/{tool-output-ptatd3p6.js → location-2bmn10af.js} +8 -8
  32. package/dist/chunks/{tool-output-0c7nc8tn.js → location-2f2nr3wk.js} +11 -11
  33. package/dist/chunks/{tool-output-60p7g2te.js → location-2s1jcspe.js} +11 -11
  34. package/dist/chunks/{tool-output-aeb4sny1.js → location-2xwkyk0m.js} +5 -5
  35. package/dist/chunks/{tool-output-2z1j29yd.js → location-2z1j29yd.js} +1 -1
  36. package/dist/chunks/{tool-output-h91kcahz.js → location-3753v25r.js} +20 -20
  37. package/dist/chunks/{tool-output-5frcv4v0.js → location-3aj7rrf8.js} +14 -14
  38. package/dist/chunks/{tool-output-hkfp46ja.js → location-3azbbmvr.js} +17 -17
  39. package/dist/chunks/{tool-output-nd41fner.js → location-3bn9zxbg.js} +11 -11
  40. package/dist/chunks/{tool-output-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{tool-output-3nnrz6f6.js → location-3nnrz6f6.js} +1 -1
  42. package/dist/chunks/{tool-output-4aqtdhks.js → location-3r5s1csz.js} +37 -37
  43. package/dist/chunks/{tool-output-3ryz99p0.js → location-3ryz99p0.js} +1 -1
  44. package/dist/chunks/{tool-output-y1zpvem5.js → location-3shw1cbx.js} +11 -11
  45. package/dist/chunks/{tool-output-w2eysc6j.js → location-40za9wsf.js} +9 -9
  46. package/dist/chunks/{tool-output-61ennm6n.js → location-42jd4697.js} +4 -4
  47. package/dist/chunks/{tool-output-y8c2g656.js → location-48fr60f0.js} +4 -4
  48. package/dist/chunks/{tool-output-hfqv7x4d.js → location-4c9pmv36.js} +14 -14
  49. package/dist/chunks/{tool-output-2bexbmx7.js → location-4cggrrsp.js} +1 -1
  50. package/dist/chunks/{tool-output-2dfk453x.js → location-4f258480.js} +25 -25
  51. package/dist/chunks/{tool-output-pq9y035p.js → location-4f51t6yt.js} +29 -29
  52. package/dist/chunks/{tool-output-4v008n1t.js → location-4v008n1t.js} +1 -1
  53. package/dist/chunks/{tool-output-9nha6yk0.js → location-4zw1mhch.js} +10 -10
  54. package/dist/chunks/{tool-output-1tvtyxqv.js → location-53ehad73.js} +11 -11
  55. package/dist/chunks/{tool-output-zt7g3tem.js → location-543xpwr1.js} +17 -17
  56. package/dist/chunks/{tool-output-5m9w47nd.js → location-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{tool-output-0tfekwr7.js → location-5pjcmgbp.js} +3 -3
  58. package/dist/chunks/{tool-output-s219wa1v.js → location-5rffp0ca.js} +27 -27
  59. package/dist/chunks/location-6617700v.js +26 -0
  60. package/dist/chunks/{tool-output-pr31xtm2.js → location-67fvqagb.js} +42 -42
  61. package/dist/chunks/{tool-output-81a9zpe2.js → location-6ejgy672.js} +8 -8
  62. package/dist/chunks/{tool-output-6esdw8yj.js → location-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{tool-output-s0j4vfyb.js → location-6grvz7sb.js} +19 -19
  64. package/dist/chunks/{tool-output-6pjqjmy2.js → location-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{tool-output-crj5e783.js → location-6pns0xkq.js} +11 -11
  66. package/dist/chunks/{tool-output-8tapzm2v.js → location-6qzrsg19.js} +13 -13
  67. package/dist/chunks/{tool-output-nj719txd.js → location-6rrz3dm6.js} +4 -4
  68. package/dist/chunks/{tool-output-fwjrth66.js → location-6s8srms1.js} +25 -25
  69. package/dist/chunks/{tool-output-1v9xeggz.js → location-6xvr7jf7.js} +5 -5
  70. package/dist/chunks/{tool-output-3kdbrncp.js → location-6y263vp8.js} +5 -5
  71. package/dist/chunks/{tool-output-3nzkha57.js → location-6ypa0r1z.js} +34 -34
  72. package/dist/chunks/{tool-output-fj83etc5.js → location-73ws2247.js} +71 -71
  73. package/dist/chunks/{tool-output-76cb1hcw.js → location-76cb1hcw.js} +1 -1
  74. package/dist/chunks/{tool-output-770pw0s1.js → location-770pw0s1.js} +1 -1
  75. package/dist/chunks/{tool-output-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{tool-output-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{tool-output-y288cn10.js → location-8ggafv1b.js} +12 -12
  78. package/dist/chunks/{tool-output-aqk6p4c3.js → location-8j2gg8hq.js} +21 -21
  79. package/dist/chunks/{tool-output-12tah04a.js → location-8n0m92g8.js} +9 -9
  80. package/dist/chunks/{tool-output-n92mzsnh.js → location-8nsfhtx4.js} +44 -44
  81. package/dist/chunks/{tool-output-vpm8vpz0.js → location-8whp40kv.js} +3 -3
  82. package/dist/chunks/{tool-output-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{tool-output-91rj84md.js → location-91rj84md.js} +1 -1
  84. package/dist/chunks/{tool-output-k299vwjx.js → location-984v65na.js} +17 -17
  85. package/dist/chunks/{tool-output-998yhzzq.js → location-998yhzzq.js} +3 -3
  86. package/dist/chunks/{tool-output-r01d67gn.js → location-9b1bq8k1.js} +5 -5
  87. package/dist/chunks/{tool-output-gj8x1tda.js → location-9b28cy4d.js} +5 -5
  88. package/dist/chunks/{tool-output-s42e18rn.js → location-9bag7kem.js} +8 -8
  89. package/dist/chunks/{tool-output-a3h99bw5.js → location-9btvkpqm.js} +9 -9
  90. package/dist/chunks/{tool-output-n0p0277s.js → location-9cx9sm2q.js} +2 -2
  91. package/dist/chunks/{tool-output-63hkdzbg.js → location-9je5s229.js} +4 -4
  92. package/dist/chunks/{tool-output-jneg3k74.js → location-9p9xqj3m.js} +6 -6
  93. package/dist/chunks/{tool-output-p819tdyr.js → location-a0stp6fn.js} +9 -9
  94. package/dist/chunks/{tool-output-yt31zvs0.js → location-a4g64ecz.js} +24 -24
  95. package/dist/chunks/{tool-output-vtwv18h8.js → location-a59j6a4y.js} +12 -12
  96. package/dist/chunks/{tool-output-4pw54185.js → location-a6g0efdt.js} +38 -38
  97. package/dist/chunks/{tool-output-a7hcemwv.js → location-a7hcemwv.js} +3 -3
  98. package/dist/chunks/{tool-output-3p7agaaw.js → location-ab01g4cm.js} +9 -9
  99. package/dist/chunks/{tool-output-9jbwxrha.js → location-af84d9dx.js} +22 -22
  100. package/dist/chunks/{tool-output-ncnmhedn.js → location-ag7xc6h3.js} +15 -15
  101. package/dist/chunks/{tool-output-dwvvx6r2.js → location-agxdnhx2.js} +33 -33
  102. package/dist/chunks/{tool-output-a8803444.js → location-ahnc65m5.js} +9 -9
  103. package/dist/chunks/{tool-output-f27y7cht.js → location-amtc5egd.js} +42 -42
  104. package/dist/chunks/{tool-output-4gxtsg4q.js → location-at9bq00k.js} +37 -37
  105. package/dist/chunks/{tool-output-end82zqt.js → location-avxtkthz.js} +87 -87
  106. package/dist/chunks/{tool-output-a7549q9v.js → location-aw8nv5py.js} +24 -24
  107. package/dist/chunks/{tool-output-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{tool-output-b0mv4wxm.js → location-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{tool-output-b6vsg801.js → location-b6vsg801.js} +2 -2
  110. package/dist/chunks/{tool-output-bebb3at9.js → location-b8w355z9.js} +9 -9
  111. package/dist/chunks/{tool-output-59fxmd0j.js → location-b92bqb2e.js} +28 -28
  112. package/dist/chunks/{tool-output-2qj28n5c.js → location-bhaqjw7f.js} +6 -6
  113. package/dist/chunks/{tool-output-sqdnmamq.js → location-bkdm27vv.js} +188 -188
  114. package/dist/chunks/{tool-output-yn23tc2v.js → location-bntc87tw.js} +10 -10
  115. package/dist/chunks/{tool-output-x4spgazm.js → location-bqwdyg2t.js} +9 -9
  116. package/dist/chunks/{tool-output-bstexjd6.js → location-bstexjd6.js} +1 -1
  117. package/dist/chunks/{tool-output-pwgrr4zd.js → location-bxx0c1dy.js} +10 -10
  118. package/dist/chunks/{tool-output-tpp4aej2.js → location-c06ba7a3.js} +21 -21
  119. package/dist/chunks/{tool-output-phtcpqdv.js → location-c0hpt3fm.js} +4 -4
  120. package/dist/chunks/{tool-output-eg0mws0e.js → location-c6jk0q5d.js} +6 -6
  121. package/dist/chunks/{tool-output-d2887f8n.js → location-c9t2ty9q.js} +4 -4
  122. package/dist/chunks/{tool-output-p7tpgz5e.js → location-cb3hqvs8.js} +81 -81
  123. package/dist/chunks/{tool-output-k8wqp3fb.js → location-cb47sqp9.js} +15 -15
  124. package/dist/chunks/{tool-output-g6yzwk23.js → location-cdq478xq.js} +24 -24
  125. package/dist/chunks/{tool-output-682mbbtd.js → location-cfchc4zb.js} +4 -4
  126. package/dist/chunks/{tool-output-8nfppp0x.js → location-cv0k61fs.js} +30 -30
  127. package/dist/chunks/{tool-output-x7jnexzk.js → location-cxpnepvy.js} +20 -20
  128. package/dist/chunks/{tool-output-gc2j9dw0.js → location-d126gacg.js} +12 -12
  129. package/dist/chunks/{tool-output-ebjk3m4h.js → location-d3db3qjf.js} +13 -13
  130. package/dist/chunks/{tool-output-d4v9tmah.js → location-d4v9tmah.js} +2 -2
  131. package/dist/chunks/location-d77dj7jw.js +18 -0
  132. package/dist/chunks/{tool-output-mq1vsyex.js → location-dg4g4j0t.js} +29 -29
  133. package/dist/chunks/{tool-output-jg6bqjz4.js → location-dgny4tbd.js} +36 -36
  134. package/dist/chunks/{tool-output-ermtapg2.js → location-dkjms5pz.js} +25 -25
  135. package/dist/chunks/{tool-output-e834z07m.js → location-e834z07m.js} +1 -1
  136. package/dist/chunks/{tool-output-3sk8enc1.js → location-ecrg8485.js} +11 -11
  137. package/dist/chunks/{tool-output-s0xpqnn9.js → location-ehd7jrz2.js} +11 -11
  138. package/dist/chunks/{tool-output-c58wr0zj.js → location-ej5n7emy.js} +33 -33
  139. package/dist/chunks/{tool-output-87ksbwny.js → location-embmaz50.js} +38 -38
  140. package/dist/chunks/{tool-output-x0evmera.js → location-eqc54gfq.js} +6 -6
  141. package/dist/chunks/{tool-output-kbtbr31d.js → location-eqqpepv4.js} +8 -8
  142. package/dist/chunks/{tool-output-wx6evs79.js → location-er214sbb.js} +18 -18
  143. package/dist/chunks/{tool-output-b6pwv5qp.js → location-ete0teby.js} +10 -10
  144. package/dist/chunks/{tool-output-aja6hfsp.js → location-ewepcnn2.js} +5 -5
  145. package/dist/chunks/{tool-output-2ge2z4cg.js → location-f4mz2h0w.js} +21 -21
  146. package/dist/chunks/{tool-output-vj1b4684.js → location-f4sjmcvy.js} +13 -13
  147. package/dist/chunks/{tool-output-pj6kkmwg.js → location-f4x3m1jb.js} +13 -13
  148. package/dist/chunks/{tool-output-evx8tntc.js → location-f6939148.js} +6 -6
  149. package/dist/chunks/{tool-output-f01rz3q1.js → location-f6k1kfp3.js} +46 -46
  150. package/dist/chunks/{tool-output-jhrcq78y.js → location-f9wg2df5.js} +8 -8
  151. package/dist/chunks/{tool-output-fffv3p7h.js → location-fffv3p7h.js} +1 -1
  152. package/dist/chunks/{tool-output-tasvem1v.js → location-fmye6e29.js} +7 -7
  153. package/dist/chunks/{tool-output-bf946hy9.js → location-fnp0jseg.js} +7 -7
  154. package/dist/chunks/{tool-output-mj41408h.js → location-fnz8rg5r.js} +6 -6
  155. package/dist/chunks/{tool-output-bmvgsr22.js → location-ftv2mfjw.js} +1 -1
  156. package/dist/chunks/{tool-output-fznmdakp.js → location-fznmdakp.js} +1 -1
  157. package/dist/chunks/{tool-output-g5h9c0rr.js → location-g5h9c0rr.js} +2 -2
  158. package/dist/chunks/{tool-output-9dj7pbca.js → location-g5tgmp0p.js} +27 -27
  159. package/dist/chunks/{tool-output-agqd6nxz.js → location-g6dfma3d.js} +6 -6
  160. package/dist/chunks/{tool-output-pt34v7je.js → location-g9ccq630.js} +52 -52
  161. package/dist/chunks/location-ge8wzs3p.js +261 -0
  162. package/dist/chunks/{tool-output-yhgpjx0v.js → location-ghwgmbde.js} +13 -13
  163. package/dist/chunks/{tool-output-frfzcpgy.js → location-gksz2zdz.js} +12 -12
  164. package/dist/chunks/{tool-output-2fjzbpqs.js → location-gw9sk7ym.js} +43 -43
  165. package/dist/chunks/{tool-output-dccrvx04.js → location-gyptvmbk.js} +24 -24
  166. package/dist/chunks/{tool-output-3q5vep8y.js → location-h2fhca2s.js} +10 -10
  167. package/dist/chunks/{tool-output-1r0janqk.js → location-h9zgxh73.js} +5 -5
  168. package/dist/chunks/{tool-output-kya6vn2v.js → location-hdvwg22j.js} +4 -4
  169. package/dist/chunks/{tool-output-japt42f9.js → location-hn6pth2p.js} +14 -14
  170. package/dist/chunks/{tool-output-tvfgxhgz.js → location-hpj591dz.js} +16 -16
  171. package/dist/chunks/{tool-output-j113cymg.js → location-j113cymg.js} +1 -1
  172. package/dist/chunks/{tool-output-6xaz3aew.js → location-j19v72kq.js} +19 -19
  173. package/dist/chunks/{tool-output-q3zv3z6r.js → location-ja9tn20r.js} +15 -15
  174. package/dist/chunks/{tool-output-ratcj3ac.js → location-jb3ek66v.js} +21 -21
  175. package/dist/chunks/{tool-output-qc02d14w.js → location-jje57wwm.js} +26 -26
  176. package/dist/chunks/{tool-output-96ym0hte.js → location-jk9f0yn5.js} +5 -5
  177. package/dist/chunks/{tool-output-wx92ehth.js → location-jsvgjjsg.js} +32 -32
  178. package/dist/chunks/{tool-output-m666jk6r.js → location-k781pf8j.js} +22 -22
  179. package/dist/chunks/{tool-output-k814nvkf.js → location-k814nvkf.js} +1 -1
  180. package/dist/chunks/{tool-output-0srp2sh0.js → location-kdr2amtg.js} +21 -21
  181. package/dist/chunks/{tool-output-bsqrjjtg.js → location-kj2jaw6z.js} +4 -4
  182. package/dist/chunks/{tool-output-5kbev7nh.js → location-kkew1p9e.js} +6 -6
  183. package/dist/chunks/{tool-output-decs4e60.js → location-km5sdhrx.js} +53 -53
  184. package/dist/chunks/{tool-output-nn0x9b8s.js → location-kme5wqcz.js} +20 -20
  185. package/dist/chunks/{tool-output-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
  186. package/dist/chunks/{tool-output-m1714858.js → location-m1714858.js} +1 -1
  187. package/dist/chunks/{tool-output-m37sd98t.js → location-m37sd98t.js} +1 -1
  188. package/dist/chunks/{tool-output-39k15pn6.js → location-m7nf5dp7.js} +18 -18
  189. package/dist/chunks/{tool-output-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{tool-output-5fgbm0wv.js → location-ma9n1kat.js} +3 -3
  191. package/dist/chunks/{tool-output-maspj1v3.js → location-maspj1v3.js} +1 -1
  192. package/dist/chunks/{tool-output-ggsx9dmr.js → location-mc0e6tx9.js} +30 -30
  193. package/dist/chunks/{tool-output-gc804zz3.js → location-mjx1xb4v.js} +11 -11
  194. package/dist/chunks/{tool-output-1cyprt5w.js → location-mnex4cdr.js} +5 -5
  195. package/dist/chunks/{tool-output-9vd6zvz7.js → location-mw1hb2pb.js} +19 -19
  196. package/dist/chunks/{tool-output-y8ypsrc9.js → location-n8snqzaz.js} +15 -15
  197. package/dist/chunks/{tool-output-pqmez375.js → location-n95rn34w.js} +24 -24
  198. package/dist/chunks/{tool-output-w2cq40va.js → location-nbftzetf.js} +3 -3
  199. package/dist/chunks/{tool-output-ny7cjtgm.js → location-nbpgh3d1.js} +16 -16
  200. package/dist/chunks/{tool-output-f37v6n8t.js → location-ngxrbh81.js} +28 -28
  201. package/dist/chunks/{tool-output-k1dyhccn.js → location-njfj8ewx.js} +14 -14
  202. package/dist/chunks/{tool-output-d64cx63j.js → location-nkc01eya.js} +4 -4
  203. package/dist/chunks/{tool-output-3y4503xd.js → location-nn8wg6es.js} +6 -6
  204. package/dist/chunks/{tool-output-hpbvv96n.js → location-npqdxqpg.js} +21 -21
  205. package/dist/chunks/{tool-output-p015t6z3.js → location-p015t6z3.js} +2 -2
  206. package/dist/chunks/{tool-output-5v6z662y.js → location-p3c47fx7.js} +23 -23
  207. package/dist/chunks/{tool-output-3ssszjcv.js → location-p42xfgpg.js} +23 -23
  208. package/dist/chunks/{tool-output-1yq9hg58.js → location-p7vhpwh8.js} +5 -5
  209. package/dist/chunks/{tool-output-axnwbd4n.js → location-pac9cg3x.js} +4 -4
  210. package/dist/chunks/{tool-output-2wjqwetp.js → location-pbaqepy9.js} +5 -5
  211. package/dist/chunks/{tool-output-jx89vj1k.js → location-pc1v25hk.js} +3 -3
  212. package/dist/chunks/{tool-output-pknna89w.js → location-pknna89w.js} +1 -1
  213. package/dist/chunks/{tool-output-ede5t31q.js → location-px99x85z.js} +17 -17
  214. package/dist/chunks/{tool-output-248g8pq7.js → location-pypxtw5w.js} +18 -18
  215. package/dist/chunks/{tool-output-g729x6ds.js → location-q5vn80g9.js} +14 -14
  216. package/dist/chunks/{tool-output-drex4pzq.js → location-q9dg54zr.js} +9 -9
  217. package/dist/chunks/{tool-output-89sdcr2v.js → location-qah7t4da.js} +6 -6
  218. package/dist/chunks/{tool-output-h4f6vs3g.js → location-qj7jded1.js} +14 -14
  219. package/dist/chunks/{tool-output-8jztxfpf.js → location-qjgzc4b4.js} +4 -4
  220. package/dist/chunks/{tool-output-pt4tanng.js → location-qtqp5fvy.js} +30 -30
  221. package/dist/chunks/{tool-output-s9gds8pe.js → location-qzzv0ezg.js} +7 -7
  222. package/dist/chunks/{tool-output-5dab8ama.js → location-r0rzdwgt.js} +8 -8
  223. package/dist/chunks/{tool-output-r0yr0wbs.js → location-r0yr0wbs.js} +1 -1
  224. package/dist/chunks/{tool-output-b28mnwwt.js → location-r2z94j39.js} +6 -6
  225. package/dist/chunks/{tool-output-r542h3bh.js → location-r542h3bh.js} +1 -1
  226. package/dist/chunks/{tool-output-33jn8j87.js → location-r64cczjp.js} +13 -13
  227. package/dist/chunks/{tool-output-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
  228. package/dist/chunks/{tool-output-fc2fw478.js → location-rbckb2ty.js} +17 -17
  229. package/dist/chunks/{tool-output-rjxgb9tb.js → location-rn8hfrah.js} +19 -19
  230. package/dist/chunks/{tool-output-y8kfcwrc.js → location-rqjkyyyt.js} +14 -14
  231. package/dist/chunks/{tool-output-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
  232. package/dist/chunks/{tool-output-zx72xjvg.js → location-rxbr5cvt.js} +44 -44
  233. package/dist/chunks/{tool-output-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
  234. package/dist/chunks/{tool-output-rtpnqabj.js → location-sgnyye5r.js} +27 -27
  235. package/dist/chunks/{tool-output-sqjzf8x2.js → location-sqjzf8x2.js} +1 -1
  236. package/dist/chunks/{tool-output-jc5r9pb7.js → location-sv689qty.js} +21 -21
  237. package/dist/chunks/{tool-output-b2jr87qa.js → location-tan2h6ve.js} +25 -25
  238. package/dist/chunks/{tool-output-tczq8hjw.js → location-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{tool-output-bem2npsx.js → location-tfg9hd0y.js} +29 -29
  240. package/dist/chunks/{tool-output-aedwt843.js → location-tg1vr1qt.js} +8 -8
  241. package/dist/chunks/{tool-output-q4b2w85g.js → location-tkkm20f7.js} +19 -19
  242. package/dist/chunks/{tool-output-ne2q04mf.js → location-tpm1qpxt.js} +9 -9
  243. package/dist/chunks/{tool-output-3vdwfrk9.js → location-tv1fv7bp.js} +5 -5
  244. package/dist/chunks/{tool-output-twv2r8f4.js → location-twv2r8f4.js} +2 -2
  245. package/dist/chunks/{tool-output-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{tool-output-f1ms64q9.js → location-v76p8btm.js} +5 -5
  247. package/dist/chunks/{tool-output-vd3b3yk9.js → location-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{tool-output-k9gdv7wj.js → location-vdgmg1hd.js} +13 -13
  249. package/dist/chunks/{tool-output-veqvce7d.js → location-veqvce7d.js} +1 -1
  250. package/dist/chunks/{tool-output-seh10k5w.js → location-vghb18mt.js} +16 -16
  251. package/dist/chunks/{tool-output-6gm7hc9m.js → location-vpnzc5p3.js} +32 -32
  252. package/dist/chunks/{tool-output-n7bnkb3p.js → location-vrcsa8qx.js} +9 -9
  253. package/dist/chunks/{tool-output-7yect7x1.js → location-vwvg46tm.js} +2 -2
  254. package/dist/chunks/{tool-output-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{tool-output-3dg4aj2t.js → location-w4hzka6x.js} +13 -13
  256. package/dist/chunks/{tool-output-rbpy9kt0.js → location-w6frvacy.js} +33 -33
  257. package/dist/chunks/{tool-output-wakvkjy4.js → location-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{tool-output-wd87259q.js → location-wd87259q.js} +1 -1
  259. package/dist/chunks/{tool-output-hdfrs5mg.js → location-wdmx20pv.js} +9 -9
  260. package/dist/chunks/{tool-output-ympsf4bd.js → location-wgq490fn.js} +21 -21
  261. package/dist/chunks/{tool-output-j8849abs.js → location-wm875330.js} +30 -30
  262. package/dist/chunks/{tool-output-fgqacn3a.js → location-wnpz0s1q.js} +6 -6
  263. package/dist/chunks/{tool-output-y2c4sbnk.js → location-wv5ws3cz.js} +23 -23
  264. package/dist/chunks/{tool-output-ek92bk2r.js → location-x16k5wpx.js} +36 -36
  265. package/dist/chunks/{tool-output-jccf4379.js → location-x3gjy9c2.js} +9 -9
  266. package/dist/chunks/{tool-output-hvsnx3z0.js → location-x3r2mbb5.js} +11 -11
  267. package/dist/chunks/{tool-output-69gn191w.js → location-x4y1x265.js} +23 -23
  268. package/dist/chunks/{tool-output-6pj63jbt.js → location-x514tm1v.js} +44 -44
  269. package/dist/chunks/{tool-output-em0f81yy.js → location-x6615g0m.js} +3 -3
  270. package/dist/chunks/{tool-output-6px9atyk.js → location-xgfj5271.js} +9 -9
  271. package/dist/chunks/{tool-output-ga2dp1ny.js → location-xjx81hwy.js} +43 -43
  272. package/dist/chunks/{tool-output-xkfczkpn.js → location-xkfczkpn.js} +3 -3
  273. package/dist/chunks/{tool-output-70h1qnfn.js → location-xkp5751n.js} +17 -17
  274. package/dist/chunks/{tool-output-m7xh3h0x.js → location-xsact9zs.js} +4 -4
  275. package/dist/chunks/{tool-output-p0amseq2.js → location-y15wyx54.js} +3 -3
  276. package/dist/chunks/{tool-output-9tvpxs1q.js → location-y4n6pw34.js} +4 -4
  277. package/dist/chunks/location-y7z4tzab.js +517 -0
  278. package/dist/chunks/{tool-output-wesc8nnt.js → location-y8gj0fyz.js} +12 -12
  279. package/dist/chunks/{tool-output-yb20nhc3.js → location-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{tool-output-wfz7x22a.js → location-yeyr4dj8.js} +33 -33
  281. package/dist/chunks/{tool-output-hhkkbxc9.js → location-ymrm2a13.js} +9 -9
  282. package/dist/chunks/{tool-output-a6kaasdq.js → location-yrvdznpz.js} +15 -15
  283. package/dist/chunks/{tool-output-vfntgn96.js → location-ywpksxwp.js} +16 -16
  284. package/dist/chunks/{tool-output-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{tool-output-z38nccrw.js → location-z38nccrw.js} +1 -1
  286. package/dist/chunks/{tool-output-ewyv1vrd.js → location-z3bph6wb.js} +5 -5
  287. package/dist/chunks/{tool-output-e0p4kz3g.js → location-z5m176sc.js} +27 -27
  288. package/dist/chunks/{tool-output-68kb9z9h.js → location-zbqbngfz.js} +15 -15
  289. package/dist/chunks/{tool-output-zkg84ctx.js → location-zkg84ctx.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +87 -87
  295. package/dist/config/discovery.js +87 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +104 -104
  298. package/dist/config/plugin/agent.js +120 -120
  299. package/dist/config/plugin/command.js +216 -216
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +118 -118
  305. package/dist/config/plugin/instruction.js +118 -118
  306. package/dist/config/plugin/location-watcher.js +118 -118
  307. package/dist/config/plugin/mcp.js +127 -127
  308. package/dist/config/plugin/policy.js +119 -119
  309. package/dist/config/plugin/provider.js +118 -118
  310. package/dist/config/plugin/reference.js +120 -120
  311. package/dist/config/plugin/shell.js +118 -118
  312. package/dist/config/plugin/skill-file.js +107 -107
  313. package/dist/config/plugin/skill-scan.js +1 -1
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +118 -118
  316. package/dist/config/plugin/source.js +121 -121
  317. package/dist/config/plugin/tool-output.js +119 -119
  318. package/dist/config/plugin/websearch.js +117 -117
  319. package/dist/config/plugin/worktree.js +120 -120
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/console-access.js +1 -1
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +89 -89
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  395. package/dist/database/migration.gen.js +53 -53
  396. package/dist/database/migration.js +55 -55
  397. package/dist/database/path.js +2 -2
  398. package/dist/database/schema.gen.js +1 -1
  399. package/dist/database/schema.sql.js +1 -1
  400. package/dist/database/sqlite.bun.js +1 -1
  401. package/dist/database/sqlite.js +1 -1
  402. package/dist/database/sqlite.node.js +1 -1
  403. package/dist/database/sqlite.workerd.js +1 -1
  404. package/dist/database/v1-migration.bun.js +97 -97
  405. package/dist/database/v1-migration.js +1 -1
  406. package/dist/effect/app-node-builder.js +374 -374
  407. package/dist/effect/app-node-platform.js +2 -2
  408. package/dist/effect/keyed-mutex.js +3 -3
  409. package/dist/effect/websocket-constructor.js +1 -1
  410. package/dist/environment/driver.js +1 -1
  411. package/dist/environment/environment.js +98 -98
  412. package/dist/environment/exec-defaults.js +2 -2
  413. package/dist/environment/files.js +1 -1
  414. package/dist/environment/index.js +98 -98
  415. package/dist/environment/local.js +2 -2
  416. package/dist/environment/memory.js +2 -2
  417. package/dist/environment/unavailable.js +1 -1
  418. package/dist/event/sql.js +1 -1
  419. package/dist/event-logger.js +74 -74
  420. package/dist/file-access.js +109 -109
  421. package/dist/file-mutation.js +99 -99
  422. package/dist/file-retention.js +1 -1
  423. package/dist/filesystem/fff.bun.js +2 -2
  424. package/dist/filesystem/fff.js +1 -1
  425. package/dist/filesystem/fff.node.js +2 -2
  426. package/dist/filesystem/fff.workerd.js +2 -2
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +102 -102
  431. package/dist/filesystem/watcher-binding.js +1 -1
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +105 -105
  434. package/dist/form.js +86 -86
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +92 -92
  437. package/dist/generate.js +110 -110
  438. package/dist/git.js +11 -11
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +104 -104
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +365 -365
  462. package/dist/instruction-discovery.js +88 -88
  463. package/dist/instructions/builtins.js +92 -92
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +91 -91
  467. package/dist/job.js +80 -80
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +77 -77
  470. package/dist/location-activity.js +158 -158
  471. package/dist/location-lifecycle.js +112 -112
  472. package/dist/location-service-map.js +91 -91
  473. package/dist/location-services.js +362 -362
  474. package/dist/location.js +92 -92
  475. package/dist/managed-policy.js +4 -4
  476. package/dist/mcp/client.js +96 -96
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +143 -143
  479. package/dist/mcp/oauth.js +82 -82
  480. package/dist/mcp/socket-client.js +1 -1
  481. package/dist/mcp/stdio.js +95 -95
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +104 -104
  484. package/dist/model-resolver.js +102 -102
  485. package/dist/model-retry.js +1 -1
  486. package/dist/model.js +105 -105
  487. package/dist/models-dev.js +106 -106
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +86 -86
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +114 -114
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +88 -88
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +79 -79
  497. package/dist/plugin/agent.js +80 -80
  498. package/dist/plugin/command.js +107 -107
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +5 -5
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +335 -335
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +101 -101
  506. package/dist/plugin/module.js +117 -117
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +107 -107
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  511. package/dist/plugin/provider/azure.js +116 -116
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/chatgpt.js +118 -118
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +114 -114
  518. package/dist/plugin/provider/databricks.js +1 -1
  519. package/dist/plugin/provider/digitalocean.js +98 -98
  520. package/dist/plugin/provider/dynamic.js +2 -2
  521. package/dist/plugin/provider/factory.js +1 -1
  522. package/dist/plugin/provider/github-copilot.js +100 -100
  523. package/dist/plugin/provider/gitlab.js +98 -98
  524. package/dist/plugin/provider/google-vertex.js +115 -115
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +82 -82
  527. package/dist/plugin/provider/lmstudio.js +127 -127
  528. package/dist/plugin/provider/local.js +124 -124
  529. package/dist/plugin/provider/modal.js +97 -97
  530. package/dist/plugin/provider/neon.js +1 -1
  531. package/dist/plugin/provider/nvidia.js +1 -1
  532. package/dist/plugin/provider/ollama.js +127 -127
  533. package/dist/plugin/provider/openai-context-caps.js +95 -95
  534. package/dist/plugin/provider/openai.js +120 -120
  535. package/dist/plugin/provider/opencode.js +104 -104
  536. package/dist/plugin/provider/openrouter.js +96 -96
  537. package/dist/plugin/provider/perplexity.js +2 -2
  538. package/dist/plugin/provider/poe.js +83 -83
  539. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  540. package/dist/plugin/provider/sap-ai-core.js +96 -96
  541. package/dist/plugin/provider/sdk-factory.js +1 -1
  542. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  543. package/dist/plugin/provider/vercel.js +95 -95
  544. package/dist/plugin/provider/vllm.js +127 -127
  545. package/dist/plugin/provider/xai.js +96 -96
  546. package/dist/plugin/provider/zenmux.js +1 -1
  547. package/dist/plugin/provider.js +171 -171
  548. package/dist/plugin/sdk.js +80 -80
  549. package/dist/plugin/service.js +3 -3
  550. package/dist/plugin/skill.js +136 -136
  551. package/dist/plugin/source-directory.js +1 -1
  552. package/dist/plugin/supervisor.js +352 -352
  553. package/dist/plugin/tool-input-repair.js +4 -4
  554. package/dist/plugin/update.js +6 -6
  555. package/dist/plugin/vcs/git.js +91 -91
  556. package/dist/plugin/vcs/hg.js +91 -91
  557. package/dist/plugin/verbosity.js +98 -98
  558. package/dist/plugin/warming.js +116 -116
  559. package/dist/plugin/websearch/exa.js +7 -7
  560. package/dist/plugin/websearch/firecrawl.js +8 -8
  561. package/dist/plugin/websearch/index.js +9 -9
  562. package/dist/plugin/websearch/mcp.js +6 -6
  563. package/dist/plugin/websearch/parallel.js +8 -8
  564. package/dist/plugin/websearch/tavily.js +6 -6
  565. package/dist/plugin/websearch/tinyfish.js +8 -8
  566. package/dist/plugin.js +231 -231
  567. package/dist/project/schema.js +8 -8
  568. package/dist/project/sql.js +4 -4
  569. package/dist/project.js +95 -95
  570. package/dist/provider.js +106 -106
  571. package/dist/pty/protocol.js +1 -1
  572. package/dist/pty/ticket.js +1 -1
  573. package/dist/pty.js +103 -103
  574. package/dist/reference/instructions.js +92 -92
  575. package/dist/reference.js +94 -94
  576. package/dist/repository-cache.js +86 -86
  577. package/dist/repository.js +1 -1
  578. package/dist/ripgrep/binary.js +2 -2
  579. package/dist/ripgrep.js +100 -100
  580. package/dist/rpc.js +91 -91
  581. package/dist/schema.js +1 -1
  582. package/dist/session/affinity.js +1 -1
  583. package/dist/session/command.js +78 -78
  584. package/dist/session/compaction.js +141 -141
  585. package/dist/session/context.js +167 -167
  586. package/dist/session/diff.js +93 -93
  587. package/dist/session/environment.js +5 -5
  588. package/dist/session/error.js +5 -5
  589. package/dist/session/event.js +1 -1
  590. package/dist/session/execution/restart.js +223 -223
  591. package/dist/session/execution.js +133 -133
  592. package/dist/session/generate.js +167 -167
  593. package/dist/session/history.js +13 -13
  594. package/dist/session/inbox.js +97 -97
  595. package/dist/session/info.js +3 -3
  596. package/dist/session/instruction-entry.js +79 -79
  597. package/dist/session/instruction-state.js +8 -8
  598. package/dist/session/instructions.js +102 -102
  599. package/dist/session/message-updater.js +2 -2
  600. package/dist/session/message.js +1 -1
  601. package/dist/session/model-request.js +123 -123
  602. package/dist/session/model-transport.js +7 -7
  603. package/dist/session/move.js +135 -135
  604. package/dist/session/projector.js +93 -93
  605. package/dist/session/prompt.js +110 -110
  606. package/dist/session/recent-text.js +1 -1
  607. package/dist/session/revert.js +99 -99
  608. package/dist/session/run-coordinator.js +3 -3
  609. package/dist/session/runner/index.js +3 -3
  610. package/dist/session/runner/llm.js +233 -233
  611. package/dist/session/runner/max-steps.js +1 -1
  612. package/dist/session/runner/model.js +105 -105
  613. package/dist/session/runner/publish-llm-event.js +118 -118
  614. package/dist/session/runner/retry.js +5 -5
  615. package/dist/session/runner/step.js +131 -131
  616. package/dist/session/runner/to-llm-message.js +14 -14
  617. package/dist/session/schema.js +5 -5
  618. package/dist/session/session.js +165 -165
  619. package/dist/session/shell.js +132 -132
  620. package/dist/session/skill.js +108 -108
  621. package/dist/session/sql.js +5 -5
  622. package/dist/session/stats.js +77 -77
  623. package/dist/session/store.js +89 -89
  624. package/dist/session/subagent-completion.js +1 -1
  625. package/dist/session/subagent-job.js +214 -214
  626. package/dist/session/system-prompt.js +1 -1
  627. package/dist/session/title.js +171 -171
  628. package/dist/session/to-session-error.js +117 -117
  629. package/dist/session/transfer.js +219 -219
  630. package/dist/session/usage.js +1 -1
  631. package/dist/session.js +218 -218
  632. package/dist/shell/parse.js +6 -6
  633. package/dist/shell/result.js +1 -1
  634. package/dist/shell/scan.js +1 -1
  635. package/dist/shell/select.js +15 -15
  636. package/dist/shell.js +132 -132
  637. package/dist/skill/discovery.js +6 -6
  638. package/dist/skill/instructions.js +110 -110
  639. package/dist/skill.js +115 -115
  640. package/dist/snapshot.js +98 -98
  641. package/dist/state.js +1 -1
  642. package/dist/tool/html-markdown.js +1 -1
  643. package/dist/tool/http-body.js +1 -1
  644. package/dist/tool/mcp.js +140 -140
  645. package/dist/tool/plugin/edit.js +125 -125
  646. package/dist/tool/plugin/file-diff.js +1 -1
  647. package/dist/tool/plugin/glob.js +125 -125
  648. package/dist/tool/plugin/grep.js +129 -129
  649. package/dist/tool/plugin/mcp-resource.js +129 -129
  650. package/dist/tool/plugin/opencode.js +114 -114
  651. package/dist/tool/plugin/patch.js +127 -127
  652. package/dist/tool/plugin/question.js +108 -108
  653. package/dist/tool/plugin/read.js +130 -130
  654. package/dist/tool/plugin/shell.js +217 -217
  655. package/dist/tool/plugin/skill.js +118 -118
  656. package/dist/tool/plugin/subagent.js +221 -221
  657. package/dist/tool/plugin/todo.js +140 -140
  658. package/dist/tool/plugin/webfetch.js +118 -118
  659. package/dist/tool/plugin/websearch.js +115 -115
  660. package/dist/tool/plugin/write.js +127 -127
  661. package/dist/tool/read-filesystem.js +105 -105
  662. package/dist/tool/runtime.js +1 -1
  663. package/dist/tool-output.js +7 -7
  664. package/dist/tool.js +14 -14
  665. package/dist/types/aisdk.d.ts +1 -1
  666. package/dist/types/effect/app-node-platform.d.ts +1 -1
  667. package/dist/types/generate.d.ts +1 -1
  668. package/dist/types/model-resolver.d.ts +1 -1
  669. package/dist/types/model-retry.d.ts +1 -1
  670. package/dist/types/plugin/internal.d.ts +2 -2
  671. package/dist/types/provider.d.ts +2 -2
  672. package/dist/types/session/compaction.d.ts +2 -2
  673. package/dist/types/session/generate.d.ts +2 -2
  674. package/dist/types/session/history.d.ts +1 -1
  675. package/dist/types/session/model-request.d.ts +2 -2
  676. package/dist/types/session/runner/index.d.ts +1 -1
  677. package/dist/types/session/runner/model.d.ts +1 -1
  678. package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
  679. package/dist/types/session/runner/retry.d.ts +1 -1
  680. package/dist/types/session/runner/step.d.ts +2 -2
  681. package/dist/types/session/runner/to-llm-message.d.ts +1 -1
  682. package/dist/types/session/title.d.ts +1 -1
  683. package/dist/types/session/to-session-error.d.ts +1 -1
  684. package/dist/types/session/usage.d.ts +1 -1
  685. package/dist/types/tool/runtime.d.ts +1 -1
  686. package/dist/types/tool.d.ts +1 -1
  687. package/dist/usage-limits.js +93 -93
  688. package/dist/util/error-summary.js +1 -1
  689. package/dist/util/git-executable.js +3 -3
  690. package/dist/util/lazy.js +1 -1
  691. package/dist/util/slug.js +1 -1
  692. package/dist/util/token.js +1 -1
  693. package/dist/util/which.js +1 -1
  694. package/dist/util/wildcard.js +1 -1
  695. package/dist/v1/config/agent.js +3 -3
  696. package/dist/v1/config/command.js +1 -1
  697. package/dist/v1/config/mcp.js +4 -4
  698. package/dist/v1/config/migrate.js +97 -97
  699. package/dist/v1/config/permission.js +1 -1
  700. package/dist/v1/config/plugin.js +3 -3
  701. package/dist/v1/config/provider-options.js +1 -1
  702. package/dist/v1/config/provider.js +4 -4
  703. package/dist/variant.js +98 -98
  704. package/dist/vcs/patch.js +1 -1
  705. package/dist/vcs.js +94 -94
  706. package/dist/voice.js +92 -92
  707. package/dist/websearch.js +88 -88
  708. package/dist/wellknown/plugin.js +80 -80
  709. package/dist/wellknown.js +81 -81
  710. package/dist/workspace/driver.js +3 -3
  711. package/dist/workspace/sql.js +1 -1
  712. package/dist/workspace.js +84 -84
  713. package/dist/worktree/directory.js +2 -2
  714. package/dist/worktree/git.js +9 -9
  715. package/dist/worktree/sql.js +5 -5
  716. package/dist/worktree/strategies.js +94 -94
  717. package/dist/worktree.js +103 -103
  718. package/package.json +8 -8
  719. package/dist/chunks/tool-output-cw8zeq3d.js +0 -517
  720. package/dist/chunks/tool-output-grzehpz7.js +0 -18
  721. package/dist/chunks/tool-output-jr7x9p7n.js +0 -26
  722. package/dist/chunks/tool-output-pxgxg1jw.js +0 -261
  723. /package/dist/chunks/{tool-output-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  724. /package/dist/chunks/{tool-output-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  725. /package/dist/chunks/{tool-output-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  726. /package/dist/chunks/{tool-output-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  727. /package/dist/chunks/{tool-output-24dcb14g.js → location-24dcb14g.js} +0 -0
  728. /package/dist/chunks/{tool-output-2710q6r3.js → location-2710q6r3.js} +0 -0
  729. /package/dist/chunks/{tool-output-2bv980vf.js → location-2bv980vf.js} +0 -0
  730. /package/dist/chunks/{tool-output-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  731. /package/dist/chunks/{tool-output-359p4xyc.js → location-359p4xyc.js} +0 -0
  732. /package/dist/chunks/{tool-output-3asan66x.js → location-3asan66x.js} +0 -0
  733. /package/dist/chunks/{tool-output-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  734. /package/dist/chunks/{tool-output-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  735. /package/dist/chunks/{tool-output-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  736. /package/dist/chunks/{tool-output-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  737. /package/dist/chunks/{tool-output-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{tool-output-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{tool-output-53557ph1.js → location-53557ph1.js} +0 -0
  740. /package/dist/chunks/{tool-output-550bvhaj.js → location-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{tool-output-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  742. /package/dist/chunks/{tool-output-6prwharc.js → location-6prwharc.js} +0 -0
  743. /package/dist/chunks/{tool-output-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{tool-output-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{tool-output-7m9af43g.js → location-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{tool-output-822emrt2.js → location-822emrt2.js} +0 -0
  747. /package/dist/chunks/{tool-output-84wd9syh.js → location-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{tool-output-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{tool-output-8n3pysct.js → location-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{tool-output-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{tool-output-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{tool-output-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{tool-output-a058387c.js → location-a058387c.js} +0 -0
  754. /package/dist/chunks/{tool-output-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{tool-output-af5trqkr.js → location-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{tool-output-afrmfg78.js → location-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{tool-output-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{tool-output-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{tool-output-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  760. /package/dist/chunks/{tool-output-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  761. /package/dist/chunks/{tool-output-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  762. /package/dist/chunks/{tool-output-cqv5kn06.js → location-cqv5kn06.js} +0 -0
  763. /package/dist/chunks/{tool-output-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  764. /package/dist/chunks/{tool-output-d9fn303g.js → location-d9fn303g.js} +0 -0
  765. /package/dist/chunks/{tool-output-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  766. /package/dist/chunks/{tool-output-dajrwvna.js → location-dajrwvna.js} +0 -0
  767. /package/dist/chunks/{tool-output-dap0rakb.js → location-dap0rakb.js} +0 -0
  768. /package/dist/chunks/{tool-output-df08tz66.js → location-df08tz66.js} +0 -0
  769. /package/dist/chunks/{tool-output-dy18nga0.js → location-dy18nga0.js} +0 -0
  770. /package/dist/chunks/{tool-output-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  771. /package/dist/chunks/{tool-output-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  772. /package/dist/chunks/{tool-output-ec1grn59.js → location-ec1grn59.js} +0 -0
  773. /package/dist/chunks/{tool-output-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  774. /package/dist/chunks/{tool-output-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  775. /package/dist/chunks/{tool-output-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  776. /package/dist/chunks/{tool-output-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  777. /package/dist/chunks/{tool-output-faypxj3z.js → location-faypxj3z.js} +0 -0
  778. /package/dist/chunks/{tool-output-fd410y7t.js → location-fd410y7t.js} +0 -0
  779. /package/dist/chunks/{tool-output-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  780. /package/dist/chunks/{tool-output-g86h250q.js → location-g86h250q.js} +0 -0
  781. /package/dist/chunks/{tool-output-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  782. /package/dist/chunks/{tool-output-gftt206x.js → location-gftt206x.js} +0 -0
  783. /package/dist/chunks/{tool-output-hcxmzztb.js → location-hcxmzztb.js} +0 -0
  784. /package/dist/chunks/{tool-output-hk9envan.js → location-hk9envan.js} +0 -0
  785. /package/dist/chunks/{tool-output-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  786. /package/dist/chunks/{tool-output-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  787. /package/dist/chunks/{tool-output-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  788. /package/dist/chunks/{tool-output-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  789. /package/dist/chunks/{tool-output-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  790. /package/dist/chunks/{tool-output-jwr30sdr.js → location-jwr30sdr.js} +0 -0
  791. /package/dist/chunks/{tool-output-jze0r7bz.js → location-jze0r7bz.js} +0 -0
  792. /package/dist/chunks/{tool-output-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  793. /package/dist/chunks/{tool-output-m18g726c.js → location-m18g726c.js} +0 -0
  794. /package/dist/chunks/{tool-output-mp448xyj.js → location-mp448xyj.js} +0 -0
  795. /package/dist/chunks/{tool-output-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  796. /package/dist/chunks/{tool-output-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  797. /package/dist/chunks/{tool-output-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  798. /package/dist/chunks/{tool-output-njntx4h6.js → location-njntx4h6.js} +0 -0
  799. /package/dist/chunks/{tool-output-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
  800. /package/dist/chunks/{tool-output-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  801. /package/dist/chunks/{tool-output-q74kybfr.js → location-q74kybfr.js} +0 -0
  802. /package/dist/chunks/{tool-output-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  803. /package/dist/chunks/{tool-output-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  804. /package/dist/chunks/{tool-output-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  805. /package/dist/chunks/{tool-output-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  806. /package/dist/chunks/{tool-output-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  807. /package/dist/chunks/{tool-output-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  808. /package/dist/chunks/{tool-output-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  809. /package/dist/chunks/{tool-output-sjmm3wxa.js → location-sjmm3wxa.js} +0 -0
  810. /package/dist/chunks/{tool-output-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  811. /package/dist/chunks/{tool-output-ve7vex1e.js → location-ve7vex1e.js} +0 -0
  812. /package/dist/chunks/{tool-output-w803qqfp.js → location-w803qqfp.js} +0 -0
  813. /package/dist/chunks/{tool-output-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  814. /package/dist/chunks/{tool-output-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  815. /package/dist/chunks/{tool-output-wjj7prxr.js → location-wjj7prxr.js} +0 -0
  816. /package/dist/chunks/{tool-output-wtztk69x.js → location-wtztk69x.js} +0 -0
  817. /package/dist/chunks/{tool-output-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  818. /package/dist/chunks/{tool-output-x61499pn.js → location-x61499pn.js} +0 -0
  819. /package/dist/chunks/{tool-output-y44na4kk.js → location-y44na4kk.js} +0 -0
  820. /package/dist/chunks/{tool-output-y8f7s663.js → location-y8f7s663.js} +0 -0
  821. /package/dist/chunks/{tool-output-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  822. /package/dist/chunks/{tool-output-ym463w8f.js → location-ym463w8f.js} +0 -0
  823. /package/dist/chunks/{tool-output-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  824. /package/dist/chunks/{tool-output-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID13,
2
+ ID8,
3
3
  mergeOverlay2
4
- } from "./tool-output-rbpy9kt0.js";
4
+ } from "./location-w6frvacy.js";
5
5
  import {
6
- ID12,
6
+ ID7,
7
7
  VariantID2,
8
- Info22,
8
+ Info18,
9
9
  compatibility2
10
- } from "./tool-output-c58wr0zj.js";
10
+ } from "./location-ej5n7emy.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-output-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID8.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID12.make(item.id);
78
+ const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID7.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info22.make({
98
- ...Info22.default(providerID, id),
97
+ return Info18.make({
98
+ ...Info18.default(providerID, id),
99
99
  id,
100
- modelID: ID12.make(remote.id),
100
+ modelID: ID7.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./tool-output-61ennm6n.js";
3
+ } from "./location-42jd4697.js";
4
4
  import {
5
5
  Service86
6
- } from "./tool-output-682mbbtd.js";
6
+ } from "./location-cfchc4zb.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./tool-output-pt4tanng.js";
9
+ Event16
10
+ } from "./location-qtqp5fvy.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./tool-output-j8849abs.js";
14
+ } from "./location-wm875330.js";
15
15
  import {
16
- ID13,
16
+ ID8,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service79
20
- } from "./tool-output-rbpy9kt0.js";
19
+ Service70
20
+ } from "./location-w6frvacy.js";
21
21
  import {
22
- ID12
23
- } from "./tool-output-c58wr0zj.js";
22
+ ID7
23
+ } from "./location-ej5n7emy.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./tool-output-m666jk6r.js";
25
+ load3,
26
+ derive3
27
+ } from "./location-k781pf8j.js";
28
28
  import {
29
29
  useragent2
30
- } from "./tool-output-60p7g2te.js";
30
+ } from "./location-2s1jcspe.js";
31
31
  import {
32
- ID11
33
- } from "./tool-output-s0j4vfyb.js";
32
+ ID14
33
+ } from "./location-6grvz7sb.js";
34
34
  import {
35
35
  get5
36
- } from "./tool-output-3nnrz6f6.js";
36
+ } from "./location-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/ai/utils/record";
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
66
66
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
67
67
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
68
68
  var oauth = (app) => ({
69
- integrationID: ID14.make("github-copilot"),
69
+ integrationID: ID9.make("github-copilot"),
70
70
  method: {
71
71
  id: methodID,
72
72
  type: "oauth",
@@ -164,7 +164,7 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service79;
167
+ const providers = yield* Service70;
168
168
  const bus = yield* Service86;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
181
181
  return;
182
182
  }
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
- const provider = yield* providers.get(ID13.githubCopilot);
184
+ const provider = yield* providers.get(ID8.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load2(url, {
186
+ try: () => load3(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
203
203
  editor.method.update(oauth(ctx.app));
204
204
  });
205
205
  yield* ctx.provider.transform((evt) => {
206
- const item = evt.get(ID13.githubCopilot);
206
+ const item = evt.get(ID8.githubCopilot);
207
207
  if (!item)
208
208
  return;
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
231
231
  }
232
232
  });
233
233
  yield* ctx.model.transform((models) => {
234
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
235
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
234
+ if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
235
+ models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
236
236
  model.enabled = false;
237
237
  });
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
- if (evt.model.providerID !== ID13.githubCopilot)
244
+ if (evt.model.providerID !== ID8.githubCopilot)
245
245
  return;
246
246
  if (evt.package !== "@ai-sdk/github-copilot")
247
247
  return;
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
250
250
  evt.sdk = mod.createOpenaiCompatible(evt.options);
251
251
  }));
252
252
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID13.githubCopilot)
253
+ if (evt.model.providerID !== ID8.githubCopilot)
254
254
  return;
255
255
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
256
256
  return;
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
260
260
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
261
261
  if (interaction !== "conversation-agent")
262
262
  evt.headers["x-initiator"] = "agent";
263
- }), { providerID: ID13.githubCopilot });
263
+ }), { providerID: ID8.githubCopilot });
264
264
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
265
- if (evt.model.providerID !== ID13.githubCopilot)
265
+ if (evt.model.providerID !== ID8.githubCopilot)
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID14.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
277
277
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
278
278
  return;
279
279
  }));
280
- }), { providerID: ID13.githubCopilot });
280
+ }), { providerID: ID8.githubCopilot });
281
281
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
282
- if (evt.model.providerID !== ID13.githubCopilot)
282
+ if (evt.model.providerID !== ID8.githubCopilot)
283
283
  return;
284
284
  const token = evt.request.headers.get("x-api-key");
285
285
  if (!token)
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
287
287
  const text = yield* Effect.promise(() => evt.request.clone().text());
288
288
  const body = Option.getOrUndefined(decodeBody(text));
289
289
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
290
- }), { providerID: ID13.githubCopilot });
290
+ }), { providerID: ID8.githubCopilot });
291
291
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
292
- if (evt.model.providerID !== ID13.githubCopilot)
292
+ if (evt.model.providerID !== ID8.githubCopilot)
293
293
  return;
294
294
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
295
295
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-output-60p7g2te.js";
3
+ } from "./location-2s1jcspe.js";
4
4
  import {
5
5
  call2
6
- } from "./tool-output-w2eysc6j.js";
6
+ } from "./location-40za9wsf.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-output-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin5,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint4
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint4 = "https://search.parallel.ai/mcp";
21
+ var endpoint5 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin37 = define({
50
+ var Plugin5 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin37 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin37 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint4, Plugin37, exports_parallel };
96
+ export { endpoint5, Plugin5, exports_parallel };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service59
3
- } from "./tool-output-ga2dp1ny.js";
2
+ Service61
3
+ } from "./location-xjx81hwy.js";
4
4
  import {
5
- Service66
6
- } from "./tool-output-a3h99bw5.js";
5
+ Service48
6
+ } from "./location-9btvkpqm.js";
7
7
  import {
8
8
  observe2
9
- } from "./tool-output-6pjqjmy2.js";
9
+ } from "./location-6pjqjmy2.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-output-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin23
18
+ Plugin: () => Plugin36
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin23 = define({
22
+ var Plugin36 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service59;
26
- const image = yield* Service66;
25
+ const config = yield* Service61;
26
+ const image = yield* Service48;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin23 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin23, exports_image };
46
+ export { Plugin36, exports_image };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./tool-output-682mbbtd.js";
4
+ } from "./location-cfchc4zb.js";
5
5
  import {
6
6
  __export
7
- } from "./tool-output-9rqn6x4v.js";
7
+ } from "./location-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event19,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID16,
20
- Info: () => Info27,
19
+ ID: () => ID18,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError11,
23
+ NotFoundError: () => NotFoundError12,
24
24
  Reply: () => Reply3,
25
- Service: () => Service82,
25
+ Service: () => Service85,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer28,
29
- node: () => node86,
29
+ node: () => node89,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event19 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID16 = Form.ID;
39
- var Info27 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID16
47
+ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID16
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID16
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID16,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service82 extends Context.Service()("@opencode/Form") {
82
+ class Service85 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer28 = Layer.effect(Service82, Effect.gen(function* () {
84
+ var layer28 = Layer.effect(Service85, Effect.gen(function* () {
85
85
  const bus = yield* Service86;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID16.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service82, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service82.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service85.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node86 = makeLocationNode({ service: Service82, layer: layer28, deps: [node90] });
167
+ var node89 = makeLocationNode({ service: Service85, layer: layer28, deps: [node90] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID16, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer28, node86, validateAnswer2, validateFields2, exports_form, Event19 };
319
+ export { ID18, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service85, layer28, node89, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./tool-output-682mbbtd.js";
4
+ } from "./location-cfchc4zb.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./tool-output-vfntgn96.js";
6
+ Service81,
7
+ node85
8
+ } from "./location-ywpksxwp.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./tool-output-s0j4vfyb.js";
10
+ Service79,
11
+ node83
12
+ } from "./location-6grvz7sb.js";
13
13
  import {
14
- NotFoundError10
15
- } from "./tool-output-5kbev7nh.js";
14
+ NotFoundError9
15
+ } from "./location-kkew1p9e.js";
16
16
  import {
17
- Service75,
18
- node79
19
- } from "./tool-output-y288cn10.js";
17
+ Service77,
18
+ node81
19
+ } from "./location-8ggafv1b.js";
20
20
  import {
21
21
  match2
22
- } from "./tool-output-z38nccrw.js";
22
+ } from "./location-z38nccrw.js";
23
23
  import {
24
- Service74,
25
- node78
26
- } from "./tool-output-0srp2sh0.js";
24
+ Service78,
25
+ node82
26
+ } from "./location-kdr2amtg.js";
27
27
  import {
28
- Service76,
29
- node80
30
- } from "./tool-output-v6h5bgwd.js";
28
+ Service80,
29
+ node84
30
+ } from "./location-231a8wys.js";
31
31
  import {
32
32
  __export
33
- } from "./tool-output-9rqn6x4v.js";
33
+ } from "./location-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
36
  var exports_permission2 = {};
@@ -39,30 +39,30 @@ __export(exports_permission2, {
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event13,
43
- ID: () => ID8,
42
+ Event: () => Event17,
43
+ ID: () => ID12,
44
44
  NotFoundError: () => NotFoundError8,
45
45
  Permission: () => exports_permission2,
46
46
  Reply: () => Reply2,
47
- Request: () => Request2,
47
+ Request: () => Request3,
48
48
  Rule: () => Rule3,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service73,
50
+ Service: () => Service76,
51
51
  Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node77
54
+ node: () => node80
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
59
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event13 } from "@opencode/schema/permission";
60
+ import { Event as Event17 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
- var ID8 = Permission.ID;
63
+ var ID12 = Permission.ID;
64
64
  var Source5 = Permission.Source;
65
- var Request2 = Permission.Request;
65
+ var Request3 = Permission.Request;
66
66
  var Reply2 = Permission.Reply;
67
67
 
68
68
  class DeclinedError2 extends Schema.TaggedError()("Permission.DeclinedError", {}) {
@@ -85,7 +85,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
85
85
  }
86
86
 
87
87
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
88
- requestID: ID8
88
+ requestID: ID12
89
89
  }) {
90
90
  }
91
91
  function evaluate2(action, resource, ...rulesets) {
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service73 extends Context.Service()("@opencode/Permission") {
102
+ class Service76 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service73, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
105
105
  const bus = yield* Service86;
106
- const location = yield* Service83;
107
- const agents = yield* Service77;
108
- const sessions = yield* Service75;
109
- const saved = yield* Service74;
110
- const hooks = yield* Service76;
106
+ const location = yield* Service81;
107
+ const agents = yield* Service79;
108
+ const sessions = yield* Service77;
109
+ const saved = yield* Service78;
110
+ const hooks = yield* Service80;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError10({ sessionID });
133
+ return yield* new NotFoundError9({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
160
160
  });
161
161
  function request(input, message) {
162
162
  return {
163
- id: input.id ?? ID8.create(),
163
+ id: input.id ?? ID12.create(),
164
164
  sessionID: input.sessionID,
165
165
  action: input.action,
166
166
  resources: input.resources,
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
185
185
  }));
186
186
  const ask = Effect.fn("Permission.ask")(function* (input) {
187
187
  if (closed)
188
- return { id: input.id ?? ID8.create(), effect: "deny" };
188
+ return { id: input.id ?? ID12.create(), effect: "deny" };
189
189
  const result = yield* evaluateInput(input);
190
190
  const value = request(input, result.message);
191
191
  if (result.effect === "ask")
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service73.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service76.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node77 = makeLocationNode({
277
- service: Service73,
276
+ var node80 = makeLocationNode({
277
+ service: Service76,
278
278
  layer,
279
- deps: [node90, node87, node81, node79, node78, node80]
279
+ deps: [node90, node85, node83, node81, node82, node84]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID8, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event13 };
282
+ export { PermissionEffect, ID12, Source5, Request3, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service76, node80, exports_permission2, Rule3, Ruleset2, Event17 };