@opencode/core 0.0.0-dev-1220 → 0.0.0-dev-1224

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 (908) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +90 -90
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +254 -254
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{location-service-map-am7ngvf1.js → state-00ceerga.js} +39 -39
  9. package/dist/chunks/{location-service-map-034tev2y.js → state-034tev2y.js} +2 -2
  10. package/dist/chunks/{location-service-map-h6wjw172.js → state-0dnk7p9t.js} +4 -4
  11. package/dist/chunks/{location-service-map-psrhxzkz.js → state-0hhk97e6.js} +3 -3
  12. package/dist/chunks/{location-service-map-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{location-service-map-m69zetst.js → state-0vaa0e61.js} +24 -24
  14. package/dist/chunks/{location-service-map-jhw46fwd.js → state-109ycj4d.js} +7 -7
  15. package/dist/chunks/{location-service-map-b9xk4a2d.js → state-10j04twc.js} +19 -19
  16. package/dist/chunks/{location-service-map-f6fg6vvn.js → state-13gs6whz.js} +74 -74
  17. package/dist/chunks/{location-service-map-ymkxf774.js → state-15mkcj75.js} +27 -27
  18. package/dist/chunks/{location-service-map-q9btxw33.js → state-15rmc56z.js} +13 -13
  19. package/dist/chunks/{location-service-map-zhh8k8xm.js → state-1a9h65em.js} +13 -13
  20. package/dist/chunks/{location-service-map-1aqsckx4.js → state-1aqsckx4.js} +1 -1
  21. package/dist/chunks/{location-service-map-1aryjtsy.js → state-1aryjtsy.js} +1 -1
  22. package/dist/chunks/{location-service-map-x4mywqhm.js → state-1cgctss4.js} +27 -27
  23. package/dist/chunks/{location-service-map-1ep2p91f.js → state-1ep2p91f.js} +2 -2
  24. package/dist/chunks/{location-service-map-pa86bx7k.js → state-1h56tgqc.js} +17 -17
  25. package/dist/chunks/{location-service-map-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{location-service-map-whm5zz1t.js → state-1xhvy0a1.js} +24 -24
  27. package/dist/chunks/{location-service-map-h4yybdgt.js → state-1zqfq3fa.js} +11 -11
  28. package/dist/chunks/{location-service-map-9f01b31z.js → state-27fqdypx.js} +15 -15
  29. package/dist/chunks/{location-service-map-q5nhhrfg.js → state-29t5ms5a.js} +3 -3
  30. package/dist/chunks/{location-service-map-xhkdczkv.js → state-2asypf8v.js} +25 -25
  31. package/dist/chunks/{location-service-map-cxab28sr.js → state-2bswbpgz.js} +4 -4
  32. package/dist/chunks/{location-service-map-2fc7eemy.js → state-2fc7eemy.js} +1 -1
  33. package/dist/chunks/{location-service-map-zqyjms4e.js → state-2fqhctvv.js} +18 -18
  34. package/dist/chunks/{location-service-map-nmvs1w2h.js → state-2fsxdb0d.js} +21 -21
  35. package/dist/chunks/{location-service-map-v0t96s7a.js → state-2kg89srt.js} +4 -4
  36. package/dist/chunks/{location-service-map-2prt43t7.js → state-2prt43t7.js} +1 -1
  37. package/dist/chunks/{location-service-map-ext3f0g2.js → state-35tpvsnd.js} +32 -32
  38. package/dist/chunks/{location-service-map-jgrd23gk.js → state-36wtp86d.js} +4 -4
  39. package/dist/chunks/{location-service-map-ma5b68np.js → state-3ck5pzsd.js} +28 -28
  40. package/dist/chunks/{location-service-map-4jrz2103.js → state-3djagcat.js} +28 -28
  41. package/dist/chunks/{location-service-map-pzapmsw9.js → state-3efg5d53.js} +17 -17
  42. package/dist/chunks/{location-service-map-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  43. package/dist/chunks/state-3k8dzdg4.js +273 -0
  44. package/dist/chunks/{location-service-map-rw8egndv.js → state-3nft16zg.js} +31 -31
  45. package/dist/chunks/{location-service-map-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  46. package/dist/chunks/{location-service-map-6njqpc4h.js → state-3nv1v92r.js} +18 -18
  47. package/dist/chunks/{location-service-map-wyx40t4c.js → state-3qw8teq0.js} +32 -32
  48. package/dist/chunks/{location-service-map-40y6dtc2.js → state-40y6dtc2.js} +1 -1
  49. package/dist/chunks/{location-service-map-w26zvd0j.js → state-427haqbe.js} +3 -3
  50. package/dist/chunks/{location-service-map-58wf94jx.js → state-4bwthz3m.js} +6 -6
  51. package/dist/chunks/{location-service-map-bjdfaaqt.js → state-4dg21t77.js} +47 -47
  52. package/dist/chunks/{location-service-map-4dx1dgte.js → state-4dx1dgte.js} +1 -1
  53. package/dist/chunks/{location-service-map-4f25tdd0.js → state-4f25tdd0.js} +1 -1
  54. package/dist/chunks/{location-service-map-pb695e6y.js → state-4gneve8v.js} +40 -40
  55. package/dist/chunks/{location-service-map-fvpd8xf4.js → state-4p679b5s.js} +7 -7
  56. package/dist/chunks/{location-service-map-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
  57. package/dist/chunks/{location-service-map-h55fmb1a.js → state-4qfnvyqn.js} +11 -11
  58. package/dist/chunks/{location-service-map-ne36spdb.js → state-4qxrae77.js} +16 -16
  59. package/dist/chunks/{location-service-map-4v008n1t.js → state-4v008n1t.js} +1 -1
  60. package/dist/chunks/{location-service-map-4vzr2b15.js → state-4vzr2b15.js} +3 -3
  61. package/dist/chunks/{location-service-map-2j0c0bkd.js → state-4y5qk8wr.js} +12 -12
  62. package/dist/chunks/{location-service-map-b9yhhwa8.js → state-52by9wz1.js} +23 -23
  63. package/dist/chunks/{location-service-map-q904er84.js → state-59r2jq59.js} +35 -35
  64. package/dist/chunks/{location-service-map-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  65. package/dist/chunks/{location-service-map-jkdcm5hg.js → state-5n0rnk8e.js} +4 -4
  66. package/dist/chunks/{location-service-map-cvjm9kyy.js → state-5nc9cxcx.js} +87 -87
  67. package/dist/chunks/{location-service-map-g6axqj60.js → state-5njhb98r.js} +6 -6
  68. package/dist/chunks/{location-service-map-gbaqg25w.js → state-5strrb1w.js} +10 -10
  69. package/dist/chunks/{location-service-map-ybws1qgk.js → state-5wyjxme5.js} +7 -7
  70. package/dist/chunks/state-5zcyx99g.js +16 -0
  71. package/dist/chunks/{location-service-map-jvqb0g9x.js → state-627a6t8n.js} +13 -13
  72. package/dist/chunks/{location-service-map-fbtyzv9j.js → state-6508jazp.js} +36 -36
  73. package/dist/chunks/{location-service-map-eb8c6fze.js → state-6a3n96rr.js} +49 -49
  74. package/dist/chunks/{location-service-map-ertr84a8.js → state-6d99zds6.js} +10 -10
  75. package/dist/chunks/{location-service-map-jqk89bd7.js → state-6ey5hxvm.js} +51 -51
  76. package/dist/chunks/{location-service-map-g444w85h.js → state-6gjb87wc.js} +2 -2
  77. package/dist/chunks/{location-service-map-5sans6bz.js → state-6pahazrx.js} +10 -10
  78. package/dist/chunks/{location-service-map-fhywfw5q.js → state-6ssbb960.js} +19 -19
  79. package/dist/chunks/{location-service-map-ptr45ne2.js → state-6v3qw19h.js} +16 -16
  80. package/dist/chunks/{location-service-map-swghd0xk.js → state-6xm9jdbn.js} +2 -2
  81. package/dist/chunks/{location-service-map-t48jrnqq.js → state-73ff1310.js} +3 -3
  82. package/dist/chunks/{location-service-map-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{location-service-map-7y2v4hfe.js → state-7g1dpkev.js} +8 -8
  84. package/dist/chunks/{location-service-map-s345ggan.js → state-7hm90z9h.js} +13 -13
  85. package/dist/chunks/state-7khw6ctp.js +587 -0
  86. package/dist/chunks/{location-service-map-7rkp71zx.js → state-7pf24df8.js} +36 -36
  87. package/dist/chunks/{location-service-map-h76s4kjs.js → state-7r2vp639.js} +41 -41
  88. package/dist/chunks/{location-service-map-avhm30cb.js → state-7v7sk204.js} +39 -39
  89. package/dist/chunks/{location-service-map-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  90. package/dist/chunks/{location-service-map-7weczvnd.js → state-7weczvnd.js} +1 -1
  91. package/dist/chunks/{location-service-map-wt5scvyx.js → state-7z0rb6fn.js} +20 -20
  92. package/dist/chunks/{location-service-map-80mg3ag8.js → state-80mg3ag8.js} +3 -3
  93. package/dist/chunks/{location-service-map-80pdk984.js → state-80pdk984.js} +1 -1
  94. package/dist/chunks/{location-service-map-595th08f.js → state-81d4j08k.js} +28 -28
  95. package/dist/chunks/{location-service-map-85jq8dht.js → state-85jq8dht.js} +1 -1
  96. package/dist/chunks/{location-service-map-0czm8y1n.js → state-85wm61p0.js} +10 -10
  97. package/dist/chunks/{location-service-map-3qevzq3v.js → state-87kxp3gn.js} +11 -11
  98. package/dist/chunks/{location-service-map-26z536aq.js → state-8atgymfb.js} +7 -7
  99. package/dist/chunks/{location-service-map-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
  100. package/dist/chunks/{location-service-map-wvc2mr1n.js → state-8c2aw5yp.js} +14 -14
  101. package/dist/chunks/{location-service-map-nhnsmwa2.js → state-8c2cgf6e.js} +19 -19
  102. package/dist/chunks/{location-service-map-hmnadmg1.js → state-8gc717j2.js} +24 -24
  103. package/dist/chunks/{location-service-map-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
  104. package/dist/chunks/{location-service-map-2y8q1569.js → state-8rapdqzr.js} +4 -4
  105. package/dist/chunks/{location-service-map-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
  106. package/dist/chunks/{location-service-map-mje8hwz2.js → state-8vy8myv0.js} +24 -24
  107. package/dist/chunks/{location-service-map-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{location-service-map-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
  109. package/dist/chunks/{location-service-map-q2qnwv2q.js → state-9279jmms.js} +14 -14
  110. package/dist/chunks/{location-service-map-m0mdkbcd.js → state-930967qy.js} +11 -11
  111. package/dist/chunks/{location-service-map-8rh7wfkh.js → state-963hk181.js} +9 -9
  112. package/dist/chunks/{location-service-map-zzaqb64w.js → state-97d0bxh6.js} +29 -29
  113. package/dist/chunks/state-9bjnw33a.js +35 -0
  114. package/dist/chunks/{location-service-map-xb8jhjsn.js → state-9evh4g6t.js} +15 -15
  115. package/dist/chunks/{location-service-map-tmxr2s7a.js → state-9fgy5dtv.js} +8 -8
  116. package/dist/chunks/{location-service-map-035wadpx.js → state-9khz0wq9.js} +5 -5
  117. package/dist/chunks/{location-service-map-5w4prsbk.js → state-9q00jv0h.js} +16 -16
  118. package/dist/chunks/{location-service-map-js6668m3.js → state-a0f8fvmt.js} +8 -8
  119. package/dist/chunks/{location-service-map-sm910czp.js → state-a60yvsvr.js} +16 -16
  120. package/dist/chunks/{location-service-map-5ve5n6vy.js → state-a9qdt05j.js} +19 -19
  121. package/dist/chunks/{location-service-map-m3dfmqn8.js → state-agje4kmn.js} +7 -7
  122. package/dist/chunks/{location-service-map-ytjqcjc1.js → state-ary6xecs.js} +4 -4
  123. package/dist/chunks/{location-service-map-26qqgt6g.js → state-awc294qn.js} +20 -20
  124. package/dist/chunks/{location-service-map-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
  125. package/dist/chunks/{location-service-map-pm1efkmx.js → state-aypj46ae.js} +56 -56
  126. package/dist/chunks/{location-service-map-4k5g9167.js → state-b7nkz392.js} +1 -1
  127. package/dist/chunks/{location-service-map-gmemj5zs.js → state-ba5f9dy2.js} +4 -4
  128. package/dist/chunks/{location-service-map-kkg6023m.js → state-bbytzacy.js} +9 -9
  129. package/dist/chunks/{location-service-map-brv6mkyx.js → state-brv6mkyx.js} +1 -1
  130. package/dist/chunks/{location-service-map-xd9cc171.js → state-bstexjd6.js} +5 -5
  131. package/dist/chunks/{location-service-map-jgg5a07m.js → state-cbat45jb.js} +37 -37
  132. package/dist/chunks/{location-service-map-h002b5k3.js → state-cbce2z70.js} +4 -4
  133. package/dist/chunks/{location-service-map-s4csrqb1.js → state-chnap7qb.js} +26 -26
  134. package/dist/chunks/{location-service-map-5m3xrn1j.js → state-cjqsf6bw.js} +9 -9
  135. package/dist/chunks/{location-service-map-fmjsjtqm.js → state-cpe35zww.js} +4 -4
  136. package/dist/chunks/{location-service-map-8vyvqb1j.js → state-cqwm3s9e.js} +10 -10
  137. package/dist/chunks/{location-service-map-sb1d3bsy.js → state-cr77hmd1.js} +32 -32
  138. package/dist/chunks/{location-service-map-d01nznqf.js → state-cse5rjp3.js} +12 -12
  139. package/dist/chunks/{location-service-map-1ymvpjxg.js → state-ctd3k3x6.js} +7 -7
  140. package/dist/chunks/{location-service-map-k46dd5bg.js → state-cv6amnmh.js} +4 -4
  141. package/dist/chunks/{location-service-map-cwrgdav8.js → state-cwrgdav8.js} +2 -2
  142. package/dist/chunks/{location-service-map-p7zpdpm1.js → state-d1g7k0n1.js} +6 -6
  143. package/dist/chunks/{location-service-map-31avdb49.js → state-d390zwf3.js} +8 -8
  144. package/dist/chunks/{location-service-map-d4v9tmah.js → state-d4v9tmah.js} +2 -2
  145. package/dist/chunks/{location-service-map-m770pykc.js → state-da44vmvv.js} +17 -17
  146. package/dist/chunks/{location-service-map-28b4bne6.js → state-dfpyr7py.js} +6 -6
  147. package/dist/chunks/{location-service-map-jbca85dn.js → state-dg5naf6e.js} +4 -4
  148. package/dist/chunks/{location-service-map-7hvbm4vg.js → state-djkt98xq.js} +33 -33
  149. package/dist/chunks/{location-service-map-0z8gvv1t.js → state-djnm8m9y.js} +17 -17
  150. package/dist/chunks/{location-service-map-yhr036sq.js → state-dkvpwghq.js} +29 -29
  151. package/dist/chunks/{location-service-map-f37kewrv.js → state-dr704ma6.js} +39 -39
  152. package/dist/chunks/{location-service-map-0njmt8zh.js → state-dsn35pkw.js} +43 -43
  153. package/dist/chunks/{location-service-map-dt77769w.js → state-dt77769w.js} +1 -1
  154. package/dist/chunks/{location-service-map-2d9nbxqm.js → state-e0xk049a.js} +3 -3
  155. package/dist/chunks/{location-service-map-87gmjfrb.js → state-e30cnwrb.js} +12 -12
  156. package/dist/chunks/{location-service-map-za9b4crp.js → state-e9efqbvz.js} +19 -19
  157. package/dist/chunks/{location-service-map-rn0w7wg1.js → state-e9embajv.js} +18 -18
  158. package/dist/chunks/{location-service-map-gfrnab9p.js → state-eb56k80z.js} +21 -21
  159. package/dist/chunks/{location-service-map-xrx499nq.js → state-ebxw5th9.js} +12 -12
  160. package/dist/chunks/{location-service-map-3rdts4z3.js → state-edm37t96.js} +6 -6
  161. package/dist/chunks/{location-service-map-53c7sqv0.js → state-eeqr2ezx.js} +8 -8
  162. package/dist/chunks/{location-service-map-zggd4859.js → state-eezvz286.js} +14 -14
  163. package/dist/chunks/{location-service-map-ccr7e384.js → state-egsmxz2f.js} +59 -59
  164. package/dist/chunks/{location-service-map-zkpv5a2h.js → state-ehhg2xcr.js} +14 -14
  165. package/dist/chunks/{location-service-map-08v7z8bj.js → state-ek8dn5z5.js} +4 -4
  166. package/dist/chunks/{location-service-map-1j92jnza.js → state-emskjcb9.js} +18 -18
  167. package/dist/chunks/{location-service-map-8qcty0p0.js → state-enbnk4v1.js} +10 -10
  168. package/dist/chunks/{location-service-map-81y1mrna.js → state-eqfxx9cj.js} +11 -11
  169. package/dist/chunks/{location-service-map-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
  170. package/dist/chunks/{location-service-map-q2r16wj1.js → state-evw2hqks.js} +6 -6
  171. package/dist/chunks/state-ezna1kdx.js +18 -0
  172. package/dist/chunks/{location-service-map-nnbdc6m0.js → state-f4svtajv.js} +1 -1
  173. package/dist/chunks/{location-service-map-2j8622j5.js → state-fc9qhm4k.js} +18 -18
  174. package/dist/chunks/{location-service-map-1wmegvp4.js → state-fes325b1.js} +16 -16
  175. package/dist/chunks/{location-service-map-fg9p65nk.js → state-fg9p65nk.js} +2 -2
  176. package/dist/chunks/{location-service-map-f9r5vc5m.js → state-fgzhd4f7.js} +28 -28
  177. package/dist/chunks/{location-service-map-qp2996hh.js → state-fjwkbb1x.js} +5 -5
  178. package/dist/chunks/{location-service-map-cysnk3h2.js → state-fkkq8w99.js} +24 -24
  179. package/dist/chunks/{location-service-map-6sm4rdnh.js → state-fmers9j5.js} +9 -9
  180. package/dist/chunks/{location-service-map-wf30e74t.js → state-fp9bkp4s.js} +9 -9
  181. package/dist/chunks/{location-service-map-7npyf6h4.js → state-fwmxwjyq.js} +19 -19
  182. package/dist/chunks/{location-service-map-e4ecj54z.js → state-fzattvf9.js} +48 -48
  183. package/dist/chunks/{location-service-map-sp43w917.js → state-g3v06dfq.js} +10 -10
  184. package/dist/chunks/{location-service-map-g4txs7zc.js → state-g4txs7zc.js} +4 -4
  185. package/dist/chunks/{location-service-map-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{location-service-map-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
  187. package/dist/chunks/{location-service-map-cz0wf6jj.js → state-gnrnwaff.js} +20 -20
  188. package/dist/chunks/{location-service-map-1rb6r5aa.js → state-gnwx4pxd.js} +11 -11
  189. package/dist/chunks/{location-service-map-s8hsdmb3.js → state-gnz7qpne.js} +24 -24
  190. package/dist/chunks/{location-service-map-hmxtna5r.js → state-gpr6mhvd.js} +61 -61
  191. package/dist/chunks/{location-service-map-szdxz5vf.js → state-gpz3zcsm.js} +17 -17
  192. package/dist/chunks/{location-service-map-wb2pmb95.js → state-h0scc2f8.js} +5 -5
  193. package/dist/chunks/{location-service-map-gyrf1n0c.js → state-h4vx8t2t.js} +6 -6
  194. package/dist/chunks/{location-service-map-34h2w1vr.js → state-hct41e8k.js} +14 -14
  195. package/dist/chunks/{location-service-map-r7yf6cnn.js → state-hd5gh2tq.js} +6 -6
  196. package/dist/chunks/{location-service-map-zm807etq.js → state-hd8w7nxr.js} +5 -5
  197. package/dist/chunks/{location-service-map-hgzwgvze.js → state-hgzwgvze.js} +2 -2
  198. package/dist/chunks/{location-service-map-hjrsm6gr.js → state-hk7vvr1w.js} +4 -4
  199. package/dist/chunks/{location-service-map-55khavy8.js → state-hmp5x989.js} +2 -2
  200. package/dist/chunks/{location-service-map-5tf8xt83.js → state-hs7q0dfv.js} +38 -38
  201. package/dist/chunks/{location-service-map-vnn2f0te.js → state-htvtdz3s.js} +35 -35
  202. package/dist/chunks/state-hww5z1ja.js +26 -0
  203. package/dist/chunks/{location-service-map-j376ae4e.js → state-j376ae4e.js} +1 -1
  204. package/dist/chunks/{location-service-map-k98yejja.js → state-j3f8hyeg.js} +7 -7
  205. package/dist/chunks/{location-service-map-qh7cn1xx.js → state-j408af94.js} +15 -15
  206. package/dist/chunks/{location-service-map-kpebncjk.js → state-j4vp8fq6.js} +11 -11
  207. package/dist/chunks/{location-service-map-88pq2e61.js → state-jh82ppf8.js} +34 -34
  208. package/dist/chunks/{location-service-map-jm70asfg.js → state-jm70asfg.js} +1 -1
  209. package/dist/chunks/{location-service-map-w9w8mt4n.js → state-jns4gqy7.js} +4 -4
  210. package/dist/chunks/{location-service-map-3r0557xv.js → state-jv28pj5x.js} +22 -22
  211. package/dist/chunks/{location-service-map-jxd6f16v.js → state-jxd6f16v.js} +2 -2
  212. package/dist/chunks/{location-service-map-vq33ceav.js → state-jy6nqey9.js} +8 -8
  213. package/dist/chunks/{location-service-map-pnk364rs.js → state-k5pkx81j.js} +3 -3
  214. package/dist/chunks/{location-service-map-y7z3rpdg.js → state-kkbwffhf.js} +32 -32
  215. package/dist/chunks/{location-service-map-5gg1twsx.js → state-kqtyt155.js} +4 -4
  216. package/dist/chunks/{location-service-map-4r9t3qge.js → state-kqzd954s.js} +25 -25
  217. package/dist/chunks/{location-service-map-q11srg2a.js → state-ksg1ge82.js} +5 -5
  218. package/dist/chunks/{location-service-map-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
  219. package/dist/chunks/{location-service-map-2s9mae96.js → state-ktck1cjp.js} +6 -6
  220. package/dist/chunks/{location-service-map-kzczzf4v.js → state-kzczzf4v.js} +1 -1
  221. package/dist/chunks/{location-service-map-vcdn6g4d.js → state-kzv3grbw.js} +19 -19
  222. package/dist/chunks/{location-service-map-m1714858.js → state-m1714858.js} +1 -1
  223. package/dist/chunks/{location-service-map-m4p4r8nc.js → state-m4p4r8nc.js} +1 -1
  224. package/dist/chunks/{location-service-map-m90tx7mw.js → state-m90tx7mw.js} +1 -1
  225. package/dist/chunks/{location-service-map-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{location-service-map-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{location-service-map-jxsy4av0.js → state-mvmm73ke.js} +16 -16
  228. package/dist/chunks/{location-service-map-756txk4v.js → state-mx3cbz75.js} +14 -14
  229. package/dist/chunks/{location-service-map-dd3s6rjc.js → state-n1n71mfr.js} +9 -9
  230. package/dist/chunks/{location-service-map-azqdag7d.js → state-n320gsn2.js} +4 -4
  231. package/dist/chunks/{location-service-map-keja7rv1.js → state-narxvgx9.js} +17 -17
  232. package/dist/chunks/{location-service-map-1svrgee7.js → state-nd2e51yr.js} +4 -4
  233. package/dist/chunks/{location-service-map-fv8ygwk0.js → state-nd788t6c.js} +7 -7
  234. package/dist/chunks/{location-service-map-s615zsdr.js → state-ng5phben.js} +21 -21
  235. package/dist/chunks/{location-service-map-sfnbsatt.js → state-nmbew64m.js} +46 -46
  236. package/dist/chunks/{location-service-map-ts5j28rr.js → state-nxbnzhh1.js} +3 -3
  237. package/dist/chunks/{location-service-map-9ry2hy7r.js → state-p5memtjr.js} +18 -18
  238. package/dist/chunks/{location-service-map-xwc195j0.js → state-p6s20s7v.js} +10 -10
  239. package/dist/chunks/{location-service-map-1yq9hg58.js → state-p7vhpwh8.js} +5 -5
  240. package/dist/chunks/{location-service-map-t62dywgn.js → state-p94p4v4n.js} +4 -4
  241. package/dist/chunks/{location-service-map-amkza0xb.js → state-pffxc541.js} +16 -16
  242. package/dist/chunks/{location-service-map-g9ndtp1p.js → state-pgqxr0th.js} +4 -4
  243. package/dist/chunks/{location-service-map-6c2edk9s.js → state-phqefw3j.js} +5 -5
  244. package/dist/chunks/{location-service-map-pknna89w.js → state-pknna89w.js} +1 -1
  245. package/dist/chunks/{location-service-map-8vehvdj9.js → state-pvh525kc.js} +24 -24
  246. package/dist/chunks/{location-service-map-682r9fgy.js → state-px6wqt9a.js} +10 -10
  247. package/dist/chunks/{location-service-map-48pqttyc.js → state-q3t09a1r.js} +16 -16
  248. package/dist/chunks/{location-service-map-15eetdmc.js → state-qj27vsmx.js} +31 -31
  249. package/dist/chunks/{location-service-map-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
  250. package/dist/chunks/{location-service-map-0eyg86wb.js → state-qq8nxmq8.js} +12 -12
  251. package/dist/chunks/{location-service-map-psb1wzhv.js → state-qtf35215.js} +2 -2
  252. package/dist/chunks/{location-service-map-erj42gt4.js → state-qvhq5dtp.js} +17 -17
  253. package/dist/chunks/{location-service-map-p9bnptzw.js → state-qvscvz7g.js} +30 -30
  254. package/dist/chunks/{location-service-map-eam2557n.js → state-r0wrga32.js} +4 -4
  255. package/dist/chunks/{location-service-map-crhr9065.js → state-r1qh9q3s.js} +5 -5
  256. package/dist/chunks/{location-service-map-r8awm2rp.js → state-r3sws3fk.js} +15 -15
  257. package/dist/chunks/{location-service-map-86sgqceh.js → state-r4ey0dp4.js} +7 -7
  258. package/dist/chunks/{location-service-map-8ytffmf3.js → state-r5t319e4.js} +13 -13
  259. package/dist/chunks/{location-service-map-pk7zej4a.js → state-r932s1aq.js} +21 -21
  260. package/dist/chunks/{location-service-map-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  261. package/dist/chunks/{location-service-map-6ez86e1h.js → state-rf2e2mym.js} +28 -28
  262. package/dist/chunks/{location-service-map-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
  263. package/dist/chunks/{location-service-map-35bxypg0.js → state-rgceh5wf.js} +21 -21
  264. package/dist/chunks/{location-service-map-a6ahad7w.js → state-rgpq9amq.js} +7 -7
  265. package/dist/chunks/{location-service-map-8f92b62n.js → state-rgptf7vs.js} +23 -23
  266. package/dist/chunks/{location-service-map-8fbd74bt.js → state-rmeffpf9.js} +11 -11
  267. package/dist/chunks/{location-service-map-xjbsd7zy.js → state-rp6t20zc.js} +9 -9
  268. package/dist/chunks/{location-service-map-s1ba0vj0.js → state-s1ba0vj0.js} +2 -2
  269. package/dist/chunks/{location-service-map-gjnfhh6c.js → state-s1t4haaj.js} +28 -28
  270. package/dist/chunks/{location-service-map-mgmgpmkj.js → state-s2rw6bpt.js} +30 -30
  271. package/dist/chunks/{location-service-map-yb82w2a1.js → state-s3jahghs.js} +25 -25
  272. package/dist/chunks/{location-service-map-s47rahr7.js → state-s47rahr7.js} +1 -1
  273. package/dist/chunks/{location-service-map-mecckpwv.js → state-s81kawhg.js} +7 -7
  274. package/dist/chunks/{location-service-map-sbya78hr.js → state-sbya78hr.js} +1 -1
  275. package/dist/chunks/{location-service-map-90ct6wq4.js → state-sf9y72b7.js} +4 -4
  276. package/dist/chunks/{location-service-map-tqq8e0e3.js → state-skh0vv1h.js} +2 -2
  277. package/dist/chunks/{location-service-map-y8gddqc4.js → state-sktstmq7.js} +14 -14
  278. package/dist/chunks/{location-service-map-f985r6kr.js → state-smk8519c.js} +41 -41
  279. package/dist/chunks/{location-service-map-vvs86ggc.js → state-sq2460zj.js} +5 -5
  280. package/dist/chunks/{location-service-map-svcy3p9a.js → state-svcy3p9a.js} +1 -1
  281. package/dist/chunks/{location-service-map-jeww68x2.js → state-t1cpgcqv.js} +11 -11
  282. package/dist/chunks/{location-service-map-93sjg7bj.js → state-t65b4mrh.js} +1 -1
  283. package/dist/chunks/{location-service-map-razzrrby.js → state-t69jc1z4.js} +5 -5
  284. package/dist/chunks/{location-service-map-78p2h4ex.js → state-t8erkws8.js} +5 -5
  285. package/dist/chunks/{location-service-map-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
  286. package/dist/chunks/{location-service-map-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{location-service-map-gxs71cxp.js → state-tg7s7b5t.js} +4 -4
  288. package/dist/chunks/{location-service-map-tbgsf036.js → state-tnqc7dvm.js} +181 -181
  289. package/dist/chunks/{location-service-map-z4nh6wq0.js → state-tqnb7fam.js} +17 -17
  290. package/dist/chunks/{location-service-map-ddvn7d3w.js → state-tqx9c315.js} +8 -8
  291. package/dist/chunks/{location-service-map-rfdg5dmq.js → state-tts1m72y.js} +11 -11
  292. package/dist/chunks/{location-service-map-0fvxehme.js → state-ttz31trp.js} +5 -5
  293. package/dist/chunks/{location-service-map-tvtps2q9.js → state-tvtps2q9.js} +1 -1
  294. package/dist/chunks/{location-service-map-ae45krb0.js → state-twn0g4c4.js} +14 -14
  295. package/dist/chunks/{location-service-map-twssxy5n.js → state-twssxy5n.js} +2 -2
  296. package/dist/chunks/{location-service-map-9fy2xype.js → state-tye10t2g.js} +15 -15
  297. package/dist/chunks/{location-service-map-geem5nsj.js → state-v159dwgd.js} +18 -18
  298. package/dist/chunks/{location-service-map-43wnwdt1.js → state-v291rggy.js} +33 -33
  299. package/dist/chunks/{location-service-map-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{location-service-map-vas4244f.js → state-v4qeya6z.js} +12 -12
  301. package/dist/chunks/{location-service-map-krvaf23f.js → state-v6atjk4t.js} +13 -13
  302. package/dist/chunks/{location-service-map-me99kem2.js → state-v8dnj16f.js} +14 -14
  303. package/dist/chunks/{location-service-map-j9ne08cm.js → state-v9edw38w.js} +8 -8
  304. package/dist/chunks/{location-service-map-ckwsx23f.js → state-v9wprw03.js} +45 -45
  305. package/dist/chunks/{location-service-map-p4x8wqyz.js → state-vf55m751.js} +18 -18
  306. package/dist/chunks/{location-service-map-vjf35v1f.js → state-vjf35v1f.js} +1 -1
  307. package/dist/chunks/{location-service-map-r8brma3d.js → state-vjjnj6g4.js} +17 -17
  308. package/dist/chunks/{location-service-map-f6hn2jkf.js → state-vmwdw956.js} +21 -21
  309. package/dist/chunks/{location-service-map-zamccnb2.js → state-vngwnm7r.js} +32 -32
  310. package/dist/chunks/{location-service-map-e174pryb.js → state-vq1ppevj.js} +8 -8
  311. package/dist/chunks/{location-service-map-6h8vcvjm.js → state-vt4r9rmy.js} +9 -9
  312. package/dist/chunks/{location-service-map-vypd0943.js → state-vzbnr37h.js} +8 -8
  313. package/dist/chunks/{location-service-map-gz69975a.js → state-w0ee2s96.js} +5 -5
  314. package/dist/chunks/{location-service-map-jahcymnp.js → state-w26ydvkj.js} +15 -15
  315. package/dist/chunks/{location-service-map-40za9wsf.js → state-w2eysc6j.js} +9 -9
  316. package/dist/chunks/{location-service-map-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  317. package/dist/chunks/{location-service-map-xbkzc6k0.js → state-w65a8kme.js} +6 -6
  318. package/dist/chunks/{location-service-map-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  319. package/dist/chunks/{location-service-map-wd87259q.js → state-wd87259q.js} +1 -1
  320. package/dist/chunks/{location-service-map-wegkxhrn.js → state-wegkxhrn.js} +2 -2
  321. package/dist/chunks/{location-service-map-zr1wmh0k.js → state-wevk3aaq.js} +17 -17
  322. package/dist/chunks/{location-service-map-1j8v57a6.js → state-wfyabtyf.js} +92 -92
  323. package/dist/chunks/{location-service-map-xn1x61je.js → state-wjcg0vp3.js} +3 -3
  324. package/dist/chunks/{location-service-map-0np7wz4e.js → state-wjz4g2jq.js} +4 -4
  325. package/dist/chunks/{location-service-map-3jsxda5g.js → state-wmkrkwan.js} +8 -8
  326. package/dist/chunks/{location-service-map-46h6vd96.js → state-wpjpmdpx.js} +8 -8
  327. package/dist/chunks/{location-service-map-fznmdakp.js → state-wr3re1en.js} +4 -4
  328. package/dist/chunks/{location-service-map-5hzkr2ah.js → state-wz7en73q.js} +25 -25
  329. package/dist/chunks/{location-service-map-eww617aq.js → state-wzf5k0ay.js} +11 -11
  330. package/dist/chunks/{location-service-map-gnkw4dwe.js → state-x150ncgg.js} +2 -2
  331. package/dist/chunks/{location-service-map-xacrkbdt.js → state-xacrkbdt.js} +1 -1
  332. package/dist/chunks/{location-service-map-dnfbfcty.js → state-xnvj0mm3.js} +3 -3
  333. package/dist/chunks/{location-service-map-swmqj1es.js → state-xvxdf7j2.js} +8 -8
  334. package/dist/chunks/{location-service-map-xjr6c8m4.js → state-xxschbft.js} +4 -4
  335. package/dist/chunks/{location-service-map-04b11r13.js → state-y5mtf85h.js} +56 -56
  336. package/dist/chunks/{location-service-map-4wpen61a.js → state-y7v4rbnm.js} +23 -23
  337. package/dist/chunks/{location-service-map-jmv1ywcg.js → state-y8extacy.js} +23 -23
  338. package/dist/chunks/{location-service-map-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  339. package/dist/chunks/{location-service-map-a5qrcs7y.js → state-yd4vfr0t.js} +11 -11
  340. package/dist/chunks/{location-service-map-t03vbevb.js → state-ydet8tgv.js} +30 -30
  341. package/dist/chunks/{location-service-map-va1p1kqg.js → state-yh9adn63.js} +20 -20
  342. package/dist/chunks/{location-service-map-vjhrddsw.js → state-ynzdgah7.js} +5 -5
  343. package/dist/chunks/{location-service-map-nxw1zf8h.js → state-yr4nm0tc.js} +4 -4
  344. package/dist/chunks/{location-service-map-yr705xyq.js → state-yr705xyq.js} +1 -1
  345. package/dist/chunks/{location-service-map-yvtc2x31.js → state-yvtc2x31.js} +1 -1
  346. package/dist/chunks/{location-service-map-p3wjgdtj.js → state-ywxpr5ha.js} +18 -18
  347. package/dist/chunks/{location-service-map-3ex1ss0s.js → state-yxb8rzbt.js} +9 -9
  348. package/dist/chunks/{location-service-map-fd4wsrfy.js → state-yzyzjx54.js} +9 -9
  349. package/dist/chunks/{location-service-map-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
  350. package/dist/chunks/{location-service-map-ze75qvmd.js → state-ze75qvmd.js} +3 -3
  351. package/dist/chunks/{location-service-map-k3mzzvn2.js → state-zhbst51w.js} +28 -28
  352. package/dist/chunks/{location-service-map-s2g09ryt.js → state-zqeyams7.js} +25 -25
  353. package/dist/codemode/catalog.js +1 -1
  354. package/dist/codemode/execution.js +5 -5
  355. package/dist/codemode/fetch.js +149 -149
  356. package/dist/codemode/instructions.js +9 -9
  357. package/dist/codemode/tool.js +156 -156
  358. package/dist/command.js +96 -96
  359. package/dist/config/discovery.js +95 -95
  360. package/dist/config/integration.js +1 -1
  361. package/dist/config/managed.js +1 -1
  362. package/dist/config/markdown.js +1 -1
  363. package/dist/config/normalize.js +113 -113
  364. package/dist/config/plugin/agent.js +134 -134
  365. package/dist/config/plugin/command.js +247 -247
  366. package/dist/config/plugin/compaction.js +174 -174
  367. package/dist/config/plugin/compatibility.js +154 -154
  368. package/dist/config/plugin/entry-observer.js +1 -1
  369. package/dist/config/plugin/formatter.js +132 -132
  370. package/dist/config/plugin/image.js +131 -131
  371. package/dist/config/plugin/instruction.js +131 -131
  372. package/dist/config/plugin/location-watcher.js +133 -133
  373. package/dist/config/plugin/mcp.js +148 -148
  374. package/dist/config/plugin/policy.js +131 -131
  375. package/dist/config/plugin/provider.js +131 -131
  376. package/dist/config/plugin/reference.js +133 -133
  377. package/dist/config/plugin/shell.js +133 -133
  378. package/dist/config/plugin/skill-file.js +150 -150
  379. package/dist/config/plugin/skill-scan.js +1 -1
  380. package/dist/config/plugin/skill.js +157 -157
  381. package/dist/config/plugin/snapshot.js +131 -131
  382. package/dist/config/plugin/source.js +135 -135
  383. package/dist/config/plugin/tool-output.js +132 -132
  384. package/dist/config/plugin/websearch.js +130 -130
  385. package/dist/config/plugin/worktree.js +133 -133
  386. package/dist/config/variable.js +1 -1
  387. package/dist/config/watch.js +1 -1
  388. package/dist/config.js +136 -136
  389. package/dist/console-access.js +1 -1
  390. package/dist/credential/sql.js +2 -2
  391. package/dist/credential.js +94 -94
  392. package/dist/database/batch.js +1 -1
  393. package/dist/database/database.js +77 -77
  394. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  395. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  396. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  397. package/dist/database/drizzle/index.js +13 -13
  398. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  401. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  403. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  405. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  406. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  408. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  409. package/dist/database/drizzle.js +14 -14
  410. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  411. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  412. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  413. package/dist/database/migration/20260225215848_workspace.js +1 -1
  414. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  415. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  416. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  417. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  418. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  419. package/dist/database/migration/20260323234822_events.js +1 -1
  420. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  421. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  422. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  423. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  424. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  425. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  426. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  427. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  428. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  429. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  430. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  431. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  432. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  433. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  434. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  435. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  436. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  437. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  438. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  439. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  440. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  441. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  442. package/dist/database/migration/20260611035744_credential.js +1 -1
  443. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  444. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  445. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  446. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  447. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  448. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  449. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  450. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  451. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  452. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  453. package/dist/database/migration/20260812213948_worktree.js +1 -1
  454. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  455. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  456. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  457. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  458. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  459. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  460. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  461. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  462. package/dist/database/migration/20261025123711_blob.js +1 -1
  463. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  464. package/dist/database/migration/20261026223005_schedule.js +1 -1
  465. package/dist/database/migration/20261029002625_session_part.js +1 -1
  466. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  467. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  468. package/dist/database/migration/20261030054400_job.js +1 -1
  469. package/dist/database/migration.gen.js +60 -60
  470. package/dist/database/migration.js +76 -76
  471. package/dist/database/path.js +2 -2
  472. package/dist/database/schema.gen.js +1 -1
  473. package/dist/database/schema.sql.js +1 -1
  474. package/dist/database/v1-migration.bun.js +105 -105
  475. package/dist/effect/app-node-builder.js +448 -448
  476. package/dist/effect/app-node-platform.js +2 -2
  477. package/dist/effect/keyed-mutex.js +1 -1
  478. package/dist/effect/websocket-constructor.js +1 -1
  479. package/dist/environment/driver.js +1 -1
  480. package/dist/environment/environment.js +105 -105
  481. package/dist/environment/exec-defaults.js +2 -2
  482. package/dist/environment/files.js +1 -1
  483. package/dist/environment/index.js +109 -109
  484. package/dist/environment/local.js +2 -2
  485. package/dist/environment/memory.js +2 -2
  486. package/dist/environment/unavailable.js +3 -3
  487. package/dist/event/sql.js +1 -1
  488. package/dist/event-logger.js +81 -81
  489. package/dist/file-access.js +159 -159
  490. package/dist/file-mutation.js +108 -108
  491. package/dist/file-retention.js +1 -1
  492. package/dist/file-write.js +165 -165
  493. package/dist/filesystem/fff.bun.js +2 -2
  494. package/dist/filesystem/fff.js +1 -1
  495. package/dist/filesystem/fff.node.js +2 -2
  496. package/dist/filesystem/fff.workerd.js +2 -2
  497. package/dist/filesystem/file-watch.js +88 -88
  498. package/dist/filesystem/location-watcher-policy.js +6 -6
  499. package/dist/filesystem/location-watcher.js +258 -258
  500. package/dist/filesystem/protected.js +1 -1
  501. package/dist/filesystem/search.js +113 -113
  502. package/dist/filesystem/watcher-binding.js +1 -1
  503. package/dist/filesystem/watcher.js +11 -11
  504. package/dist/filesystem.js +118 -118
  505. package/dist/flag.js +134 -134
  506. package/dist/form.js +93 -93
  507. package/dist/formatter/builtins.js +4 -4
  508. package/dist/formatter.js +100 -100
  509. package/dist/generate.js +121 -121
  510. package/dist/git.js +11 -11
  511. package/dist/github-copilot/models.js +113 -113
  512. package/dist/image/notice.js +1 -1
  513. package/dist/image/photon-normalize.js +1 -1
  514. package/dist/image/photon-worker.js +1 -1
  515. package/dist/image/photon.js +4 -4
  516. package/dist/image.js +6 -6
  517. package/dist/instance/service.js +5 -5
  518. package/dist/instance.js +439 -439
  519. package/dist/instruction-discovery.js +91 -91
  520. package/dist/instructions/builtins.js +100 -100
  521. package/dist/instructions/index.js +3 -3
  522. package/dist/integration/connection.js +3 -3
  523. package/dist/integration.js +100 -100
  524. package/dist/job/list.js +5 -5
  525. package/dist/job/recovery.js +2 -2
  526. package/dist/job/sql.js +2 -2
  527. package/dist/job.js +88 -88
  528. package/dist/kv/sql.js +2 -2
  529. package/dist/kv.js +84 -84
  530. package/dist/location-activity.js +186 -186
  531. package/dist/location-lifecycle.js +154 -154
  532. package/dist/location-service-map.js +99 -99
  533. package/dist/location-services.js +436 -436
  534. package/dist/location.js +102 -102
  535. package/dist/managed-policy.js +3 -3
  536. package/dist/mcp/client.js +159 -159
  537. package/dist/mcp/connection.js +106 -106
  538. package/dist/mcp/index.js +149 -149
  539. package/dist/mcp/instructions.js +188 -188
  540. package/dist/mcp/oauth.js +90 -90
  541. package/dist/mcp/pool.js +110 -110
  542. package/dist/mcp/socket-client.js +1 -1
  543. package/dist/mcp/stdio.js +160 -160
  544. package/dist/mime.js +1 -1
  545. package/dist/modal/models.js +113 -113
  546. package/dist/model-resolver.js +113 -113
  547. package/dist/model-retry.js +1 -1
  548. package/dist/model.js +114 -114
  549. package/dist/models-dev/v1.js +1 -1
  550. package/dist/models-dev.js +122 -122
  551. package/dist/oauth/page.js +1 -1
  552. package/dist/oauth/redirect.js +1 -1
  553. package/dist/permission/saved.js +93 -93
  554. package/dist/permission/sql.js +5 -5
  555. package/dist/permission.js +155 -155
  556. package/dist/persistent-pty/binary.bun.js +1 -1
  557. package/dist/persistent-pty/daemon.js +1 -1
  558. package/dist/persistent-pty/index.js +101 -101
  559. package/dist/persistent-pty/pty-binding.js +1 -1
  560. package/dist/persistent-pty.js +86 -86
  561. package/dist/plugin/agent.js +87 -87
  562. package/dist/plugin/command.js +146 -146
  563. package/dist/plugin/fork-notice.js +3 -3
  564. package/dist/plugin/goal.js +3 -3
  565. package/dist/plugin/hooks.js +3 -3
  566. package/dist/plugin/host.js +249 -249
  567. package/dist/plugin/identity.js +5 -5
  568. package/dist/plugin/instance.js +5 -5
  569. package/dist/plugin/internal.js +416 -416
  570. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  571. package/dist/plugin/models-dev.js +111 -111
  572. package/dist/plugin/module.js +130 -130
  573. package/dist/plugin/optimize.js +4 -4
  574. package/dist/plugin/plan.js +150 -150
  575. package/dist/plugin/promise.js +1 -1
  576. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  577. package/dist/plugin/provider/azure.js +134 -134
  578. package/dist/plugin/provider/cerebras.js +1 -1
  579. package/dist/plugin/provider/chatgpt.js +135 -135
  580. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  581. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  582. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  583. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  584. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  585. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  586. package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
  587. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  588. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  589. package/dist/plugin/provider/claude-agent/index.js +149 -149
  590. package/dist/plugin/provider/claude-agent/instructions.js +115 -115
  591. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  592. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  593. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  594. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  595. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  596. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  597. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  598. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  599. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  600. package/dist/plugin/provider/claude-agent/session.js +111 -111
  601. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  602. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  603. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  604. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  605. package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
  606. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  607. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  608. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  609. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  610. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  611. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  612. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  613. package/dist/plugin/provider/configured.js +127 -127
  614. package/dist/plugin/provider/credential-settings.js +88 -88
  615. package/dist/plugin/provider/databricks.js +1 -1
  616. package/dist/plugin/provider/digitalocean.js +110 -110
  617. package/dist/plugin/provider/dynamic.js +2 -2
  618. package/dist/plugin/provider/github-copilot.js +112 -112
  619. package/dist/plugin/provider/gitlab.js +111 -111
  620. package/dist/plugin/provider/google-vertex.js +128 -128
  621. package/dist/plugin/provider/kilo.js +1 -1
  622. package/dist/plugin/provider/llmgateway.js +89 -89
  623. package/dist/plugin/provider/lmstudio.js +144 -144
  624. package/dist/plugin/provider/local.js +141 -141
  625. package/dist/plugin/provider/modal.js +109 -109
  626. package/dist/plugin/provider/neon.js +1 -1
  627. package/dist/plugin/provider/nvidia.js +1 -1
  628. package/dist/plugin/provider/ollama.js +144 -144
  629. package/dist/plugin/provider/openai-context-caps.js +107 -107
  630. package/dist/plugin/provider/openai.js +137 -137
  631. package/dist/plugin/provider/opencode-watches.js +4 -4
  632. package/dist/plugin/provider/opencode.js +162 -162
  633. package/dist/plugin/provider/openrouter.js +105 -105
  634. package/dist/plugin/provider/poe.js +91 -91
  635. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  636. package/dist/plugin/provider/refresh.js +89 -89
  637. package/dist/plugin/provider/sap-ai-core.js +105 -105
  638. package/dist/plugin/provider/sdk-factory.js +1 -1
  639. package/dist/plugin/provider/snowflake-cortex.js +133 -133
  640. package/dist/plugin/provider/vllm.js +144 -144
  641. package/dist/plugin/provider/xai.js +105 -105
  642. package/dist/plugin/provider/zenmux.js +1 -1
  643. package/dist/plugin/provider.js +241 -241
  644. package/dist/plugin/sdk.js +87 -87
  645. package/dist/plugin/service.js +3 -3
  646. package/dist/plugin/skill.js +153 -153
  647. package/dist/plugin/source-directory.js +1 -1
  648. package/dist/plugin/supervisor.js +426 -426
  649. package/dist/plugin/tool-input-repair.js +4 -4
  650. package/dist/plugin/update.js +6 -6
  651. package/dist/plugin/vcs/git.js +99 -99
  652. package/dist/plugin/vcs/hg.js +99 -99
  653. package/dist/plugin/verbosity.js +107 -107
  654. package/dist/plugin/warming.js +131 -131
  655. package/dist/plugin/websearch/exa.js +8 -8
  656. package/dist/plugin/websearch/firecrawl.js +9 -9
  657. package/dist/plugin/websearch/index.js +10 -10
  658. package/dist/plugin/websearch/mcp.js +6 -6
  659. package/dist/plugin/websearch/parallel.js +9 -9
  660. package/dist/plugin/websearch/provider.js +3 -3
  661. package/dist/plugin/websearch/tavily.js +7 -7
  662. package/dist/plugin/websearch/tinyfish.js +9 -9
  663. package/dist/plugin.js +260 -260
  664. package/dist/project/icon.js +5 -5
  665. package/dist/project/schema.js +8 -8
  666. package/dist/project/sql.js +4 -4
  667. package/dist/project.js +103 -103
  668. package/dist/provider.js +111 -111
  669. package/dist/pty/protocol.js +1 -1
  670. package/dist/pty/ticket.js +1 -1
  671. package/dist/pty.js +113 -113
  672. package/dist/reference/instructions.js +99 -99
  673. package/dist/reference.js +103 -103
  674. package/dist/repository-cache.js +93 -93
  675. package/dist/repository.js +3 -3
  676. package/dist/ripgrep/binary.js +2 -2
  677. package/dist/ripgrep.js +111 -111
  678. package/dist/rpc.js +99 -99
  679. package/dist/schedule/check.js +254 -254
  680. package/dist/schedule/sql.js +6 -6
  681. package/dist/schedule.js +268 -268
  682. package/dist/schema.js +1 -1
  683. package/dist/session/affinity.js +1 -1
  684. package/dist/session/background.js +1 -1
  685. package/dist/session/blob.js +133 -133
  686. package/dist/session/command.js +85 -85
  687. package/dist/session/compaction.js +176 -176
  688. package/dist/session/context.js +206 -206
  689. package/dist/session/diff.js +101 -101
  690. package/dist/session/environment.js +5 -5
  691. package/dist/session/error.js +5 -5
  692. package/dist/session/event.js +1 -1
  693. package/dist/session/execution/restart.js +272 -272
  694. package/dist/session/execution/subagent-report.js +144 -144
  695. package/dist/session/execution.js +173 -173
  696. package/dist/session/generate.js +208 -208
  697. package/dist/session/history.js +140 -140
  698. package/dist/session/inbox.js +147 -147
  699. package/dist/session/info.js +3 -3
  700. package/dist/session/instruction-entry.js +88 -88
  701. package/dist/session/instruction-state.js +8 -8
  702. package/dist/session/instructions.js +143 -143
  703. package/dist/session/message-updater.js +4 -4
  704. package/dist/session/message.js +1 -1
  705. package/dist/session/model-request.js +172 -172
  706. package/dist/session/model-transport.js +9 -9
  707. package/dist/session/move.js +175 -175
  708. package/dist/session/projector.js +147 -147
  709. package/dist/session/prompt.js +152 -152
  710. package/dist/session/recent-text.js +1 -1
  711. package/dist/session/revert.js +143 -143
  712. package/dist/session/run-coordinator.js +1 -1
  713. package/dist/session/runner/index.js +3 -3
  714. package/dist/session/runner/llm.js +259 -259
  715. package/dist/session/runner/max-steps.js +1 -1
  716. package/dist/session/runner/model.js +115 -115
  717. package/dist/session/runner/publish-llm-event.js +154 -154
  718. package/dist/session/runner/retry.js +5 -5
  719. package/dist/session/runner/step.js +165 -165
  720. package/dist/session/runner/to-llm-message.js +141 -141
  721. package/dist/session/schema.js +3 -3
  722. package/dist/session/session.js +195 -195
  723. package/dist/session/shell.js +149 -149
  724. package/dist/session/skill.js +151 -151
  725. package/dist/session/sql.js +5 -5
  726. package/dist/session/stats.js +85 -85
  727. package/dist/session/store.js +146 -146
  728. package/dist/session/stored.js +2 -2
  729. package/dist/session/subagent-completion.js +1 -1
  730. package/dist/session/subagent-job.js +174 -174
  731. package/dist/session/system-prompt.js +5 -5
  732. package/dist/session/title.js +204 -204
  733. package/dist/session/to-session-error.js +153 -153
  734. package/dist/session/transfer.js +253 -253
  735. package/dist/session/usage.js +1 -1
  736. package/dist/session.js +249 -249
  737. package/dist/shared-cache.js +5 -5
  738. package/dist/shell/parse.js +6 -6
  739. package/dist/shell/result.js +1 -1
  740. package/dist/shell/scan.js +1 -1
  741. package/dist/shell/select.js +13 -13
  742. package/dist/shell.js +151 -151
  743. package/dist/skill/discovery.js +6 -6
  744. package/dist/skill/instructions.js +153 -153
  745. package/dist/skill.js +162 -162
  746. package/dist/snapshot.js +102 -102
  747. package/dist/state.js +1 -1
  748. package/dist/tool/html-markdown.js +1 -1
  749. package/dist/tool/http-body.js +1 -1
  750. package/dist/tool/mcp.js +187 -187
  751. package/dist/tool/plugin/artifact.js +244 -244
  752. package/dist/tool/plugin/edit.js +171 -171
  753. package/dist/tool/plugin/file-diff.js +1 -1
  754. package/dist/tool/plugin/glob.js +175 -175
  755. package/dist/tool/plugin/grep.js +174 -174
  756. package/dist/tool/plugin/image-generate.js +255 -255
  757. package/dist/tool/plugin/mcp-events.js +166 -166
  758. package/dist/tool/plugin/mcp-resource.js +170 -170
  759. package/dist/tool/plugin/opencode.js +167 -167
  760. package/dist/tool/plugin/patch.js +172 -172
  761. package/dist/tool/plugin/question.js +148 -148
  762. package/dist/tool/plugin/read.js +176 -176
  763. package/dist/tool/plugin/schedule.js +260 -260
  764. package/dist/tool/plugin/shell.js +251 -251
  765. package/dist/tool/plugin/skill.js +157 -157
  766. package/dist/tool/plugin/subagent.js +249 -249
  767. package/dist/tool/plugin/todo.js +157 -157
  768. package/dist/tool/plugin/webfetch.js +161 -161
  769. package/dist/tool/plugin/websearch.js +157 -157
  770. package/dist/tool/plugin/write.js +172 -172
  771. package/dist/tool/read-filesystem.js +114 -114
  772. package/dist/tool/runtime.js +1 -1
  773. package/dist/tool/search.js +109 -109
  774. package/dist/tool-output.js +7 -7
  775. package/dist/tool.js +166 -166
  776. package/dist/usage-limits.js +98 -98
  777. package/dist/util/error-summary.js +1 -1
  778. package/dist/util/git-executable.js +3 -3
  779. package/dist/util/lazy.js +1 -1
  780. package/dist/util/slug.js +1 -1
  781. package/dist/util/token.js +1 -1
  782. package/dist/util/which.js +1 -1
  783. package/dist/util/wildcard.js +1 -1
  784. package/dist/v1/config/agent.js +5 -5
  785. package/dist/v1/config/command.js +5 -5
  786. package/dist/v1/config/mcp.js +4 -4
  787. package/dist/v1/config/migrate.js +106 -106
  788. package/dist/v1/config/permission.js +3 -3
  789. package/dist/v1/config/plugin.js +3 -3
  790. package/dist/v1/config/provider-options.js +1 -1
  791. package/dist/v1/config/provider.js +4 -4
  792. package/dist/variant.js +107 -107
  793. package/dist/vcs/patch.js +1 -1
  794. package/dist/vcs.js +102 -102
  795. package/dist/voice.js +99 -99
  796. package/dist/websearch.js +91 -91
  797. package/dist/wellknown/plugin.js +85 -85
  798. package/dist/wellknown.js +92 -92
  799. package/dist/workspace/driver.js +7 -7
  800. package/dist/workspace/sql.js +1 -1
  801. package/dist/workspace.js +93 -93
  802. package/dist/worktree/directory.js +2 -2
  803. package/dist/worktree/git.js +9 -9
  804. package/dist/worktree/sql.js +5 -5
  805. package/dist/worktree/strategies.js +102 -102
  806. package/dist/worktree.js +111 -111
  807. package/package.json +8 -8
  808. package/dist/chunks/location-service-map-73rcrfx8.js +0 -587
  809. package/dist/chunks/location-service-map-7yv5xa0k.js +0 -18
  810. package/dist/chunks/location-service-map-gbt004k4.js +0 -35
  811. package/dist/chunks/location-service-map-gkb3m8fg.js +0 -16
  812. package/dist/chunks/location-service-map-hqbjgxtf.js +0 -26
  813. package/dist/chunks/location-service-map-k908hcrc.js +0 -273
  814. /package/dist/chunks/{location-service-map-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  815. /package/dist/chunks/{location-service-map-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  816. /package/dist/chunks/{location-service-map-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  817. /package/dist/chunks/{location-service-map-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  818. /package/dist/chunks/{location-service-map-1kah00gy.js → state-1kah00gy.js} +0 -0
  819. /package/dist/chunks/{location-service-map-24dcb14g.js → state-24dcb14g.js} +0 -0
  820. /package/dist/chunks/{location-service-map-2710q6r3.js → state-2710q6r3.js} +0 -0
  821. /package/dist/chunks/{location-service-map-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  822. /package/dist/chunks/{location-service-map-359p4xyc.js → state-359p4xyc.js} +0 -0
  823. /package/dist/chunks/{location-service-map-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  824. /package/dist/chunks/{location-service-map-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  825. /package/dist/chunks/{location-service-map-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  826. /package/dist/chunks/{location-service-map-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
  827. /package/dist/chunks/{location-service-map-53557ph1.js → state-53557ph1.js} +0 -0
  828. /package/dist/chunks/{location-service-map-5w3e23ze.js → state-5w3e23ze.js} +0 -0
  829. /package/dist/chunks/{location-service-map-6agm2x70.js → state-6agm2x70.js} +0 -0
  830. /package/dist/chunks/{location-service-map-6prwharc.js → state-6prwharc.js} +0 -0
  831. /package/dist/chunks/{location-service-map-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  832. /package/dist/chunks/{location-service-map-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  833. /package/dist/chunks/{location-service-map-7m9af43g.js → state-7m9af43g.js} +0 -0
  834. /package/dist/chunks/{location-service-map-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
  835. /package/dist/chunks/{location-service-map-822emrt2.js → state-822emrt2.js} +0 -0
  836. /package/dist/chunks/{location-service-map-84wd9syh.js → state-84wd9syh.js} +0 -0
  837. /package/dist/chunks/{location-service-map-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  838. /package/dist/chunks/{location-service-map-8n3pysct.js → state-8n3pysct.js} +0 -0
  839. /package/dist/chunks/{location-service-map-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  840. /package/dist/chunks/{location-service-map-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  841. /package/dist/chunks/{location-service-map-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  842. /package/dist/chunks/{location-service-map-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  843. /package/dist/chunks/{location-service-map-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  844. /package/dist/chunks/{location-service-map-beh6qq61.js → state-beh6qq61.js} +0 -0
  845. /package/dist/chunks/{location-service-map-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  846. /package/dist/chunks/{location-service-map-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  847. /package/dist/chunks/{location-service-map-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  848. /package/dist/chunks/{location-service-map-cqv5kn06.js → state-cqv5kn06.js} +0 -0
  849. /package/dist/chunks/{location-service-map-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  850. /package/dist/chunks/{location-service-map-d9fn303g.js → state-d9fn303g.js} +0 -0
  851. /package/dist/chunks/{location-service-map-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  852. /package/dist/chunks/{location-service-map-df08tz66.js → state-df08tz66.js} +0 -0
  853. /package/dist/chunks/{location-service-map-dy18nga0.js → state-dy18nga0.js} +0 -0
  854. /package/dist/chunks/{location-service-map-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  855. /package/dist/chunks/{location-service-map-ean2d8b5.js → state-ean2d8b5.js} +0 -0
  856. /package/dist/chunks/{location-service-map-ec1grn59.js → state-ec1grn59.js} +0 -0
  857. /package/dist/chunks/{location-service-map-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  858. /package/dist/chunks/{location-service-map-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  859. /package/dist/chunks/{location-service-map-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  860. /package/dist/chunks/{location-service-map-faypxj3z.js → state-faypxj3z.js} +0 -0
  861. /package/dist/chunks/{location-service-map-fd410y7t.js → state-fd410y7t.js} +0 -0
  862. /package/dist/chunks/{location-service-map-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
  863. /package/dist/chunks/{location-service-map-g86h250q.js → state-g86h250q.js} +0 -0
  864. /package/dist/chunks/{location-service-map-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  865. /package/dist/chunks/{location-service-map-gftt206x.js → state-gftt206x.js} +0 -0
  866. /package/dist/chunks/{location-service-map-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  867. /package/dist/chunks/{location-service-map-hk9envan.js → state-hk9envan.js} +0 -0
  868. /package/dist/chunks/{location-service-map-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  869. /package/dist/chunks/{location-service-map-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  870. /package/dist/chunks/{location-service-map-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  871. /package/dist/chunks/{location-service-map-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  872. /package/dist/chunks/{location-service-map-jwr30sdr.js → state-jwr30sdr.js} +0 -0
  873. /package/dist/chunks/{location-service-map-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  874. /package/dist/chunks/{location-service-map-m18g726c.js → state-m18g726c.js} +0 -0
  875. /package/dist/chunks/{location-service-map-mp448xyj.js → state-mp448xyj.js} +0 -0
  876. /package/dist/chunks/{location-service-map-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  877. /package/dist/chunks/{location-service-map-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  878. /package/dist/chunks/{location-service-map-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  879. /package/dist/chunks/{location-service-map-nh4v3znn.js → state-nh4v3znn.js} +0 -0
  880. /package/dist/chunks/{location-service-map-njntx4h6.js → state-njntx4h6.js} +0 -0
  881. /package/dist/chunks/{location-service-map-p71gwv9c.js → state-p71gwv9c.js} +0 -0
  882. /package/dist/chunks/{location-service-map-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  883. /package/dist/chunks/{location-service-map-q74kybfr.js → state-q74kybfr.js} +0 -0
  884. /package/dist/chunks/{location-service-map-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  885. /package/dist/chunks/{location-service-map-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  886. /package/dist/chunks/{location-service-map-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  887. /package/dist/chunks/{location-service-map-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  888. /package/dist/chunks/{location-service-map-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  889. /package/dist/chunks/{location-service-map-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  890. /package/dist/chunks/{location-service-map-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  891. /package/dist/chunks/{location-service-map-syrav9an.js → state-syrav9an.js} +0 -0
  892. /package/dist/chunks/{location-service-map-t03h4f5z.js → state-t03h4f5z.js} +0 -0
  893. /package/dist/chunks/{location-service-map-ty7weeps.js → state-ty7weeps.js} +0 -0
  894. /package/dist/chunks/{location-service-map-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
  895. /package/dist/chunks/{location-service-map-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  896. /package/dist/chunks/{location-service-map-vtarvj67.js → state-vtarvj67.js} +0 -0
  897. /package/dist/chunks/{location-service-map-w803qqfp.js → state-w803qqfp.js} +0 -0
  898. /package/dist/chunks/{location-service-map-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  899. /package/dist/chunks/{location-service-map-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  900. /package/dist/chunks/{location-service-map-wtztk69x.js → state-wtztk69x.js} +0 -0
  901. /package/dist/chunks/{location-service-map-x4th4bpe.js → state-x4th4bpe.js} +0 -0
  902. /package/dist/chunks/{location-service-map-y44na4kk.js → state-y44na4kk.js} +0 -0
  903. /package/dist/chunks/{location-service-map-y8f7s663.js → state-y8f7s663.js} +0 -0
  904. /package/dist/chunks/{location-service-map-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  905. /package/dist/chunks/{location-service-map-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  906. /package/dist/chunks/{location-service-map-z9919s4g.js → state-z9919s4g.js} +0 -0
  907. /package/dist/chunks/{location-service-map-zxpyjp51.js → state-zxpyjp51.js} +0 -0
  908. /package/dist/chunks/{location-service-map-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./location-service-map-h6wjw172.js";
4
+ } from "./state-0dnk7p9t.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make32,
8
+ make33,
9
9
  combine2
10
- } from "./location-service-map-t62dywgn.js";
10
+ } from "./state-p94p4v4n.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./location-service-map-mb7mbhnz.js";
13
+ } from "./state-mb7mbhnz.js";
14
14
  import {
15
15
  __export
16
- } from "./location-service-map-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service31,
25
+ Service: () => Service33,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node37,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -59,12 +59,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
59
59
  }))).run().pipe(Effect.orDie), { discard: true });
60
60
  });
61
61
 
62
- class Service31 extends Context.Service()("@opencode/InstructionEntry") {
62
+ class Service33 extends Context.Service()("@opencode/InstructionEntry") {
63
63
  }
64
64
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
65
65
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
66
66
  `);
67
- var source = (entry) => make32({
67
+ var source = (entry) => make33({
68
68
  key: Key3.make(`api/${entry.key}`),
69
69
  codec: Schema.toCodecJson(Schema.Json),
70
70
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -78,7 +78,7 @@ var source = (entry) => make32({
78
78
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
79
79
  }
80
80
  });
81
- var layer = Layer.effect(Service31, Effect.gen(function* () {
81
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
82
82
  const { db } = yield* Service94;
83
83
  const list = Effect.fn("InstructionEntry.list")(function* (sessionID) {
84
84
  return (yield* rows(db, sessionID, false)).map((row) => ({ key: row.key, value: row.value }));
@@ -104,8 +104,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
104
104
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
105
105
  return combine2((yield* rows(db, sessionID, true)).map(source));
106
106
  });
107
- return Service31.of({ list, put, remove, load });
107
+ return Service33.of({ list, put, remove, load });
108
108
  }));
109
- var node35 = makeGlobalNode({ service: Service31, layer, deps: [node96] });
109
+ var node37 = makeGlobalNode({ service: Service33, layer, deps: [node96] });
110
110
 
111
- export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
111
+ export { Key2, Info10, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node37, exports_instruction_entry };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./location-service-map-7rvsyqjv.js";
3
+ } from "./state-7rvsyqjv.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-service-map-z5v4ffb3.js";
6
+ } from "./state-z5v4ffb3.js";
7
7
  import {
8
- Service84
9
- } from "./location-service-map-pzapmsw9.js";
8
+ Service90
9
+ } from "./state-3efg5d53.js";
10
10
  import {
11
- Service79
12
- } from "./location-service-map-26qqgt6g.js";
11
+ Service64
12
+ } from "./state-awc294qn.js";
13
13
  import {
14
- Service61
15
- } from "./location-service-map-geem5nsj.js";
14
+ Service46
15
+ } from "./state-v159dwgd.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  GlobInput2,
19
19
  Entry2
20
- } from "./location-service-map-ext3f0g2.js";
20
+ } from "./state-35tpvsnd.js";
21
21
  import {
22
22
  pathType2,
23
23
  bounded2
24
- } from "./location-service-map-pnk364rs.js";
24
+ } from "./state-k5pkx81j.js";
25
25
  import {
26
26
  invocation2,
27
- Service64
28
- } from "./location-service-map-f985r6kr.js";
27
+ Service73
28
+ } from "./state-smk8519c.js";
29
29
  import {
30
- Service63
31
- } from "./location-service-map-jmv1ywcg.js";
30
+ Service62
31
+ } from "./state-y8extacy.js";
32
32
  import {
33
33
  __export
34
- } from "./location-service-map-9rqn6x4v.js";
34
+ } from "./state-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/glob.ts
37
37
  var exports_glob = {};
38
38
  __export(exports_glob, {
39
39
  GlobTool: () => exports_glob,
40
- Input: () => Input12,
41
- Output: () => Output8,
42
- Plugin: () => Plugin36,
43
- name: () => name12,
44
- toModelContent: () => toModelContent4
40
+ Input: () => Input8,
41
+ Output: () => Output7,
42
+ Plugin: () => Plugin11,
43
+ name: () => name8,
44
+ toModelContent: () => toModelContent3
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai/effect";
47
47
  import { Effect, Schema } from "effect";
48
48
  import path from "path";
49
- var name12 = "glob";
50
- var Input12 = Schema.Struct({
49
+ var name8 = "glob";
50
+ var Input8 = Schema.Struct({
51
51
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
52
52
  path: Schema.optionalKey(RelativePath2).annotate({
53
53
  description: "Directory to search. Defaults to the current working directory."
@@ -59,34 +59,34 @@ var Input12 = Schema.Struct({
59
59
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
60
60
  })
61
61
  });
62
- var Output8 = Schema.Array(Entry2);
63
- var toModelContent4 = (entries, truncated = false) => {
62
+ var Output7 = Schema.Array(Entry2);
63
+ var toModelContent3 = (entries, truncated = false) => {
64
64
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
65
65
  if (truncated)
66
66
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
67
67
  return lines.join(`
68
68
  `);
69
69
  };
70
- var Plugin36 = {
70
+ var Plugin11 = {
71
71
  id: "opencode.tool.glob",
72
72
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
73
- const environment = yield* Service79;
74
- const ripgrep = yield* Service61;
75
- const location = yield* Service84;
76
- const access = yield* Service63;
77
- const permission = yield* Service64;
73
+ const environment = yield* Service64;
74
+ const ripgrep = yield* Service46;
75
+ const location = yield* Service90;
76
+ const access = yield* Service62;
77
+ const permission = yield* Service73;
78
78
  yield* ctx.tool.transform((editor) => editor.add({
79
- name: name12,
79
+ name: name8,
80
80
  options: { codemode: false },
81
81
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
82
- input: Input12,
83
- output: Output8,
82
+ input: Input8,
83
+ output: Output7,
84
84
  execute: (input, context) => Effect.gen(function* () {
85
85
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
86
86
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
87
87
  yield* access.authorizeExternal([target], context);
88
88
  yield* permission.assert({
89
- action: name12,
89
+ action: name8,
90
90
  resources: [input.pattern],
91
91
  save: ["*"],
92
92
  metadata: {
@@ -111,11 +111,11 @@ var Plugin36 = {
111
111
  };
112
112
  }).pipe(Effect.map((result) => ({
113
113
  output: result.entries,
114
- content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
114
+ content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
115
115
  metadata: { count: result.entries.length, truncated: result.truncated }
116
116
  })), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
117
117
  })).pipe(Effect.orDie);
118
118
  })
119
119
  };
120
120
 
121
- export { name12, Input12, Output8, toModelContent4, Plugin36, exports_glob };
121
+ export { name8, Input8, Output7, toModelContent3, Plugin11, exports_glob };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  toolFailure2
3
- } from "./location-service-map-7rvsyqjv.js";
3
+ } from "./state-7rvsyqjv.js";
4
4
  import {
5
5
  Ref3,
6
- Service81
7
- } from "./location-service-map-4jrz2103.js";
6
+ Service85
7
+ } from "./state-3djagcat.js";
8
8
  import {
9
- Service77
10
- } from "./location-service-map-jqk89bd7.js";
9
+ Service79
10
+ } from "./state-6ey5hxvm.js";
11
11
  import {
12
12
  observe2
13
- } from "./location-service-map-tvtps2q9.js";
13
+ } from "./state-tvtps2q9.js";
14
14
  import {
15
- Service79
16
- } from "./location-service-map-26qqgt6g.js";
15
+ Service64
16
+ } from "./state-awc294qn.js";
17
17
  import {
18
18
  SessionMessage2
19
- } from "./location-service-map-gftt206x.js";
19
+ } from "./state-gftt206x.js";
20
20
  import {
21
21
  invocation2,
22
- Service64
23
- } from "./location-service-map-f985r6kr.js";
22
+ Service73
23
+ } from "./state-smk8519c.js";
24
24
  import {
25
- Service63
26
- } from "./location-service-map-jmv1ywcg.js";
25
+ Service62
26
+ } from "./state-y8extacy.js";
27
27
  import {
28
- Service24
29
- } from "./location-service-map-mgmgpmkj.js";
28
+ Service60
29
+ } from "./state-s2rw6bpt.js";
30
30
  import {
31
31
  text2
32
- } from "./location-service-map-8b3vzgkx.js";
32
+ } from "./state-8b3vzgkx.js";
33
33
  import {
34
- Service62
35
- } from "./location-service-map-krvaf23f.js";
34
+ Service53
35
+ } from "./state-v6atjk4t.js";
36
36
  import {
37
37
  detect2
38
- } from "./location-service-map-4pyp9zr9.js";
38
+ } from "./state-4pyp9zr9.js";
39
39
  import {
40
- Service28
41
- } from "./location-service-map-1j8v57a6.js";
40
+ Service22
41
+ } from "./state-wfyabtyf.js";
42
42
  import {
43
43
  collectBoundedResponseBody2
44
- } from "./location-service-map-3v8g72cx.js";
44
+ } from "./state-3v8g72cx.js";
45
45
  import {
46
46
  __export
47
- } from "./location-service-map-9rqn6x4v.js";
47
+ } from "./state-9rqn6x4v.js";
48
48
 
49
49
  // src/tool/plugin/image-generate.ts
50
50
  var exports_image_generate = {};
51
51
  __export(exports_image_generate, {
52
52
  ImageGenerateTool: () => exports_image_generate,
53
- Input: () => Input3,
53
+ Input: () => Input5,
54
54
  MAX_INPUT_BYTES: () => MAX_INPUT_BYTES2,
55
- Output: () => Output2,
56
- Plugin: () => Plugin23,
55
+ Output: () => Output5,
56
+ Plugin: () => Plugin7,
57
57
  defaultModel: () => defaultModel2,
58
- description: () => description3,
59
- name: () => name3
58
+ description: () => description2,
59
+ name: () => name5
60
60
  });
61
61
  import path from "path";
62
62
  import { ToolFailure } from "@opencode/ai/effect";
@@ -64,7 +64,7 @@ import { Identifier } from "@opencode/schema/identifier";
64
64
  import { Global } from "@opencode/util/global";
65
65
  import { Duration, Effect, Schema, Scope, Stream } from "effect";
66
66
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
67
- var name3 = "experimental_image_generate";
67
+ var name5 = "experimental_image_generate";
68
68
  var MAX_INPUT_BYTES2 = 20 * 1024 * 1024;
69
69
  var DOWNLOAD_TIMEOUT = Duration.seconds(30);
70
70
  var GENERATE_TIMEOUT = Duration.minutes(30);
@@ -75,7 +75,7 @@ var EXTENSIONS = {
75
75
  "image/webp": ".webp",
76
76
  "image/gif": ".gif"
77
77
  };
78
- var description3 = [
78
+ var description2 = [
79
79
  "Generates a new image, or edits existing ones.",
80
80
  "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.",
81
81
  "Images you pass are used as the source to edit, or as references for style and subject.",
@@ -84,7 +84,7 @@ var description3 = [
84
84
  "Don't repeat a request unless the user asks."
85
85
  ].join(`
86
86
  `);
87
- var Input3 = Schema.Struct({
87
+ var Input5 = Schema.Struct({
88
88
  prompt: Schema.String.check(Schema.isMinLength(1)).annotate({
89
89
  description: "What to create, or for edits, what to change. Be specific about subject, style, composition and any text that should appear in the image."
90
90
  }),
@@ -98,25 +98,25 @@ var Input3 = Schema.Struct({
98
98
  description: "Where to save the image, relative to the session directory or absolute. The extension is replaced with the image's real format, and an existing file is overwritten. Defaults to a new file in the session's temp folder."
99
99
  })
100
100
  });
101
- var Output2 = Schema.Struct({
101
+ var Output5 = Schema.Struct({
102
102
  id: Schema.String.annotate({ description: "The image job's ID, repeated in its completion notice" }),
103
103
  path: Schema.String.annotate({ description: "Where the image is saved, without its extension" }),
104
104
  model: Schema.String.annotate({ description: "providerID/modelID" })
105
105
  });
106
- var Plugin23 = {
106
+ var Plugin7 = {
107
107
  id: "opencode.tool.image-generate",
108
108
  effect: Effect.fn("ImageGenerateTool.Plugin")(function* (ctx) {
109
- const access = yield* Service63;
110
- const environment = yield* Service79;
111
- const generate = yield* Service24;
109
+ const access = yield* Service62;
110
+ const environment = yield* Service64;
111
+ const generate = yield* Service60;
112
112
  const global = yield* Global.Service;
113
113
  const http = yield* HttpClient.HttpClient;
114
- const config = yield* Service77;
115
- const jobs = yield* Service62;
114
+ const config = yield* Service79;
115
+ const jobs = yield* Service53;
116
116
  const scope = yield* Scope.Scope;
117
- const sessions = yield* Service28;
118
- const models = yield* Service81;
119
- const permission = yield* Service64;
117
+ const sessions = yield* Service22;
118
+ const models = yield* Service85;
119
+ const permission = yield* Service73;
120
120
  const resolveModel = Effect.fn("ImageGenerateTool.resolveModel")(function* (input, sessionID, images) {
121
121
  const available = yield* models.available(["image"]);
122
122
  if (!input) {
@@ -201,7 +201,7 @@ var Plugin23 = {
201
201
  state: info.status,
202
202
  body: info.status === "completed" ? info.output ?? "" : info.status === "error" ? info.error ?? `Image request failed for ${input.file}.` : `Image request for ${input.file} was cancelled.`
203
203
  }),
204
- metadata: { source: name3, jobID: input.id, state: info.status, path: input.file }
204
+ metadata: { source: name5, jobID: input.id, state: info.status, path: input.file }
205
205
  });
206
206
  yield* jobs.completeBackground(input.notificationID);
207
207
  }, Effect.forkIn(scope, { startImmediately: true }));
@@ -220,11 +220,11 @@ var Plugin23 = {
220
220
  if (!enabled || imageGenerate(loaded.entries) === false)
221
221
  return;
222
222
  editor.add({
223
- name: name3,
223
+ name: name5,
224
224
  options: { codemode: false },
225
- description: description3,
226
- input: Input3,
227
- output: Output2,
225
+ description: description2,
226
+ input: Input5,
227
+ output: Output5,
228
228
  execute: (input, context) => Effect.gen(function* () {
229
229
  const resolved = yield* resolveModel(input.model, context.sessionID, input.images !== undefined);
230
230
  const model = resolved.model;
@@ -233,7 +233,7 @@ var Plugin23 = {
233
233
  const target = input.path ? yield* access.resolve({ path: input.path, kind: "file" }) : undefined;
234
234
  const stem = target ? target.absolute.slice(0, target.absolute.length - path.extname(target.absolute).length) : path.join(global.tmp, "images", context.sessionID, `image_${Identifier.create(false)}`);
235
235
  yield* permission.assert({
236
- action: name3,
236
+ action: name5,
237
237
  resources: [ref],
238
238
  save: ["*"],
239
239
  metadata: { ...input, model: ref },
@@ -287,7 +287,7 @@ Use the read tool on this path to view the image.`;
287
287
  yield* jobs.start({
288
288
  id,
289
289
  notificationID,
290
- type: name3,
290
+ type: name5,
291
291
  title: input.prompt,
292
292
  metadata: { sessionID: context.sessionID, path: stem, model: ref },
293
293
  recovery: { kind: "image", sessionID: context.sessionID, path: stem, model: ref },
@@ -326,4 +326,4 @@ function acceptsImages(model) {
326
326
  return model.capabilities.input.some((item) => item.startsWith("image"));
327
327
  }
328
328
 
329
- export { name3, MAX_INPUT_BYTES2, description3, Input3, Output2, Plugin23, defaultModel2, exports_image_generate };
329
+ export { name5, MAX_INPUT_BYTES2, description2, Input5, Output5, Plugin7, defaultModel2, exports_image_generate };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./location-service-map-nxw1zf8h.js";
5
+ } from "./state-yr4nm0tc.js";
6
6
  import {
7
7
  __export
8
- } from "./location-service-map-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk2 = {};
12
12
  __export(exports_sdk2, {
13
13
  SdkPlugins: () => exports_sdk2,
14
- Service: () => Service5,
14
+ Service: () => Service9,
15
15
  Updated: () => Updated2,
16
- layer: () => layer6,
17
- node: () => node7
16
+ layer: () => layer9,
17
+ node: () => node11
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service9 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
25
+ var layer9 = Layer.effect(Service9, Effect.gen(function* () {
26
26
  const bus = yield* Service93;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service9.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node95] });
36
+ var node11 = makeGlobalNode({ service: Service9, layer: layer9, deps: [node95] });
37
37
 
38
- export { Updated2, Service5, layer6, node7, exports_sdk2 };
38
+ export { Updated2, Service9, layer9, node11, exports_sdk2 };
@@ -1,71 +1,71 @@
1
1
  import {
2
2
  Service93,
3
3
  node95
4
- } from "./location-service-map-nxw1zf8h.js";
4
+ } from "./state-yr4nm0tc.js";
5
5
  import {
6
- ID22,
7
- Event21,
8
- Service92,
9
- node94
10
- } from "./location-service-map-ma5b68np.js";
6
+ ID20,
7
+ Event20,
8
+ Service89,
9
+ node91
10
+ } from "./state-3ck5pzsd.js";
11
11
  import {
12
- Service78,
13
- node79
14
- } from "./location-service-map-p4x8wqyz.js";
12
+ Service80,
13
+ node82
14
+ } from "./state-vf55m751.js";
15
15
  import {
16
16
  AbsolutePath2
17
- } from "./location-service-map-z5v4ffb3.js";
17
+ } from "./state-z5v4ffb3.js";
18
18
  import {
19
- Service84,
20
- node86
21
- } from "./location-service-map-pzapmsw9.js";
19
+ Service90,
20
+ node92
21
+ } from "./state-3efg5d53.js";
22
22
  import {
23
23
  substitute2
24
- } from "./location-service-map-7w2ypzdf.js";
24
+ } from "./state-7w2ypzdf.js";
25
25
  import {
26
26
  normalize3
27
- } from "./location-service-map-p3wjgdtj.js";
27
+ } from "./state-ywxpr5ha.js";
28
28
  import {
29
29
  names4,
30
30
  stripPreferenceMetadata2,
31
31
  discover3
32
- } from "./location-service-map-crhr9065.js";
32
+ } from "./state-r1qh9q3s.js";
33
33
  import {
34
34
  plan2
35
- } from "./location-service-map-1x2knyw4.js";
35
+ } from "./state-1x2knyw4.js";
36
36
  import {
37
37
  Document3,
38
38
  WellKnownDocument2
39
- } from "./location-service-map-xacrkbdt.js";
39
+ } from "./state-xacrkbdt.js";
40
40
  import {
41
41
  Document2
42
- } from "./location-service-map-4dx1dgte.js";
42
+ } from "./state-4dx1dgte.js";
43
43
  import {
44
44
  statements2,
45
45
  decision2,
46
46
  integrationResource2,
47
47
  account2
48
- } from "./location-service-map-4vzr2b15.js";
48
+ } from "./state-4vzr2b15.js";
49
49
  import {
50
- Service88,
51
- Event18,
52
- node90
53
- } from "./location-service-map-wt5scvyx.js";
50
+ Service81,
51
+ Event14,
52
+ node83
53
+ } from "./state-7z0rb6fn.js";
54
54
  import {
55
55
  __export
56
- } from "./location-service-map-9rqn6x4v.js";
56
+ } from "./state-9rqn6x4v.js";
57
57
 
58
58
  // src/config.ts
59
59
  var exports_config = {};
60
60
  __export(exports_config, {
61
61
  Config: () => exports_config,
62
- Options: () => Options7,
63
- Service: () => Service77,
62
+ Options: () => Options6,
63
+ Service: () => Service79,
64
64
  Test: () => Test2,
65
- configured: () => configured9,
65
+ configured: () => configured8,
66
66
  latest: () => latest2,
67
- layer: () => layer27,
68
- node: () => node78,
67
+ layer: () => layer26,
68
+ node: () => node81,
69
69
  testLayer: () => testLayer3
70
70
  });
71
71
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -81,7 +81,7 @@ import { ChildProcess } from "effect/process";
81
81
  function latest2(entries, key) {
82
82
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
83
83
  }
84
- var Options7 = Schema.Struct({
84
+ var Options6 = Schema.Struct({
85
85
  project: Schema.optional(Schema.Boolean),
86
86
  global: Schema.optional(Schema.Boolean),
87
87
  system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
@@ -90,7 +90,7 @@ var Options7 = Schema.Struct({
90
90
  content: Schema.optional(Schema.String)
91
91
  });
92
92
 
93
- class Service77 extends Context.Service()("@opencode/Config") {
93
+ class Service79 extends Context.Service()("@opencode/Config") {
94
94
  }
95
95
 
96
96
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -116,16 +116,16 @@ var testLayer3 = (initial = [], compatibility = {
116
116
  return document ? next.set(integrationID, document) : next;
117
117
  })
118
118
  });
119
- return Context.empty().pipe(Context.add(Service77, service), Context.add(Test2, service));
119
+ return Context.empty().pipe(Context.add(Service79, service), Context.add(Test2, service));
120
120
  }));
121
- var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
121
+ var layer26 = (options) => Layer.effect(Service79, Effect.gen(function* () {
122
122
  const fs = yield* FSUtil.Service;
123
- const location = yield* Service84;
124
- const watcher = yield* Service78;
123
+ const location = yield* Service90;
124
+ const watcher = yield* Service80;
125
125
  const bus = yield* Service93;
126
- const credentials = yield* Service92;
126
+ const credentials = yield* Service89;
127
127
  const globalService = yield* Global.Service;
128
- const wellknown = yield* Service88;
128
+ const wellknown = yield* Service81;
129
129
  const processes = yield* AppProcess.Service;
130
130
  const integrations = new Map;
131
131
  const context = yield* Effect.context();
@@ -201,7 +201,7 @@ var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
201
201
  return yield* Effect.forEach(entries, (entry) => loadWellknownEntry(entry).pipe(Effect.map((documents) => ({ integrationID: entry.integrationID, documents }))));
202
202
  });
203
203
  const supplies = Effect.fnUntraced(function* (lockdown, integrationID, connection) {
204
- const stored = connection?.type === "credential" ? yield* credentials.get(ID22.make(connection.id)) : undefined;
204
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID20.make(connection.id)) : undefined;
205
205
  const resource = integrationResource2(integrationID, stored ? account2(stored.value) : undefined);
206
206
  return decision2(lockdown, "integration.use", resource) !== "deny";
207
207
  });
@@ -299,8 +299,8 @@ var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
299
299
  }, (effect) => reloadLock.withPermit(effect));
300
300
  const pendingReloads = yield* PubSub.subscribe(reloads);
301
301
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
302
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
303
- yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
302
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
303
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
304
304
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
305
305
  if (!wellknown.snapshot().length)
306
306
  return Effect.void;
@@ -328,7 +328,7 @@ var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
328
328
  `);
329
329
  yield* requestReload;
330
330
  }, (effect) => updateLock.withPermit(effect));
331
- return Service77.of({
331
+ return Service79.of({
332
332
  entries: Effect.fnUntraced(function* () {
333
333
  return configs;
334
334
  }),
@@ -348,22 +348,22 @@ var layer27 = (options) => Layer.effect(Service77, Effect.gen(function* () {
348
348
  })
349
349
  });
350
350
  }));
351
- function configured9(options) {
351
+ function configured8(options) {
352
352
  return makeLocationNode({
353
- service: Service77,
354
- layer: layer27(options),
353
+ service: Service79,
354
+ layer: layer26(options),
355
355
  deps: [
356
- node79,
356
+ node82,
357
357
  node95,
358
358
  FSUtil.node,
359
359
  Global.node,
360
- node86,
361
- node94,
362
- node90,
360
+ node92,
361
+ node91,
362
+ node83,
363
363
  AppProcess.node
364
364
  ]
365
365
  });
366
366
  }
367
- var node78 = configured9();
367
+ var node81 = configured8();
368
368
 
369
- export { latest2, Options7, Service77, Test2, testLayer3, layer27, configured9, node78, exports_config };
369
+ export { latest2, Options6, Service79, Test2, testLayer3, layer26, configured8, node81, exports_config };