@opencode/core 0.0.0-dev-20451 → 0.0.0-dev-20453

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{model-resolver-ekfwq4bz.js → location-activity-003c7wt2.js} +17 -17
  8. package/dist/chunks/{model-resolver-v7aegc90.js → location-activity-05y64m8b.js} +26 -26
  9. package/dist/chunks/{model-resolver-b9hjm50k.js → location-activity-09cpv53b.js} +12 -12
  10. package/dist/chunks/{model-resolver-taxap598.js → location-activity-0aepwwwc.js} +24 -24
  11. package/dist/chunks/{model-resolver-v2j2nd9r.js → location-activity-0dnsf5nw.js} +20 -20
  12. package/dist/chunks/{model-resolver-m3ma28tp.js → location-activity-0gah3zwh.js} +48 -48
  13. package/dist/chunks/{model-resolver-y2naxmkz.js → location-activity-0j3s9b35.js} +37 -37
  14. package/dist/chunks/{model-resolver-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{model-resolver-dbvwyaaj.js → location-activity-0qc61qqe.js} +6 -6
  16. package/dist/chunks/{model-resolver-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{model-resolver-99cqk6xv.js → location-activity-11f9m2x1.js} +8 -8
  18. package/dist/chunks/{model-resolver-zfe5250d.js → location-activity-13r7c2pb.js} +22 -22
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-1dvck2a7.js → location-activity-1dvck2a7.js} +2 -2
  21. package/dist/chunks/{model-resolver-60wzt80q.js → location-activity-1epnkfvs.js} +12 -12
  22. package/dist/chunks/{model-resolver-23mzt4g8.js → location-activity-1fkbeq5x.js} +5 -5
  23. package/dist/chunks/{model-resolver-ypnw9vt7.js → location-activity-1ghf9962.js} +21 -21
  24. package/dist/chunks/{model-resolver-y3nba2x3.js → location-activity-1nk9x5wk.js} +4 -4
  25. package/dist/chunks/{model-resolver-rz96cyzp.js → location-activity-1wz38aky.js} +18 -18
  26. package/dist/chunks/{model-resolver-1ygqh575.js → location-activity-1ygqh575.js} +2 -2
  27. package/dist/chunks/{model-resolver-rkqabadz.js → location-activity-1ykrta78.js} +44 -44
  28. package/dist/chunks/{model-resolver-21r38tys.js → location-activity-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-70jrxnh2.js → location-activity-21vwh8qv.js} +4 -4
  30. package/dist/chunks/{model-resolver-tx9w5tca.js → location-activity-22sd1qqc.js} +8 -8
  31. package/dist/chunks/{model-resolver-cms9xxzm.js → location-activity-23dvhdvz.js} +32 -32
  32. package/dist/chunks/{model-resolver-1gn2mkkg.js → location-activity-26d8bfbx.js} +7 -7
  33. package/dist/chunks/{model-resolver-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{model-resolver-k3hh5zvs.js → location-activity-2jnps8zt.js} +25 -25
  35. package/dist/chunks/{model-resolver-zm76h1z5.js → location-activity-2kg9s2n1.js} +37 -37
  36. package/dist/chunks/{model-resolver-t4phn8cw.js → location-activity-2mrpqgz7.js} +3 -3
  37. package/dist/chunks/{model-resolver-3ppptnan.js → location-activity-2px4r9gg.js} +6 -6
  38. package/dist/chunks/{model-resolver-vff75evq.js → location-activity-2v8f1jrd.js} +6 -6
  39. package/dist/chunks/{model-resolver-h9hhdsha.js → location-activity-2vswbxe4.js} +32 -32
  40. package/dist/chunks/{model-resolver-myw6wz04.js → location-activity-36whyvt1.js} +10 -10
  41. package/dist/chunks/{model-resolver-7zdrdht4.js → location-activity-3e34z61w.js} +6 -6
  42. package/dist/chunks/{model-resolver-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{model-resolver-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{model-resolver-1t43bwgc.js → location-activity-3kztasyy.js} +36 -36
  45. package/dist/chunks/{model-resolver-3kp3mpme.js → location-activity-3mrs3035.js} +11 -11
  46. package/dist/chunks/{model-resolver-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{model-resolver-dg8e6nc3.js → location-activity-3t1hthfp.js} +18 -18
  48. package/dist/chunks/{model-resolver-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{model-resolver-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{model-resolver-0bfcnrg1.js → location-activity-427t97hr.js} +1 -1
  51. package/dist/chunks/{model-resolver-7190hwh5.js → location-activity-43648r0s.js} +5 -5
  52. package/dist/chunks/{model-resolver-98nepyqz.js → location-activity-43fnt0q1.js} +35 -35
  53. package/dist/chunks/{model-resolver-mv3tycdn.js → location-activity-478pnez3.js} +8 -8
  54. package/dist/chunks/{model-resolver-3f3sb00w.js → location-activity-4cq9zry8.js} +42 -42
  55. package/dist/chunks/{model-resolver-hfm9a2d0.js → location-activity-4egzqqmz.js} +2 -2
  56. package/dist/chunks/{model-resolver-fj6ewzsk.js → location-activity-4t2v7hfp.js} +43 -43
  57. package/dist/chunks/{model-resolver-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
  58. package/dist/chunks/{model-resolver-p17a2fe3.js → location-activity-4v5extd4.js} +17 -17
  59. package/dist/chunks/{model-resolver-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
  60. package/dist/chunks/{model-resolver-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  61. package/dist/chunks/{model-resolver-djk2jk4m.js → location-activity-5e5xx9qx.js} +3 -3
  62. package/dist/chunks/{model-resolver-r98e92ep.js → location-activity-5q02cxx3.js} +4 -4
  63. package/dist/chunks/{model-resolver-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{model-resolver-q4kmjcgn.js → location-activity-5v56ye11.js} +22 -22
  65. package/dist/chunks/{model-resolver-pvxf3j12.js → location-activity-5x4hnb6q.js} +11 -11
  66. package/dist/chunks/{model-resolver-9hn6k4tm.js → location-activity-5xtgfte3.js} +8 -8
  67. package/dist/chunks/{model-resolver-mkpw75cb.js → location-activity-607px8n0.js} +14 -14
  68. package/dist/chunks/{model-resolver-669tq793.js → location-activity-669tq793.js} +1 -1
  69. package/dist/chunks/{model-resolver-gse0ck6f.js → location-activity-6c77ke86.js} +3 -3
  70. package/dist/chunks/{model-resolver-zh60fjan.js → location-activity-6m73br97.js} +21 -21
  71. package/dist/chunks/{model-resolver-mmr9n9n6.js → location-activity-6q817a52.js} +13 -13
  72. package/dist/chunks/{model-resolver-df54n7py.js → location-activity-6s622yr1.js} +12 -12
  73. package/dist/chunks/{model-resolver-re5ckjab.js → location-activity-6zrb7z9d.js} +13 -13
  74. package/dist/chunks/{model-resolver-hbw5wb31.js → location-activity-6zyx7v1p.js} +5 -5
  75. package/dist/chunks/location-activity-70py6hkh.js +252 -0
  76. package/dist/chunks/{model-resolver-71az546q.js → location-activity-71az546q.js} +2 -2
  77. package/dist/chunks/{model-resolver-eg948mnw.js → location-activity-72g23vgp.js} +22 -22
  78. package/dist/chunks/{model-resolver-te3gjas8.js → location-activity-79y69w1c.js} +33 -33
  79. package/dist/chunks/{model-resolver-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{model-resolver-2hg7qvzt.js → location-activity-7d2a7xbs.js} +5 -5
  81. package/dist/chunks/{model-resolver-ne9ahhv5.js → location-activity-7r0957wm.js} +7 -7
  82. package/dist/chunks/{model-resolver-84txncab.js → location-activity-84txncab.js} +1 -1
  83. package/dist/chunks/{model-resolver-0smnwsv0.js → location-activity-85hv6rah.js} +5 -5
  84. package/dist/chunks/{model-resolver-03698r9s.js → location-activity-86vx44n9.js} +15 -15
  85. package/dist/chunks/{model-resolver-ztb5xmgg.js → location-activity-875n2812.js} +8 -8
  86. package/dist/chunks/{model-resolver-n8sna2wb.js → location-activity-8a6ws7jr.js} +9 -9
  87. package/dist/chunks/{model-resolver-xv43dmfe.js → location-activity-8ava1jc3.js} +6 -6
  88. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{model-resolver-a8tp2z0n.js → location-activity-8nqj981h.js} +11 -11
  90. package/dist/chunks/{model-resolver-8sze2n9a.js → location-activity-8sze2n9a.js} +2 -2
  91. package/dist/chunks/{model-resolver-5hvxb13s.js → location-activity-93qj10js.js} +41 -41
  92. package/dist/chunks/{model-resolver-dnv1ypcb.js → location-activity-96xm2qhz.js} +5 -5
  93. package/dist/chunks/{model-resolver-y8ny8g7a.js → location-activity-977s5dzg.js} +22 -22
  94. package/dist/chunks/{model-resolver-9j6n7gng.js → location-activity-9aw854z4.js} +30 -30
  95. package/dist/chunks/{model-resolver-akfm9xjf.js → location-activity-9by34d12.js} +15 -15
  96. package/dist/chunks/{model-resolver-9e5bzkjp.js → location-activity-9e5bzkjp.js} +3 -3
  97. package/dist/chunks/{model-resolver-66gm3q6y.js → location-activity-9gc7vjkx.js} +4 -4
  98. package/dist/chunks/{model-resolver-x3pwywrr.js → location-activity-9gre9nx3.js} +22 -22
  99. package/dist/chunks/{model-resolver-tsp4afg5.js → location-activity-9gy0mqav.js} +11 -11
  100. package/dist/chunks/{model-resolver-vxtvrbna.js → location-activity-9rj43f5v.js} +40 -40
  101. package/dist/chunks/{model-resolver-jz1jgw4t.js → location-activity-9s7wab0j.js} +4 -4
  102. package/dist/chunks/{model-resolver-eq1pz5kg.js → location-activity-a1gpj94z.js} +3 -3
  103. package/dist/chunks/{model-resolver-4h9h96qc.js → location-activity-a562rq6k.js} +5 -5
  104. package/dist/chunks/{model-resolver-nkmk0g3b.js → location-activity-aada8dz0.js} +6 -6
  105. package/dist/chunks/{model-resolver-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  106. package/dist/chunks/{model-resolver-pf2hb43r.js → location-activity-ab9238g2.js} +6 -6
  107. package/dist/chunks/{model-resolver-vwfaknzj.js → location-activity-ad3w1xpm.js} +50 -50
  108. package/dist/chunks/{model-resolver-8ejhbdfw.js → location-activity-ae76pkv8.js} +3 -3
  109. package/dist/chunks/{model-resolver-30krspkn.js → location-activity-afjydgk3.js} +4 -4
  110. package/dist/chunks/{model-resolver-2aet7wja.js → location-activity-ahd542yp.js} +8 -8
  111. package/dist/chunks/{model-resolver-tx6hj8vh.js → location-activity-aj79anbj.js} +26 -26
  112. package/dist/chunks/{model-resolver-xvyvc58w.js → location-activity-akt9czht.js} +16 -16
  113. package/dist/chunks/{model-resolver-zw9m0b6f.js → location-activity-amzhydp5.js} +19 -19
  114. package/dist/chunks/{model-resolver-pkqb68ka.js → location-activity-as7cf5zz.js} +4 -4
  115. package/dist/chunks/{model-resolver-42r0vthb.js → location-activity-b2d5fhcy.js} +35 -35
  116. package/dist/chunks/{model-resolver-qp1n1vy7.js → location-activity-b3s6veaj.js} +10 -10
  117. package/dist/chunks/{model-resolver-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{model-resolver-7psexnws.js → location-activity-b7zye6tz.js} +36 -36
  119. package/dist/chunks/{model-resolver-gfvjxb5k.js → location-activity-bezvn84f.js} +1 -1
  120. package/dist/chunks/{model-resolver-jv7q5gx3.js → location-activity-bh9r25jx.js} +9 -9
  121. package/dist/chunks/{model-resolver-1p1dbgcw.js → location-activity-bwnp1zqp.js} +30 -30
  122. package/dist/chunks/{model-resolver-yacwftk6.js → location-activity-bxefgszx.js} +19 -19
  123. package/dist/chunks/{model-resolver-xk8t8a3e.js → location-activity-c201mq4a.js} +26 -26
  124. package/dist/chunks/{model-resolver-bpke0n4y.js → location-activity-c39pwkd5.js} +14 -14
  125. package/dist/chunks/{model-resolver-1093zhcq.js → location-activity-chpz43me.js} +11 -11
  126. package/dist/chunks/{model-resolver-ww2b7n8h.js → location-activity-cm3y4e4x.js} +8 -8
  127. package/dist/chunks/{model-resolver-8q54bcf9.js → location-activity-cs16aan0.js} +27 -27
  128. package/dist/chunks/{model-resolver-13gay51w.js → location-activity-ct0pwpmt.js} +30 -30
  129. package/dist/chunks/{model-resolver-r2m716tb.js → location-activity-cwa6csj7.js} +9 -9
  130. package/dist/chunks/location-activity-djj49tqg.js +507 -0
  131. package/dist/chunks/{model-resolver-y6bex35g.js → location-activity-dnxkq42g.js} +4 -4
  132. package/dist/chunks/{model-resolver-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{model-resolver-y4z5xdc7.js → location-activity-dskjw3rd.js} +23 -23
  134. package/dist/chunks/{model-resolver-n5cn0tb9.js → location-activity-dthpx6s0.js} +182 -182
  135. package/dist/chunks/{model-resolver-6qajxv40.js → location-activity-dxv2r731.js} +15 -15
  136. package/dist/chunks/{model-resolver-tvjfdkdg.js → location-activity-e2phpga6.js} +16 -16
  137. package/dist/chunks/{model-resolver-fwfvrmc2.js → location-activity-e32pbqs4.js} +4 -4
  138. package/dist/chunks/{model-resolver-2fhst40w.js → location-activity-e7g2x7kq.js} +9 -9
  139. package/dist/chunks/{model-resolver-8nsvf304.js → location-activity-e7jccgjw.js} +9 -9
  140. package/dist/chunks/{model-resolver-2a545107.js → location-activity-ea0j2401.js} +8 -8
  141. package/dist/chunks/{model-resolver-5ms1yq5h.js → location-activity-ebrst17t.js} +17 -17
  142. package/dist/chunks/{model-resolver-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{model-resolver-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{model-resolver-1zbgyhkq.js → location-activity-evgpkmar.js} +5 -5
  145. package/dist/chunks/{model-resolver-rz5y6gq8.js → location-activity-ez263tce.js} +21 -21
  146. package/dist/chunks/{model-resolver-13cq8rcn.js → location-activity-f2h38fn0.js} +45 -45
  147. package/dist/chunks/{model-resolver-gst7axd9.js → location-activity-f73rjn58.js} +4 -4
  148. package/dist/chunks/{model-resolver-gkwvz8ht.js → location-activity-f9y9hmgf.js} +3 -3
  149. package/dist/chunks/{model-resolver-j3w99yee.js → location-activity-fg3fdfb5.js} +18 -18
  150. package/dist/chunks/{model-resolver-h0e1kdvt.js → location-activity-fwd5g2tn.js} +3 -3
  151. package/dist/chunks/{model-resolver-cdahn06p.js → location-activity-fxsr6bej.js} +20 -20
  152. package/dist/chunks/{model-resolver-wegd5fp2.js → location-activity-fzwxsp19.js} +9 -9
  153. package/dist/chunks/{model-resolver-gaep76ax.js → location-activity-g1jsknwd.js} +9 -9
  154. package/dist/chunks/{model-resolver-g6yfr6ja.js → location-activity-g6yfr6ja.js} +2 -2
  155. package/dist/chunks/{model-resolver-a37e8zcw.js → location-activity-g8b9aepk.js} +16 -16
  156. package/dist/chunks/{model-resolver-3v5tjer0.js → location-activity-g90eh6fn.js} +9 -9
  157. package/dist/chunks/{model-resolver-n3vygs5b.js → location-activity-gcb0pgp4.js} +6 -6
  158. package/dist/chunks/{model-resolver-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{model-resolver-6sy3a1sn.js → location-activity-gm7hwqga.js} +55 -55
  160. package/dist/chunks/{model-resolver-mmxxk9et.js → location-activity-gqmj0vw3.js} +9 -9
  161. package/dist/chunks/{model-resolver-3m0yxqav.js → location-activity-gsc2mzyn.js} +18 -18
  162. package/dist/chunks/{model-resolver-27w6v31t.js → location-activity-gteb19p1.js} +12 -12
  163. package/dist/chunks/{model-resolver-h2b79v29.js → location-activity-h2b79v29.js} +2 -2
  164. package/dist/chunks/{model-resolver-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{model-resolver-zc5g640q.js → location-activity-h9qs4w9g.js} +12 -12
  166. package/dist/chunks/{model-resolver-0dxv4pc1.js → location-activity-h9w1g1ew.js} +17 -17
  167. package/dist/chunks/{model-resolver-k8f3jam7.js → location-activity-he05b9av.js} +5 -5
  168. package/dist/chunks/{model-resolver-4jk0qxj4.js → location-activity-hj5bkg0c.js} +6 -6
  169. package/dist/chunks/{model-resolver-8r34s1qs.js → location-activity-hjew4n5y.js} +26 -26
  170. package/dist/chunks/{model-resolver-308n8ycv.js → location-activity-hrdf5g96.js} +32 -32
  171. package/dist/chunks/location-activity-ht5y0zrb.js +18 -0
  172. package/dist/chunks/{model-resolver-09w5hx8q.js → location-activity-j0qbryxe.js} +30 -30
  173. package/dist/chunks/{model-resolver-6cjrbf46.js → location-activity-j21w7bgy.js} +20 -20
  174. package/dist/chunks/{model-resolver-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  175. package/dist/chunks/{model-resolver-7k895je9.js → location-activity-j5jfxbva.js} +25 -25
  176. package/dist/chunks/{model-resolver-x73h0cn1.js → location-activity-jccbmjp4.js} +4 -4
  177. package/dist/chunks/{model-resolver-b3vyfqsd.js → location-activity-jekq2b4p.js} +22 -22
  178. package/dist/chunks/{model-resolver-ss33t2y8.js → location-activity-jervv9x6.js} +8 -8
  179. package/dist/chunks/location-activity-jpt7750b.js +26 -0
  180. package/dist/chunks/{model-resolver-b00xvs8t.js → location-activity-k1qrnqst.js} +8 -8
  181. package/dist/chunks/{model-resolver-aads351p.js → location-activity-k6kynbar.js} +1 -1
  182. package/dist/chunks/{model-resolver-r9w3djhf.js → location-activity-k79tzb9n.js} +8 -8
  183. package/dist/chunks/{model-resolver-8w6zmm29.js → location-activity-kpewm0pp.js} +8 -8
  184. package/dist/chunks/{model-resolver-5zt844k8.js → location-activity-kth5gqk5.js} +6 -6
  185. package/dist/chunks/{model-resolver-b23z4qnb.js → location-activity-ktvjfgdb.js} +7 -7
  186. package/dist/chunks/{model-resolver-a28jd6sb.js → location-activity-kv219t4m.js} +10 -10
  187. package/dist/chunks/{model-resolver-rc77m1db.js → location-activity-ky1qk6ee.js} +20 -20
  188. package/dist/chunks/{model-resolver-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{model-resolver-9hz0dqf5.js → location-activity-m8abcxkm.js} +17 -17
  190. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{model-resolver-mazbtkaa.js → location-activity-mazbtkaa.js} +2 -2
  192. package/dist/chunks/{model-resolver-407ckyyg.js → location-activity-mby7p5s1.js} +10 -10
  193. package/dist/chunks/{model-resolver-5cmxdwv8.js → location-activity-mf9m2v67.js} +3 -3
  194. package/dist/chunks/{model-resolver-57pz8w7b.js → location-activity-mjkpcfa5.js} +3 -3
  195. package/dist/chunks/{model-resolver-815qh5kc.js → location-activity-n1sype8b.js} +25 -25
  196. package/dist/chunks/{model-resolver-2xwzbqew.js → location-activity-n1wm2736.js} +13 -13
  197. package/dist/chunks/{model-resolver-hns04bnr.js → location-activity-n2m16bew.js} +3 -3
  198. package/dist/chunks/{model-resolver-h9jfnbdc.js → location-activity-n2pws1p9.js} +27 -27
  199. package/dist/chunks/{model-resolver-z1wzh4em.js → location-activity-n9g26b99.js} +30 -30
  200. package/dist/chunks/{model-resolver-91933pa3.js → location-activity-ng68s3nr.js} +30 -30
  201. package/dist/chunks/{model-resolver-wv3dv6v0.js → location-activity-nkdhtkyx.js} +23 -23
  202. package/dist/chunks/{model-resolver-gp83hdk9.js → location-activity-nq02rrmw.js} +46 -46
  203. package/dist/chunks/{model-resolver-jw80jp6b.js → location-activity-nrdmrqsx.js} +4 -4
  204. package/dist/chunks/{model-resolver-k3c624dm.js → location-activity-nzks3jc8.js} +3 -3
  205. package/dist/chunks/{model-resolver-0yjfzc4y.js → location-activity-p0wnrrn1.js} +8 -8
  206. package/dist/chunks/{model-resolver-8r8vfh9s.js → location-activity-pbmk2rfv.js} +11 -11
  207. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{model-resolver-pknna89w.js → location-activity-pknna89w.js} +1 -1
  209. package/dist/chunks/{model-resolver-86qzxe6p.js → location-activity-pmwpe40e.js} +4 -4
  210. package/dist/chunks/{model-resolver-ae2sw1mw.js → location-activity-pq15b5pn.js} +11 -11
  211. package/dist/chunks/{model-resolver-yyjgzmbq.js → location-activity-psvrq3fn.js} +87 -87
  212. package/dist/chunks/{model-resolver-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
  213. package/dist/chunks/{model-resolver-m5ddjyhh.js → location-activity-qfd7hwsc.js} +47 -47
  214. package/dist/chunks/{model-resolver-fcrkznn8.js → location-activity-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{model-resolver-wkr32rjm.js → location-activity-qnb2tekq.js} +14 -14
  216. package/dist/chunks/{model-resolver-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
  217. package/dist/chunks/{model-resolver-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  218. package/dist/chunks/{model-resolver-k5hqpvc4.js → location-activity-qxyfne6k.js} +54 -54
  219. package/dist/chunks/{model-resolver-yp2x3t23.js → location-activity-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{model-resolver-vkt5fbj2.js → location-activity-rav9e4bf.js} +8 -8
  221. package/dist/chunks/{model-resolver-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{model-resolver-wv396vej.js → location-activity-rhjbct0v.js} +8 -8
  223. package/dist/chunks/{model-resolver-dyv1acsa.js → location-activity-rwgdjt2r.js} +20 -20
  224. package/dist/chunks/{model-resolver-1w8tpf8c.js → location-activity-rwmvkvsa.js} +17 -17
  225. package/dist/chunks/{model-resolver-ee0fmwbc.js → location-activity-ry98k22a.js} +15 -15
  226. package/dist/chunks/{model-resolver-7r06ja40.js → location-activity-s0cc86b9.js} +10 -10
  227. package/dist/chunks/{model-resolver-b3f8fkhc.js → location-activity-scgrse2b.js} +5 -5
  228. package/dist/chunks/{model-resolver-pf4vdr5b.js → location-activity-sgf62tgk.js} +5 -5
  229. package/dist/chunks/{model-resolver-8a61e19g.js → location-activity-sshcjzsr.js} +9 -9
  230. package/dist/chunks/{model-resolver-qa3qhgw8.js → location-activity-sxz6gkc3.js} +7 -7
  231. package/dist/chunks/{model-resolver-s30fyz93.js → location-activity-syf57q56.js} +4 -4
  232. package/dist/chunks/{model-resolver-2nw4ywcq.js → location-activity-t0hd02nr.js} +45 -45
  233. package/dist/chunks/{model-resolver-rsdvke6b.js → location-activity-t7q3zwqd.js} +18 -18
  234. package/dist/chunks/{model-resolver-2pnbxc62.js → location-activity-t8yzbmd5.js} +11 -11
  235. package/dist/chunks/{model-resolver-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{model-resolver-29qym6xz.js → location-activity-tb1cafh6.js} +4 -4
  237. package/dist/chunks/{model-resolver-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{model-resolver-tdstcens.js → location-activity-tdstcens.js} +1 -1
  239. package/dist/chunks/{model-resolver-skgj9ax5.js → location-activity-tg08ry1v.js} +17 -17
  240. package/dist/chunks/{model-resolver-efmywzjq.js → location-activity-tj1x3mnf.js} +11 -11
  241. package/dist/chunks/{model-resolver-snag70gz.js → location-activity-tjynpahe.js} +29 -29
  242. package/dist/chunks/{model-resolver-5vfmzxnc.js → location-activity-tqm1q5yd.js} +26 -26
  243. package/dist/chunks/{model-resolver-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
  244. package/dist/chunks/{model-resolver-v5g0yskm.js → location-activity-tzkjb5m6.js} +2 -2
  245. package/dist/chunks/{model-resolver-8d6mt9k1.js → location-activity-tzm1209m.js} +19 -19
  246. package/dist/chunks/{model-resolver-2q0dq8kx.js → location-activity-v0rc4nay.js} +19 -19
  247. package/dist/chunks/{model-resolver-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  248. package/dist/chunks/{model-resolver-fc6w6yf8.js → location-activity-vfazva44.js} +10 -10
  249. package/dist/chunks/{model-resolver-kmkk6jeb.js → location-activity-vx4w2pwg.js} +24 -24
  250. package/dist/chunks/{model-resolver-dg5bcj4q.js → location-activity-vyqn3nqs.js} +6 -6
  251. package/dist/chunks/{model-resolver-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{model-resolver-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  253. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-resolver-prt7p8he.js → location-activity-wcn4q3js.js} +7 -7
  255. package/dist/chunks/{model-resolver-wd87259q.js → location-activity-wd87259q.js} +1 -1
  256. package/dist/chunks/{model-resolver-qzvme19v.js → location-activity-wej78wb4.js} +30 -30
  257. package/dist/chunks/{model-resolver-ay2xdk2g.js → location-activity-wfgvp1xr.js} +11 -11
  258. package/dist/chunks/{model-resolver-4ek442ae.js → location-activity-wfhejpv4.js} +27 -27
  259. package/dist/chunks/{model-resolver-0n2zq7cp.js → location-activity-wfjr8454.js} +15 -15
  260. package/dist/chunks/{model-resolver-2g3v3994.js → location-activity-wwzz8ypg.js} +17 -17
  261. package/dist/chunks/{model-resolver-ksdw2mz7.js → location-activity-x1b45qef.js} +22 -22
  262. package/dist/chunks/{model-resolver-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{model-resolver-4n607a2z.js → location-activity-x2rw7g36.js} +5 -5
  264. package/dist/chunks/{model-resolver-ar6s7d1p.js → location-activity-x6rhwzwp.js} +10 -10
  265. package/dist/chunks/{model-resolver-shcrmf00.js → location-activity-x7z82xg2.js} +20 -20
  266. package/dist/chunks/{model-resolver-t9kqhrb1.js → location-activity-xdqrtjf7.js} +19 -19
  267. package/dist/chunks/{model-resolver-xfkkasph.js → location-activity-xfkkasph.js} +1 -1
  268. package/dist/chunks/{model-resolver-dmqcgk4z.js → location-activity-xkntkrq7.js} +5 -5
  269. package/dist/chunks/{model-resolver-q639q6k1.js → location-activity-xm62360v.js} +30 -30
  270. package/dist/chunks/{model-resolver-q00e2evn.js → location-activity-xp9rpgmk.js} +13 -13
  271. package/dist/chunks/{model-resolver-t3ta0jn1.js → location-activity-xxwwvfr7.js} +32 -32
  272. package/dist/chunks/{model-resolver-kwasnf1h.js → location-activity-y15ydyq2.js} +90 -90
  273. package/dist/chunks/{model-resolver-ybgaf8pp.js → location-activity-y1b8mcja.js} +10 -10
  274. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{model-resolver-qv8n8zgy.js → location-activity-ycftcbaa.js} +26 -26
  276. package/dist/chunks/{model-resolver-y144jg7q.js → location-activity-yea6w9a3.js} +23 -23
  277. package/dist/chunks/{model-resolver-y7ts3hqa.js → location-activity-ygmbmy1n.js} +20 -20
  278. package/dist/chunks/{model-resolver-7c08zpn2.js → location-activity-yhjme9q9.js} +5 -5
  279. package/dist/chunks/{model-resolver-gfgy34x3.js → location-activity-yj7cgdq3.js} +15 -15
  280. package/dist/chunks/{model-resolver-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{model-resolver-m73je9hm.js → location-activity-yze94sqn.js} +17 -17
  282. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{model-resolver-kan6af9e.js → location-activity-z1x1gfhs.js} +22 -22
  284. package/dist/chunks/{model-resolver-2kewd2va.js → location-activity-z3nay82g.js} +9 -9
  285. package/dist/chunks/{model-resolver-myqg0pwz.js → location-activity-z4wnxfez.js} +11 -11
  286. package/dist/chunks/{model-resolver-0r3c1bmw.js → location-activity-z6c3x22d.js} +5 -5
  287. package/dist/chunks/{model-resolver-et0g6e5t.js → location-activity-z6gg0gpm.js} +35 -35
  288. package/dist/chunks/{model-resolver-3gz55zfp.js → location-activity-zgmzscnz.js} +13 -13
  289. package/dist/chunks/{model-resolver-z4qahwf9.js → location-activity-zjpmjekb.js} +25 -25
  290. package/dist/chunks/{model-resolver-qkp9yadg.js → location-activity-zmtd63ck.js} +71 -71
  291. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{model-resolver-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +226 -226
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +363 -363
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +360 -360
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +109 -109
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +113 -113
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +335 -335
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +124 -124
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +93 -93
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +96 -96
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +163 -163
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +139 -139
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +354 -354
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +4 -4
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +2 -2
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +226 -226
  561. package/dist/project/schema.js +8 -8
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +90 -90
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +89 -89
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +222 -222
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +152 -152
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +86 -86
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -118
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +113 -113
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +170 -170
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +218 -218
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +221 -221
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +126 -126
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +218 -218
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -220
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +2 -2
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +82 -82
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +96 -96
  697. package/package.json +8 -8
  698. package/dist/chunks/model-resolver-etcmb7zb.js +0 -252
  699. package/dist/chunks/model-resolver-k40pk40z.js +0 -26
  700. package/dist/chunks/model-resolver-npsq8fb9.js +0 -507
  701. package/dist/chunks/model-resolver-phz3h32g.js +0 -18
  702. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{model-resolver-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{model-resolver-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{model-resolver-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3asan66x.js → location-activity-3asan66x.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{model-resolver-53557ph1.js → location-activity-53557ph1.js} +0 -0
  722. /package/dist/chunks/{model-resolver-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{model-resolver-6prwharc.js → location-activity-6prwharc.js} +0 -0
  725. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{model-resolver-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-822emrt2.js → location-activity-822emrt2.js} +0 -0
  728. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{model-resolver-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{model-resolver-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{model-resolver-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{model-resolver-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{model-resolver-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{model-resolver-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{model-resolver-df08tz66.js → location-activity-df08tz66.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-resolver-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-resolver-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-resolver-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{model-resolver-g86h250q.js → location-activity-g86h250q.js} +0 -0
  760. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{model-resolver-gftt206x.js → location-activity-gftt206x.js} +0 -0
  762. /package/dist/chunks/{model-resolver-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{model-resolver-hk9envan.js → location-activity-hk9envan.js} +0 -0
  764. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{model-resolver-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{model-resolver-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{model-resolver-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{model-resolver-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{model-resolver-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{model-resolver-x61499pn.js → location-activity-x61499pn.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{model-resolver-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{model-resolver-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{model-resolver-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-70jrxnh2.js";
4
+ } from "./location-activity-21vwh8qv.js";
5
5
  import {
6
6
  parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./model-resolver-84txncab.js";
11
+ } from "./location-activity-84txncab.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./model-resolver-z5v4ffb3.js";
14
+ } from "./location-activity-z5v4ffb3.js";
15
15
  import {
16
- Service55,
17
- node57
18
- } from "./model-resolver-v2j2nd9r.js";
16
+ Service48,
17
+ node51
18
+ } from "./location-activity-0dnsf5nw.js";
19
19
  import {
20
20
  create3
21
- } from "./model-resolver-rdw6cm16.js";
21
+ } from "./location-activity-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./location-activity-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event10,
29
+ Event: () => Event11,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info9,
31
+ Info: () => Info18,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service53,
34
+ Service: () => Service47,
35
35
  Source: () => Source4,
36
- node: () => node55
36
+ node: () => node50
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event10 } from "@opencode/schema/reference";
42
+ import { Event as Event11 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
45
  var Source4 = Reference.Source;
46
- var Info9 = Reference.Info;
46
+ var Info18 = Reference.Info;
47
47
 
48
- class Service53 extends Context.Service()("@opencode/Reference") {
48
+ class Service47 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service53, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service55;
53
+ const cache = yield* Service48;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info9.make({ ...info, path: source.path })];
63
+ return [Info18.make({ ...info, path: source.path })];
64
64
  const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info9.make({
75
+ Info18.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service53.of({
107
+ return Service47.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node55 = makeLocationNode({
116
- service: Service53,
115
+ var node50 = makeLocationNode({
116
+ service: Service47,
117
117
  layer,
118
- deps: [Global.node, node87, node57]
118
+ deps: [Global.node, node87, node51]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source4, Info9, Service53, node55, exports_reference2, Event10 };
121
+ export { LocalSource2, GitSource2, Source4, Info18, Service47, node50, exports_reference2, Event11 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry4,
10
- Info: () => Info18
9
+ Entry: () => Entry3,
10
+ Info: () => Info12
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry4 = Schema.Struct({
13
+ var Entry3 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
19
+ var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry4, Info18, exports_formatter3 };
21
+ export { Entry3, Info12, exports_formatter3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-resolver-hjbc5kem.js";
3
+ } from "./location-activity-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./location-activity-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./model-resolver-fj6ewzsk.js";
3
+ Service39
4
+ } from "./location-activity-4t2v7hfp.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./location-activity-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin15,
12
+ Plugin: () => Plugin11,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin15 = define({
22
+ var Plugin11 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service58;
25
+ const config = yield* Service39;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin15 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin15, exports_warming };
99
+ export { Plugin11, exports_warming };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./model-resolver-emrn6kk6.js";
4
+ } from "./location-activity-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-70jrxnh2.js";
4
+ } from "./location-activity-21vwh8qv.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-rdw6cm16.js";
8
+ } from "./location-activity-rdw6cm16.js";
9
9
  import {
10
- Service80,
11
- node84
12
- } from "./model-resolver-xvyvc58w.js";
10
+ Service77,
11
+ node81
12
+ } from "./location-activity-akt9czht.js";
13
13
  import {
14
14
  rewrite2,
15
- ID9,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service70,
20
- node74,
21
- Event15
22
- } from "./model-resolver-cms9xxzm.js";
19
+ Service74,
20
+ node78,
21
+ Event17
22
+ } from "./location-activity-23dvhdvz.js";
23
23
  import {
24
24
  __export
25
- } from "./model-resolver-9rqn6x4v.js";
25
+ } from "./location-activity-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,26 +30,26 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event14,
33
+ Event: () => Event16,
34
34
  Family: () => Family2,
35
- ID: () => ID8,
36
- Info: () => Info22,
35
+ ID: () => ID12,
36
+ Info: () => Info26,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service69,
40
+ Service: () => Service73,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node73,
44
+ node: () => node77,
45
45
  parse: () => parse5
46
46
  });
47
47
  import { Model } from "@opencode/schema/model";
48
48
  import { Context, Effect, Layer, Stream } from "effect";
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import { freeze } from "immer";
51
- import { Event as Event14 } from "@opencode/schema/model";
52
- var ID8 = Model.ID;
51
+ import { Event as Event16 } from "@opencode/schema/model";
52
+ var ID12 = Model.ID;
53
53
  var VariantID2 = Model.VariantID;
54
54
  var Family2 = Model.Family;
55
55
  var ReasoningField2 = Model.ReasoningField;
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
65
65
  };
66
66
  var Cost2 = Model.Cost;
67
67
  var Ref2 = Model.Ref;
68
- var Info22 = Model.Info;
68
+ var Info26 = Model.Info;
69
69
 
70
- class Service69 extends Context.Service()("@opencode/Model") {
70
+ class Service73 extends Context.Service()("@opencode/Model") {
71
71
  }
72
- var layer = Layer.effect(Service69, Effect.gen(function* () {
73
- const providers = yield* Service70;
72
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
73
+ const providers = yield* Service74;
74
74
  const bus = yield* Service83;
75
- const location = yield* Service80;
75
+ const location = yield* Service77;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
121
121
  update(model);
122
122
  model.id = modelID;
123
123
  model.providerID = providerID;
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
206
206
  location: { directory: location.directory, workspaceID: location.workspaceID }
207
207
  });
208
208
  });
209
- yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
- return Service69.of({
209
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
+ return Service73.of({
211
211
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
212
212
  reload,
213
213
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, node87, node84] });
229
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node87, node81] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -237,9 +237,9 @@ function compatibility2(input) {
237
237
  function parse5(input) {
238
238
  const index = input.indexOf("/");
239
239
  return {
240
- providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
241
- modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
240
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
241
+ modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
242
242
  };
243
243
  }
244
244
 
245
- export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info22, Service69, node73, compatibility2, parse5, exports_model2, Event14 };
245
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info26, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service58
4
- } from "./model-resolver-fj6ewzsk.js";
3
+ Service39
4
+ } from "./location-activity-4t2v7hfp.js";
5
5
  import {
6
- Service54
7
- } from "./model-resolver-df54n7py.js";
6
+ Service52
7
+ } from "./location-activity-6s622yr1.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-resolver-qsdy395h.js";
10
+ } from "./location-activity-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin44
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin44 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service58;
27
- const output = yield* Service54;
26
+ const config = yield* Service39;
27
+ const output = yield* Service52;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin35 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin35, exports_tool_output };
41
+ export { Plugin44, exports_tool_output };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service59,
3
- node62
4
- } from "./model-resolver-kan6af9e.js";
2
+ Service40,
3
+ node43
4
+ } from "./location-activity-z1x1gfhs.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./model-resolver-xvyvc58w.js";
6
+ Service77,
7
+ node81
8
+ } from "./location-activity-akt9czht.js";
9
9
  import {
10
- Service58,
11
- node61
12
- } from "./model-resolver-fj6ewzsk.js";
10
+ Service39,
11
+ node42
12
+ } from "./location-activity-4t2v7hfp.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./model-resolver-zxq2ej10.js";
16
+ } from "./location-activity-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service8,
25
+ Service: () => Service10,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node9
27
+ layer: () => layer7,
28
+ node: () => node12
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service8 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service8, Effect.gen(function* () {
39
- const config = yield* Service58;
40
- const watcher = yield* Service59;
38
+ var layer7 = Layer.effect(Service10, Effect.gen(function* () {
39
+ const config = yield* Service39;
40
+ const watcher = yield* Service40;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service80;
42
+ const location = yield* Service77;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service8, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service8.of({
61
+ return Service10.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service8, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node9 = makeLocationNode({
74
- service: Service8,
75
- layer: layer5,
76
- deps: [node61, FSUtil.node, node62, node84]
73
+ var node12 = makeLocationNode({
74
+ service: Service10,
75
+ layer: layer7,
76
+ deps: [node42, FSUtil.node, node43, node81]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service8,
80
- layer: Layer.succeed(Service8, Service8.of({
79
+ service: Service10,
80
+ layer: Layer.succeed(Service10, Service10.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service8, layer5, node9, empty2, exports_source };
140
+ export { Service10, layer7, node12, empty2, exports_source };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./location-activity-z5v4ffb3.js";
4
4
  import {
5
- Info6,
6
- ID4,
5
+ Info16,
6
+ ID5,
7
7
  Name2
8
- } from "./model-resolver-eg948mnw.js";
8
+ } from "./location-activity-72g23vgp.js";
9
9
  import {
10
- Service58
11
- } from "./model-resolver-fj6ewzsk.js";
10
+ Service39
11
+ } from "./location-activity-4t2v7hfp.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-activity-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill = {};
18
18
  __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin11,
21
+ Plugin: () => Plugin10,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill
24
24
  });
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin11 = define({
428
+ var Plugin10 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info6.make({
434
- id: ID4.make("opencode"),
433
+ editor.add(Info16.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info6.make({
441
- id: ID4.make("report"),
440
+ editor.add(Info16.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service58;
469
+ const config = yield* Service39;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-djk2jk4m.js";
4
+ } from "./location-activity-5e5xx9qx.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-resolver-71az546q.js";
7
+ } from "./location-activity-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info28,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID8,
17
+ Info: () => Info22,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service76,
21
- node: () => node80
20
+ Service: () => Service67,
21
+ node: () => node69
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info28 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info22 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service76 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service67 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service76, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID8.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service76.of({ list, add, remove });
69
+ return Service67.of({ list, add, remove });
70
70
  }));
71
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
71
+ var node69 = makeGlobalNode({ service: Service67, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
73
+ export { ID8, Info22, ListInput5, AddInput2, Service67, node69, exports_saved };