@opencode/core 0.0.0-dev-19640 → 0.0.0-dev-19642

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-services-zn5v3n4q.js → location-02khppbe.js} +9 -9
  8. package/dist/chunks/{location-services-02phnknr.js → location-0560ktsj.js} +13 -13
  9. package/dist/chunks/{location-services-ktm1df1f.js → location-06jkk7ah.js} +4 -4
  10. package/dist/chunks/{location-services-ca7w653e.js → location-06x8he3q.js} +4 -4
  11. package/dist/chunks/{location-services-04kk4d0b.js → location-0h4w7d7c.js} +11 -11
  12. package/dist/chunks/{location-services-8jpr388a.js → location-0jv1ejcq.js} +32 -32
  13. package/dist/chunks/{location-services-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-services-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{location-services-mq0rsbgt.js → location-12wed8mm.js} +11 -11
  16. package/dist/chunks/{location-services-pf3kx1xh.js → location-13r97ts9.js} +26 -26
  17. package/dist/chunks/{location-services-r135cjb7.js → location-16jp76s9.js} +4 -4
  18. package/dist/chunks/{location-services-5yzzbxa7.js → location-1ajx6rf5.js} +8 -8
  19. package/dist/chunks/{location-services-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{location-services-0ztby9hd.js → location-1medja8d.js} +13 -13
  21. package/dist/chunks/{location-services-ab9238g2.js → location-1nzs1dt7.js} +6 -6
  22. package/dist/chunks/{location-services-vfyag517.js → location-1qxzdp14.js} +34 -34
  23. package/dist/chunks/{location-services-bn81s3gb.js → location-1v2ecy8h.js} +11 -11
  24. package/dist/chunks/{location-services-hqdn5jrt.js → location-20m6xvm3.js} +7 -7
  25. package/dist/chunks/{location-services-21r38tys.js → location-21r38tys.js} +1 -1
  26. package/dist/chunks/{location-services-gkqpf5j8.js → location-23e0sdpc.js} +3 -3
  27. package/dist/chunks/{location-services-z63w68vq.js → location-29x78va6.js} +6 -6
  28. package/dist/chunks/{location-services-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{location-services-xr9fhq19.js → location-2czyrpcs.js} +15 -15
  30. package/dist/chunks/{location-services-bp8fbrfw.js → location-2faw5ef7.js} +17 -17
  31. package/dist/chunks/{location-services-97w5rk9e.js → location-2hr5nhwa.js} +8 -8
  32. package/dist/chunks/{location-services-qgn6gcr1.js → location-2k8khapm.js} +5 -5
  33. package/dist/chunks/{location-services-yra71rfx.js → location-2kdpwj1f.js} +3 -3
  34. package/dist/chunks/{location-services-g190xswt.js → location-2pnhn36q.js} +21 -21
  35. package/dist/chunks/{location-services-w0rde4tw.js → location-2rphr397.js} +9 -9
  36. package/dist/chunks/{location-services-6c28me67.js → location-2rqy6js5.js} +15 -15
  37. package/dist/chunks/{location-services-6n37dfq0.js → location-2sm5km0b.js} +10 -10
  38. package/dist/chunks/{location-services-at1kfnmk.js → location-37ea9c2d.js} +8 -8
  39. package/dist/chunks/{location-services-3c141gkz.js → location-3apyeffz.js} +33 -33
  40. package/dist/chunks/{location-services-4sb98eey.js → location-3f9dyp3c.js} +11 -11
  41. package/dist/chunks/{location-services-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{location-services-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{location-services-jfy9m09y.js → location-3qchzd5j.js} +10 -10
  44. package/dist/chunks/{location-services-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{location-services-k9kj6xed.js → location-3tq5qxbk.js} +4 -4
  46. package/dist/chunks/{location-services-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{location-services-dj9sq318.js → location-3w2b2yj4.js} +5 -5
  48. package/dist/chunks/{location-services-4585f844.js → location-3w83s82x.js} +46 -46
  49. package/dist/chunks/{location-services-0ms6sga5.js → location-43yrs188.js} +32 -32
  50. package/dist/chunks/{location-services-tw59yntq.js → location-4mjrf905.js} +6 -6
  51. package/dist/chunks/{location-services-0rzg7vgx.js → location-4vzfa14d.js} +23 -23
  52. package/dist/chunks/{location-services-ta8x8nr4.js → location-4wjrfpfr.js} +23 -23
  53. package/dist/chunks/{location-services-cnvnzs5z.js → location-4y72ap3v.js} +12 -12
  54. package/dist/chunks/{location-services-gkjbdhm0.js → location-50hhjvx3.js} +4 -4
  55. package/dist/chunks/{location-services-bgxcxs0p.js → location-510m7gjw.js} +5 -5
  56. package/dist/chunks/{location-services-me1tt2vw.js → location-51eea56x.js} +6 -6
  57. package/dist/chunks/{location-services-7147cet5.js → location-563gk52j.js} +12 -12
  58. package/dist/chunks/{location-services-1ygqh575.js → location-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{location-services-xfkkasph.js → location-57b9ws8p.js} +7 -7
  60. package/dist/chunks/{location-services-pjmw00w1.js → location-57ez7d0k.js} +7 -7
  61. package/dist/chunks/{location-services-fnqw9s27.js → location-5cxtm7bs.js} +15 -15
  62. package/dist/chunks/{location-services-5daktx2q.js → location-5daktx2q.js} +1 -1
  63. package/dist/chunks/{location-services-za4pw5w1.js → location-5dx64r44.js} +11 -11
  64. package/dist/chunks/{location-services-y665jayr.js → location-5kgdvgf5.js} +26 -26
  65. package/dist/chunks/{location-services-4ascqkkz.js → location-5n6xmq0y.js} +5 -5
  66. package/dist/chunks/{location-services-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{location-services-684662vh.js → location-5trsz9mg.js} +11 -11
  68. package/dist/chunks/{location-services-sx0er8nq.js → location-5x5d8tg1.js} +33 -33
  69. package/dist/chunks/{location-services-my244nh0.js → location-5xjbzt31.js} +24 -24
  70. package/dist/chunks/{location-services-0qfr4k4g.js → location-5zn0h1ac.js} +5 -5
  71. package/dist/chunks/{location-services-669tq793.js → location-669tq793.js} +1 -1
  72. package/dist/chunks/{location-services-nc4xh2kb.js → location-6d9c79xp.js} +47 -47
  73. package/dist/chunks/{location-services-8rj4g5mw.js → location-6e1xyr9h.js} +24 -24
  74. package/dist/chunks/{location-services-jwa4pvs5.js → location-6ezq3ad5.js} +24 -24
  75. package/dist/chunks/{location-services-2402vzrj.js → location-6h73sxmp.js} +5 -5
  76. package/dist/chunks/{location-services-tangkck8.js → location-6mr3pvkp.js} +15 -15
  77. package/dist/chunks/{location-services-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{location-services-qnaqs727.js → location-6sbe3e33.js} +20 -20
  79. package/dist/chunks/{location-services-yjc6asv9.js → location-6y0140gn.js} +25 -25
  80. package/dist/chunks/location-70h1mw8z.js +478 -0
  81. package/dist/chunks/{location-services-kcm4f2kg.js → location-77cx0ag9.js} +6 -6
  82. package/dist/chunks/{location-services-4g26z7a1.js → location-7a9xqb56.js} +32 -32
  83. package/dist/chunks/{location-services-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{location-services-e01z6h01.js → location-7hqq4yr5.js} +3 -3
  85. package/dist/chunks/{location-services-m2gtt6ea.js → location-7r7r939x.js} +2 -2
  86. package/dist/chunks/{location-services-66r9f6z1.js → location-7x2gvtfy.js} +5 -5
  87. package/dist/chunks/{location-services-8h9se9rt.js → location-7zebv8z5.js} +13 -13
  88. package/dist/chunks/{location-services-3y7s1jsp.js → location-84xgtnpg.js} +20 -20
  89. package/dist/chunks/{location-services-hdh6cx73.js → location-8710dda9.js} +16 -16
  90. package/dist/chunks/{location-services-zkp7t929.js → location-87deq66t.js} +8 -8
  91. package/dist/chunks/{location-services-tcezcvh9.js → location-89znhe33.js} +4 -4
  92. package/dist/chunks/{location-services-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{location-services-gn22vpfk.js → location-8k62qdcz.js} +18 -18
  94. package/dist/chunks/{location-services-8p4f9s12.js → location-8p4f9s12.js} +2 -2
  95. package/dist/chunks/location-8pz1rfxz.js +26 -0
  96. package/dist/chunks/{location-services-g7775ndf.js → location-94etgqzd.js} +13 -13
  97. package/dist/chunks/{location-services-3bw0x712.js → location-96b9akrn.js} +7 -7
  98. package/dist/chunks/{location-services-wp8d7vmq.js → location-98agyze9.js} +32 -32
  99. package/dist/chunks/{location-services-02gzfyb5.js → location-9kgqg1se.js} +5 -5
  100. package/dist/chunks/{location-services-tr4zpdh3.js → location-9m52ezb2.js} +47 -47
  101. package/dist/chunks/{location-services-j91m9kav.js → location-9mek4kv0.js} +15 -15
  102. package/dist/chunks/{location-services-wft7b0k7.js → location-9r7xpw87.js} +84 -84
  103. package/dist/chunks/{location-services-5dfvhher.js → location-9s1y3sqz.js} +61 -61
  104. package/dist/chunks/{location-services-a1bz86dw.js → location-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{location-services-3qppezv8.js → location-a2jjt3bn.js} +26 -26
  106. package/dist/chunks/{location-services-0jq9fyba.js → location-a3ftg8j6.js} +9 -9
  107. package/dist/chunks/{location-services-aaet6srn.js → location-aaet6srn.js} +2 -2
  108. package/dist/chunks/{location-services-72wxma7g.js → location-aet9ygne.js} +24 -24
  109. package/dist/chunks/{location-services-k3cgqnmg.js → location-an394p75.js} +44 -44
  110. package/dist/chunks/{location-services-dfe8djrf.js → location-an7cqtb7.js} +4 -4
  111. package/dist/chunks/{location-services-6nk105vy.js → location-apya2hza.js} +19 -19
  112. package/dist/chunks/{location-services-nbqe97f8.js → location-aqbbe05p.js} +6 -6
  113. package/dist/chunks/{location-services-415rc5ej.js → location-ataz063g.js} +16 -16
  114. package/dist/chunks/{location-services-fxp7jvj2.js → location-avc8n21j.js} +20 -20
  115. package/dist/chunks/{location-services-0tjwgcx9.js → location-b4frb2y3.js} +18 -18
  116. package/dist/chunks/{location-services-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  117. package/dist/chunks/{location-services-80vjes0x.js → location-b80qvjyn.js} +24 -24
  118. package/dist/chunks/{location-services-hz0n22rs.js → location-b8hzf7nw.js} +5 -5
  119. package/dist/chunks/{location-services-bha4atvq.js → location-bajakh74.js} +4 -4
  120. package/dist/chunks/{location-services-w1k39n5e.js → location-bccb6npm.js} +4 -4
  121. package/dist/chunks/{location-services-rhmaz7bq.js → location-bk6zst5d.js} +24 -24
  122. package/dist/chunks/{location-services-4fpx8h9m.js → location-bm4d4wv8.js} +36 -36
  123. package/dist/chunks/{location-services-axhjmd8c.js → location-bnfttzv1.js} +31 -31
  124. package/dist/chunks/{location-services-g5bdk11j.js → location-bxf8tdej.js} +4 -4
  125. package/dist/chunks/{location-services-xa2bqj84.js → location-bzszcmd6.js} +9 -9
  126. package/dist/chunks/{location-services-ydgw7m1v.js → location-c9qmmsf5.js} +5 -5
  127. package/dist/chunks/{location-services-p1hzy66n.js → location-ce87bwtv.js} +23 -23
  128. package/dist/chunks/{location-services-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
  129. package/dist/chunks/{location-services-8027tmm7.js → location-cfqzvftk.js} +32 -32
  130. package/dist/chunks/{location-services-qrsn4n6d.js → location-ch13e4p5.js} +84 -84
  131. package/dist/chunks/{location-services-r2m716tb.js → location-cwa6csj7.js} +9 -9
  132. package/dist/chunks/{location-services-v1288tjp.js → location-d61der1w.js} +18 -18
  133. package/dist/chunks/{location-services-xpahhy1b.js → location-dc2d58h7.js} +15 -15
  134. package/dist/chunks/{location-services-e9rrmjf1.js → location-dw6r0y9k.js} +22 -22
  135. package/dist/chunks/{location-services-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
  136. package/dist/chunks/{location-services-v8p7hepz.js → location-e5b7myd9.js} +4 -4
  137. package/dist/chunks/{location-services-bndc73cn.js → location-e5nv3ght.js} +5 -5
  138. package/dist/chunks/{location-services-cpj0znwe.js → location-ebe9bak5.js} +4 -4
  139. package/dist/chunks/{location-services-ze5v0a14.js → location-ednp5hmx.js} +8 -8
  140. package/dist/chunks/{location-services-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{location-services-yjrx1dyy.js → location-et96cwk7.js} +176 -176
  142. package/dist/chunks/{location-services-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{location-services-p3q8av9z.js → location-evrvk863.js} +3 -3
  144. package/dist/chunks/{location-services-zdh9vwwx.js → location-ez1qr559.js} +3 -3
  145. package/dist/chunks/{location-services-pv1225zn.js → location-f4tgg2kc.js} +1 -1
  146. package/dist/chunks/{location-services-16srzzdd.js → location-f561ery6.js} +14 -14
  147. package/dist/chunks/{location-services-6gfvp9py.js → location-f5avtzec.js} +15 -15
  148. package/dist/chunks/{location-services-vgbbjg13.js → location-f66j0bjc.js} +6 -6
  149. package/dist/chunks/{location-services-egqygf3v.js → location-f6y5ddnz.js} +11 -11
  150. package/dist/chunks/{location-services-f828m53h.js → location-f828m53h.js} +2 -2
  151. package/dist/chunks/{location-services-2f04pwep.js → location-fjs5xx1d.js} +3 -3
  152. package/dist/chunks/{location-services-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  153. package/dist/chunks/{location-services-0z4j7wf4.js → location-ga80df03.js} +11 -11
  154. package/dist/chunks/{location-services-g97k7hqe.js → location-gaq06wk0.js} +6 -6
  155. package/dist/chunks/{location-services-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{location-services-3ecmxp0g.js → location-gdfwdqg1.js} +20 -20
  157. package/dist/chunks/{location-services-m1vq15se.js → location-gfpndgpb.js} +37 -37
  158. package/dist/chunks/{location-services-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{location-services-6ta1kpbb.js → location-gwhebp1x.js} +28 -28
  160. package/dist/chunks/{location-services-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{location-services-cktzqvwp.js → location-h5wzna0j.js} +14 -14
  162. package/dist/chunks/{location-services-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-services-azmtv9sv.js → location-hvab6fp8.js} +25 -25
  164. package/dist/chunks/{location-services-p3bz7yjh.js → location-hxm7e6ac.js} +13 -13
  165. package/dist/chunks/{location-services-4zxevbz2.js → location-hxr4ws4r.js} +8 -8
  166. package/dist/chunks/{location-services-25tw5xqn.js → location-j0rfc03s.js} +3 -3
  167. package/dist/chunks/{location-services-3yx66ec2.js → location-j1wra8w6.js} +6 -6
  168. package/dist/chunks/{location-services-9mmvzbkx.js → location-j27ga05e.js} +15 -15
  169. package/dist/chunks/{location-services-tqzvspav.js → location-j3qk5xq3.js} +9 -9
  170. package/dist/chunks/{location-services-j56e64zr.js → location-j56e64zr.js} +1 -1
  171. package/dist/chunks/location-jbw61t34.js +247 -0
  172. package/dist/chunks/{location-services-kc86y1cg.js → location-jhhychjc.js} +10 -10
  173. package/dist/chunks/{location-services-kvq4cs15.js → location-jhq2w8nd.js} +19 -19
  174. package/dist/chunks/{location-services-ec87kc5z.js → location-jva4mgym.js} +4 -4
  175. package/dist/chunks/{location-services-vm8cdysd.js → location-k0hm0ppj.js} +8 -8
  176. package/dist/chunks/{location-services-j95sj0b7.js → location-k42bcvs9.js} +39 -39
  177. package/dist/chunks/{location-services-nqdbn1cc.js → location-k5jjywx3.js} +29 -29
  178. package/dist/chunks/{location-services-8jdmsvjr.js → location-ke0dmmcw.js} +9 -9
  179. package/dist/chunks/{location-services-81bq2xsc.js → location-kgvs6344.js} +18 -18
  180. package/dist/chunks/{location-services-5yjbp4dm.js → location-kjg745n7.js} +6 -6
  181. package/dist/chunks/{location-services-nj8hxbz2.js → location-kw8thyfa.js} +54 -54
  182. package/dist/chunks/{location-services-b7wwt9tw.js → location-m0y35jh4.js} +25 -25
  183. package/dist/chunks/{location-services-1kpkrr0w.js → location-m5970q9f.js} +6 -6
  184. package/dist/chunks/{location-services-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{location-services-cr07tj7n.js → location-mtft99cd.js} +5 -5
  186. package/dist/chunks/{location-services-dyn67hmm.js → location-mtj0w11y.js} +4 -4
  187. package/dist/chunks/{location-services-pn2fvd3j.js → location-mx09shfg.js} +12 -12
  188. package/dist/chunks/{location-services-mazvwtnn.js → location-nb3h35dd.js} +12 -12
  189. package/dist/chunks/{location-services-b0awdqvx.js → location-nca7p386.js} +7 -7
  190. package/dist/chunks/{location-services-jea6qdrd.js → location-ngy3nxrq.js} +15 -15
  191. package/dist/chunks/{location-services-v2vh6mnd.js → location-njekgcg0.js} +23 -23
  192. package/dist/chunks/{location-services-0586yqyr.js → location-nq6ygtzk.js} +26 -26
  193. package/dist/chunks/{location-services-4gd3ydy5.js → location-ntaf7prd.js} +18 -18
  194. package/dist/chunks/{location-services-cbbxnz2q.js → location-pd1sw0zy.js} +25 -25
  195. package/dist/chunks/{location-services-xe7qpmt5.js → location-pe0jfpdy.js} +11 -11
  196. package/dist/chunks/{location-services-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-services-pknna89w.js → location-pknna89w.js} +1 -1
  198. package/dist/chunks/{location-services-750q0psk.js → location-ptvmhbww.js} +37 -37
  199. package/dist/chunks/{location-services-5149gher.js → location-pvrjs4yz.js} +10 -10
  200. package/dist/chunks/{location-services-7gekp0pq.js → location-pyn48w4n.js} +13 -13
  201. package/dist/chunks/{location-services-evf9rjs4.js → location-pzs0ev6d.js} +18 -18
  202. package/dist/chunks/{location-services-a3f8kctb.js → location-q5gbzsgk.js} +8 -8
  203. package/dist/chunks/{location-services-v797jxaj.js → location-q7tjfjkg.js} +24 -24
  204. package/dist/chunks/{location-services-0fpm5ckv.js → location-q8qvj88j.js} +61 -61
  205. package/dist/chunks/{location-services-g8d3gcyj.js → location-qa3qhgw8.js} +7 -7
  206. package/dist/chunks/{location-services-w9e5737r.js → location-qc88351s.js} +27 -27
  207. package/dist/chunks/{location-services-hy5fzqeh.js → location-qq1336c3.js} +5 -5
  208. package/dist/chunks/{location-services-qsdy395h.js → location-qsdy395h.js} +1 -1
  209. package/dist/chunks/{location-services-85jve5wz.js → location-qv6dpkjj.js} +4 -4
  210. package/dist/chunks/{location-services-73tb2d7t.js → location-r5x6zcsm.js} +3 -3
  211. package/dist/chunks/{location-services-5x3hq9j3.js → location-r7mqfzj6.js} +22 -22
  212. package/dist/chunks/{location-services-s7af8scf.js → location-r8apmgv6.js} +11 -11
  213. package/dist/chunks/{location-services-s8610hey.js → location-r8ste1ck.js} +2 -2
  214. package/dist/chunks/{location-services-r9mregkx.js → location-r9mregkx.js} +2 -2
  215. package/dist/chunks/location-rap9a73h.js +18 -0
  216. package/dist/chunks/{location-services-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{location-services-ef8wy0yg.js → location-rgtq0qy6.js} +29 -29
  218. package/dist/chunks/{location-services-4jc5c4h4.js → location-ryt7pzqc.js} +1 -1
  219. package/dist/chunks/{location-services-178pw3hr.js → location-rzkgkfj2.js} +8 -8
  220. package/dist/chunks/{location-services-yrznvahk.js → location-s4enseaf.js} +2 -2
  221. package/dist/chunks/{location-services-xpy6m67s.js → location-s6b4aker.js} +10 -10
  222. package/dist/chunks/{location-services-5knxp1w9.js → location-s988tmsk.js} +27 -27
  223. package/dist/chunks/{location-services-4gpbsxfq.js → location-s9swp5qq.js} +17 -17
  224. package/dist/chunks/{location-services-bcjhdqzs.js → location-sf4dfcqt.js} +23 -23
  225. package/dist/chunks/{location-services-pfj4yg38.js → location-sg5fy40w.js} +32 -32
  226. package/dist/chunks/{location-services-448vs3y4.js → location-sx9refc1.js} +4 -4
  227. package/dist/chunks/{location-services-j5w2yx54.js → location-sxzvkvgj.js} +6 -6
  228. package/dist/chunks/{location-services-x11s5y75.js → location-sz52d1qk.js} +36 -36
  229. package/dist/chunks/{location-services-9gv4jtzp.js → location-t0gchcch.js} +20 -20
  230. package/dist/chunks/{location-services-p1fvsthc.js → location-t4bxqr6c.js} +11 -11
  231. package/dist/chunks/{location-services-eaj1djv9.js → location-t550f9t1.js} +8 -8
  232. package/dist/chunks/{location-services-w4dkncpy.js → location-t89gs4p7.js} +10 -10
  233. package/dist/chunks/{location-services-51vvd7en.js → location-t9rs90mq.js} +11 -11
  234. package/dist/chunks/{location-services-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{location-services-tdstcens.js → location-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-services-219xz9an.js → location-tgks2w6d.js} +10 -10
  237. package/dist/chunks/{location-services-dbqyrmkt.js → location-tsr2crch.js} +14 -14
  238. package/dist/chunks/{location-services-tvtrv512.js → location-tvtrv512.js} +1 -1
  239. package/dist/chunks/{location-services-djayz1b9.js → location-v1mb79rm.js} +15 -15
  240. package/dist/chunks/{location-services-gz1ysa8z.js → location-vacs20e4.js} +27 -27
  241. package/dist/chunks/{location-services-cy7kc1q1.js → location-vanjjjrm.js} +11 -11
  242. package/dist/chunks/{location-services-ssnweha5.js → location-vc4e6k4r.js} +4 -4
  243. package/dist/chunks/{location-services-veqvce7d.js → location-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-services-bkr4pjs6.js → location-vkjtt5mp.js} +12 -12
  245. package/dist/chunks/{location-services-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{location-services-dwt525sp.js → location-w0ejc12g.js} +18 -18
  247. package/dist/chunks/{location-services-dbxcrmyc.js → location-w1p3n6tm.js} +3 -3
  248. package/dist/chunks/{location-services-gh298ty0.js → location-w27pm9me.js} +19 -19
  249. package/dist/chunks/{location-services-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-services-4ncrsdff.js → location-wbakrcvj.js} +10 -10
  251. package/dist/chunks/{location-services-ha0nspk8.js → location-wckfp198.js} +28 -28
  252. package/dist/chunks/{location-services-wd87259q.js → location-wd87259q.js} +1 -1
  253. package/dist/chunks/{location-services-y55p7fpy.js → location-wfwy58wd.js} +26 -26
  254. package/dist/chunks/{location-services-wqkncbjv.js → location-wgsyq2g2.js} +9 -9
  255. package/dist/chunks/{location-services-ytnbagj1.js → location-wnen7h7y.js} +43 -43
  256. package/dist/chunks/{location-services-jcpsvazg.js → location-wtyrbjce.js} +5 -5
  257. package/dist/chunks/{location-services-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-services-pkzfcp45.js → location-xa0zhpnz.js} +26 -26
  259. package/dist/chunks/{location-services-p5ndkpmy.js → location-xj4s9w93.js} +15 -15
  260. package/dist/chunks/{location-services-q6wy8yy3.js → location-xk7exet4.js} +5 -5
  261. package/dist/chunks/{location-services-ymga07ac.js → location-xsvdyt0s.js} +13 -13
  262. package/dist/chunks/{location-services-dgazmx6a.js → location-xv1g2w1w.js} +41 -41
  263. package/dist/chunks/{location-services-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{location-services-z28368px.js → location-y3smxrvk.js} +15 -15
  265. package/dist/chunks/{location-services-tc4zgeve.js → location-y6y1fb4b.js} +17 -17
  266. package/dist/chunks/{location-services-b5t6kpaj.js → location-y70yena6.js} +44 -44
  267. package/dist/chunks/{location-services-y71avatq.js → location-y71avatq.js} +1 -1
  268. package/dist/chunks/{location-services-7sadfj5y.js → location-ybr7evyj.js} +20 -20
  269. package/dist/chunks/{location-services-v9561b1h.js → location-yjb6xngg.js} +19 -19
  270. package/dist/chunks/{location-services-1zv9wbr8.js → location-ymez039j.js} +10 -10
  271. package/dist/chunks/{location-services-yp2x3t23.js → location-yp2x3t23.js} +1 -1
  272. package/dist/chunks/{location-services-e2xf6ff7.js → location-yqm0cks0.js} +47 -47
  273. package/dist/chunks/{location-services-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{location-services-q8dzjkx6.js → location-yty395xw.js} +9 -9
  275. package/dist/chunks/{location-services-pas7sy9w.js → location-yvmcjsry.js} +1 -1
  276. package/dist/chunks/{location-services-xk747vep.js → location-ywkfy99j.js} +9 -9
  277. package/dist/chunks/{location-services-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{location-services-aggp30hw.js → location-z5r1kv61.js} +18 -18
  279. package/dist/chunks/{location-services-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{location-services-a7tmcrpq.js → location-zmy1vr96.js} +30 -30
  281. package/dist/chunks/{location-services-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{location-services-9r37c4n6.js → location-zvp4yy8h.js} +16 -16
  283. package/dist/chunks/{location-services-nsdnjfab.js → location-zx93qmfr.js} +37 -37
  284. package/dist/chunks/{location-services-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{location-services-8wmmyffs.js → location-zzvq861e.js} +9 -9
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +11 -11
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +84 -84
  290. package/dist/config/discovery.js +83 -83
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +105 -105
  293. package/dist/config/plugin/agent.js +124 -124
  294. package/dist/config/plugin/command.js +212 -212
  295. package/dist/config/plugin/compaction.js +158 -158
  296. package/dist/config/plugin/compatibility.js +140 -140
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +123 -123
  299. package/dist/config/plugin/image.js +122 -122
  300. package/dist/config/plugin/instruction.js +89 -89
  301. package/dist/config/plugin/location-watcher.js +124 -124
  302. package/dist/config/plugin/mcp.js +131 -131
  303. package/dist/config/plugin/policy.js +122 -122
  304. package/dist/config/plugin/provider.js +122 -122
  305. package/dist/config/plugin/reference.js +124 -124
  306. package/dist/config/plugin/shell.js +124 -124
  307. package/dist/config/plugin/skill-file.js +101 -101
  308. package/dist/config/plugin/skill.js +143 -143
  309. package/dist/config/plugin/snapshot.js +122 -122
  310. package/dist/config/plugin/source.js +123 -123
  311. package/dist/config/plugin/tool-output.js +124 -124
  312. package/dist/config/plugin/websearch.js +123 -123
  313. package/dist/config/plugin/worktree.js +124 -124
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +127 -127
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +82 -82
  319. package/dist/database/database.js +65 -65
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +75 -75
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +364 -364
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +92 -92
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +94 -94
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +69 -69
  408. package/dist/file-access.js +103 -103
  409. package/dist/file-mutation.js +93 -93
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +225 -225
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +102 -102
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +107 -107
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +88 -88
  427. package/dist/generate.js +100 -100
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +90 -90
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +355 -355
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +86 -86
  455. package/dist/instructions/index.js +5 -5
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +76 -76
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +131 -131
  462. package/dist/location-mutation.js +103 -103
  463. package/dist/location-service-map.js +85 -85
  464. package/dist/location-services.js +352 -352
  465. package/dist/location.js +86 -86
  466. package/dist/mcp/client.js +90 -90
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +126 -126
  469. package/dist/mcp/oauth.js +74 -74
  470. package/dist/mcp/stdio.js +89 -89
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +90 -90
  473. package/dist/model-resolver.js +97 -97
  474. package/dist/model.js +101 -101
  475. package/dist/models-dev.js +106 -106
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +118 -118
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +103 -103
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +216 -216
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +95 -95
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +101 -101
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  499. package/dist/plugin/provider/azure.js +121 -121
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +118 -118
  505. package/dist/plugin/provider/digitalocean.js +92 -92
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +92 -92
  510. package/dist/plugin/provider/gitlab.js +90 -90
  511. package/dist/plugin/provider/google-vertex.js +89 -89
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +121 -121
  515. package/dist/plugin/provider/modal.js +91 -91
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +121 -121
  518. package/dist/plugin/provider/openai.js +91 -91
  519. package/dist/plugin/provider/opencode.js +92 -92
  520. package/dist/plugin/provider/openrouter.js +90 -90
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  524. package/dist/plugin/provider/sap-ai-core.js +90 -90
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +89 -89
  529. package/dist/plugin/provider/vllm.js +121 -121
  530. package/dist/plugin/provider/xai.js +90 -90
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +158 -158
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +140 -140
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +85 -85
  540. package/dist/plugin/vcs/hg.js +85 -85
  541. package/dist/plugin/warming.js +120 -120
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +223 -223
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +87 -87
  553. package/dist/provider.js +100 -100
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +91 -91
  558. package/dist/reference/instructions.js +88 -88
  559. package/dist/reference.js +90 -90
  560. package/dist/repository-cache.js +80 -80
  561. package/dist/repository.js +3 -3
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +96 -96
  564. package/dist/rpc.js +85 -85
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +150 -150
  569. package/dist/session/diff.js +87 -87
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +149 -149
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +83 -83
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +76 -76
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +96 -96
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +113 -113
  585. package/dist/session/model-transport.js +5 -5
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +104 -104
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +89 -89
  591. package/dist/session/run-coordinator.js +1 -1
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +228 -228
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +97 -97
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +113 -113
  598. package/dist/session/runner/step.js +124 -124
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +169 -169
  602. package/dist/session/shell.js +137 -137
  603. package/dist/session/skill.js +102 -102
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +72 -72
  606. package/dist/session/store.js +86 -86
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +208 -208
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +154 -154
  611. package/dist/session/to-session-error.js +110 -110
  612. package/dist/session/transfer.js +215 -215
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +216 -216
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +139 -139
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +106 -106
  622. package/dist/skill.js +111 -111
  623. package/dist/snapshot.js +92 -92
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +125 -125
  628. package/dist/tool/plugin/edit.js +119 -119
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +123 -123
  631. package/dist/tool/plugin/grep.js +123 -123
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +121 -121
  634. package/dist/tool/plugin/question.js +102 -102
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +215 -215
  637. package/dist/tool/plugin/skill.js +104 -104
  638. package/dist/tool/plugin/subagent.js +217 -217
  639. package/dist/tool/plugin/webfetch.js +111 -111
  640. package/dist/tool/plugin/websearch.js +113 -113
  641. package/dist/tool/plugin/write.js +121 -121
  642. package/dist/tool/read-filesystem.js +99 -99
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +15 -15
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +7 -7
  656. package/dist/v1/config/attachment.js +4 -4
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/config.js +16 -16
  659. package/dist/v1/config/error.js +4 -4
  660. package/dist/v1/config/formatter.js +5 -5
  661. package/dist/v1/config/layout.js +1 -1
  662. package/dist/v1/config/lsp.js +5 -5
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +91 -91
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/v1/config/server.js +2 -2
  670. package/dist/v1/config/skills.js +3 -3
  671. package/dist/v1/permission.js +1 -1
  672. package/dist/variant.js +92 -92
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +88 -88
  675. package/dist/websearch.js +79 -79
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +88 -88
  685. package/dist/worktree.js +93 -93
  686. package/package.json +8 -8
  687. package/dist/chunks/location-services-9djywp5r.js +0 -478
  688. package/dist/chunks/location-services-9zdhvgqs.js +0 -18
  689. package/dist/chunks/location-services-pmhjn3da.js +0 -26
  690. package/dist/chunks/location-services-xwdetg76.js +0 -247
  691. /package/dist/chunks/{location-services-0mesazry.js → location-0mesazry.js} +0 -0
  692. /package/dist/chunks/{location-services-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-services-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-services-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-services-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-services-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-services-24dcb14g.js → location-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{location-services-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{location-services-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{location-services-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{location-services-359p4xyc.js → location-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{location-services-3asan66x.js → location-3asan66x.js} +0 -0
  703. /package/dist/chunks/{location-services-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{location-services-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{location-services-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{location-services-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{location-services-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{location-services-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{location-services-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{location-services-53557ph1.js → location-53557ph1.js} +0 -0
  711. /package/dist/chunks/{location-services-550bvhaj.js → location-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{location-services-6prwharc.js → location-6prwharc.js} +0 -0
  713. /package/dist/chunks/{location-services-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{location-services-7m9af43g.js → location-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{location-services-822emrt2.js → location-822emrt2.js} +0 -0
  716. /package/dist/chunks/{location-services-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{location-services-8n3pysct.js → location-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{location-services-922hggd3.js → location-922hggd3.js} +0 -0
  719. /package/dist/chunks/{location-services-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{location-services-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{location-services-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{location-services-af5trqkr.js → location-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{location-services-afrmfg78.js → location-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{location-services-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{location-services-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{location-services-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{location-services-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{location-services-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{location-services-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{location-services-d9fn303g.js → location-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{location-services-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{location-services-dajrwvna.js → location-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{location-services-dap0rakb.js → location-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{location-services-df08tz66.js → location-df08tz66.js} +0 -0
  735. /package/dist/chunks/{location-services-dy18nga0.js → location-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{location-services-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-services-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-services-ec1grn59.js → location-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{location-services-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-services-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-services-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-services-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-services-faypxj3z.js → location-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-services-fd410y7t.js → location-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-services-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{location-services-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{location-services-g86h250q.js → location-g86h250q.js} +0 -0
  748. /package/dist/chunks/{location-services-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{location-services-gftt206x.js → location-gftt206x.js} +0 -0
  750. /package/dist/chunks/{location-services-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{location-services-hk9envan.js → location-hk9envan.js} +0 -0
  752. /package/dist/chunks/{location-services-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-services-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-services-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{location-services-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{location-services-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{location-services-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{location-services-mp448xyj.js → location-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{location-services-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{location-services-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{location-services-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{location-services-njntx4h6.js → location-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{location-services-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-services-q74kybfr.js → location-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-services-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-services-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-services-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-services-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{location-services-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{location-services-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{location-services-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{location-services-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{location-services-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{location-services-twg0f83k.js → location-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{location-services-w803qqfp.js → location-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{location-services-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{location-services-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{location-services-wtztk69x.js → location-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{location-services-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{location-services-x61499pn.js → location-x61499pn.js} +0 -0
  781. /package/dist/chunks/{location-services-y44na4kk.js → location-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{location-services-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{location-services-y8f7s663.js → location-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{location-services-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{location-services-ym463w8f.js → location-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{location-services-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-25tw5xqn.js";
4
+ } from "./location-j0rfc03s.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./location-services-415rc5ej.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-ataz063g.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service63,
13
- node67
14
- } from "./location-services-8027tmm7.js";
12
+ Service62,
13
+ node64
14
+ } from "./location-cfqzvftk.js";
15
15
  import {
16
- ID15,
17
- Service73,
18
- node77
19
- } from "./location-services-v797jxaj.js";
16
+ ID9,
17
+ Service57,
18
+ node59
19
+ } from "./location-q7tjfjkg.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./location-services-wqkncbjv.js";
22
+ } from "./location-wgsyq2g2.js";
23
23
  import {
24
24
  combine2
25
- } from "./location-services-eaj1djv9.js";
25
+ } from "./location-t550f9t1.js";
26
26
  import {
27
27
  provenance2
28
- } from "./location-services-w1k39n5e.js";
28
+ } from "./location-bccb6npm.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./location-services-p1fvsthc.js";
31
+ } from "./location-t4bxqr6c.js";
32
32
  import {
33
- Service72,
34
- node76
35
- } from "./location-services-9r37c4n6.js";
33
+ Service55,
34
+ node57
35
+ } from "./location-zvp4yy8h.js";
36
36
  import {
37
37
  merge2
38
- } from "./location-services-5dfvhher.js";
38
+ } from "./location-9s1y3sqz.js";
39
39
  import {
40
- make14
41
- } from "./location-services-fxp7jvj2.js";
40
+ make15
41
+ } from "./location-avc8n21j.js";
42
42
  import {
43
- Service43,
44
- node45
45
- } from "./location-services-y55p7fpy.js";
43
+ Service36,
44
+ node39
45
+ } from "./location-wfwy58wd.js";
46
46
  import {
47
- Service22,
48
- node26
49
- } from "./location-services-kvq4cs15.js";
47
+ Service32,
48
+ node36
49
+ } from "./location-jhq2w8nd.js";
50
50
  import {
51
- Service58,
52
- node61
53
- } from "./location-services-cbbxnz2q.js";
51
+ Service46,
52
+ node48
53
+ } from "./location-pd1sw0zy.js";
54
54
  import {
55
- Service24,
56
- node28
57
- } from "./location-services-ef8wy0yg.js";
55
+ Service31,
56
+ node35
57
+ } from "./location-rgtq0qy6.js";
58
58
  import {
59
- Service23,
60
- node27
61
- } from "./location-services-yjc6asv9.js";
59
+ Service30,
60
+ node34
61
+ } from "./location-6y0140gn.js";
62
62
  import {
63
- Service29,
64
- node33
65
- } from "./location-services-qnaqs727.js";
66
- import {
67
- Service21,
68
- node25
69
- } from "./location-services-e9rrmjf1.js";
63
+ Service25,
64
+ node29
65
+ } from "./location-6sbe3e33.js";
70
66
  import {
71
67
  Service26,
72
68
  node30
73
- } from "./location-services-6gfvp9py.js";
69
+ } from "./location-dw6r0y9k.js";
70
+ import {
71
+ Service29,
72
+ node33
73
+ } from "./location-f5avtzec.js";
74
74
  import {
75
75
  Service27,
76
76
  node31
77
- } from "./location-services-p1hzy66n.js";
77
+ } from "./location-ce87bwtv.js";
78
78
  import {
79
- Service35,
80
- node37
81
- } from "./location-services-02phnknr.js";
79
+ Service41,
80
+ node43
81
+ } from "./location-0560ktsj.js";
82
82
  import {
83
83
  __export
84
- } from "./location-services-9rqn6x4v.js";
84
+ } from "./location-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service20,
89
+ Service: () => Service24,
90
90
  SessionContext: () => exports_context,
91
- node: () => node24
91
+ node: () => node28
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service20 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service24 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service20, Effect.gen(function* () {
98
- const agents = yield* Service73;
99
- const builtins = yield* Service22;
100
- const model = yield* Service63;
97
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
98
+ const agents = yield* Service57;
99
+ const builtins = yield* Service32;
100
+ const model = yield* Service62;
101
101
  const db = (yield* Service82).db;
102
- const discovery = yield* Service43;
103
- const entries = yield* Service26;
104
- const location = yield* Service75;
105
- const mcpInstructions = yield* Service23;
106
- const mcpTools = yield* Service24;
107
- const models = yield* Service35;
102
+ const discovery = yield* Service36;
103
+ const entries = yield* Service29;
104
+ const location = yield* Service78;
105
+ const mcpInstructions = yield* Service30;
106
+ const mcpTools = yield* Service31;
107
+ const models = yield* Service41;
108
108
  const request = yield* Service27;
109
- const referenceInstructions = yield* Service29;
110
- const skillInstructions = yield* Service21;
111
- const store = yield* Service72;
112
- const registry = yield* Service58;
109
+ const referenceInstructions = yield* Service25;
110
+ const skillInstructions = yield* Service26;
111
+ const store = yield* Service55;
112
+ const registry = yield* Service46;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
- const agent = yield* agents.get(ID15.make("title"));
115
+ const agent = yield* agents.get(ID9.make("title"));
116
116
  if (!agent)
117
117
  return;
118
118
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
165
165
  agent: { ...agent, info: agent.info },
166
166
  instructions: combine2([
167
167
  loaded.builtins,
168
- make14(loaded.tools.codeModeCatalog),
168
+ make15(loaded.tools.codeModeCatalog),
169
169
  loaded.discovery,
170
170
  loaded.skills,
171
171
  loaded.references,
@@ -187,29 +187,29 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
187
187
  tools: selection.tools
188
188
  };
189
189
  });
190
- return Service20.of({ select, load, resolveModel, selectTitle, request });
190
+ return Service24.of({ select, load, resolveModel, selectTitle, request });
191
191
  }));
192
192
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
193
- var node24 = makeLocationNode({
194
- service: Service20,
193
+ var node28 = makeLocationNode({
194
+ service: Service24,
195
195
  layer,
196
196
  deps: [
197
- node77,
198
- node67,
197
+ node59,
198
+ node64,
199
199
  node86,
200
- node26,
201
- node45,
202
- node30,
203
- node79,
204
- node27,
205
- node28,
200
+ node36,
201
+ node39,
206
202
  node33,
207
- node37,
203
+ node82,
204
+ node34,
205
+ node35,
206
+ node29,
207
+ node43,
208
208
  node31,
209
- node76,
210
- node25,
211
- node61
209
+ node57,
210
+ node30,
211
+ node48
212
212
  ]
213
213
  });
214
214
 
215
- export { Service20, node24, exports_context };
215
+ export { Service24, node28, exports_context };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-services-dyn67hmm.js";
4
+ } from "./location-mtj0w11y.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./location-services-415rc5ej.js";
6
+ Service78,
7
+ node82
8
+ } from "./location-ataz063g.js";
9
9
  import {
10
- ID15,
11
- Service73,
12
- node77
13
- } from "./location-services-v797jxaj.js";
10
+ ID9,
11
+ Service57,
12
+ node59
13
+ } from "./location-q7tjfjkg.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./location-services-wqkncbjv.js";
15
+ NotFoundError8
16
+ } from "./location-wgsyq2g2.js";
17
17
  import {
18
- Service72,
19
- node76
20
- } from "./location-services-9r37c4n6.js";
18
+ Service55,
19
+ node57
20
+ } from "./location-zvp4yy8h.js";
21
21
  import {
22
22
  match2
23
- } from "./location-services-y1fvbwt7.js";
23
+ } from "./location-y1fvbwt7.js";
24
24
  import {
25
- Service71,
26
- node75
27
- } from "./location-services-p5ndkpmy.js";
25
+ Service56,
26
+ node58
27
+ } from "./location-xj4s9w93.js";
28
28
  import {
29
- Service74,
30
- node78
31
- } from "./location-services-at1kfnmk.js";
29
+ Service58,
30
+ node60
31
+ } from "./location-37ea9c2d.js";
32
32
  import {
33
33
  __export
34
- } from "./location-services-9rqn6x4v.js";
34
+ } from "./location-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event17,
46
- ID: () => ID13,
47
- NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission2,
49
- Reply: () => Reply3,
45
+ Event: () => Event10,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError7,
48
+ Permission: () => exports_permission,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
52
- Rule: () => Rule3,
51
+ Request: () => Request2,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service70,
55
- Source: () => Source5,
54
+ Service: () => Service54,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node74
58
+ node: () => node56
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event17 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event10 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID13 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID7 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID13.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID15.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID13,
86
- reply: Reply3,
85
+ requestID: ID7,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID13,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID13
113
+ class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service70 extends Context.Service()("@opencode/Permission") {
128
+ class Service54 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service70, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
131
131
  const bus = yield* Service81;
132
- const location = yield* Service75;
133
- const agents = yield* Service73;
134
- const sessions = yield* Service72;
135
- const saved = yield* Service71;
136
- const hooks = yield* Service74;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service57;
134
+ const sessions = yield* Service55;
135
+ const saved = yield* Service56;
136
+ const hooks = yield* Service58;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError9({ sessionID });
153
+ return yield* new NotFoundError8({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID13.create(),
183
+ id: input.id ?? ID7.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError8({ requestID: input.requestID });
231
+ return yield* new NotFoundError7({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service70.of({ ask, assert, reply, get, forSession, list });
286
+ return Service54.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node74 = makeLocationNode({
289
- service: Service70,
288
+ var node56 = makeLocationNode({
289
+ service: Service54,
290
290
  layer,
291
- deps: [node85, node79, node77, node76, node75, node78]
291
+ deps: [node85, node82, node59, node57, node58, node60]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service70, node74, exports_permission2, Rule3, Ruleset2, Event17 };
294
+ export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service54, node56, exports_permission, Rule2, Ruleset2, Event10 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./location-services-6msgmcgs.js";
4
+ } from "./location-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./location-services-qfa1cgps.js";
7
+ } from "./location-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./location-services-8p4f9s12.js";
10
+ } from "./location-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-25tw5xqn.js";
4
+ } from "./location-j0rfc03s.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./location-services-dyn67hmm.js";
8
+ } from "./location-mtj0w11y.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-services-pknna89w.js";
11
+ } from "./location-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-services-0q0f95c6.js";
14
+ } from "./location-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./location-services-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event14,
24
- ID: () => ID10,
25
- Info: () => Info24,
26
- Key: () => Key3,
23
+ Event: () => Event18,
24
+ ID: () => ID15,
25
+ Info: () => Info28,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
28
  Service: () => Service66,
29
29
  Value: () => Value2,
30
- node: () => node70
30
+ node: () => node68
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event14 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info24 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info28 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info24({
60
+ return new Info28({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info24({
80
- id: ID10.create(),
79
+ const credential = new Info28({
80
+ id: ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event14.Updated, {}, { global: true });
105
- yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event18.Updated, {}, { global: true });
105
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event14.Updated, {}, { global: true });
157
+ yield* bus.publish(Event18.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event14.Updated, {}, { global: true });
190
+ yield* bus.publish(Event18.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node86, node85] });
196
+ var node68 = makeGlobalNode({ service: Service66, layer, deps: [node86, node85] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event14, Info24, Service66, node70, exports_credential };
198
+ export { ID15, OAuth3, Key4, Value2, Event18, Info28, Service66, node68, exports_credential };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-y71avatq.js";
3
+ } from "./location-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service10,
13
+ node: () => node12
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service10 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service10.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node12 = makeGlobalNode({ service: Service10, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service10, node12, exports_update };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-services-2a5m3afh.js";
5
+ } from "./location-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-services-9rqn6x4v.js";
8
+ } from "./location-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};