@opencode/core 0.0.0-dev-19337 → 0.0.0-dev-19338

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{credential-1dfhrqqs.js → location-services-0hpxrkyb.js} +5 -5
  9. package/dist/chunks/{credential-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{credential-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{credential-151mpj9e.js → location-services-0wd6em3j.js} +10 -10
  12. package/dist/chunks/{credential-5gnvgr1s.js → location-services-0zj4cm3y.js} +35 -35
  13. package/dist/chunks/{credential-vsa2623n.js → location-services-11m7nw5e.js} +22 -22
  14. package/dist/chunks/{credential-b5hymcep.js → location-services-15v2jbpx.js} +10 -10
  15. package/dist/chunks/{credential-79ygexg1.js → location-services-162h2cbr.js} +10 -10
  16. package/dist/chunks/{credential-jvmxcf50.js → location-services-16td4x31.js} +9 -9
  17. package/dist/chunks/{credential-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{credential-cbqmp7b7.js → location-services-1mapar6n.js} +20 -20
  19. package/dist/chunks/{credential-jj6pqn3w.js → location-services-1qdk8c0g.js} +1 -1
  20. package/dist/chunks/{credential-1ygqh575.js → location-services-1ygqh575.js} +2 -2
  21. package/dist/chunks/{credential-21r38tys.js → location-services-21r38tys.js} +1 -1
  22. package/dist/chunks/{credential-2402vzrj.js → location-services-2402vzrj.js} +1 -1
  23. package/dist/chunks/{credential-hyj2vz80.js → location-services-24sbpj7j.js} +4 -4
  24. package/dist/chunks/{credential-vyje1mnf.js → location-services-27j8ahm1.js} +17 -17
  25. package/dist/chunks/{credential-8483wvpx.js → location-services-27x26mvx.js} +7 -7
  26. package/dist/chunks/{credential-h1z6jwhd.js → location-services-28fzndev.js} +25 -25
  27. package/dist/chunks/{credential-mhayska3.js → location-services-28pzpvq0.js} +6 -6
  28. package/dist/chunks/{credential-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{credential-wfr0f2wv.js → location-services-2acm1nys.js} +54 -54
  30. package/dist/chunks/{credential-v6pdazz0.js → location-services-2m4pqqb5.js} +36 -36
  31. package/dist/chunks/{credential-fyjrpq2n.js → location-services-2m8nxcnz.js} +5 -5
  32. package/dist/chunks/{credential-j10vveh1.js → location-services-2wdxjxp6.js} +6 -6
  33. package/dist/chunks/{credential-6gdcbxbt.js → location-services-2xwaa7cw.js} +5 -5
  34. package/dist/chunks/{credential-a2tdmfa4.js → location-services-2z317dgv.js} +21 -21
  35. package/dist/chunks/{credential-z3pw5915.js → location-services-37s12vcn.js} +5 -5
  36. package/dist/chunks/{credential-0pyqcms3.js → location-services-380vjcmd.js} +1 -1
  37. package/dist/chunks/{credential-1j4x7018.js → location-services-38acbevk.js} +33 -33
  38. package/dist/chunks/{credential-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{credential-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{credential-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{credential-f0yr6nyc.js → location-services-3wy413zp.js} +23 -23
  42. package/dist/chunks/{credential-xzr3fv1j.js → location-services-3xwj35jq.js} +7 -7
  43. package/dist/chunks/{credential-shh6fz4q.js → location-services-3ythc6yv.js} +4 -4
  44. package/dist/chunks/{credential-ng5shs3s.js → location-services-4b6bntqd.js} +1 -1
  45. package/dist/chunks/{credential-egqpk7m0.js → location-services-4gp2y10s.js} +10 -10
  46. package/dist/chunks/{credential-2jhbac8t.js → location-services-4k845csn.js} +20 -20
  47. package/dist/chunks/location-services-4v7qdvcn.js +18 -0
  48. package/dist/chunks/{credential-4css7a44.js → location-services-4zsc87zk.js} +12 -12
  49. package/dist/chunks/{credential-hcz3zddy.js → location-services-510m7gjw.js} +5 -5
  50. package/dist/chunks/{credential-nahk2kxe.js → location-services-51t4ys7s.js} +24 -24
  51. package/dist/chunks/{credential-0bnjtszc.js → location-services-55bzypr0.js} +11 -11
  52. package/dist/chunks/{credential-r4k4q95n.js → location-services-5bfzavyb.js} +41 -41
  53. package/dist/chunks/{credential-e4bvg1nj.js → location-services-5bzad00n.js} +16 -16
  54. package/dist/chunks/{credential-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  55. package/dist/chunks/{credential-qmthdazp.js → location-services-5dcgz3aq.js} +16 -16
  56. package/dist/chunks/{credential-rc4v7jdw.js → location-services-5etegeke.js} +3 -3
  57. package/dist/chunks/{credential-e8184ah6.js → location-services-5fs5z9r9.js} +162 -162
  58. package/dist/chunks/{credential-mx65tve6.js → location-services-5kh2vy3t.js} +30 -30
  59. package/dist/chunks/{credential-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{credential-17qwwr3r.js → location-services-5vm6jgpp.js} +15 -15
  61. package/dist/chunks/{credential-wvhct48y.js → location-services-6320hmrj.js} +20 -20
  62. package/dist/chunks/{credential-669tq793.js → location-services-669tq793.js} +1 -1
  63. package/dist/chunks/location-services-6753kygg.js +22 -0
  64. package/dist/chunks/{credential-98408z27.js → location-services-6c1jg7x4.js} +32 -32
  65. package/dist/chunks/{credential-qz49fwgp.js → location-services-6ersrjne.js} +4 -4
  66. package/dist/chunks/{credential-zrrbqdrq.js → location-services-6fjmxycd.js} +32 -32
  67. package/dist/chunks/{credential-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{credential-pc200wed.js → location-services-6sj05tzn.js} +8 -8
  69. package/dist/chunks/{credential-jx42jpcz.js → location-services-6y3njc5p.js} +11 -11
  70. package/dist/chunks/{credential-n6avr4zf.js → location-services-6z6w9rms.js} +6 -6
  71. package/dist/chunks/{credential-1b5rdxkb.js → location-services-6zkt8sc0.js} +11 -11
  72. package/dist/chunks/{credential-71q4at8m.js → location-services-71q4at8m.js} +1 -1
  73. package/dist/chunks/{credential-1bbkgx8g.js → location-services-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{credential-55r4thj5.js → location-services-78hqr335.js} +4 -4
  75. package/dist/chunks/{credential-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{credential-ahcp8nkf.js → location-services-7f4cfqjs.js} +3 -3
  77. package/dist/chunks/{credential-73t188jy.js → location-services-7j2qha59.js} +8 -8
  78. package/dist/chunks/{credential-gp1yc2vx.js → location-services-7vc3mrhj.js} +12 -12
  79. package/dist/chunks/{credential-k8r06fnw.js → location-services-7ybwwvvx.js} +3 -3
  80. package/dist/chunks/{credential-jefma2gq.js → location-services-7zdm33ac.js} +10 -10
  81. package/dist/chunks/{credential-fw4rsm43.js → location-services-85fsg3cm.js} +24 -24
  82. package/dist/chunks/{credential-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{credential-stb366ab.js → location-services-8k3jg3eh.js} +17 -17
  84. package/dist/chunks/{credential-x0srfm87.js → location-services-8ncan3qx.js} +18 -18
  85. package/dist/chunks/{credential-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
  86. package/dist/chunks/location-services-8rfyvjw4.js +462 -0
  87. package/dist/chunks/{credential-vr2q3kmy.js → location-services-8y62cfgq.js} +6 -6
  88. package/dist/chunks/{credential-5w5ha1nc.js → location-services-9jzbrzc0.js} +7 -7
  89. package/dist/chunks/{credential-cqwj9awd.js → location-services-9kvjnr81.js} +25 -25
  90. package/dist/chunks/{credential-8meg8dre.js → location-services-9n75fd9y.js} +9 -9
  91. package/dist/chunks/{credential-h32nz7rm.js → location-services-9pfdanbq.js} +18 -18
  92. package/dist/chunks/{credential-yjc83x66.js → location-services-9r2qpqkx.js} +25 -25
  93. package/dist/chunks/{credential-w8gzpttc.js → location-services-9z8a7pbd.js} +16 -16
  94. package/dist/chunks/{credential-0996nyz8.js → location-services-9zswys26.js} +9 -9
  95. package/dist/chunks/{credential-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{credential-vgcq2s3r.js → location-services-a5abhest.js} +10 -10
  97. package/dist/chunks/{credential-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  98. package/dist/chunks/{credential-b8s54zd1.js → location-services-at0srrj9.js} +17 -17
  99. package/dist/chunks/{credential-nkz5kzvr.js → location-services-at5nfy9r.js} +20 -20
  100. package/dist/chunks/{credential-eere18dq.js → location-services-avay8ehz.js} +5 -5
  101. package/dist/chunks/{credential-abkdt1xb.js → location-services-b2jx7zxs.js} +1 -1
  102. package/dist/chunks/{credential-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{credential-bct739vz.js → location-services-bct739vz.js} +1 -1
  104. package/dist/chunks/{credential-5e20nh0k.js → location-services-bdetpt2n.js} +11 -11
  105. package/dist/chunks/{credential-2tfmgkzg.js → location-services-bha4atvq.js} +4 -4
  106. package/dist/chunks/{credential-31dzdahz.js → location-services-brzmmewp.js} +3 -3
  107. package/dist/chunks/{credential-pjedbq3k.js → location-services-bscb95cy.js} +4 -4
  108. package/dist/chunks/{credential-exydcs1h.js → location-services-bt4gwd2t.js} +18 -18
  109. package/dist/chunks/{credential-gg9d5pah.js → location-services-btas0783.js} +16 -16
  110. package/dist/chunks/{credential-tdw0q9zr.js → location-services-btq6dtd4.js} +29 -29
  111. package/dist/chunks/{credential-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{credential-cb5dpwd3.js → location-services-cpq8mvz9.js} +40 -40
  113. package/dist/chunks/{credential-mtft99cd.js → location-services-cr07tj7n.js} +5 -5
  114. package/dist/chunks/{credential-9a1bzkpj.js → location-services-d5mjh5gn.js} +12 -12
  115. package/dist/chunks/{credential-dnba0na5.js → location-services-dpwabj80.js} +8 -8
  116. package/dist/chunks/{credential-nc3q5shn.js → location-services-dqm30p7h.js} +80 -80
  117. package/dist/chunks/{credential-y91nxhfn.js → location-services-drbyteps.js} +13 -13
  118. package/dist/chunks/{credential-5hrkz7py.js → location-services-dt8w12tc.js} +4 -4
  119. package/dist/chunks/{credential-fbp1d1k7.js → location-services-dvanp92t.js} +20 -20
  120. package/dist/chunks/{credential-hhf650b6.js → location-services-dxea83ar.js} +20 -20
  121. package/dist/chunks/{credential-40wszbrc.js → location-services-dxth83mh.js} +43 -43
  122. package/dist/chunks/{credential-npsw1jjn.js → location-services-dyp5k833.js} +15 -15
  123. package/dist/chunks/{credential-m4vn3qv8.js → location-services-dzx5qajy.js} +17 -17
  124. package/dist/chunks/{credential-3gfpy94r.js → location-services-e2dtrqwf.js} +46 -46
  125. package/dist/chunks/{credential-mj233eqc.js → location-services-e4zvp2f4.js} +16 -16
  126. package/dist/chunks/{credential-28prswrc.js → location-services-e7p6faa2.js} +9 -9
  127. package/dist/chunks/{credential-eaj1djv9.js → location-services-eaj1djv9.js} +1 -1
  128. package/dist/chunks/{credential-w031r0ta.js → location-services-eebkyynq.js} +15 -15
  129. package/dist/chunks/{credential-h74ge2a2.js → location-services-ep6z9mt6.js} +11 -11
  130. package/dist/chunks/{credential-hrj4tf28.js → location-services-eq4p078r.js} +3 -3
  131. package/dist/chunks/{credential-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{credential-y8ztsxtk.js → location-services-ex5k2c35.js} +9 -9
  133. package/dist/chunks/{credential-2998kf83.js → location-services-f5bs5vv8.js} +51 -51
  134. package/dist/chunks/{credential-hdnk95c8.js → location-services-f828m53h.js} +2 -2
  135. package/dist/chunks/{credential-c3xdpmrh.js → location-services-f9yp8s8r.js} +11 -11
  136. package/dist/chunks/{credential-2566302p.js → location-services-fafkyc6a.js} +7 -7
  137. package/dist/chunks/{credential-wnbzzbw2.js → location-services-fbtcayzh.js} +9 -9
  138. package/dist/chunks/{credential-a2ew8a62.js → location-services-fdv30zvt.js} +7 -7
  139. package/dist/chunks/{credential-2tw57gz0.js → location-services-fk8q8cg8.js} +11 -11
  140. package/dist/chunks/{credential-mkw2wvv0.js → location-services-fnhdbvfa.js} +12 -12
  141. package/dist/chunks/{credential-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{credential-qzteyjp0.js → location-services-g09rc90z.js} +15 -15
  143. package/dist/chunks/{credential-2nbt55tc.js → location-services-g2y161wv.js} +6 -6
  144. package/dist/chunks/{credential-526v470z.js → location-services-g3599gw0.js} +2 -2
  145. package/dist/chunks/{credential-eg6kvm4e.js → location-services-gacdy71v.js} +31 -31
  146. package/dist/chunks/{credential-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{credential-3fc6dm20.js → location-services-gdvy8fx6.js} +4 -4
  148. package/dist/chunks/{credential-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  149. package/dist/chunks/{credential-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{credential-rxhbz9hr.js → location-services-h1n238ac.js} +4 -4
  151. package/dist/chunks/{credential-e1pb9r1r.js → location-services-h4r1yjny.js} +32 -32
  152. package/dist/chunks/{credential-1hanh0e3.js → location-services-h5e374w5.js} +17 -17
  153. package/dist/chunks/{credential-g3nd3rk8.js → location-services-h5pwjbm9.js} +10 -10
  154. package/dist/chunks/{credential-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{credential-ddtk0mvx.js → location-services-h9zmmqvn.js} +10 -10
  156. package/dist/chunks/{credential-nhy5jxhy.js → location-services-hjt4xg1x.js} +4 -4
  157. package/dist/chunks/{credential-ahymmsbp.js → location-services-hpdzznjk.js} +19 -19
  158. package/dist/chunks/{credential-b9pe0b4x.js → location-services-hq4ymc60.js} +18 -18
  159. package/dist/chunks/{credential-eckjfj34.js → location-services-j1t1n678.js} +6 -6
  160. package/dist/chunks/{credential-d94m8qs1.js → location-services-j3xb24h1.js} +18 -18
  161. package/dist/chunks/{credential-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  162. package/dist/chunks/{credential-q19fwqr8.js → location-services-j81s0rnf.js} +4 -4
  163. package/dist/chunks/{credential-j4m9dw8y.js → location-services-jh4j6rwm.js} +10 -10
  164. package/dist/chunks/{credential-p71dzhbg.js → location-services-jhz8yd6p.js} +10 -10
  165. package/dist/chunks/{credential-rp0q961h.js → location-services-jk10gy5t.js} +37 -37
  166. package/dist/chunks/{credential-st0tfbhf.js → location-services-jk9qnxpz.js} +29 -29
  167. package/dist/chunks/{credential-dqv7d9mx.js → location-services-jphykfrz.js} +18 -18
  168. package/dist/chunks/{credential-9p3b3m98.js → location-services-jtp7wgq3.js} +8 -8
  169. package/dist/chunks/{credential-rnwa6k7x.js → location-services-jzjzmfk7.js} +4 -4
  170. package/dist/chunks/{credential-rgcx19v1.js → location-services-k5rw4hnc.js} +22 -22
  171. package/dist/chunks/{credential-1adagaa7.js → location-services-k67g98nv.js} +23 -23
  172. package/dist/chunks/{credential-6ee1nj74.js → location-services-k8n37kmc.js} +7 -7
  173. package/dist/chunks/{credential-w2q9x1k3.js → location-services-ka2k270b.js} +8 -8
  174. package/dist/chunks/{credential-gf4qtxm6.js → location-services-kcwf74x3.js} +1 -1
  175. package/dist/chunks/{credential-jxzmtya1.js → location-services-kf1g5n2n.js} +30 -30
  176. package/dist/chunks/{credential-kg06axw8.js → location-services-kg06axw8.js} +1 -1
  177. package/dist/chunks/{credential-qdmm088d.js → location-services-kjd67z7p.js} +27 -27
  178. package/dist/chunks/{credential-r50xb6dr.js → location-services-kp0txnpa.js} +11 -11
  179. package/dist/chunks/{credential-q5zfzp2a.js → location-services-m48bak5g.js} +43 -43
  180. package/dist/chunks/{credential-pnv527nz.js → location-services-m86bnw2c.js} +5 -5
  181. package/dist/chunks/{credential-6va5e0hk.js → location-services-m9d2dprq.js} +24 -24
  182. package/dist/chunks/{credential-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{credential-kk00bynn.js → location-services-magykp64.js} +21 -21
  184. package/dist/chunks/{credential-mkcjrzeh.js → location-services-mkcjrzeh.js} +1 -1
  185. package/dist/chunks/{credential-t5pp6k6z.js → location-services-mr60nntp.js} +4 -4
  186. package/dist/chunks/{credential-h4rz3t7g.js → location-services-mw0hasaz.js} +36 -36
  187. package/dist/chunks/{credential-rxzbznts.js → location-services-n4wjpn8n.js} +26 -26
  188. package/dist/chunks/{credential-p7m6avpa.js → location-services-n5ftgbap.js} +35 -35
  189. package/dist/chunks/{credential-9rdh6ewn.js → location-services-n5pps5m7.js} +5 -5
  190. package/dist/chunks/{credential-z2qvtray.js → location-services-ncqtmwmy.js} +4 -4
  191. package/dist/chunks/{credential-z8awfy9p.js → location-services-nmts8jzf.js} +13 -13
  192. package/dist/chunks/{credential-7y8s6rgk.js → location-services-ntzg9vqq.js} +32 -32
  193. package/dist/chunks/location-services-nzxgkcr5.js +247 -0
  194. package/dist/chunks/{credential-6jrdwt83.js → location-services-pa0527fm.js} +4 -4
  195. package/dist/chunks/{credential-64kphnzf.js → location-services-paegk39x.js} +4 -4
  196. package/dist/chunks/{credential-j935v87r.js → location-services-paphc93g.js} +2 -2
  197. package/dist/chunks/{credential-81swgkk7.js → location-services-pdqbsy2v.js} +7 -7
  198. package/dist/chunks/{credential-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{credential-pknna89w.js → location-services-pknna89w.js} +1 -1
  200. package/dist/chunks/{credential-0n3rk2gt.js → location-services-pswdd2t8.js} +14 -14
  201. package/dist/chunks/{credential-vyqtz9n7.js → location-services-q1c4k7jk.js} +1 -1
  202. package/dist/chunks/{credential-g7hryrp6.js → location-services-qe24w9vn.js} +16 -16
  203. package/dist/chunks/{credential-7dqw4kz8.js → location-services-qgn6gcr1.js} +5 -5
  204. package/dist/chunks/{credential-wrxgasq3.js → location-services-qq9z19f4.js} +20 -20
  205. package/dist/chunks/{credential-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  206. package/dist/chunks/{credential-s2aq5fn4.js → location-services-qv2bye7a.js} +9 -9
  207. package/dist/chunks/{credential-71qmvsg5.js → location-services-qx1zvxc9.js} +8 -8
  208. package/dist/chunks/{credential-2a29v3a8.js → location-services-r537c3kh.js} +26 -26
  209. package/dist/chunks/{credential-p0sx4xrp.js → location-services-r69tr7x2.js} +43 -43
  210. package/dist/chunks/{credential-gh3h736b.js → location-services-rcxgw5yf.js} +11 -11
  211. package/dist/chunks/{credential-cd4mc13g.js → location-services-rstnkd3y.js} +1 -1
  212. package/dist/chunks/{credential-gb35scn0.js → location-services-s2qffcb7.js} +14 -14
  213. package/dist/chunks/{credential-bawspjyh.js → location-services-s2yb2sz1.js} +13 -13
  214. package/dist/chunks/{credential-249nn8tn.js → location-services-s3fqj7fn.js} +24 -24
  215. package/dist/chunks/{credential-rhhgd1jt.js → location-services-s9vxrr1q.js} +5 -5
  216. package/dist/chunks/{credential-6kqsmg0b.js → location-services-sh26c022.js} +25 -25
  217. package/dist/chunks/{credential-w4enfkwp.js → location-services-snjhnxkw.js} +16 -16
  218. package/dist/chunks/{credential-b0grxa7w.js → location-services-sqbb0ctm.js} +5 -5
  219. package/dist/chunks/{credential-z6rkfk30.js → location-services-szvm6efx.js} +17 -17
  220. package/dist/chunks/{credential-tz4n1mmd.js → location-services-t2az9yje.js} +4 -4
  221. package/dist/chunks/{credential-593yh7cm.js → location-services-t2w3xr5a.js} +2 -2
  222. package/dist/chunks/{credential-6qw5vjfk.js → location-services-t8r3ep1g.js} +5 -5
  223. package/dist/chunks/{credential-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{credential-pn0ve21a.js → location-services-tc8mvhgg.js} +6 -6
  225. package/dist/chunks/{credential-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{credential-tdstcens.js → location-services-tdstcens.js} +1 -1
  227. package/dist/chunks/{credential-j9cg0esf.js → location-services-tfs8xndz.js} +85 -85
  228. package/dist/chunks/{credential-96h9wr4f.js → location-services-tjzgn1x1.js} +11 -11
  229. package/dist/chunks/{credential-fr2qe1q3.js → location-services-tmz1m10x.js} +6 -6
  230. package/dist/chunks/{credential-0y6fnfyn.js → location-services-tr9c2tdg.js} +16 -16
  231. package/dist/chunks/{credential-b1jm75xs.js → location-services-ts6t2md9.js} +13 -13
  232. package/dist/chunks/{credential-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  233. package/dist/chunks/{credential-a5gt7g2r.js → location-services-twy35tz0.js} +9 -9
  234. package/dist/chunks/{credential-p6d8qxhz.js → location-services-txm7s3af.js} +52 -52
  235. package/dist/chunks/{credential-jh4fk4tf.js → location-services-ty4y3jpx.js} +18 -18
  236. package/dist/chunks/{credential-89spjjbp.js → location-services-v055rr52.js} +27 -27
  237. package/dist/chunks/{credential-w27d4nw8.js → location-services-v0qc9apc.js} +24 -24
  238. package/dist/chunks/{credential-et95z6r9.js → location-services-v17vgq8s.js} +30 -30
  239. package/dist/chunks/{credential-22rswy7q.js → location-services-v5fza2qm.js} +9 -9
  240. package/dist/chunks/{credential-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  241. package/dist/chunks/{credential-7jdsj2a9.js → location-services-vjnb44yt.js} +3 -3
  242. package/dist/chunks/{credential-ja89yahs.js → location-services-vk1048p9.js} +12 -12
  243. package/dist/chunks/{credential-ghk9cxjs.js → location-services-vkez6a4k.js} +6 -6
  244. package/dist/chunks/{credential-dyhhrnbz.js → location-services-vqa79sa2.js} +8 -8
  245. package/dist/chunks/{credential-wptwfzfm.js → location-services-vxqn53pa.js} +22 -22
  246. package/dist/chunks/{credential-4jmdj23e.js → location-services-vyjzrkx0.js} +9 -9
  247. package/dist/chunks/{credential-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{credential-98g7fywj.js → location-services-w28m7x89.js} +11 -11
  249. package/dist/chunks/{credential-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{credential-j1etvyav.js → location-services-w76aks9p.js} +6 -6
  251. package/dist/chunks/{credential-gx1zhcta.js → location-services-w79zsp0s.js} +1 -1
  252. package/dist/chunks/{credential-gj6dbvth.js → location-services-wb0heqy3.js} +5 -5
  253. package/dist/chunks/{credential-wd87259q.js → location-services-wd87259q.js} +1 -1
  254. package/dist/chunks/{credential-10es6fvg.js → location-services-wfjdd711.js} +2 -2
  255. package/dist/chunks/{credential-4rym0agr.js → location-services-wnttaxta.js} +22 -22
  256. package/dist/chunks/{credential-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{credential-q26tgv94.js → location-services-x3et2xth.js} +8 -8
  258. package/dist/chunks/{credential-x43y2vfs.js → location-services-x43y2vfs.js} +2 -2
  259. package/dist/chunks/{credential-trjjxkd4.js → location-services-xdj7hph9.js} +11 -11
  260. package/dist/chunks/{credential-vqh4gwbt.js → location-services-xsa3sn4e.js} +23 -23
  261. package/dist/chunks/{credential-yww5gzhe.js → location-services-xsdh20fb.js} +5 -5
  262. package/dist/chunks/{credential-qdykr49y.js → location-services-xxdsfsv4.js} +27 -27
  263. package/dist/chunks/{credential-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{credential-3gfv59ch.js → location-services-y3tjje57.js} +12 -12
  265. package/dist/chunks/{credential-y71avatq.js → location-services-y71avatq.js} +1 -1
  266. package/dist/chunks/{credential-m1gz7xkc.js → location-services-y8nep4sr.js} +28 -28
  267. package/dist/chunks/{credential-enygcmwv.js → location-services-ycaafw61.js} +17 -17
  268. package/dist/chunks/{credential-5cnp842v.js → location-services-ycmd6xcg.js} +11 -11
  269. package/dist/chunks/{credential-6dtevzgb.js → location-services-yfq8zh9v.js} +61 -61
  270. package/dist/chunks/{credential-1acjjqhc.js → location-services-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{credential-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{credential-s4enseaf.js → location-services-yrznvahk.js} +2 -2
  273. package/dist/chunks/{credential-3k31r9j9.js → location-services-yx9tt4ea.js} +11 -11
  274. package/dist/chunks/{credential-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{credential-efhzxcq4.js → location-services-z43vqr8p.js} +24 -24
  276. package/dist/chunks/{credential-3x4a4zpr.js → location-services-z50tb7yx.js} +6 -6
  277. package/dist/chunks/{credential-29x78va6.js → location-services-z63w68vq.js} +6 -6
  278. package/dist/chunks/{credential-3fh0rg45.js → location-services-zdhmhzs2.js} +15 -15
  279. package/dist/chunks/{credential-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{credential-nhvhf6q8.js → location-services-zerdtc7d.js} +6 -6
  281. package/dist/chunks/{credential-ntdnj22e.js → location-services-zgwwbszc.js} +15 -15
  282. package/dist/chunks/{credential-t0vv7hjv.js → location-services-znc92hjm.js} +39 -39
  283. package/dist/chunks/{credential-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{credential-w7cj9ekx.js → location-services-zr33rhch.js} +4 -4
  285. package/dist/chunks/{credential-ac32kc2r.js → location-services-zr7mteb2.js} +25 -25
  286. package/dist/chunks/{credential-w09rpk5j.js → location-services-zw66t5ma.js} +7 -7
  287. package/dist/chunks/{credential-dp84dkzj.js → location-services-zwzjy0a1.js} +20 -20
  288. package/dist/chunks/{credential-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +153 -153
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +86 -86
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +88 -88
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +98 -98
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +128 -128
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +131 -131
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +86 -86
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +123 -123
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +75 -75
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +209 -209
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +106 -106
  640. package/dist/tool/plugin/subagent.js +204 -204
  641. package/dist/tool/plugin/webfetch.js +99 -99
  642. package/dist/tool/plugin/websearch.js +105 -105
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +1 -1
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +76 -76
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +3 -3
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +76 -76
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +87 -87
  686. package/package.json +8 -8
  687. package/dist/chunks/credential-b01ntp0y.js +0 -462
  688. package/dist/chunks/credential-bqchtq7z.js +0 -247
  689. package/dist/chunks/credential-jrj2y5pk.js +0 -22
  690. package/dist/chunks/credential-rap9a73h.js +0 -18
  691. /package/dist/chunks/{credential-0mesazry.js → location-services-0mesazry.js} +0 -0
  692. /package/dist/chunks/{credential-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{credential-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{credential-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{credential-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{credential-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{credential-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{credential-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{credential-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{credential-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{credential-3asan66x.js → location-services-3asan66x.js} +0 -0
  702. /package/dist/chunks/{credential-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{credential-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{credential-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{credential-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{credential-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{credential-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{credential-53557ph1.js → location-services-53557ph1.js} +0 -0
  709. /package/dist/chunks/{credential-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{credential-6prwharc.js → location-services-6prwharc.js} +0 -0
  711. /package/dist/chunks/{credential-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{credential-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{credential-822emrt2.js → location-services-822emrt2.js} +0 -0
  714. /package/dist/chunks/{credential-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{credential-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{credential-922hggd3.js → location-services-922hggd3.js} +0 -0
  717. /package/dist/chunks/{credential-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{credential-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{credential-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{credential-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{credential-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{credential-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{credential-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{credential-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{credential-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{credential-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{credential-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{credential-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{credential-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{credential-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{credential-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{credential-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{credential-df08tz66.js → location-services-df08tz66.js} +0 -0
  734. /package/dist/chunks/{credential-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{credential-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{credential-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{credential-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{credential-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{credential-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{credential-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{credential-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{credential-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{credential-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{credential-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{credential-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{credential-g86h250q.js → location-services-g86h250q.js} +0 -0
  747. /package/dist/chunks/{credential-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{credential-gftt206x.js → location-services-gftt206x.js} +0 -0
  749. /package/dist/chunks/{credential-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{credential-hk9envan.js → location-services-hk9envan.js} +0 -0
  751. /package/dist/chunks/{credential-hrnqkpcd.js → location-services-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{credential-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{credential-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{credential-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{credential-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{credential-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{credential-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{credential-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{credential-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{credential-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{credential-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{credential-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{credential-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{credential-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{credential-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{credential-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{credential-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{credential-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{credential-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{credential-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{credential-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{credential-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{credential-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{credential-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{credential-x61499pn.js → location-services-x61499pn.js} +0 -0
  778. /package/dist/chunks/{credential-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{credential-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{credential-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{credential-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{credential-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./credential-ahcp8nkf.js";
4
+ } from "./location-services-7f4cfqjs.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./credential-q19fwqr8.js";
8
+ } from "./location-services-j81s0rnf.js";
9
9
  import {
10
- Service56,
11
- node61
12
- } from "./credential-stb366ab.js";
10
+ Service49,
11
+ node52
12
+ } from "./location-services-8k3jg3eh.js";
13
13
  import {
14
- Service38,
15
- node41
16
- } from "./credential-ghk9cxjs.js";
14
+ Service35,
15
+ node38
16
+ } from "./location-services-vkez6a4k.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./credential-ec1grn59.js";
19
+ } from "./location-services-ec1grn59.js";
20
20
  import {
21
- make17
22
- } from "./credential-1acjjqhc.js";
21
+ make16
22
+ } from "./location-services-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service35
26
- } from "./credential-tz4n1mmd.js";
25
+ Service32
26
+ } from "./location-services-t2az9yje.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./credential-xzr3fv1j.js";
29
+ } from "./location-services-3xwj35jq.js";
30
30
  import {
31
- Service60,
32
- node65
33
- } from "./credential-0n3rk2gt.js";
31
+ Service70,
32
+ node75
33
+ } from "./location-services-pswdd2t8.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./credential-5hrkz7py.js";
36
+ } from "./location-services-dt8w12tc.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./credential-wvhct48y.js";
39
+ } from "./location-services-6320hmrj.js";
40
40
  import {
41
41
  __export
42
- } from "./credential-9rqn6x4v.js";
42
+ } from "./location-services-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service34,
47
+ Service: () => Service31,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer16,
50
- node: () => node38,
49
+ layer: () => layer14,
50
+ node: () => node35,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service34 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service31 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer16 = Layer.effect(Service34, Effect.gen(function* () {
69
- const store = yield* Service60;
70
- const instances = yield* Service38;
68
+ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
69
+ const store = yield* Service70;
70
+ const instances = yield* Service35;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service56;
72
+ const jobs = yield* Service49;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service35.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make17({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service34.of({
112
+ return Service31.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer16 = Layer.effect(Service34, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node38 = makeGlobalNode({
132
- service: Service34,
133
- layer: layer16,
134
- deps: [node65, node41, node84, node85, node61]
131
+ var node35 = makeGlobalNode({
132
+ service: Service31,
133
+ layer: layer14,
134
+ deps: [node75, node38, node84, node85, node52]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service34, Service34.of({
136
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service34, terminal2, layer16, node38, noopLayer2, exports_execution };
145
+ export { Service31, terminal2, layer14, node35, noopLayer2, exports_execution };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./credential-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./credential-ahcp8nkf.js";
7
+ } from "./location-services-7f4cfqjs.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./credential-q19fwqr8.js";
11
+ } from "./location-services-j81s0rnf.js";
12
12
  import {
13
- Service78,
14
- node83
15
- } from "./credential-jefma2gq.js";
13
+ Service75,
14
+ node80
15
+ } from "./location-services-7zdm33ac.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info33,
19
+ Info32,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event18,
22
22
  Vcs3
23
- } from "./credential-81swgkk7.js";
23
+ } from "./location-services-pdqbsy2v.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./credential-dj2t23y0.js";
27
+ } from "./location-services-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./credential-m0jqrx5p.js";
30
+ } from "./location-services-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./credential-9rqn6x4v.js";
33
+ } from "./location-services-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info32,
41
- NotFoundError: () => NotFoundError10,
40
+ Info: () => Info31,
41
+ NotFoundError: () => NotFoundError9,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service74,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node79,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,10 +58,10 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
64
+ class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
65
  projectID: ID17
66
66
  }) {
67
67
  }
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service74 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service75;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event20.Updated, fromRow(row));
110
+ yield* bus.publish(Event18.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -167,9 +167,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError10({ projectID: input.projectID });
170
+ return yield* new NotFoundError9({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event20.Updated, project);
172
+ yield* bus.publish(Event18.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service74.of({ list, update, resolve });
275
275
  }));
276
- var node82 = makeGlobalNode({
277
- service: Service77,
276
+ var node79 = makeGlobalNode({
277
+ service: Service74,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
+ deps: [node84, node85, FSUtil.node, node80, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
282
+ export { ID17, Vcs2, Current2, Info31, UpdateInput3, NotFoundError9, root2, Service74, node79, exports_project };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./credential-q19fwqr8.js";
5
+ } from "./location-services-j81s0rnf.js";
6
6
  import {
7
- Service66,
8
- node71
9
- } from "./credential-j4m9dw8y.js";
7
+ Service78,
8
+ node83
9
+ } from "./location-services-jh4j6rwm.js";
10
10
  import {
11
11
  __export
12
- } from "./credential-9rqn6x4v.js";
12
+ } from "./location-services-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event20,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service65,
22
+ Service: () => Service77,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node70,
25
+ node: () => node82,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service65 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service77 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event20 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service65, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service66;
80
+ const kv = yield* Service78;
81
81
  const bus = yield* Service79;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event14.Updated, {});
112
+ yield* bus.publish(Event20.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service65.of({
115
+ return Service77.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event14.Updated, {});
128
+ yield* bus.publish(Event20.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event14.Updated, {});
141
+ yield* bus.publish(Event20.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node70 = makeGlobalNode({ service: Service65, layer, deps: [httpClient, node71, node84] });
146
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [httpClient, node83, node84] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service65, Event14, inspect2, resolve3, node70, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service77, Event20, inspect2, resolve3, node82, exports_wellknown };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/provider.ts
6
6
  var exports_provider3 = {};
7
7
  __export(exports_provider3, {
8
8
  AISDK_PREFIX: () => AISDK_PREFIX2,
9
- ID: () => ID16,
10
- Info: () => Info29,
9
+ ID: () => ID11,
10
+ Info: () => Info24,
11
11
  LoadError: () => LoadError3,
12
12
  Provider: () => exports_provider3,
13
- Request: () => Request3,
13
+ Request: () => Request2,
14
14
  Settings: () => Settings2,
15
15
  aisdk: () => aisdk2,
16
16
  isAISDK: () => isAISDK2,
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
23
23
  import { Provider } from "@opencode/schema/provider";
24
24
  import { isRecord } from "@opencode/ai/utils/record";
25
25
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
26
- var ID16 = Provider.ID;
26
+ var ID11 = Provider.ID;
27
27
  var AISDK_PREFIX2 = "aisdk:";
28
28
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
29
29
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
137
137
  return result;
138
138
  }, new Map).values());
139
139
  }
140
- var Request3 = Provider.Request;
140
+ var Request2 = Provider.Request;
141
141
  var Settings2 = Provider.Settings;
142
- var Info29 = Provider.Info;
142
+ var Info24 = Provider.Info;
143
143
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
144
144
  const module = yield* Effect.tryPromise({
145
145
  try: () => {
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
161
161
  return module;
162
162
  });
163
163
 
164
- export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info29, exports_provider3 };
164
+ export { ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info24, exports_provider3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-0bnjtszc.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
- ID16
6
- } from "./credential-9p3b3m98.js";
5
+ ID11
6
+ } from "./location-services-jtp7wgq3.js";
7
7
 
8
8
  // src/plugin/provider/gitlab.ts
9
9
  import os from "os";
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
33
33
  });
34
34
  }));
35
35
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
36
- if (evt.model.providerID !== ID16.gitlab)
36
+ if (evt.model.providerID !== ID11.gitlab)
37
37
  return;
38
38
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
39
39
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-0bnjtszc.js";
3
+ } from "./location-services-55bzypr0.js";
4
4
  import {
5
5
  Service79
6
- } from "./credential-q19fwqr8.js";
6
+ } from "./location-services-j81s0rnf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./credential-m1gz7xkc.js";
9
+ Event13
10
+ } from "./location-services-y8nep4sr.js";
11
11
  import {
12
- ID12,
12
+ ID7,
13
13
  MethodID2
14
- } from "./credential-w27d4nw8.js";
14
+ } from "./location-services-v0qc9apc.js";
15
15
  import {
16
- ID16,
16
+ ID11,
17
17
  isAISDK2,
18
18
  packageName2,
19
19
  mergeOverlay2
20
- } from "./credential-9p3b3m98.js";
20
+ } from "./location-services-jtp7wgq3.js";
21
21
  import {
22
22
  iife2
23
- } from "./credential-1kg9ymc8.js";
23
+ } from "./location-services-1kg9ymc8.js";
24
24
  import {
25
25
  which2
26
- } from "./credential-qaymkmh1.js";
26
+ } from "./location-services-qaymkmh1.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./credential-w09rpk5j.js";
29
+ } from "./location-services-zw66t5ma.js";
30
30
 
31
31
  // src/plugin/provider/azure.ts
32
32
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
57
57
  var AzurePlugin2 = define({
58
58
  id: "opencode.provider.azure",
59
59
  effect: Effect.fn(function* (ctx) {
60
- const configured = yield* configuredSettings2(ID16.azure);
60
+ const configured = yield* configuredSettings2(ID11.azure);
61
61
  const processes = yield* AppProcess.Service;
62
62
  const bus = yield* Service79;
63
63
  const tokens = new Map;
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
93
93
  });
94
94
  yield* ctx.integration.transform((editor) => {
95
95
  editor.method.update({
96
- integrationID: ID16.azure,
96
+ integrationID: ID11.azure,
97
97
  method: { type: "key", label: "API key", form: form() }
98
98
  });
99
99
  if (!available)
100
100
  return;
101
101
  editor.method.update({
102
- integrationID: ID16.azure,
102
+ integrationID: ID11.azure,
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  });
132
132
  });
133
133
  const load = Effect.fn("AzurePlugin.load")(function* () {
134
- const connection = yield* ctx.integration.connection.active(ID16.azure);
134
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
135
135
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
136
136
  return;
137
137
  })) : undefined;
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
145
145
  yield* load();
146
146
  yield* ctx.catalog.transform((evt) => {
147
147
  for (const item of evt.provider.list()) {
148
- if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
148
+ if (item.provider.id !== ID11.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
149
149
  continue;
150
150
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
151
151
  if (resourceName)
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
167
167
  }
168
168
  });
169
169
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
170
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
170
+ yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
171
171
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
172
- if (evt.model.providerID !== ID16.azure)
172
+ if (evt.model.providerID !== ID11.azure)
173
173
  return;
174
- const connection = yield* ctx.integration.connection.active(ID16.azure);
174
+ const connection = yield* ctx.integration.connection.active(ID11.azure);
175
175
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
176
176
  return;
177
177
  })) : undefined;
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", `Bearer ${current.access}`);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID16.azure });
187
+ }), { providerID: ID11.azure });
188
188
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
189
189
  if (evt.package !== "@ai-sdk/azure")
190
190
  return;
191
- if (evt.model.providerID === ID16.azure) {
191
+ if (evt.model.providerID === ID11.azure) {
192
192
  if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
193
193
  throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
194
194
  }
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
197
197
  evt.sdk = mod.createAzure(evt.options);
198
198
  }));
199
199
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
200
- if (evt.model.providerID !== ID16.azure)
200
+ if (evt.model.providerID !== ID11.azure)
201
201
  return;
202
202
  evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
203
203
  }));