@opencode/core 0.0.0-dev-176 → 0.0.0-dev-187

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 (822) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +88 -87
  3. package/dist/aisdk-native.js +98 -97
  4. package/dist/aisdk.js +104 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +76 -75
  7. package/dist/chunks/{persistent-pty-034tev2y.js → credential-034tev2y.js} +2 -2
  8. package/dist/chunks/{persistent-pty-kb8fswp1.js → credential-070kztyy.js} +2 -2
  9. package/dist/chunks/{persistent-pty-wgn86zaw.js → credential-0e3a0p0e.js} +22 -22
  10. package/dist/chunks/{persistent-pty-h0n6thsx.js → credential-0f3jx7vk.js} +2 -2
  11. package/dist/chunks/{persistent-pty-qb24xxd1.js → credential-0j385cpp.js} +2 -2
  12. package/dist/chunks/credential-0r9z73ty.js +257 -0
  13. package/dist/chunks/{persistent-pty-s1a2cwn2.js → credential-0xp5gcxg.js} +10 -10
  14. package/dist/chunks/{persistent-pty-r8v4vvzq.js → credential-13mkws8m.js} +6 -6
  15. package/dist/chunks/{persistent-pty-r8rdcxeh.js → credential-14b1eg4m.js} +24 -18
  16. package/dist/chunks/{persistent-pty-bn32yz83.js → credential-1agjqqwc.js} +33 -33
  17. package/dist/chunks/{persistent-pty-sa8kccs0.js → credential-1b47wdbk.js} +19 -19
  18. package/dist/chunks/{persistent-pty-1ep2p91f.js → credential-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{persistent-pty-ygqxcxbg.js → credential-1jd0kfa3.js} +4 -4
  20. package/dist/chunks/{persistent-pty-xt0z8zst.js → credential-1kn6jdkn.js} +4 -4
  21. package/dist/chunks/{persistent-pty-519tq28h.js → credential-1r71ewmy.js} +17 -17
  22. package/dist/chunks/{persistent-pty-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{persistent-pty-204s3925.js → credential-204s3925.js} +1 -1
  24. package/dist/chunks/{persistent-pty-zf9grm2a.js → credential-205jx585.js} +34 -34
  25. package/dist/chunks/{persistent-pty-x25jfgjr.js → credential-24fnnd1e.js} +25 -25
  26. package/dist/chunks/{persistent-pty-pa997763.js → credential-25rbfdac.js} +3 -3
  27. package/dist/chunks/{persistent-pty-0w2jttgf.js → credential-27bs79w9.js} +2 -2
  28. package/dist/chunks/{persistent-pty-c34ang25.js → credential-27ttap9b.js} +21 -21
  29. package/dist/chunks/{persistent-pty-vcvnp0q3.js → credential-2k05yhhs.js} +4 -4
  30. package/dist/chunks/{persistent-pty-xc897g4n.js → credential-2r17yksc.js} +11 -11
  31. package/dist/chunks/{persistent-pty-53bv7djz.js → credential-389agmea.js} +6 -6
  32. package/dist/chunks/{persistent-pty-50fdsjg8.js → credential-3ez6nx9b.js} +12 -12
  33. package/dist/chunks/{persistent-pty-wa71be01.js → credential-3g0vgwnf.js} +43 -43
  34. package/dist/chunks/{persistent-pty-g7fyn0m6.js → credential-3ge1gmtq.js} +3 -3
  35. package/dist/chunks/{persistent-pty-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{persistent-pty-72amzxyx.js → credential-3kkx4n85.js} +3 -3
  37. package/dist/chunks/{persistent-pty-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
  38. package/dist/chunks/{persistent-pty-scntyf0x.js → credential-3stf93zb.js} +7 -7
  39. package/dist/chunks/{persistent-pty-z8hdzhhq.js → credential-3tfc273a.js} +10 -10
  40. package/dist/chunks/{persistent-pty-cn77934z.js → credential-44j71sge.js} +11 -11
  41. package/dist/chunks/{persistent-pty-1jsvn0r5.js → credential-4ar31nmd.js} +6 -3
  42. package/dist/chunks/{persistent-pty-9y7cq3y4.js → credential-4g6brmvj.js} +10 -10
  43. package/dist/chunks/{persistent-pty-80erdhxq.js → credential-4p44xgxk.js} +20 -20
  44. package/dist/chunks/{persistent-pty-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
  45. package/dist/chunks/{persistent-pty-4v008n1t.js → credential-4v008n1t.js} +1 -1
  46. package/dist/chunks/{persistent-pty-4c0sy8z7.js → credential-5afpsjak.js} +14 -14
  47. package/dist/chunks/{persistent-pty-w2eysc6j.js → credential-5enarcya.js} +6 -6
  48. package/dist/chunks/{persistent-pty-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
  49. package/dist/chunks/{persistent-pty-9ep0cc8m.js → credential-5p72pk0j.js} +59 -55
  50. package/dist/chunks/{persistent-pty-atr4tm0y.js → credential-5qz8cxb6.js} +71 -71
  51. package/dist/chunks/{persistent-pty-pbbktnbz.js → credential-5x26af84.js} +4 -4
  52. package/dist/chunks/{persistent-pty-p7vhpwh8.js → credential-5zrxpy3q.js} +5 -5
  53. package/dist/chunks/{persistent-pty-npb1z062.js → credential-6029gre8.js} +4 -4
  54. package/dist/chunks/{persistent-pty-6esdw8yj.js → credential-6esdw8yj.js} +1 -1
  55. package/dist/chunks/{persistent-pty-v8vavc5t.js → credential-6zswxkh0.js} +33 -33
  56. package/dist/chunks/{persistent-pty-f2k3g6xd.js → credential-70v23c6s.js} +149 -149
  57. package/dist/chunks/{persistent-pty-c84tv7mg.js → credential-73s9ngde.js} +6 -6
  58. package/dist/chunks/{persistent-pty-76cb1hcw.js → credential-76cb1hcw.js} +1 -1
  59. package/dist/chunks/{persistent-pty-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  60. package/dist/chunks/{persistent-pty-n0vyk18c.js → credential-7f9y1dg2.js} +21 -21
  61. package/dist/chunks/{persistent-pty-z8r5vx31.js → credential-7fn4z29d.js} +11 -11
  62. package/dist/chunks/{persistent-pty-stbkav8k.js → credential-7rychec2.js} +13 -13
  63. package/dist/chunks/{persistent-pty-qpv0mvvz.js → credential-7v2fx3f2.js} +10 -10
  64. package/dist/chunks/{persistent-pty-h6t0znmf.js → credential-7vfr41g1.js} +9 -9
  65. package/dist/chunks/{persistent-pty-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
  66. package/dist/chunks/{persistent-pty-h8kx6a24.js → credential-7y5w20kd.js} +17 -17
  67. package/dist/chunks/{persistent-pty-56fkkzwp.js → credential-81tzp97y.js} +16 -16
  68. package/dist/chunks/{persistent-pty-qdmaswkh.js → credential-8as8ktgx.js} +21 -21
  69. package/dist/chunks/{persistent-pty-8jztxfpf.js → credential-8jztxfpf.js} +1 -1
  70. package/dist/chunks/{persistent-pty-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
  71. package/dist/chunks/{persistent-pty-heamr9gy.js → credential-8ygr8xs6.js} +3 -3
  72. package/dist/chunks/{persistent-pty-90zstvax.js → credential-90zstvax.js} +1 -1
  73. package/dist/chunks/{persistent-pty-gp067yzn.js → credential-971htg5h.js} +11 -11
  74. package/dist/chunks/{persistent-pty-n17h7ycd.js → credential-98s6gvh8.js} +14 -14
  75. package/dist/chunks/credential-9bbpwjz5.js +511 -0
  76. package/dist/chunks/{persistent-pty-m0kj7b7a.js → credential-9pfnqqwg.js} +2 -2
  77. package/dist/chunks/{persistent-pty-kjgnzevm.js → credential-9r9bvhte.js} +9 -9
  78. package/dist/chunks/{persistent-pty-7ky5q9y1.js → credential-9tsqrg4s.js} +30 -30
  79. package/dist/chunks/{persistent-pty-ybctve4h.js → credential-9wn23waw.js} +28 -28
  80. package/dist/chunks/{persistent-pty-1evzqt9k.js → credential-9x70yqx6.js} +9 -9
  81. package/dist/chunks/{persistent-pty-y906m0ew.js → credential-a694798e.js} +5 -5
  82. package/dist/chunks/{persistent-pty-a9q6fvpe.js → credential-a9q6fvpe.js} +3 -3
  83. package/dist/chunks/{persistent-pty-rzepvn2e.js → credential-adsxsvsn.js} +41 -41
  84. package/dist/chunks/{persistent-pty-mtq5g9x7.js → credential-aewdbf9n.js} +2 -2
  85. package/dist/chunks/{persistent-pty-6xqtcmxs.js → credential-afmnpta1.js} +5 -5
  86. package/dist/chunks/{persistent-pty-s0wxxy3w.js → credential-akv12b6r.js} +11 -11
  87. package/dist/chunks/{persistent-pty-cr8fx06x.js → credential-aqvqws4e.js} +16 -16
  88. package/dist/chunks/{persistent-pty-tkb7bqdy.js → credential-ay0jyemf.js} +9 -9
  89. package/dist/chunks/{persistent-pty-ayjs7tqn.js → credential-ayjs7tqn.js} +2 -2
  90. package/dist/chunks/{persistent-pty-y067tb9j.js → credential-b32ceyvm.js} +4 -4
  91. package/dist/chunks/{persistent-pty-6sbnn1cw.js → credential-b40mew42.js} +9 -9
  92. package/dist/chunks/{persistent-pty-b6vsg801.js → credential-b6vsg801.js} +2 -2
  93. package/dist/chunks/{persistent-pty-61ennm6n.js → credential-bjhzkqyk.js} +4 -4
  94. package/dist/chunks/{persistent-pty-xefsy4ps.js → credential-bkg200nm.js} +25 -25
  95. package/dist/chunks/{persistent-pty-5yh47y05.js → credential-bkrwx4wv.js} +14 -14
  96. package/dist/chunks/{persistent-pty-dbb763wq.js → credential-bvwfamc4.js} +8 -8
  97. package/dist/chunks/credential-bydrqxj7.js +26 -0
  98. package/dist/chunks/{persistent-pty-0garbbmq.js → credential-c20fjdsp.js} +21 -21
  99. package/dist/chunks/{persistent-pty-ngtazrm4.js → credential-c6ex42cj.js} +24 -24
  100. package/dist/chunks/{persistent-pty-bm4gstpq.js → credential-ccp6j38y.js} +8 -8
  101. package/dist/chunks/{persistent-pty-xbcfztz3.js → credential-cdemd7x4.js} +11 -11
  102. package/dist/chunks/{persistent-pty-cg8wvfan.js → credential-cgxeq3jz.js} +15 -15
  103. package/dist/chunks/{persistent-pty-cd1wa7pc.js → credential-cpqaegh5.js} +3 -3
  104. package/dist/chunks/{persistent-pty-g0tp74by.js → credential-cpxtmqx8.js} +23 -23
  105. package/dist/chunks/{persistent-pty-7655k14p.js → credential-css21g00.js} +11 -11
  106. package/dist/chunks/{persistent-pty-41qk7kz0.js → credential-cv1a4phn.js} +8 -8
  107. package/dist/chunks/{persistent-pty-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
  108. package/dist/chunks/{persistent-pty-d2887f8n.js → credential-d2887f8n.js} +1 -1
  109. package/dist/chunks/{persistent-pty-d4v9tmah.js → credential-d4v9tmah.js} +2 -2
  110. package/dist/chunks/{persistent-pty-4pw98qd4.js → credential-d8p3t516.js} +4 -4
  111. package/dist/chunks/{persistent-pty-00htyqr9.js → credential-de5g5c11.js} +13 -13
  112. package/dist/chunks/{persistent-pty-cpyv68vg.js → credential-dn7s2d5x.js} +29 -29
  113. package/dist/chunks/{persistent-pty-31avdb49.js → credential-dp66fs17.js} +11 -11
  114. package/dist/chunks/{persistent-pty-9j54w4dz.js → credential-ds92e70v.js} +47 -47
  115. package/dist/chunks/{persistent-pty-dt77769w.js → credential-dt77769w.js} +1 -1
  116. package/dist/chunks/{persistent-pty-e834z07m.js → credential-e834z07m.js} +1 -1
  117. package/dist/chunks/{persistent-pty-h9ytefs8.js → credential-e9a5c0m5.js} +5 -5
  118. package/dist/chunks/{persistent-pty-wdnrbeqs.js → credential-eaqt3ydp.js} +6 -6
  119. package/dist/chunks/{persistent-pty-52a9j804.js → credential-ehhv8qk8.js} +55 -55
  120. package/dist/chunks/{persistent-pty-ddvn7d3w.js → credential-enkpkfwx.js} +8 -8
  121. package/dist/chunks/{persistent-pty-7c82yqbx.js → credential-eqfmrs69.js} +15 -15
  122. package/dist/chunks/{persistent-pty-fvtwqean.js → credential-eta5y2w6.js} +29 -26
  123. package/dist/chunks/{persistent-pty-7wmpehws.js → credential-ewfk0g57.js} +14 -14
  124. package/dist/chunks/{persistent-pty-09bv4atg.js → credential-f01y088k.js} +5 -5
  125. package/dist/chunks/{persistent-pty-mk295dtd.js → credential-fdg4ckdw.js} +12 -12
  126. package/dist/chunks/{persistent-pty-fffv3p7h.js → credential-fffv3p7h.js} +1 -1
  127. package/dist/chunks/{persistent-pty-9n2g1sn7.js → credential-g0frj7t5.js} +10 -10
  128. package/dist/chunks/{persistent-pty-wzkv2sek.js → credential-g2774j0n.js} +4 -4
  129. package/dist/chunks/{persistent-pty-crvjh2nq.js → credential-g843qhaa.js} +6 -6
  130. package/dist/chunks/{persistent-pty-7nnxdazv.js → credential-ga2t0gy0.js} +4 -4
  131. package/dist/chunks/{persistent-pty-8hn4pygh.js → credential-gbc4t0r5.js} +26 -26
  132. package/dist/chunks/{persistent-pty-gg8p9cgs.js → credential-gg8p9cgs.js} +3 -3
  133. package/dist/chunks/{persistent-pty-6azgr7ze.js → credential-gn5p3jxd.js} +45 -45
  134. package/dist/chunks/credential-grzehpz7.js +18 -0
  135. package/dist/chunks/{persistent-pty-df05jr30.js → credential-gx0r2313.js} +6 -6
  136. package/dist/chunks/{persistent-pty-ky4b16es.js → credential-h0zzzneq.js} +11 -11
  137. package/dist/chunks/{persistent-pty-e6awym77.js → credential-h48mbjt9.js} +21 -21
  138. package/dist/chunks/{persistent-pty-v0t96s7a.js → credential-h7d4rbrg.js} +4 -4
  139. package/dist/chunks/{persistent-pty-r3096bj9.js → credential-h941mtgh.js} +27 -27
  140. package/dist/chunks/{persistent-pty-4qv6rmbn.js → credential-h9e79qkn.js} +9 -9
  141. package/dist/chunks/{persistent-pty-qn4ber4v.js → credential-hcchr7b8.js} +16 -16
  142. package/dist/chunks/{persistent-pty-hfgk9wzg.js → credential-hfgk9wzg.js} +1 -1
  143. package/dist/chunks/{persistent-pty-nng17e32.js → credential-hftn0tp4.js} +33 -33
  144. package/dist/chunks/{persistent-pty-c4wqcyac.js → credential-hgepg6aa.js} +30 -30
  145. package/dist/chunks/{persistent-pty-pyhph78g.js → credential-hmddjb5g.js} +11 -11
  146. package/dist/chunks/{persistent-pty-hpg1pkwy.js → credential-hpg1pkwy.js} +1 -1
  147. package/dist/chunks/{persistent-pty-z4v0at7d.js → credential-hxfydjz7.js} +32 -31
  148. package/dist/chunks/{persistent-pty-67avc1k8.js → credential-ja21mvjg.js} +8 -8
  149. package/dist/chunks/{persistent-pty-jfaecv01.js → credential-jfaecv01.js} +1 -1
  150. package/dist/chunks/{persistent-pty-xeecq2r5.js → credential-jpfnw9g4.js} +3 -3
  151. package/dist/chunks/{persistent-pty-jtnps1zs.js → credential-jtnps1zs.js} +2 -2
  152. package/dist/chunks/{persistent-pty-t20mvzrk.js → credential-jyf5b8xa.js} +15 -15
  153. package/dist/chunks/{persistent-pty-fv3rjegd.js → credential-k1mrsx9s.js} +47 -47
  154. package/dist/chunks/{persistent-pty-0v98g2dp.js → credential-k2cep7rr.js} +5 -5
  155. package/dist/chunks/{persistent-pty-k814nvkf.js → credential-k814nvkf.js} +1 -1
  156. package/dist/chunks/{persistent-pty-p0knec42.js → credential-kb5t3ds5.js} +15 -15
  157. package/dist/chunks/{persistent-pty-7vktkwjq.js → credential-kfj1f8qk.js} +10 -10
  158. package/dist/chunks/{persistent-pty-1fr6zs4m.js → credential-kh6aewdq.js} +32 -32
  159. package/dist/chunks/{persistent-pty-mnyz6jmh.js → credential-kj0q4yg0.js} +9 -9
  160. package/dist/chunks/{persistent-pty-vm6x4cc6.js → credential-kj3apbqt.js} +11 -11
  161. package/dist/chunks/{persistent-pty-txsdra3m.js → credential-kmavkxxp.js} +29 -29
  162. package/dist/chunks/{persistent-pty-7r7rb3ck.js → credential-kmwym1c0.js} +10 -10
  163. package/dist/chunks/{persistent-pty-vxqjk0bx.js → credential-kn8cv6st.js} +6 -6
  164. package/dist/chunks/{persistent-pty-v21mv7f7.js → credential-knajrh1z.js} +12 -12
  165. package/dist/chunks/{persistent-pty-58fxbgyk.js → credential-kpayrmev.js} +7 -7
  166. package/dist/chunks/{persistent-pty-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
  167. package/dist/chunks/{persistent-pty-mx5ntkq3.js → credential-kvceask2.js} +28 -28
  168. package/dist/chunks/{persistent-pty-w15dafs9.js → credential-kw2sxjk8.js} +18 -18
  169. package/dist/chunks/{persistent-pty-m1714858.js → credential-m1714858.js} +1 -1
  170. package/dist/chunks/{persistent-pty-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{persistent-pty-ty8kxeae.js → credential-mekz3fys.js} +35 -35
  172. package/dist/chunks/{persistent-pty-jdgjvsvw.js → credential-mpmbh81r.js} +19 -19
  173. package/dist/chunks/{persistent-pty-eke95etz.js → credential-mqk0aw1r.js} +41 -41
  174. package/dist/chunks/{persistent-pty-4m86bj6y.js → credential-myztnk54.js} +24 -0
  175. package/dist/chunks/{persistent-pty-7j9wt8g8.js → credential-n6zcgpz9.js} +5 -5
  176. package/dist/chunks/{persistent-pty-633sykgz.js → credential-n7n2q093.js} +27 -27
  177. package/dist/chunks/{persistent-pty-nah043kf.js → credential-nah043kf.js} +1 -1
  178. package/dist/chunks/{persistent-pty-dncqwfyx.js → credential-nb51j40y.js} +20 -20
  179. package/dist/chunks/{persistent-pty-kpprecar.js → credential-nbqwew1m.js} +24 -24
  180. package/dist/chunks/{persistent-pty-6xxhtnvb.js → credential-ncmcp14m.js} +25 -25
  181. package/dist/chunks/{persistent-pty-3rkfx9k9.js → credential-ndna58nq.js} +13 -13
  182. package/dist/chunks/credential-nh4v3znn.js +36 -0
  183. package/dist/chunks/{persistent-pty-whss3p2j.js → credential-nsr16dad.js} +15 -15
  184. package/dist/chunks/{persistent-pty-kvvk99b7.js → credential-nvhxtb15.js} +15 -15
  185. package/dist/chunks/{persistent-pty-p015t6z3.js → credential-p015t6z3.js} +2 -2
  186. package/dist/chunks/{persistent-pty-4wj04rfq.js → credential-p47swmgp.js} +22 -22
  187. package/dist/chunks/{persistent-pty-yqveydy6.js → credential-p76me67c.js} +4 -4
  188. package/dist/chunks/{persistent-pty-drvbhkez.js → credential-p7f9amnf.js} +6 -6
  189. package/dist/chunks/{persistent-pty-ez0bd5c5.js → credential-p877pzbq.js} +13 -13
  190. package/dist/chunks/{persistent-pty-5spjnxae.js → credential-pb73g8ww.js} +27 -27
  191. package/dist/chunks/{persistent-pty-pknna89w.js → credential-pknna89w.js} +1 -1
  192. package/dist/chunks/{persistent-pty-gqng3fq0.js → credential-pkq395za.js} +1 -1
  193. package/dist/chunks/{persistent-pty-6rqz0akc.js → credential-pqe3wwk7.js} +25 -25
  194. package/dist/chunks/{persistent-pty-fg9p65nk.js → credential-prq7xxp2.js} +6 -6
  195. package/dist/chunks/{persistent-pty-nkyj4cf1.js → credential-pv1x0yxd.js} +27 -27
  196. package/dist/chunks/{persistent-pty-zd4mb3qc.js → credential-pyb4kdaa.js} +13 -13
  197. package/dist/chunks/{persistent-pty-ve5h0m4q.js → credential-pzc0xwr7.js} +7 -7
  198. package/dist/chunks/{persistent-pty-whfmfgat.js → credential-q25zpt88.js} +4 -4
  199. package/dist/chunks/{persistent-pty-3h757q1d.js → credential-q6q0x75a.js} +8 -8
  200. package/dist/chunks/{persistent-pty-vzvqvrbr.js → credential-q7yr00bv.js} +34 -34
  201. package/dist/chunks/{persistent-pty-2fe6144r.js → credential-q982ceg8.js} +25 -25
  202. package/dist/chunks/{persistent-pty-ra34yqmw.js → credential-qah7t4da.js} +6 -6
  203. package/dist/chunks/{persistent-pty-24bdjav6.js → credential-qbqmyk35.js} +28 -28
  204. package/dist/chunks/{persistent-pty-mr182tfb.js → credential-qmbcd6gr.js} +5 -5
  205. package/dist/chunks/{persistent-pty-vsqvcqta.js → credential-qnqasnye.js} +3 -3
  206. package/dist/chunks/{persistent-pty-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
  207. package/dist/chunks/{persistent-pty-hrxhk37r.js → credential-r0br8gdd.js} +35 -35
  208. package/dist/chunks/{persistent-pty-r0yr0wbs.js → credential-r0yr0wbs.js} +1 -1
  209. package/dist/chunks/{persistent-pty-r542h3bh.js → credential-r542h3bh.js} +1 -1
  210. package/dist/chunks/{persistent-pty-7w4mdq9h.js → credential-r5adr575.js} +12 -12
  211. package/dist/chunks/{persistent-pty-6hjagsjn.js → credential-r7yqde16.js} +4 -4
  212. package/dist/chunks/{persistent-pty-gbc4psnj.js → credential-rann5k8e.js} +15 -15
  213. package/dist/chunks/{persistent-pty-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
  214. package/dist/chunks/{persistent-pty-ya13x5xa.js → credential-rfpbm3qw.js} +18 -18
  215. package/dist/chunks/credential-rgzggw2r.js +33 -0
  216. package/dist/chunks/{persistent-pty-gdpq6bd8.js → credential-rkfzvbfw.js} +16 -16
  217. package/dist/chunks/{persistent-pty-9370xdb0.js → credential-rny8cxrf.js} +16 -16
  218. package/dist/chunks/{persistent-pty-rt5dr6hb.js → credential-rt5dr6hb.js} +1 -1
  219. package/dist/chunks/{persistent-pty-7kjqz9vx.js → credential-rvznwq0w.js} +5 -5
  220. package/dist/chunks/{persistent-pty-43d5xc6d.js → credential-ryhxbr5y.js} +11 -11
  221. package/dist/chunks/{persistent-pty-0mwtxpwv.js → credential-s32yc23w.js} +25 -25
  222. package/dist/chunks/{persistent-pty-q63cb7ap.js → credential-s7gmm2q3.js} +8 -4
  223. package/dist/chunks/{persistent-pty-bwqqmtwx.js → credential-s95e3gja.js} +26 -26
  224. package/dist/chunks/{persistent-pty-sa3fpqfw.js → credential-sa3fpqfw.js} +2 -2
  225. package/dist/chunks/{persistent-pty-qr2tsp5r.js → credential-sfgq15w8.js} +8 -8
  226. package/dist/chunks/{persistent-pty-gs5kg9b2.js → credential-sgtb1tsv.js} +21 -21
  227. package/dist/chunks/{persistent-pty-wxcgqqg8.js → credential-sjdx0erp.js} +16 -16
  228. package/dist/chunks/{persistent-pty-sqjzf8x2.js → credential-sqjzf8x2.js} +1 -1
  229. package/dist/chunks/{persistent-pty-ddad440e.js → credential-sv99c60z.js} +25 -25
  230. package/dist/chunks/{persistent-pty-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
  231. package/dist/chunks/{persistent-pty-hdfrs5mg.js → credential-svtvxt5b.js} +9 -9
  232. package/dist/chunks/{persistent-pty-dfagftgj.js → credential-tchnsj1t.js} +23 -23
  233. package/dist/chunks/{persistent-pty-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{persistent-pty-q7agyjxx.js → credential-td25hne4.js} +8 -8
  235. package/dist/chunks/{persistent-pty-jj147ft1.js → credential-tm2ngzhh.js} +16 -16
  236. package/dist/chunks/{persistent-pty-p3t53mgr.js → credential-tmtdn5g8.js} +22 -22
  237. package/dist/chunks/{persistent-pty-0ya4kcpa.js → credential-tprnqh0m.js} +12 -12
  238. package/dist/chunks/{persistent-pty-mp6ntmcp.js → credential-ttyt43s1.js} +12 -12
  239. package/dist/chunks/{persistent-pty-twssxy5n.js → credential-twssxy5n.js} +2 -2
  240. package/dist/chunks/{persistent-pty-7aszcnrw.js → credential-tx4wcr36.js} +4 -4
  241. package/dist/chunks/{persistent-pty-95jfhm1f.js → credential-v0myx3m5.js} +18 -18
  242. package/dist/chunks/{persistent-pty-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{persistent-pty-sjx7wecx.js → credential-v5d1a9z0.js} +7 -7
  244. package/dist/chunks/{persistent-pty-kep7f5cc.js → credential-v6r2mqf1.js} +11 -11
  245. package/dist/chunks/{persistent-pty-zngxafys.js → credential-vcsqhwkn.js} +11 -11
  246. package/dist/chunks/{persistent-pty-k567f45b.js → credential-ve404jf0.js} +11 -11
  247. package/dist/chunks/{persistent-pty-5qtr8rjc.js → credential-vekke9ze.js} +71 -71
  248. package/dist/chunks/{persistent-pty-2zp5a6yg.js → credential-vg0erq9k.js} +3 -3
  249. package/dist/chunks/{persistent-pty-0anyt1n6.js → credential-vjmsebym.js} +9 -9
  250. package/dist/chunks/{persistent-pty-8r65fy8w.js → credential-vn5j9p0e.js} +23 -23
  251. package/dist/chunks/{persistent-pty-gcjdgkn2.js → credential-vrcsa8qx.js} +9 -9
  252. package/dist/chunks/{persistent-pty-zb5gs1ba.js → credential-vx3jgdek.js} +2 -2
  253. package/dist/chunks/{persistent-pty-jv541gt1.js → credential-vz54nt0f.js} +5 -5
  254. package/dist/chunks/{persistent-pty-kg1ma0kd.js → credential-w2ycgmrw.js} +44 -44
  255. package/dist/chunks/{persistent-pty-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{persistent-pty-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
  257. package/dist/chunks/{persistent-pty-7xcxnnhw.js → credential-wastx31p.js} +7 -7
  258. package/dist/chunks/{persistent-pty-wby0kqsc.js → credential-wby0kqsc.js} +1 -1
  259. package/dist/chunks/{persistent-pty-wd87259q.js → credential-wd87259q.js} +1 -1
  260. package/dist/chunks/{persistent-pty-1ynb6ezc.js → credential-wmesf3ky.js} +14 -14
  261. package/dist/chunks/{persistent-pty-wnhgecwx.js → credential-wnhgecwx.js} +1 -1
  262. package/dist/chunks/{persistent-pty-qymz5vam.js → credential-wqrxf969.js} +40 -40
  263. package/dist/chunks/{persistent-pty-wr3re1en.js → credential-wr3re1en.js} +1 -1
  264. package/dist/chunks/{persistent-pty-3ryz99p0.js → credential-wtgq8nqm.js} +7 -7
  265. package/dist/chunks/{persistent-pty-dyph5nm8.js → credential-wvgdarde.js} +15 -15
  266. package/dist/chunks/{persistent-pty-h6fv7vft.js → credential-x764p0ap.js} +17 -17
  267. package/dist/chunks/{persistent-pty-d54nae6v.js → credential-xa9yt4a6.js} +20 -20
  268. package/dist/chunks/{persistent-pty-bstexjd6.js → credential-xd9cc171.js} +5 -5
  269. package/dist/chunks/{persistent-pty-pzrv7hbh.js → credential-xj34fqn9.js} +12 -12
  270. package/dist/chunks/{persistent-pty-5y682njc.js → credential-xk5nadf4.js} +36 -36
  271. package/dist/chunks/{persistent-pty-v4t7rh87.js → credential-xr7azs4w.js} +15 -15
  272. package/dist/chunks/{persistent-pty-aqpt7qn5.js → credential-xrejx9hx.js} +16 -16
  273. package/dist/chunks/{persistent-pty-bcvtcraz.js → credential-xv4zb3hn.js} +1 -1
  274. package/dist/chunks/{persistent-pty-jeggvkmv.js → credential-y0z85yb7.js} +11 -11
  275. package/dist/chunks/{persistent-pty-atcw9je4.js → credential-y3p8jgcj.js} +9 -9
  276. package/dist/chunks/{persistent-pty-32qv0r55.js → credential-y3r864xm.js} +2 -2
  277. package/dist/chunks/{persistent-pty-yara3q77.js → credential-yara3q77.js} +2 -2
  278. package/dist/chunks/{persistent-pty-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{persistent-pty-pszedv3e.js → credential-yb8qqq1e.js} +9 -9
  280. package/dist/chunks/{persistent-pty-9s067py2.js → credential-yr316x9x.js} +3 -3
  281. package/dist/chunks/{persistent-pty-ve45bn9x.js → credential-ywm7vzgw.js} +6 -6
  282. package/dist/chunks/{persistent-pty-tmy26mxh.js → credential-yy93hw4g.js} +27 -27
  283. package/dist/chunks/{persistent-pty-z38nccrw.js → credential-z38nccrw.js} +1 -1
  284. package/dist/chunks/{persistent-pty-cjaw03wv.js → credential-z5sv9z4b.js} +17 -17
  285. package/dist/chunks/{persistent-pty-38d21fdm.js → credential-z943meh7.js} +18 -18
  286. package/dist/chunks/{persistent-pty-pqnrqzxc.js → credential-z9kzkjwz.js} +9 -9
  287. package/dist/chunks/{persistent-pty-yc76cwjc.js → credential-z9m5kdq9.js} +17 -17
  288. package/dist/chunks/{persistent-pty-nad4mkqt.js → credential-zavmbsdh.js} +8 -8
  289. package/dist/chunks/{persistent-pty-49xvkvhm.js → credential-zbfdjnnn.js} +1 -1
  290. package/dist/chunks/{persistent-pty-2s4hqds4.js → credential-zbkzjvgf.js} +22 -22
  291. package/dist/chunks/{persistent-pty-7wpj9r4n.js → credential-zm39794k.js} +11 -11
  292. package/dist/chunks/{persistent-pty-ddc2cb7k.js → credential-zp9rf83y.js} +23 -23
  293. package/dist/chunks/{persistent-pty-htf1zbz3.js → credential-zwmyj4b2.js} +16 -16
  294. package/dist/chunks/{persistent-pty-epv0aws2.js → credential-zyb6xh6k.js} +18 -18
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +3 -3
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +90 -89
  300. package/dist/config/discovery.js +91 -90
  301. package/dist/config/integration.js +1 -1
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +108 -107
  304. package/dist/config/plugin/agent.js +122 -121
  305. package/dist/config/plugin/command.js +220 -219
  306. package/dist/config/plugin/compaction.js +163 -162
  307. package/dist/config/plugin/compatibility.js +143 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +123 -122
  310. package/dist/config/plugin/image.js +122 -121
  311. package/dist/config/plugin/instruction.js +122 -121
  312. package/dist/config/plugin/location-watcher.js +122 -121
  313. package/dist/config/plugin/mcp.js +129 -128
  314. package/dist/config/plugin/policy.js +124 -123
  315. package/dist/config/plugin/provider.js +123 -122
  316. package/dist/config/plugin/reference.js +124 -123
  317. package/dist/config/plugin/shell.js +122 -121
  318. package/dist/config/plugin/skill-file.js +139 -138
  319. package/dist/config/plugin/skill-scan.js +1 -1
  320. package/dist/config/plugin/skill.js +144 -143
  321. package/dist/config/plugin/snapshot.js +122 -121
  322. package/dist/config/plugin/source.js +119 -118
  323. package/dist/config/plugin/tool-output.js +123 -122
  324. package/dist/config/plugin/websearch.js +121 -120
  325. package/dist/config/plugin/worktree.js +124 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +127 -126
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +88 -87
  332. package/dist/database/database.js +73 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration/20261026223005_schedule.js +6 -0
  404. package/dist/database/migration.gen.js +56 -55
  405. package/dist/database/migration.js +58 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +101 -100
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +378 -377
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +1 -1
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +102 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +102 -101
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +77 -76
  429. package/dist/file-access.js +149 -148
  430. package/dist/file-mutation.js +99 -98
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +84 -83
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +229 -228
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +108 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +111 -110
  444. package/dist/form.js +87 -86
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +96 -95
  447. package/dist/generate.js +114 -113
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +108 -107
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +369 -368
  474. package/dist/instruction-discovery.js +93 -92
  475. package/dist/instructions/builtins.js +96 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +92 -91
  479. package/dist/job.js +85 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +80 -79
  482. package/dist/location-activity.js +164 -163
  483. package/dist/location-lifecycle.js +143 -142
  484. package/dist/location-service-map.js +95 -94
  485. package/dist/location-services.js +366 -365
  486. package/dist/location.js +96 -95
  487. package/dist/managed-policy.js +3 -3
  488. package/dist/mcp/client.js +100 -99
  489. package/dist/mcp/index.js +110 -109
  490. package/dist/mcp/instructions.js +169 -168
  491. package/dist/mcp/oauth.js +82 -81
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +99 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +108 -107
  496. package/dist/model-resolver.js +108 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +109 -108
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +113 -112
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +89 -88
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +148 -147
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +87 -86
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +82 -81
  510. package/dist/plugin/agent.js +81 -80
  511. package/dist/plugin/command.js +109 -108
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +226 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +339 -338
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +106 -105
  519. package/dist/plugin/module.js +124 -123
  520. package/dist/plugin/optimize.js +4 -4
  521. package/dist/plugin/plan.js +139 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +99 -98
  524. package/dist/plugin/provider/azure.js +122 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +122 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
  529. package/dist/plugin/provider/configured.js +118 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +102 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/github-copilot.js +104 -103
  534. package/dist/plugin/provider/gitlab.js +102 -101
  535. package/dist/plugin/provider/google-vertex.js +119 -118
  536. package/dist/plugin/provider/kilo.js +1 -1
  537. package/dist/plugin/provider/llmgateway.js +85 -84
  538. package/dist/plugin/provider/lmstudio.js +131 -130
  539. package/dist/plugin/provider/local.js +128 -127
  540. package/dist/plugin/provider/modal.js +101 -100
  541. package/dist/plugin/provider/neon.js +1 -1
  542. package/dist/plugin/provider/nvidia.js +1 -1
  543. package/dist/plugin/provider/ollama.js +131 -130
  544. package/dist/plugin/provider/openai-context-caps.js +99 -98
  545. package/dist/plugin/provider/openai.js +124 -123
  546. package/dist/plugin/provider/opencode.js +125 -124
  547. package/dist/plugin/provider/openrouter.js +100 -99
  548. package/dist/plugin/provider/poe.js +86 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +100 -99
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +121 -120
  553. package/dist/plugin/provider/vllm.js +131 -130
  554. package/dist/plugin/provider/xai.js +100 -99
  555. package/dist/plugin/provider/zenmux.js +1 -1
  556. package/dist/plugin/provider.js +172 -171
  557. package/dist/plugin/sdk.js +77 -76
  558. package/dist/plugin/service.js +3 -3
  559. package/dist/plugin/skill.js +142 -141
  560. package/dist/plugin/source-directory.js +1 -1
  561. package/dist/plugin/supervisor.js +354 -353
  562. package/dist/plugin/tool-input-repair.js +4 -4
  563. package/dist/plugin/update.js +6 -6
  564. package/dist/plugin/vcs/git.js +95 -94
  565. package/dist/plugin/vcs/hg.js +95 -94
  566. package/dist/plugin/verbosity.js +102 -101
  567. package/dist/plugin/warming.js +120 -119
  568. package/dist/plugin/websearch/exa.js +7 -7
  569. package/dist/plugin/websearch/firecrawl.js +8 -8
  570. package/dist/plugin/websearch/index.js +9 -9
  571. package/dist/plugin/websearch/mcp.js +4 -4
  572. package/dist/plugin/websearch/parallel.js +8 -8
  573. package/dist/plugin/websearch/tavily.js +6 -6
  574. package/dist/plugin/websearch/tinyfish.js +8 -8
  575. package/dist/plugin.js +237 -236
  576. package/dist/project/icon.js +5 -5
  577. package/dist/project/schema.js +8 -8
  578. package/dist/project/sql.js +4 -4
  579. package/dist/project.js +97 -96
  580. package/dist/provider.js +106 -105
  581. package/dist/pty/protocol.js +1 -1
  582. package/dist/pty/ticket.js +1 -1
  583. package/dist/pty.js +107 -106
  584. package/dist/reference/instructions.js +95 -94
  585. package/dist/reference.js +99 -98
  586. package/dist/repository-cache.js +89 -88
  587. package/dist/repository.js +3 -3
  588. package/dist/ripgrep/binary.js +2 -2
  589. package/dist/ripgrep.js +106 -105
  590. package/dist/rpc.js +95 -94
  591. package/dist/schedule/sql.js +11 -0
  592. package/dist/schedule.js +556 -0
  593. package/dist/schema.js +1 -1
  594. package/dist/session/affinity.js +1 -1
  595. package/dist/session/blob.js +121 -120
  596. package/dist/session/command.js +81 -80
  597. package/dist/session/compaction.js +163 -162
  598. package/dist/session/context.js +185 -184
  599. package/dist/session/diff.js +97 -96
  600. package/dist/session/environment.js +5 -5
  601. package/dist/session/error.js +5 -5
  602. package/dist/session/event.js +1 -1
  603. package/dist/session/execution/restart.js +226 -225
  604. package/dist/session/execution.js +153 -152
  605. package/dist/session/generate.js +189 -188
  606. package/dist/session/history.js +128 -127
  607. package/dist/session/inbox.js +133 -132
  608. package/dist/session/info.js +3 -3
  609. package/dist/session/instruction-entry.js +84 -83
  610. package/dist/session/instruction-state.js +8 -8
  611. package/dist/session/instructions.js +129 -128
  612. package/dist/session/message-updater.js +2 -2
  613. package/dist/session/message.js +1 -1
  614. package/dist/session/model-request.js +156 -155
  615. package/dist/session/model-transport.js +9 -9
  616. package/dist/session/move.js +153 -152
  617. package/dist/session/projector.js +133 -132
  618. package/dist/session/prompt.js +141 -140
  619. package/dist/session/recent-text.js +1 -1
  620. package/dist/session/revert.js +131 -130
  621. package/dist/session/run-coordinator.js +1 -1
  622. package/dist/session/runner/index.js +3 -3
  623. package/dist/session/runner/llm.js +237 -236
  624. package/dist/session/runner/max-steps.js +1 -1
  625. package/dist/session/runner/model.js +109 -108
  626. package/dist/session/runner/publish-llm-event.js +142 -141
  627. package/dist/session/runner/retry.js +3 -3
  628. package/dist/session/runner/step.js +153 -152
  629. package/dist/session/runner/to-llm-message.js +129 -128
  630. package/dist/session/schema.js +3 -3
  631. package/dist/session/session.js +171 -170
  632. package/dist/session/shell.js +136 -135
  633. package/dist/session/skill.js +140 -139
  634. package/dist/session/sql.js +5 -5
  635. package/dist/session/stats.js +80 -79
  636. package/dist/session/store.js +134 -133
  637. package/dist/session/stored.js +4 -4
  638. package/dist/session/subagent-completion.js +1 -1
  639. package/dist/session/subagent-job.js +220 -219
  640. package/dist/session/system-prompt.js +1 -1
  641. package/dist/session/title.js +187 -186
  642. package/dist/session/to-session-error.js +141 -140
  643. package/dist/session/transfer.js +220 -219
  644. package/dist/session/usage.js +1 -1
  645. package/dist/session.js +218 -217
  646. package/dist/shell/parse.js +6 -6
  647. package/dist/shell/result.js +1 -1
  648. package/dist/shell/scan.js +1 -1
  649. package/dist/shell/select.js +7 -7
  650. package/dist/shell.js +138 -137
  651. package/dist/skill/discovery.js +6 -6
  652. package/dist/skill/instructions.js +140 -139
  653. package/dist/skill.js +149 -148
  654. package/dist/snapshot.js +102 -101
  655. package/dist/state.js +1 -1
  656. package/dist/tool/html-markdown.js +1 -1
  657. package/dist/tool/http-body.js +1 -1
  658. package/dist/tool/mcp.js +162 -161
  659. package/dist/tool/plugin/edit.js +157 -156
  660. package/dist/tool/plugin/file-diff.js +1 -1
  661. package/dist/tool/plugin/glob.js +161 -160
  662. package/dist/tool/plugin/grep.js +155 -154
  663. package/dist/tool/plugin/mcp-resource.js +155 -154
  664. package/dist/tool/plugin/opencode.js +154 -153
  665. package/dist/tool/plugin/patch.js +159 -158
  666. package/dist/tool/plugin/question.js +137 -136
  667. package/dist/tool/plugin/read.js +162 -161
  668. package/dist/tool/plugin/shell.js +223 -222
  669. package/dist/tool/plugin/skill.js +150 -149
  670. package/dist/tool/plugin/subagent.js +227 -226
  671. package/dist/tool/plugin/todo.js +146 -145
  672. package/dist/tool/plugin/webfetch.js +148 -147
  673. package/dist/tool/plugin/websearch.js +146 -145
  674. package/dist/tool/plugin/write.js +157 -156
  675. package/dist/tool/read-filesystem.js +109 -108
  676. package/dist/tool/runtime.js +1 -1
  677. package/dist/tool-output.js +7 -7
  678. package/dist/tool.js +12 -12
  679. package/dist/types/codemode/web.d.ts +23 -1
  680. package/dist/types/database/migration/20261026223005_schedule.d.ts +3 -0
  681. package/dist/types/schedule/sql.d.ts +298 -0
  682. package/dist/types/schedule.d.ts +129 -0
  683. package/dist/types/session/model-request.d.ts +1 -1
  684. package/dist/usage-limits.js +96 -95
  685. package/dist/util/error-summary.js +1 -1
  686. package/dist/util/git-executable.js +3 -3
  687. package/dist/util/lazy.js +1 -1
  688. package/dist/util/slug.js +1 -1
  689. package/dist/util/token.js +1 -1
  690. package/dist/util/which.js +1 -1
  691. package/dist/util/wildcard.js +1 -1
  692. package/dist/v1/config/agent.js +7 -7
  693. package/dist/v1/config/command.js +5 -5
  694. package/dist/v1/config/mcp.js +4 -4
  695. package/dist/v1/config/migrate.js +101 -100
  696. package/dist/v1/config/permission.js +3 -3
  697. package/dist/v1/config/plugin.js +3 -3
  698. package/dist/v1/config/provider-options.js +1 -1
  699. package/dist/v1/config/provider.js +4 -4
  700. package/dist/variant.js +100 -99
  701. package/dist/vcs/patch.js +1 -1
  702. package/dist/vcs.js +98 -97
  703. package/dist/voice.js +91 -90
  704. package/dist/websearch.js +87 -86
  705. package/dist/wellknown/plugin.js +83 -82
  706. package/dist/wellknown.js +86 -85
  707. package/dist/workspace/driver.js +5 -5
  708. package/dist/workspace/sql.js +1 -1
  709. package/dist/workspace.js +87 -86
  710. package/dist/worktree/directory.js +2 -2
  711. package/dist/worktree/git.js +9 -9
  712. package/dist/worktree/sql.js +5 -5
  713. package/dist/worktree/strategies.js +98 -97
  714. package/dist/worktree.js +107 -106
  715. package/package.json +8 -8
  716. package/dist/chunks/persistent-pty-7h6zwn4y.js +0 -511
  717. package/dist/chunks/persistent-pty-kb564s6s.js +0 -257
  718. package/dist/chunks/persistent-pty-m2b5v9hb.js +0 -26
  719. package/dist/chunks/persistent-pty-z355x5yr.js +0 -18
  720. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-1jakw16s.js → credential-1jakw16s.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-24dcb14g.js → credential-24dcb14g.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-2710q6r3.js → credential-2710q6r3.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-2bv980vf.js → credential-2bv980vf.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-359p4xyc.js → credential-359p4xyc.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-3asan66x.js → credential-3asan66x.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-53557ph1.js → credential-53557ph1.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-550bvhaj.js → credential-550bvhaj.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-6prwharc.js → credential-6prwharc.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-7m9af43g.js → credential-7m9af43g.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-822emrt2.js → credential-822emrt2.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-84wd9syh.js → credential-84wd9syh.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-8n3pysct.js → credential-8n3pysct.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-a058387c.js → credential-a058387c.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-af5trqkr.js → credential-af5trqkr.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-afrmfg78.js → credential-afrmfg78.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-beh6qq61.js → credential-beh6qq61.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-d9fn303g.js → credential-d9fn303g.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-dajrwvna.js → credential-dajrwvna.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-dap0rakb.js → credential-dap0rakb.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-df08tz66.js → credential-df08tz66.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-dy18nga0.js → credential-dy18nga0.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-ec1grn59.js → credential-ec1grn59.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-faypxj3z.js → credential-faypxj3z.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-fd410y7t.js → credential-fd410y7t.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-g86h250q.js → credential-g86h250q.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-gftt206x.js → credential-gftt206x.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-hk9envan.js → credential-hk9envan.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-m18g726c.js → credential-m18g726c.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-mp448xyj.js → credential-mp448xyj.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-ncqqe42p.js → credential-ncqqe42p.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-njntx4h6.js → credential-njntx4h6.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  802. /package/dist/chunks/{persistent-pty-q74kybfr.js → credential-q74kybfr.js} +0 -0
  803. /package/dist/chunks/{persistent-pty-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  804. /package/dist/chunks/{persistent-pty-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  805. /package/dist/chunks/{persistent-pty-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  806. /package/dist/chunks/{persistent-pty-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
  807. /package/dist/chunks/{persistent-pty-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  808. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  809. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  810. /package/dist/chunks/{persistent-pty-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  811. /package/dist/chunks/{persistent-pty-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
  812. /package/dist/chunks/{persistent-pty-w803qqfp.js → credential-w803qqfp.js} +0 -0
  813. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
  814. /package/dist/chunks/{persistent-pty-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  815. /package/dist/chunks/{persistent-pty-wtztk69x.js → credential-wtztk69x.js} +0 -0
  816. /package/dist/chunks/{persistent-pty-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  817. /package/dist/chunks/{persistent-pty-x61499pn.js → credential-x61499pn.js} +0 -0
  818. /package/dist/chunks/{persistent-pty-y44na4kk.js → credential-y44na4kk.js} +0 -0
  819. /package/dist/chunks/{persistent-pty-y8f7s663.js → credential-y8f7s663.js} +0 -0
  820. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  821. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
  822. /package/dist/chunks/{persistent-pty-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-7aszcnrw.js";
4
+ } from "./credential-tx4wcr36.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./persistent-pty-rb9dy4dg.js";
9
+ } from "./credential-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./persistent-pty-6azgr7ze.js";
12
+ } from "./credential-gn5p3jxd.js";
13
13
  import {
14
- Service82,
15
- node86
16
- } from "./persistent-pty-jj147ft1.js";
14
+ Service76,
15
+ node79
16
+ } from "./credential-tm2ngzhh.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./persistent-pty-204s3925.js";
20
+ } from "./credential-204s3925.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./credential-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,19 +29,19 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info5,
32
+ Info: () => Info7,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service23,
35
+ Service: () => Service26,
36
36
  Untracked: () => Untracked2,
37
37
  Vcs: () => exports_vcs,
38
- node: () => node26
38
+ node: () => node29
39
39
  });
40
40
  import path from "path";
41
41
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
42
42
  import { FileDiff } from "@opencode/schema/file-diff";
43
43
  import { FileSystem } from "@opencode/schema/filesystem";
44
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
44
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
45
45
  import { VcsEvent } from "@opencode/schema/vcs-event";
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import { FSUtil } from "@opencode/util/fs-util";
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service23 extends Context.Service()("@opencode/Vcs") {
58
+ class Service26 extends Context.Service()("@opencode/Vcs") {
59
59
  }
60
- var layer = Layer.effect(Service23, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
61
61
  const fs = yield* FSUtil.Service;
62
- const location = yield* Service82;
62
+ const location = yield* Service76;
63
63
  const bus = yield* Service85;
64
64
  const root = yield* Effect.scope;
65
65
  const fork = yield* FiberSet.makeRuntime();
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
72
72
  canonical: location.project.canonical,
73
73
  ...vcs ? { store: vcs.store } : {}
74
74
  };
75
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
75
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
76
76
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
77
77
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
78
78
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
130
130
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
131
131
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
132
132
  }
133
- return Service23.of({
133
+ return Service26.of({
134
134
  transform: state.transform,
135
135
  reload: state.reload,
136
136
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
189
189
  })
190
190
  });
191
191
  }));
192
- var node26 = makeLocationNode({
193
- service: Service23,
192
+ var node29 = makeLocationNode({
193
+ service: Service26,
194
194
  layer,
195
- deps: [FSUtil.node, node86, node89]
195
+ deps: [FSUtil.node, node79, node89]
196
196
  });
197
197
 
198
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, Untracked2, DiffError2, InitializeError2, Service23, node26, exports_vcs };
198
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, Untracked2, DiffError2, InitializeError2, Service26, node29, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./persistent-pty-p015t6z3.js";
3
+ } from "./credential-p015t6z3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./credential-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service35,
11
+ Service: () => Service34,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node39
15
+ node: () => node38
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service35.of({ bind, close, closeAll });
370
+ return Service34.of({ bind, close, closeAll });
371
371
  }));
372
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node39 = makeGlobalNode({ service: Service35, layer: layer16, deps: [webSocketConstructor2] });
375
+ var node38 = makeGlobalNode({ service: Service34, layer: layer15, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service35, makeLayer2, layer16, node39, exports_model_transport };
377
+ export { Service34, makeLayer2, layer15, node38, exports_model_transport };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service48,
3
- node51,
2
+ Service65,
3
+ node68,
4
4
  canonical3
5
- } from "./persistent-pty-mnyz6jmh.js";
5
+ } from "./credential-kj0q4yg0.js";
6
6
  import {
7
- Service46,
8
- node48
9
- } from "./persistent-pty-ra34yqmw.js";
7
+ Service53,
8
+ node55
9
+ } from "./credential-qah7t4da.js";
10
10
  import {
11
- Service17
12
- } from "./persistent-pty-nng17e32.js";
11
+ Service19
12
+ } from "./credential-hftn0tp4.js";
13
13
  import {
14
14
  layer2
15
- } from "./persistent-pty-kb564s6s.js";
15
+ } from "./credential-0r9z73ty.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service48, Effect.gen(function* () {
20
+ return Layer.effect(Service65, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service17);
30
+ const lifecycle = Context.get(exit.value, Service19);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
58
58
  }).pipe(Effect.uninterruptible)
59
59
  };
60
60
  const bindings = [
61
- node48.replace(Layer.succeed(Service46, {
61
+ node55.replace(Layer.succeed(Service53, {
62
62
  provide: (session) => Effect.provide(map.get(session.location))
63
63
  })),
64
64
  ...replacements,
65
- node51.replace(Layer.succeed(Service48, map))
65
+ node68.replace(Layer.succeed(Service65, map))
66
66
  ];
67
67
  return map;
68
68
  }));
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service72
3
- } from "./persistent-pty-kg1ma0kd.js";
2
+ Service59
3
+ } from "./credential-w2ycgmrw.js";
4
4
  import {
5
- Service41
6
- } from "./persistent-pty-hrxhk37r.js";
5
+ Service40
6
+ } from "./credential-r0br8gdd.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./credential-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin18,
15
+ Plugin: () => Plugin5,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin18 = define({
20
+ var Plugin5 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe({ types: ["config.updated"] }));
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service72;
28
- const mcp = yield* Service41;
27
+ const config = yield* Service59;
28
+ const mcp = yield* Service40;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin18, register2, exports_mcp };
49
+ export { Plugin5, register2, exports_mcp };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./persistent-pty-204s3925.js";
3
+ } from "./credential-204s3925.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./credential-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service62,
14
+ Service: () => Service46,
15
15
  SizeError: () => SizeError2,
16
- node: () => node65
16
+ node: () => node49
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service62 extends Context.Service()("@opencode/Image") {
45
+ class Service46 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service62, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service62.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service46.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node65 = makeLocationNode({ service: Service62, layer, deps: [] });
79
+ var node49 = makeLocationNode({ service: Service46, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service62, node65, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service46, node49, exports_image2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/config/variable.ts
6
6
  var exports_variable = {};
@@ -2,24 +2,24 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./persistent-pty-fvtwqean.js";
5
+ } from "./credential-eta5y2w6.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info22
11
- } from "./persistent-pty-tmy26mxh.js";
10
+ Info21
11
+ } from "./credential-yy93hw4g.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./credential-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load4
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load4(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load4(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load4(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info22.make({
122
- ...Info22.default(ID13.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID13.githubCopilot, id),
123
123
  id,
124
124
  modelID: ID12.make(remote.id),
125
125
  providerID: ID13.githubCopilot,
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load4, derive3, exports_models2 };
200
+ export { get2, load3, derive2, exports_models };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service86
3
- } from "./persistent-pty-72amzxyx.js";
3
+ } from "./credential-3kkx4n85.js";
4
4
  import {
5
- Service62
6
- } from "./persistent-pty-h6t0znmf.js";
5
+ Service46
6
+ } from "./credential-7vfr41g1.js";
7
7
  import {
8
8
  detect2
9
- } from "./persistent-pty-4pyp9zr9.js";
9
+ } from "./credential-4pyp9zr9.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./persistent-pty-z355x5yr.js";
12
+ } from "./credential-grzehpz7.js";
13
13
  import {
14
- Service71
15
- } from "./persistent-pty-nad4mkqt.js";
14
+ Service61
15
+ } from "./credential-zavmbsdh.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./persistent-pty-df05jr30.js";
19
+ } from "./credential-gx0r2313.js";
20
20
  import {
21
21
  Ref2,
22
22
  refHash2
23
- } from "./persistent-pty-fg9p65nk.js";
23
+ } from "./credential-prq7xxp2.js";
24
24
  import {
25
25
  read3
26
- } from "./persistent-pty-crvjh2nq.js";
26
+ } from "./credential-g843qhaa.js";
27
27
  import {
28
28
  prepare3,
29
- Service50
30
- } from "./persistent-pty-dfagftgj.js";
29
+ Service55
30
+ } from "./credential-tchnsj1t.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./credential-9rqn6x4v.js";
34
34
 
