@opencode/core 0.0.0-dev-20097 → 0.0.0-dev-20103

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{agent-tw7pwy41.js → location-service-map-06ejv7nx.js} +23 -23
  8. package/dist/chunks/{agent-9y90ydfh.js → location-service-map-0bfzm7aa.js} +17 -17
  9. package/dist/chunks/{agent-dq0v80fr.js → location-service-map-0c2xmx3r.js} +12 -12
  10. package/dist/chunks/{agent-95sbn98w.js → location-service-map-0cjbgter.js} +11 -11
  11. package/dist/chunks/{agent-h420pbdz.js → location-service-map-0e3tt2mf.js} +4 -4
  12. package/dist/chunks/{agent-e6hd9jay.js → location-service-map-0ft9cg2j.js} +4 -4
  13. package/dist/chunks/location-service-map-0mesazry.js +4 -0
  14. package/dist/chunks/{agent-khsmmeas.js → location-service-map-0mttjrfr.js} +10 -10
  15. package/dist/chunks/{agent-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{agent-bct739vz.js → location-service-map-0v53mg2y.js} +4 -4
  17. package/dist/chunks/{agent-r5x6zcsm.js → location-service-map-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{agent-jz6frww0.js → location-service-map-1d5e7fjz.js} +24 -24
  19. package/dist/chunks/{agent-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{agent-g8d3gcyj.js → location-service-map-1g7epwpd.js} +4 -4
  21. package/dist/chunks/{agent-8j3kf1eb.js → location-service-map-1kw05xve.js} +22 -22
  22. package/dist/chunks/{agent-fq21n8kg.js → location-service-map-1kyxasan.js} +5 -5
  23. package/dist/chunks/{agent-w0m74e8e.js → location-service-map-1v08eb6w.js} +19 -19
  24. package/dist/chunks/{agent-j76x6msn.js → location-service-map-1yqzakes.js} +11 -11
  25. package/dist/chunks/{agent-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  26. package/dist/chunks/{agent-2402vzrj.js → location-service-map-2402vzrj.js} +1 -1
  27. package/dist/chunks/{agent-fhs97t90.js → location-service-map-24dd53tp.js} +9 -9
  28. package/dist/chunks/{agent-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{agent-p1jhb79r.js → location-service-map-2c0dm15m.js} +6 -6
  30. package/dist/chunks/{agent-am1638rj.js → location-service-map-2gnwkpvd.js} +5 -5
  31. package/dist/chunks/{agent-8vkkgngr.js → location-service-map-2h8zcfyj.js} +6 -6
  32. package/dist/chunks/{agent-0jwsre1p.js → location-service-map-2k8khapm.js} +5 -5
  33. package/dist/chunks/{agent-3zjyq5kp.js → location-service-map-2v9qn293.js} +11 -11
  34. package/dist/chunks/{agent-et0rkxxj.js → location-service-map-2w5dyyz8.js} +8 -8
  35. package/dist/chunks/{agent-c651xxjb.js → location-service-map-30krspkn.js} +4 -4
  36. package/dist/chunks/{agent-jvv6rca9.js → location-service-map-36cphf8b.js} +9 -9
  37. package/dist/chunks/{agent-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{agent-bzfhs60c.js → location-service-map-3hbctp76.js} +30 -30
  39. package/dist/chunks/{agent-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{agent-fpcmhq1w.js → location-service-map-3kh5ghz4.js} +18 -18
  41. package/dist/chunks/{agent-nbzsj80d.js → location-service-map-3pbjq009.js} +8 -8
  42. package/dist/chunks/{agent-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{agent-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{agent-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{agent-9jddndyh.js → location-service-map-45r8z7s5.js} +42 -42
  46. package/dist/chunks/{agent-w5bpb8j7.js → location-service-map-495chtjc.js} +24 -24
  47. package/dist/chunks/{agent-k1z6zz7b.js → location-service-map-4acwr5gm.js} +24 -24
  48. package/dist/chunks/{agent-9pw8sy2q.js → location-service-map-4bvexzs9.js} +7 -7
  49. package/dist/chunks/{agent-d6gar2mb.js → location-service-map-4bx5mh4w.js} +20 -20
  50. package/dist/chunks/{agent-crwh5vwx.js → location-service-map-4bxhq5dc.js} +12 -12
  51. package/dist/chunks/{agent-rqqqmm2x.js → location-service-map-4c8bw516.js} +8 -8
  52. package/dist/chunks/{agent-jc2w93fw.js → location-service-map-4t7rsg8e.js} +51 -51
  53. package/dist/chunks/{agent-e4t91rn4.js → location-service-map-4tgay3js.js} +15 -15
  54. package/dist/chunks/{agent-wtzh7vad.js → location-service-map-4z91h2q2.js} +21 -21
  55. package/dist/chunks/{agent-b6n0f07q.js → location-service-map-5153gk4s.js} +28 -28
  56. package/dist/chunks/{agent-7k9dqqsg.js → location-service-map-55krd67x.js} +25 -25
  57. package/dist/chunks/{agent-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  58. package/dist/chunks/{agent-5ekn9679.js → location-service-map-5ekn9679.js} +1 -1
  59. package/dist/chunks/{agent-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{agent-1t756eex.js → location-service-map-60djdr4t.js} +10 -10
  61. package/dist/chunks/{agent-kzsyc47h.js → location-service-map-61a3zr4c.js} +18 -18
  62. package/dist/chunks/{agent-4tb9kxn6.js → location-service-map-63kngrnd.js} +8 -8
  63. package/dist/chunks/{agent-669tq793.js → location-service-map-669tq793.js} +1 -1
  64. package/dist/chunks/{agent-9gnd804a.js → location-service-map-68dy1mx9.js} +37 -37
  65. package/dist/chunks/{agent-95n9ta3s.js → location-service-map-6a44wwkp.js} +6 -6
  66. package/dist/chunks/location-service-map-6enptsyn.js +507 -0
  67. package/dist/chunks/{agent-3dwfd5y2.js → location-service-map-6k4ynzw8.js} +10 -10
  68. package/dist/chunks/{agent-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{agent-cwa6csj7.js → location-service-map-79qaa2kf.js} +9 -9
  70. package/dist/chunks/{agent-9pswe2t8.js → location-service-map-7bgeh318.js} +23 -23
  71. package/dist/chunks/{agent-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{agent-10xd58z0.js → location-service-map-7evypc3h.js} +3 -3
  73. package/dist/chunks/{agent-6fkaw2xz.js → location-service-map-7shq9dj0.js} +8 -8
  74. package/dist/chunks/{agent-vt4rwap3.js → location-service-map-833tk66z.js} +9 -9
  75. package/dist/chunks/{agent-8hhx35dq.js → location-service-map-853pnbmg.js} +4 -4
  76. package/dist/chunks/{agent-ef05nmcp.js → location-service-map-88ncvmwj.js} +4 -4
  77. package/dist/chunks/{agent-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{agent-0x0enb5q.js → location-service-map-8e9852ac.js} +11 -11
  79. package/dist/chunks/location-service-map-8gz0hh7m.js +252 -0
  80. package/dist/chunks/{agent-970zzb99.js → location-service-map-8hcfckj3.js} +11 -11
  81. package/dist/chunks/{agent-bt5x84hs.js → location-service-map-8r011ra3.js} +22 -22
  82. package/dist/chunks/{agent-fj6am7we.js → location-service-map-8ssbnkm6.js} +30 -30
  83. package/dist/chunks/{agent-5kdwdsfr.js → location-service-map-8yktps7k.js} +11 -11
  84. package/dist/chunks/{agent-439r14a2.js → location-service-map-939j0jr0.js} +14 -14
  85. package/dist/chunks/{agent-94ek1h2f.js → location-service-map-94ek1h2f.js} +2 -2
  86. package/dist/chunks/{agent-8zmehegn.js → location-service-map-9n2ezk31.js} +27 -27
  87. package/dist/chunks/{agent-180z65gf.js → location-service-map-9qkckev2.js} +33 -33
  88. package/dist/chunks/{agent-r4r17rq4.js → location-service-map-9ss103sy.js} +7 -7
  89. package/dist/chunks/{agent-retswvcy.js → location-service-map-9x3kmp58.js} +6 -6
  90. package/dist/chunks/{agent-j325xqev.js → location-service-map-a3r4dcrj.js} +2 -2
  91. package/dist/chunks/{agent-a12t2k2w.js → location-service-map-a79ds6nc.js} +16 -16
  92. package/dist/chunks/{agent-4bm5ja14.js → location-service-map-a89e0tac.js} +4 -4
  93. package/dist/chunks/{agent-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  94. package/dist/chunks/{agent-57ez7d0k.js → location-service-map-aamtrqep.js} +9 -9
  95. package/dist/chunks/{agent-w1tfbzx8.js → location-service-map-apeh0v2n.js} +10 -10
  96. package/dist/chunks/{agent-s53zfdxe.js → location-service-map-aq0amx4n.js} +23 -23
  97. package/dist/chunks/{agent-dzmmerrf.js → location-service-map-aq106s15.js} +9 -9
  98. package/dist/chunks/{agent-187249xp.js → location-service-map-aq9v1yk8.js} +6 -6
  99. package/dist/chunks/{agent-6eezz40m.js → location-service-map-ardd2bsn.js} +5 -5
  100. package/dist/chunks/{agent-x5wbyy1f.js → location-service-map-as62jwn8.js} +22 -22
  101. package/dist/chunks/{agent-j75c8f36.js → location-service-map-asq856p3.js} +15 -15
  102. package/dist/chunks/{agent-gs3s1a1g.js → location-service-map-at1kfnmk.js} +8 -8
  103. package/dist/chunks/{agent-r40cdba5.js → location-service-map-avae2qkj.js} +11 -11
  104. package/dist/chunks/{agent-qsxf26yz.js → location-service-map-awaee7qt.js} +6 -6
  105. package/dist/chunks/{agent-pwa9tev3.js → location-service-map-awhka9ay.js} +21 -21
  106. package/dist/chunks/{agent-5q306sn2.js → location-service-map-axjpx4kj.js} +4 -4
  107. package/dist/chunks/{agent-b3xz1q2n.js → location-service-map-b24v4ebx.js} +26 -26
  108. package/dist/chunks/{agent-njyz79cc.js → location-service-map-b3s7ae97.js} +37 -37
  109. package/dist/chunks/{agent-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{agent-emyyb3h7.js → location-service-map-b87s103s.js} +24 -24
  111. package/dist/chunks/{agent-6qckwf5w.js → location-service-map-bdphn620.js} +50 -50
  112. package/dist/chunks/{agent-7hgr463c.js → location-service-map-bf0cd63e.js} +5 -5
  113. package/dist/chunks/{agent-ffqrm4dy.js → location-service-map-bk0crrr6.js} +25 -25
  114. package/dist/chunks/{agent-m30kdexy.js → location-service-map-bq1hpwve.js} +3 -3
  115. package/dist/chunks/{agent-gmf134c1.js → location-service-map-bthk55h6.js} +32 -32
  116. package/dist/chunks/{agent-wrmaeg5p.js → location-service-map-bwdmmacb.js} +11 -11
  117. package/dist/chunks/{agent-974apvmy.js → location-service-map-c16s4pd0.js} +44 -44
  118. package/dist/chunks/{agent-96r286zg.js → location-service-map-c1np9tvh.js} +7 -7
  119. package/dist/chunks/{agent-wr7ps67x.js → location-service-map-ce5fknq2.js} +5 -5
  120. package/dist/chunks/{agent-fgfb0b2k.js → location-service-map-cfmv9c3d.js} +15 -15
  121. package/dist/chunks/{agent-br6g232s.js → location-service-map-cgm666vp.js} +15 -15
  122. package/dist/chunks/{agent-g4nf9hqv.js → location-service-map-cgza1zmh.js} +14 -14
  123. package/dist/chunks/{agent-ckecvw8r.js → location-service-map-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{agent-qcfjhy73.js → location-service-map-ckh625m3.js} +31 -31
  125. package/dist/chunks/{agent-wkzkw8tr.js → location-service-map-cmefedvg.js} +3 -3
  126. package/dist/chunks/{agent-4snp72qp.js → location-service-map-cn44awdn.js} +31 -31
  127. package/dist/chunks/{agent-rabh22kx.js → location-service-map-cnzxmjcj.js} +29 -29
  128. package/dist/chunks/{agent-a8mfdbqj.js → location-service-map-cphrfjpg.js} +3 -3
  129. package/dist/chunks/{agent-cda3cvpx.js → location-service-map-cw6vaqhy.js} +14 -14
  130. package/dist/chunks/{agent-mr4nn3b0.js → location-service-map-czvzv6fj.js} +6 -6
  131. package/dist/chunks/{agent-xt2arqya.js → location-service-map-d40gq58t.js} +22 -22
  132. package/dist/chunks/{agent-cc4mce2f.js → location-service-map-d4vrvgq4.js} +11 -11
  133. package/dist/chunks/{agent-8vggh432.js → location-service-map-d4w6k1nt.js} +17 -17
  134. package/dist/chunks/{agent-m26c3xec.js → location-service-map-d5g0vem9.js} +32 -32
  135. package/dist/chunks/{agent-71wjg4kw.js → location-service-map-ddvvm6a9.js} +17 -17
  136. package/dist/chunks/{agent-mks6kp02.js → location-service-map-dfq5ekm3.js} +5 -5
  137. package/dist/chunks/{agent-j3na2f7t.js → location-service-map-dkgjef6k.js} +15 -15
  138. package/dist/chunks/{agent-dmqcgk4z.js → location-service-map-dmqcgk4z.js} +2 -2
  139. package/dist/chunks/{agent-3tnqn7ww.js → location-service-map-dmx755zn.js} +11 -11
  140. package/dist/chunks/{agent-3f7398v7.js → location-service-map-dp4kwseh.js} +20 -20
  141. package/dist/chunks/{agent-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
  142. package/dist/chunks/{agent-5v30z6ja.js → location-service-map-e2k0bps6.js} +26 -26
  143. package/dist/chunks/{agent-aemzcrym.js → location-service-map-e5wg673t.js} +25 -25
  144. package/dist/chunks/{agent-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  145. package/dist/chunks/{agent-195jkryp.js → location-service-map-efg2p63t.js} +35 -35
  146. package/dist/chunks/{agent-xf20h1cj.js → location-service-map-egx0h0k6.js} +21 -21
  147. package/dist/chunks/{agent-8qtvggd8.js → location-service-map-eqqc0c45.js} +17 -17
  148. package/dist/chunks/{agent-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
  149. package/dist/chunks/{agent-8yfag9w4.js → location-service-map-esxc65j0.js} +20 -20
  150. package/dist/chunks/{agent-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  151. package/dist/chunks/{agent-37s12vcn.js → location-service-map-evbgk2k8.js} +5 -5
  152. package/dist/chunks/{agent-8v6pyhej.js → location-service-map-eys57y9b.js} +8 -8
  153. package/dist/chunks/{agent-xy1gf4rw.js → location-service-map-f13k8as2.js} +4 -4
  154. package/dist/chunks/{agent-50mzsvk4.js → location-service-map-f3ngv102.js} +4 -4
  155. package/dist/chunks/{agent-ca7w653e.js → location-service-map-f73rjn58.js} +4 -4
  156. package/dist/chunks/{agent-ym7x7v54.js → location-service-map-fanjy7dq.js} +25 -25
  157. package/dist/chunks/{agent-grg0hm6f.js → location-service-map-fh5hhkj6.js} +32 -32
  158. package/dist/chunks/{agent-5z7c0ntw.js → location-service-map-fp4gar62.js} +18 -18
  159. package/dist/chunks/{agent-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{agent-zvtzzjx8.js → location-service-map-gg0c0qt7.js} +26 -26
  161. package/dist/chunks/{agent-qzq3tp80.js → location-service-map-gk0e7dgm.js} +5 -5
  162. package/dist/chunks/{agent-wgtcm0m7.js → location-service-map-gp9g74ej.js} +4 -4
  163. package/dist/chunks/{agent-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  164. package/dist/chunks/{agent-8s95nyqa.js → location-service-map-h4m0f94k.js} +5 -5
  165. package/dist/chunks/{agent-z0pa14ta.js → location-service-map-h5f6ggqy.js} +10 -10
  166. package/dist/chunks/{agent-4378a0hc.js → location-service-map-h66kq4ja.js} +10 -10
  167. package/dist/chunks/{agent-nzyhnfxz.js → location-service-map-h6r3nrb9.js} +4 -4
  168. package/dist/chunks/{agent-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{agent-a1a50ys5.js → location-service-map-hkfg6fzm.js} +5 -5
  170. package/dist/chunks/{agent-27eedk78.js → location-service-map-j237fm2y.js} +29 -29
  171. package/dist/chunks/{agent-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  172. package/dist/chunks/{agent-vtpkq4qf.js → location-service-map-j9ty9cws.js} +1 -1
  173. package/dist/chunks/{agent-f5syc60y.js → location-service-map-jexxy024.js} +3 -3
  174. package/dist/chunks/{agent-4yxx405s.js → location-service-map-jqw5f6af.js} +26 -26
  175. package/dist/chunks/{agent-k3c624dm.js → location-service-map-k3c624dm.js} +3 -3
  176. package/dist/chunks/{agent-w21repx7.js → location-service-map-k5h5c7q1.js} +38 -38
  177. package/dist/chunks/{agent-q10v52aa.js → location-service-map-k8f6en75.js} +11 -11
  178. package/dist/chunks/{agent-ba5zwyng.js → location-service-map-ket9r42f.js} +16 -16
  179. package/dist/chunks/location-service-map-m18qmtz2.js +18 -0
  180. package/dist/chunks/{agent-rcgt23b9.js → location-service-map-m1shccce.js} +32 -32
  181. package/dist/chunks/{agent-gf8f2rcw.js → location-service-map-m24y9wwb.js} +17 -17
  182. package/dist/chunks/{agent-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{agent-wvvmmxvm.js → location-service-map-m3z1x1h0.js} +11 -11
  184. package/dist/chunks/{agent-kwrf6mrp.js → location-service-map-m6nec9qq.js} +4 -4
  185. package/dist/chunks/{agent-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{agent-207sxyyq.js → location-service-map-mfpnwtem.js} +7 -7
  187. package/dist/chunks/{agent-56gdpj1q.js → location-service-map-mfqp6xfm.js} +6 -6
  188. package/dist/chunks/{agent-wxjq8k3m.js → location-service-map-mswzr7xn.js} +25 -25
  189. package/dist/chunks/{agent-pk5jep21.js → location-service-map-mvav9bkw.js} +18 -18
  190. package/dist/chunks/{agent-epd79qdj.js → location-service-map-mvc34etw.js} +9 -9
  191. package/dist/chunks/{agent-6xscy18h.js → location-service-map-myypamct.js} +33 -33
  192. package/dist/chunks/{agent-k65r9af3.js → location-service-map-n2fjwnd6.js} +11 -11
  193. package/dist/chunks/{agent-s75w71bb.js → location-service-map-n51zs5vf.js} +8 -8
  194. package/dist/chunks/{agent-3jy1139n.js → location-service-map-npsqtpy7.js} +30 -30
  195. package/dist/chunks/{agent-jvvge85p.js → location-service-map-nt81b04e.js} +20 -20
  196. package/dist/chunks/{agent-3mmdgdjj.js → location-service-map-ntx68rw5.js} +6 -6
  197. package/dist/chunks/{agent-h4xnkbg8.js → location-service-map-nwheqxjr.js} +36 -36
  198. package/dist/chunks/{agent-prt5basj.js → location-service-map-ny2517wm.js} +21 -21
  199. package/dist/chunks/{agent-3vsgk2p7.js → location-service-map-ny2gagq3.js} +11 -11
  200. package/dist/chunks/location-service-map-p2zqjdg1.js +26 -0
  201. package/dist/chunks/{agent-k1qjx27w.js → location-service-map-p8vkj1y5.js} +5 -5
  202. package/dist/chunks/{agent-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{agent-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  204. package/dist/chunks/{agent-zzvjeq0g.js → location-service-map-pkvp83aw.js} +16 -16
  205. package/dist/chunks/{agent-pjah6pe2.js → location-service-map-pnd08bfh.js} +15 -15
  206. package/dist/chunks/{agent-75ftyfa0.js → location-service-map-prgnye3a.js} +19 -19
  207. package/dist/chunks/{agent-5w978569.js → location-service-map-psnz0b2m.js} +87 -87
  208. package/dist/chunks/{agent-e8tny9qf.js → location-service-map-pwqjnrnh.js} +3 -3
  209. package/dist/chunks/{agent-rkprpv83.js → location-service-map-py3kkmfq.js} +2 -2
  210. package/dist/chunks/{agent-nvefxcm9.js → location-service-map-q0ez028y.js} +12 -12
  211. package/dist/chunks/{agent-97mkmtmd.js → location-service-map-q9v0w4bd.js} +32 -32
  212. package/dist/chunks/{agent-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  213. package/dist/chunks/{agent-x2d9qy7d.js → location-service-map-qvreyy9g.js} +5 -5
  214. package/dist/chunks/{agent-hg3pgq27.js → location-service-map-r4k9ar4d.js} +6 -6
  215. package/dist/chunks/{agent-yp2x3t23.js → location-service-map-r8xr0va3.js} +4 -4
  216. package/dist/chunks/{agent-0996nyz8.js → location-service-map-r9w3djhf.js} +5 -5
  217. package/dist/chunks/{agent-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{agent-mkwsrdpy.js → location-service-map-rgm7mqtj.js} +20 -20
  219. package/dist/chunks/{agent-nyvvhy0p.js → location-service-map-rh6g2sa8.js} +11 -11
  220. package/dist/chunks/{agent-y4y8g8ts.js → location-service-map-rhrfrnty.js} +47 -47
  221. package/dist/chunks/{agent-kb3wdknj.js → location-service-map-s6m6nc9p.js} +6 -6
  222. package/dist/chunks/{agent-40c61p32.js → location-service-map-s78dyy7j.js} +26 -26
  223. package/dist/chunks/{agent-02nrjc1r.js → location-service-map-s8d7rejh.js} +8 -8
  224. package/dist/chunks/{agent-98mydvev.js → location-service-map-szeyyw6m.js} +31 -31
  225. package/dist/chunks/{agent-nyv1j4r3.js → location-service-map-t2kq1zb2.js} +66 -66
  226. package/dist/chunks/{agent-aat21nqc.js → location-service-map-t30mswsp.js} +17 -17
  227. package/dist/chunks/{agent-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{agent-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{agent-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  230. package/dist/chunks/{agent-61xdzkjd.js → location-service-map-te3fz92z.js} +9 -9
  231. package/dist/chunks/{agent-wmmy56cc.js → location-service-map-te77dbbn.js} +8 -8
  232. package/dist/chunks/{agent-cdm0dq9n.js → location-service-map-tegs1ycp.js} +6 -6
  233. package/dist/chunks/{agent-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  234. package/dist/chunks/{agent-9p3rp546.js → location-service-map-v7tjtnqr.js} +42 -42
  235. package/dist/chunks/{agent-rw9fhyhq.js → location-service-map-vc0vj5dz.js} +20 -20
  236. package/dist/chunks/{agent-0yxqwdtr.js → location-service-map-vcdwqy0t.js} +46 -46
  237. package/dist/chunks/{agent-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  238. package/dist/chunks/{agent-rk7s9xkn.js → location-service-map-vfjhn2wd.js} +4 -4
  239. package/dist/chunks/{agent-s7am3t11.js → location-service-map-vg14phsn.js} +34 -34
  240. package/dist/chunks/{agent-433eb07g.js → location-service-map-vgkexb79.js} +8 -8
  241. package/dist/chunks/{agent-vjxaqdq6.js → location-service-map-vhycsadx.js} +43 -43
  242. package/dist/chunks/{agent-hp9thjyh.js → location-service-map-vp8cnahr.js} +20 -20
  243. package/dist/chunks/{agent-5j37ws3e.js → location-service-map-vrp7sfj8.js} +17 -17
  244. package/dist/chunks/{agent-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{agent-hvdqw0fa.js → location-service-map-w1rn1h1h.js} +7 -7
  246. package/dist/chunks/{agent-x6mxy5rc.js → location-service-map-w2qrtdv7.js} +20 -20
  247. package/dist/chunks/{agent-q9k0gsh2.js → location-service-map-w3m67914.js} +44 -44
  248. package/dist/chunks/{agent-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{agent-rghjtt8s.js → location-service-map-w8djw5a7.js} +9 -9
  250. package/dist/chunks/{agent-hy7mmz7x.js → location-service-map-wb86x3ay.js} +1 -1
  251. package/dist/chunks/{agent-wd3x2cqz.js → location-service-map-wd3x2cqz.js} +2 -2
  252. package/dist/chunks/{agent-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  253. package/dist/chunks/{agent-1jdf3fxk.js → location-service-map-wk1rrwe6.js} +13 -13
  254. package/dist/chunks/{agent-5gs1xt34.js → location-service-map-wn3c38y7.js} +11 -11
  255. package/dist/chunks/{agent-4vtve4mp.js → location-service-map-wnxpvc6c.js} +2 -2
  256. package/dist/chunks/{agent-2h5wpswp.js → location-service-map-wt3nx885.js} +13 -13
  257. package/dist/chunks/{agent-2q5q7rph.js → location-service-map-wxp0jyf7.js} +20 -20
  258. package/dist/chunks/{agent-fwpx9avw.js → location-service-map-wzrg2q53.js} +48 -48
  259. package/dist/chunks/{agent-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{agent-qyvvmpr4.js → location-service-map-x1vt8hry.js} +10 -10
  261. package/dist/chunks/{agent-c3q7hj01.js → location-service-map-x3v6tvna.js} +17 -17
  262. package/dist/chunks/{agent-p28vygmv.js → location-service-map-x5spkhqe.js} +27 -27
  263. package/dist/chunks/{agent-q3zwv4bp.js → location-service-map-x7xg137b.js} +4 -4
  264. package/dist/chunks/{agent-cktb56xb.js → location-service-map-xdhfzwgn.js} +6 -6
  265. package/dist/chunks/{agent-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
  266. package/dist/chunks/{agent-rv27b6j4.js → location-service-map-xgjvnsnz.js} +10 -10
  267. package/dist/chunks/{agent-e57neqwz.js → location-service-map-xmznkxks.js} +1 -1
  268. package/dist/chunks/{agent-9wwn998v.js → location-service-map-xqngxfdt.js} +186 -186
  269. package/dist/chunks/{agent-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{agent-tbj51q56.js → location-service-map-y6bc7ytb.js} +20 -20
  271. package/dist/chunks/{agent-8ek8aczr.js → location-service-map-y6n8wcsw.js} +13 -13
  272. package/dist/chunks/{agent-n68d0cf5.js → location-service-map-y7d70cjs.js} +16 -16
  273. package/dist/chunks/{agent-f5gy8qwh.js → location-service-map-yf10kn3d.js} +8 -8
  274. package/dist/chunks/{agent-hm613f1m.js → location-service-map-yffarvam.js} +19 -19
  275. package/dist/chunks/{agent-qn4ba14w.js → location-service-map-yjptyezs.js} +5 -5
  276. package/dist/chunks/{agent-2v3kphkq.js → location-service-map-ykwb97px.js} +7 -7
  277. package/dist/chunks/{agent-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{agent-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
  279. package/dist/chunks/{agent-wz2yh3bc.js → location-service-map-yvybj0e9.js} +89 -89
  280. package/dist/chunks/{agent-2pn7pm4n.js → location-service-map-yx96bawg.js} +53 -53
  281. package/dist/chunks/{agent-z07pqspn.js → location-service-map-z07pqspn.js} +3 -3
  282. package/dist/chunks/{agent-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{agent-yv6fwtq8.js → location-service-map-z4vn3wja.js} +12 -12
  284. package/dist/chunks/{agent-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
  285. package/dist/chunks/{agent-m6hb8kht.js → location-service-map-z6k93gbd.js} +26 -26
  286. package/dist/chunks/{agent-h0yxpfzn.js → location-service-map-z8tmpf1c.js} +3 -3
  287. package/dist/chunks/{agent-7ksjx2k2.js → location-service-map-z8tr7vps.js} +46 -46
  288. package/dist/chunks/{agent-5cr33wy9.js → location-service-map-z9m63e6h.js} +22 -22
  289. package/dist/chunks/{agent-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{agent-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{agent-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +88 -88
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +103 -103
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +89 -89
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +74 -74
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +4 -4
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +6 -6
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +98 -98
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +6 -6
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/agent-1qmbbwgh.js +0 -507
  701. package/dist/chunks/agent-6kdq0pjd.js +0 -4
  702. package/dist/chunks/agent-9zdhvgqs.js +0 -18
  703. package/dist/chunks/agent-jq4mhrem.js +0 -26
  704. package/dist/chunks/agent-qxc1ymac.js +0 -252
  705. /package/dist/chunks/{agent-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{agent-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{agent-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{agent-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{agent-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{agent-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{agent-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{agent-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{agent-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{agent-34c7v6d4.js → location-service-map-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{agent-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{agent-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  717. /package/dist/chunks/{agent-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{agent-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{agent-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{agent-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{agent-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{agent-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{agent-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{agent-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  725. /package/dist/chunks/{agent-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{agent-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{agent-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  728. /package/dist/chunks/{agent-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{agent-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{agent-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  731. /package/dist/chunks/{agent-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{agent-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{agent-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{agent-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  735. /package/dist/chunks/{agent-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{agent-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{agent-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{agent-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{agent-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{agent-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{agent-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{agent-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{agent-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{agent-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{agent-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{agent-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{agent-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{agent-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{agent-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{agent-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  751. /package/dist/chunks/{agent-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{agent-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{agent-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{agent-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{agent-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{agent-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{agent-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{agent-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{agent-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{agent-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{agent-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{agent-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{agent-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  764. /package/dist/chunks/{agent-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{agent-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  766. /package/dist/chunks/{agent-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{agent-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  768. /package/dist/chunks/{agent-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{agent-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{agent-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{agent-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{agent-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{agent-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{agent-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{agent-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{agent-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{agent-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{agent-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{agent-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{agent-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{agent-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{agent-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{agent-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{agent-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{agent-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{agent-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{agent-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{agent-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{agent-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{agent-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{agent-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{agent-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{agent-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{agent-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{agent-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  796. /package/dist/chunks/{agent-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{agent-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{agent-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{agent-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{agent-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{agent-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./agent-e8tny9qf.js";
4
+ } from "./location-service-map-pwqjnrnh.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./agent-q3zwv4bp.js";
8
+ } from "./location-service-map-x7xg137b.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./agent-pknna89w.js";
11
+ } from "./location-service-map-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./agent-3zsf4n22.js";
14
+ } from "./location-service-map-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./location-service-map-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event16,
24
- ID: () => ID9,
25
- Info: () => Info26,
26
- Key: () => Key3,
23
+ Event: () => Event21,
24
+ ID: () => ID18,
25
+ Info: () => Info34,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service65,
28
+ Service: () => Service82,
29
29
  Value: () => Value2,
30
- node: () => node68
30
+ node: () => node86
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID9 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event16 = Credential.Event;
41
+ var Event21 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID9,
43
+ class Info34 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service65 extends Context.Service()("@opencode/Credential") {
51
+ class Service82 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service65, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info34({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service65.of({
71
+ return Service82.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: ID9.create(),
79
+ const credential = new Info34({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event16.Updated, {}, { global: true });
105
- yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event21.Updated, {}, { global: true });
105
+ yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event16.Updated, {}, { global: true });
157
+ yield* bus.publish(Event21.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event16.Updated, {}, { global: true });
190
+ yield* bus.publish(Event21.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node68 = makeGlobalNode({ service: Service65, layer, deps: [node88, node87] });
196
+ var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
197
197
 
198
- export { ID9, OAuth3, Key3, Value2, Event16, Info26, Service65, node68, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event21, Info34, Service82, node86, exports_credential };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service47
3
- } from "./agent-0yxqwdtr.js";
2
+ Service52
3
+ } from "./location-service-map-vcdwqy0t.js";
4
4
  import {
5
- Service43
6
- } from "./agent-rghjtt8s.js";
5
+ Service73
6
+ } from "./location-service-map-w8djw5a7.js";
7
7
  import {
8
8
  observe2
9
- } from "./agent-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin15
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin19 = define({
22
+ var Plugin15 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
26
- const image = yield* Service43;
25
+ const config = yield* Service52;
26
+ const image = yield* Service73;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin19 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin19, exports_image };
46
+ export { Plugin15, exports_image };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service47
3
- } from "./agent-0yxqwdtr.js";
2
+ Service52
3
+ } from "./location-service-map-vcdwqy0t.js";
4
4
  import {
5
- Service12
6
- } from "./agent-cwa6csj7.js";
5
+ Service6
6
+ } from "./location-service-map-79qaa2kf.js";
7
7
  import {
8
8
  observe2
9
- } from "./agent-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher = {};
16
- __export(exports_location_watcher, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
- Plugin: () => Plugin16
15
+ var exports_location_watcher2 = {};
16
+ __export(exports_location_watcher2, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
+ Plugin: () => Plugin13
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin16 = define({
22
+ var Plugin13 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service47;
26
- const policy = yield* Service12;
25
+ const config = yield* Service52;
26
+ const policy = yield* Service6;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin16 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin16, exports_location_watcher };
38
+ export { Plugin13, exports_location_watcher2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./agent-6msgmcgs.js";
3
+ } from "./location-service-map-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./agent-wd3x2cqz.js";
6
+ } from "./location-service-map-wd3x2cqz.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service48
3
- } from "./agent-x5wbyy1f.js";
2
+ Service53
3
+ } from "./location-service-map-as62jwn8.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./agent-922hggd3.js";
6
+ } from "./location-service-map-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./agent-71wjg4kw.js";
8
+ Service77
9
+ } from "./location-service-map-ddvvm6a9.js";
10
10
  import {
11
- Service47
12
- } from "./agent-0yxqwdtr.js";
11
+ Service52
12
+ } from "./location-service-map-vcdwqy0t.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./agent-k1z6zz7b.js";
16
+ Source4
17
+ } from "./location-service-map-4acwr5gm.js";
18
18
  import {
19
- Service8
20
- } from "./agent-fhs97t90.js";
19
+ Service7
20
+ } from "./location-service-map-24dd53tp.js";
21
21
  import {
22
22
  parse2
23
- } from "./agent-cktb56xb.js";
23
+ } from "./location-service-map-xdhfzwgn.js";
24
24
  import {
25
25
  __export
26
- } from "./agent-9rqn6x4v.js";
26
+ } from "./location-service-map-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill2 = {};
30
- __export(exports_skill2, {
31
- ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin22
29
+ var exports_skill = {};
30
+ __export(exports_skill, {
31
+ ConfigSkillPlugin: () => exports_skill,
32
+ Plugin: () => Plugin18
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin22 = define({
39
+ var Plugin18 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service47;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service52;
43
+ const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service80;
47
- const watcher = yield* Service48;
46
+ const location = yield* Service77;
47
+ const watcher = yield* Service53;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin22 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source3.equals(item, source)))
90
+ if (result.some((item) => Source4.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin22 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source3.key(source),
115
+ source: Source4.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin22 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source3.key(source),
144
+ source: Source4.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin22 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source3.key),
163
+ sources: current.map(Source4.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin22 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin22, exports_skill2 };
179
+ export { Plugin18, exports_skill };
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-922hggd3.js";
4
+ } from "./location-service-map-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./agent-dq0v80fr.js";
8
+ Service79,
9
+ node83
10
+ } from "./location-service-map-0c2xmx3r.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./agent-71wjg4kw.js";
12
+ Service77,
13
+ node81
14
+ } from "./location-service-map-ddvvm6a9.js";
15
15
  import {
16
16
  create3
17
- } from "./agent-rdw6cm16.js";
17
+ } from "./location-service-map-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./agent-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
26
- ID: () => ID16,
27
- Service: () => Service79,
25
+ Error: () => Error3,
26
+ ID: () => ID5,
27
+ Service: () => Service48,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node83,
30
- noopLayer: () => noopLayer3
29
+ node: () => node51,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID16 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service79 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service48 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service79, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service79;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service77;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID16.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node83 = makeLocationNode({
144
- service: Service79,
143
+ var node51 = makeLocationNode({
144
+ service: Service48,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node83, Global.node, node81]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service79, Service79.of({
148
+ var noopLayer2 = Layer.succeed(Service48, Service48.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service79, Service79.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service48, node51, noopLayer2, exports_snapshot2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service9
3
- } from "./agent-xt2arqya.js";
2
+ Service11
3
+ } from "./location-service-map-d40gq58t.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/compaction.ts
9
9
  var exports_compaction2 = {};
10
10
  __export(exports_compaction2, {
11
11
  NativeCompactionPlugin: () => exports_compaction2,
12
- Plugin: () => Plugin41
12
+ Plugin: () => Plugin20
13
13
  });
14
14
  import { LLMClient, Message } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect } from "effect";
17
- var Plugin41 = define({
17
+ var Plugin20 = define({
18
18
  id: "opencode.compaction.native",
19
19
  effect: Effect.fn("NativeCompactionPlugin")(function* () {
20
20
  const llm = yield* LLMClient.Service;
21
- const compaction = yield* Service9;
21
+ const compaction = yield* Service11;
22
22
  yield* compaction.transform((editor) => {
23
23
  editor.native((input) => {
24
24
  const request = input.request;
@@ -36,4 +36,4 @@ var Plugin41 = define({
36
36
  })
37
37
  });
38
38
 
39
- export { Plugin41, exports_compaction2 };
39
+ export { Plugin20, exports_compaction2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-cc4mce2f.js";
3
+ } from "./location-service-map-d4vrvgq4.js";
4
4
  import {
5
5
  call2
6
- } from "./agent-56gdpj1q.js";
6
+ } from "./location-service-map-mfqp6xfm.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin37,
14
+ Plugin: () => Plugin25,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
16
  endpoint: () => endpoint4
17
17
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin37 = define({
36
+ var Plugin25 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -73,4 +73,4 @@ var Plugin37 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint4, Plugin37, exports_tinyfish };
76
+ export { endpoint4, Plugin25, exports_tinyfish };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./agent-922hggd3.js";
4
+ } from "./location-service-map-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./agent-f5syc60y.js";
7
+ } from "./location-service-map-jexxy024.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";