35
35
  // src/session/prompt.ts
36
36
  var exports_prompt = {};
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
48
48
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
49
49
  const fs = yield* FSUtil.Service;
50
50
  yield* awaitActivation2;
51
- const hooks = yield* Service71;
51
+ const hooks = yield* Service61;
52
52
  const event = yield* hooks.trigger("session", "prompt", {
53
53
  sessionID: request.session.id,
54
54
  messageID: request.messageID,
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
67
67
  const selected = yield* Effect.gen(function* () {
68
68
  if (!requested?.length)
69
69
  return;
70
- const skillService = yield* Service50;
70
+ const skillService = yield* Service55;
71
71
  const prepared = new Map;
72
72
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
73
73
  const name = prepared.get(attachment.id);
@@ -141,7 +141,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
141
141
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
142
142
  if (!RESIZABLE_IMAGE_MIMES.has(mime))
143
143
  return { data: Base64.make(data), mime };
144
- const image = yield* Service62;
144
+ const image = yield* Service46;
145
145
  const label = attachmentLabel(input);
146
146
  const content = { uri: label, content: data, encoding: "base64", mime };
147
147
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./persistent-pty-72amzxyx.js";
4
+ } from "./credential-3kkx4n85.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./persistent-pty-1ep2p91f.js";
7
+ } from "./credential-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./credential-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID7,
17
- Info: () => Info12,
18
- NotFoundError: () => NotFoundError7,
16
+ ID: () => ID8,
17
+ Info: () => Info11,
18
+ NotFoundError: () => NotFoundError8,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service53,
21
- node: () => node56
20
+ Service: () => Service57,
21
+ node: () => node59
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info12 = PermissionSaved.Info;
28
+ var ID8 = PermissionSaved.ID;
29
+ var Info11 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID7
31
+ class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID8
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID7,
37
+ id: ID8,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service53 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service57 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service53, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
46
46
  const db = (yield* Service86).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID7.create(),
55
+ id: ID8.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError7({ id: input.id });
64
+ return yield* new NotFoundError8({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError7({ id: input.id });
69
+ return yield* new NotFoundError8({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service53.of({ list, add, update, remove });
75
+ return Service57.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [node90] });
93
+ var node59 = makeGlobalNode({ service: Service57, layer, deps: [node90] });
94
94
 
95
- export { ID7, Info12, NotFoundError7, ConflictError2, Service53, node56, exports_saved };
95
+ export { ID8, Info11, NotFoundError8, ConflictError2, Service57, node59, exports_saved };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./persistent-pty-bcvtcraz.js";
5
+ } from "./credential-xv4zb3hn.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make24,
10
10
  makeWithDefaults2
11
- } from "./persistent-pty-cd1wa7pc.js";
11
+ } from "./credential-cpqaegh5.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./credential-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./credential-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import { createHash } from "node:crypto";