@opencode/core 0.0.0-dev-21077 → 0.0.0-dev-21080

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{credential-z6yj3edv.js → location-services-083303b5.js} +23 -23
  8. package/dist/chunks/{credential-kqx1b4hy.js → location-services-0b5g1ynf.js} +4 -4
  9. package/dist/chunks/{credential-ppyhr432.js → location-services-0m1m2yc2.js} +21 -21
  10. package/dist/chunks/{credential-xxb6073h.js → location-services-0mmkf94b.js} +24 -24
  11. package/dist/chunks/{credential-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{credential-ryqtne0v.js → location-services-0ypc52y8.js} +33 -33
  13. package/dist/chunks/{credential-pe6c81vb.js → location-services-14zmt7av.js} +30 -30
  14. package/dist/chunks/{credential-bej0st3k.js → location-services-1bagj0a9.js} +18 -18
  15. package/dist/chunks/{credential-rw0m67m7.js → location-services-1bbn3dkw.js} +3 -3
  16. package/dist/chunks/{credential-4yd5fbph.js → location-services-1xc3wfx9.js} +6 -6
  17. package/dist/chunks/{credential-8m7nreqb.js → location-services-23ep9gsy.js} +19 -19
  18. package/dist/chunks/{credential-ra6by5e5.js → location-services-23j7fmch.js} +22 -22
  19. package/dist/chunks/{credential-brt5an88.js → location-services-23xej63c.js} +6 -6
  20. package/dist/chunks/{credential-de0z98k1.js → location-services-244nw8ga.js} +13 -13
  21. package/dist/chunks/{credential-ja06zn37.js → location-services-245km8hw.js} +11 -11
  22. package/dist/chunks/{credential-q5resnhd.js → location-services-24pdmgsr.js} +5 -5
  23. package/dist/chunks/{credential-rqb4w7qy.js → location-services-2amj7w2e.js} +11 -11
  24. package/dist/chunks/{credential-cp1qs8w2.js → location-services-2kym22yv.js} +14 -14
  25. package/dist/chunks/{credential-4dg124c5.js → location-services-2vgzs72b.js} +5 -5
  26. package/dist/chunks/{credential-43fgj17e.js → location-services-2xzzkntk.js} +20 -20
  27. package/dist/chunks/{credential-1tyhtd58.js → location-services-302nrbc0.js} +20 -20
  28. package/dist/chunks/{credential-mb14aw74.js → location-services-35ja2k0w.js} +2 -2
  29. package/dist/chunks/{credential-nksjsfnd.js → location-services-362yhp9b.js} +11 -11
  30. package/dist/chunks/{credential-0yxc45d0.js → location-services-3a1csxgf.js} +38 -38
  31. package/dist/chunks/{credential-8pwe8y5v.js → location-services-3d60bhv0.js} +36 -36
  32. package/dist/chunks/{credential-2zv688p8.js → location-services-3f79bhw9.js} +3 -3
  33. package/dist/chunks/{credential-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{credential-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{credential-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{credential-xemtnvmn.js → location-services-3mqv2hqz.js} +45 -45
  37. package/dist/chunks/{credential-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{credential-as35ary9.js → location-services-3t6g7wkp.js} +22 -22
  39. package/dist/chunks/{credential-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{credential-a5xd9ph1.js → location-services-3vk4e4ba.js} +19 -19
  41. package/dist/chunks/{credential-0q1x4t4y.js → location-services-3x67zv1q.js} +16 -16
  42. package/dist/chunks/{credential-7pkq4a6y.js → location-services-3xjjzvbe.js} +3 -3
  43. package/dist/chunks/{credential-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{credential-hshdsga2.js → location-services-42cfyv6e.js} +1 -1
  45. package/dist/chunks/{credential-cqxtxa12.js → location-services-44t855md.js} +4 -4
  46. package/dist/chunks/{credential-8bgb3vcd.js → location-services-4bg27fyf.js} +25 -25
  47. package/dist/chunks/{credential-zvxktrxk.js → location-services-4r1rf6x5.js} +25 -25
  48. package/dist/chunks/{credential-0xqyf95c.js → location-services-4v7ngy20.js} +4 -4
  49. package/dist/chunks/{credential-sy29epdy.js → location-services-4y7j986s.js} +9 -9
  50. package/dist/chunks/{credential-hnyywhnh.js → location-services-50phh09z.js} +30 -30
  51. package/dist/chunks/{credential-px73pbep.js → location-services-57kka029.js} +8 -8
  52. package/dist/chunks/{credential-s5fn7dhj.js → location-services-581vd47p.js} +29 -29
  53. package/dist/chunks/{credential-raf8x87w.js → location-services-59te2vk4.js} +7 -7
  54. package/dist/chunks/{credential-3sj8yt8v.js → location-services-5dkn69vz.js} +4 -4
  55. package/dist/chunks/{credential-waskdk5r.js → location-services-5fec3t3w.js} +9 -9
  56. package/dist/chunks/{credential-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{credential-3vy9239c.js → location-services-65cdatea.js} +16 -16
  58. package/dist/chunks/{credential-hxpbrr1s.js → location-services-6bbwvj97.js} +22 -22
  59. package/dist/chunks/{credential-tqyhj4xt.js → location-services-6fw71bvh.js} +4 -4
  60. package/dist/chunks/{credential-gm80xqq7.js → location-services-6nwhtmce.js} +4 -4
  61. package/dist/chunks/{credential-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{credential-4qhmckww.js → location-services-6zmhf5e4.js} +7 -7
  63. package/dist/chunks/{credential-43wrgcn8.js → location-services-75tmef9h.js} +46 -46
  64. package/dist/chunks/{credential-775gj3j1.js → location-services-775gj3j1.js} +2 -2
  65. package/dist/chunks/{credential-2sejkfem.js → location-services-79qaa2kf.js} +9 -9
  66. package/dist/chunks/{credential-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{credential-fkcghbkc.js → location-services-7f1f8kt8.js} +15 -15
  68. package/dist/chunks/{credential-m6y60rje.js → location-services-7fbg3v2f.js} +39 -39
  69. package/dist/chunks/{credential-22j5gcem.js → location-services-7q9y922e.js} +29 -29
  70. package/dist/chunks/{credential-gkcjs2dn.js → location-services-7qcmfwcv.js} +11 -11
  71. package/dist/chunks/{credential-84txncab.js → location-services-84txncab.js} +1 -1
  72. package/dist/chunks/{credential-wg8a11j0.js → location-services-8a368wvm.js} +20 -20
  73. package/dist/chunks/{credential-b9pm5k8x.js → location-services-8dksh1ny.js} +25 -25
  74. package/dist/chunks/{credential-pj8a0a0d.js → location-services-8h4jg6v9.js} +5 -5
  75. package/dist/chunks/{credential-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{credential-160c1116.js → location-services-8y47q2p9.js} +13 -13
  77. package/dist/chunks/{credential-0g1kkss8.js → location-services-8zfz6a2t.js} +12 -12
  78. package/dist/chunks/{credential-j09zfasm.js → location-services-91qna3x0.js} +3 -3
  79. package/dist/chunks/{credential-tpw6cwsb.js → location-services-9hn6k4tm.js} +8 -8
  80. package/dist/chunks/{credential-xkj02v8v.js → location-services-9k6k7fgf.js} +22 -22
  81. package/dist/chunks/{credential-49k8713w.js → location-services-9knbxg1b.js} +15 -15
  82. package/dist/chunks/{credential-9exzkq1k.js → location-services-9q4r2gvr.js} +5 -5
  83. package/dist/chunks/{credential-c6hx2ktf.js → location-services-9t6z5mty.js} +6 -6
  84. package/dist/chunks/{credential-q0bwcdvt.js → location-services-9ty8jwpv.js} +13 -13
  85. package/dist/chunks/{credential-wk82jgfm.js → location-services-9vp2dtmh.js} +11 -11
  86. package/dist/chunks/{credential-m1a48d5g.js → location-services-9w32cmye.js} +54 -54
  87. package/dist/chunks/{credential-sp975na0.js → location-services-9xf2f7x4.js} +11 -11
  88. package/dist/chunks/{credential-k9beb6wv.js → location-services-a4tbexpm.js} +11 -11
  89. package/dist/chunks/{credential-dtsxx5mv.js → location-services-aa674q4y.js} +11 -11
  90. package/dist/chunks/{credential-addxnjmp.js → location-services-addxnjmp.js} +1 -1
  91. package/dist/chunks/{credential-scgrse2b.js → location-services-b3f8fkhc.js} +5 -5
  92. package/dist/chunks/{credential-mq99xv2c.js → location-services-bfksx8rf.js} +24 -24
  93. package/dist/chunks/{credential-1ffvrpkg.js → location-services-bjx1sjef.js} +6 -6
  94. package/dist/chunks/{credential-rmjnct9g.js → location-services-bprq9w7g.js} +4 -4
  95. package/dist/chunks/{credential-cf1pjmre.js → location-services-bx9w2fqt.js} +45 -45
  96. package/dist/chunks/location-services-by5v678g.js +18 -0
  97. package/dist/chunks/{credential-gzsatz7t.js → location-services-c1944bpn.js} +3 -3
  98. package/dist/chunks/{credential-c1fqxshp.js → location-services-c1fqxshp.js} +3 -3
  99. package/dist/chunks/{credential-jzzy94zk.js → location-services-c227t32y.js} +9 -9
  100. package/dist/chunks/{credential-fnx95t7x.js → location-services-c2r9jrv3.js} +14 -14
  101. package/dist/chunks/{credential-995t9yvb.js → location-services-c49rsx5q.js} +24 -24
  102. package/dist/chunks/{credential-1n08wphv.js → location-services-c8kj68w8.js} +17 -17
  103. package/dist/chunks/{credential-65qs235e.js → location-services-cbt851ks.js} +20 -20
  104. package/dist/chunks/{credential-f1m169n2.js → location-services-cp7mdvjw.js} +8 -8
  105. package/dist/chunks/{credential-33864hhd.js → location-services-csx4qebp.js} +6 -6
  106. package/dist/chunks/location-services-d19ht2gs.js +253 -0
  107. package/dist/chunks/{credential-jfpc1vcc.js → location-services-dbfp1drv.js} +1 -1
  108. package/dist/chunks/{credential-039wv4dg.js → location-services-ddzg2jb5.js} +11 -11
  109. package/dist/chunks/{credential-a6mdarw6.js → location-services-dk81qchb.js} +18 -18
  110. package/dist/chunks/{credential-369pt44z.js → location-services-dkrhta5e.js} +26 -26
  111. package/dist/chunks/{credential-trex24va.js → location-services-dpvvrdx3.js} +11 -11
  112. package/dist/chunks/{credential-dqxsqydv.js → location-services-dqxsqydv.js} +1 -1
  113. package/dist/chunks/{credential-xfkkasph.js → location-services-drwq78ky.js} +4 -4
  114. package/dist/chunks/{credential-4ekscj25.js → location-services-e29c15sd.js} +5 -5
  115. package/dist/chunks/{credential-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
  116. package/dist/chunks/{credential-88t0gbbr.js → location-services-e4yed1xk.js} +11 -11
  117. package/dist/chunks/{credential-twzm0fh1.js → location-services-e59hp8e0.js} +6 -6
  118. package/dist/chunks/{credential-a7204kxa.js → location-services-e6h9sxh5.js} +3 -3
  119. package/dist/chunks/{credential-3r88wvpr.js → location-services-e7gvftdw.js} +26 -26
  120. package/dist/chunks/{credential-h4430by2.js → location-services-e8kf9jzb.js} +12 -12
  121. package/dist/chunks/{credential-4qfzbkvv.js → location-services-e9vjtg4n.js} +15 -15
  122. package/dist/chunks/{credential-4fsmsme8.js → location-services-ee9ke1cf.js} +10 -10
  123. package/dist/chunks/{credential-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{credential-e56hn9bn.js → location-services-eemsj75p.js} +15 -15
  125. package/dist/chunks/{credential-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{credential-kvkt1qqd.js → location-services-ek0xqdc4.js} +56 -56
  127. package/dist/chunks/{credential-nr6ymt8h.js → location-services-eknn5gcm.js} +5 -5
  128. package/dist/chunks/{credential-dhmh7aw6.js → location-services-embw8kgh.js} +4 -4
  129. package/dist/chunks/{credential-84vpb2vm.js → location-services-ethqs1sx.js} +14 -14
  130. package/dist/chunks/{credential-39cardge.js → location-services-ewx5eb2n.js} +11 -11
  131. package/dist/chunks/{credential-7fv44pcf.js → location-services-f9m23keb.js} +15 -15
  132. package/dist/chunks/{credential-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{credential-nmmr4e9w.js → location-services-fwqtawms.js} +30 -30
  134. package/dist/chunks/{credential-zyk2e2x1.js → location-services-g3fnaecf.js} +26 -26
  135. package/dist/chunks/{credential-fepda2xk.js → location-services-g5m8facw.js} +33 -33
  136. package/dist/chunks/{credential-fknms47v.js → location-services-g5q88jq6.js} +14 -14
  137. package/dist/chunks/{credential-wt0qpxd3.js → location-services-g5vbb9hj.js} +21 -21
  138. package/dist/chunks/{credential-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{credential-kpjne5yp.js → location-services-gfx22yfa.js} +9 -9
  140. package/dist/chunks/{credential-amfa1jkw.js → location-services-gnaysa6b.js} +10 -10
  141. package/dist/chunks/{credential-c7pf8635.js → location-services-h1z5k2t2.js} +9 -9
  142. package/dist/chunks/{credential-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{credential-h7s7r6s9.js → location-services-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{credential-g6yfr6ja.js → location-services-h83xjv7f.js} +5 -5
  145. package/dist/chunks/{credential-6ez66tm6.js → location-services-hft03ywa.js} +18 -18
  146. package/dist/chunks/{credential-y0zxwc0w.js → location-services-hge6h9tw.js} +25 -25
  147. package/dist/chunks/{credential-87fbabfb.js → location-services-hgfjkg9n.js} +7 -7
  148. package/dist/chunks/{credential-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{credential-bfzpxde3.js → location-services-hhyxa8w0.js} +27 -27
  150. package/dist/chunks/{credential-r373bcqv.js → location-services-hp1kev64.js} +4 -4
  151. package/dist/chunks/{credential-c8bydgjz.js → location-services-hq8zt1th.js} +6 -6
  152. package/dist/chunks/{credential-rqem1xsk.js → location-services-hste6tza.js} +8 -8
  153. package/dist/chunks/{credential-e41w5jk2.js → location-services-htvyff0e.js} +181 -181
  154. package/dist/chunks/{credential-qm3kde9e.js → location-services-j4jzdm2s.js} +35 -35
  155. package/dist/chunks/{credential-esad8vat.js → location-services-ja30wqx5.js} +50 -50
  156. package/dist/chunks/{credential-8h1a173j.js → location-services-je5s84sz.js} +18 -18
  157. package/dist/chunks/{credential-8yqhqj2c.js → location-services-jfk3bbrj.js} +2 -2
  158. package/dist/chunks/{credential-q6dxph2r.js → location-services-jgyvgpbp.js} +5 -5
  159. package/dist/chunks/{credential-rtaz8t0m.js → location-services-jhaj7dhp.js} +4 -4
  160. package/dist/chunks/{credential-5w9yjztw.js → location-services-jhdf29st.js} +1 -1
  161. package/dist/chunks/{credential-8w2qxdqt.js → location-services-jpjvyf3t.js} +17 -17
  162. package/dist/chunks/{credential-scp8fp47.js → location-services-jvqwkpfk.js} +30 -30
  163. package/dist/chunks/{credential-dpkg50ah.js → location-services-jwcy2c2z.js} +4 -4
  164. package/dist/chunks/{credential-jmt4g3es.js → location-services-jxr5ks98.js} +6 -6
  165. package/dist/chunks/{credential-kkd5n1wb.js → location-services-jyyk6gde.js} +46 -46
  166. package/dist/chunks/location-services-kbqjftap.js +26 -0
  167. package/dist/chunks/{credential-38w1dnvg.js → location-services-kg320fw9.js} +73 -73
  168. package/dist/chunks/{credential-fxaymqdw.js → location-services-khmqacep.js} +4 -4
  169. package/dist/chunks/{credential-vtvzzxkn.js → location-services-kkj9qksm.js} +10 -10
  170. package/dist/chunks/{credential-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{credential-b6v341m9.js → location-services-kx8q5nyz.js} +11 -11
  172. package/dist/chunks/{credential-v3b64zrr.js → location-services-kxxk4g5v.js} +23 -23
  173. package/dist/chunks/{credential-1zr6mbgk.js → location-services-m3awrey6.js} +11 -11
  174. package/dist/chunks/{credential-mxag24mj.js → location-services-m7c14yt9.js} +46 -46
  175. package/dist/chunks/{credential-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{credential-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  177. package/dist/chunks/{credential-sjyepcmd.js → location-services-mctm3cx2.js} +5 -5
  178. package/dist/chunks/{credential-9ht0s32k.js → location-services-mg6xpf0r.js} +28 -28
  179. package/dist/chunks/{credential-t2fc4mz5.js → location-services-mtq6xxnx.js} +7 -7
  180. package/dist/chunks/{credential-q66y2r74.js → location-services-n306y6p7.js} +29 -29
  181. package/dist/chunks/{credential-6gasy1mn.js → location-services-n4e0gck4.js} +8 -8
  182. package/dist/chunks/{credential-e80seqcp.js → location-services-nma959mg.js} +3 -3
  183. package/dist/chunks/{credential-t4hrrcp4.js → location-services-npv8gbcr.js} +36 -36
  184. package/dist/chunks/{credential-h13qe09z.js → location-services-ntk6zd40.js} +4 -4
  185. package/dist/chunks/{credential-c2sed5cq.js → location-services-nvxqht09.js} +3 -3
  186. package/dist/chunks/{credential-6gzyn8h5.js → location-services-pew1wbm6.js} +9 -9
  187. package/dist/chunks/{credential-dj68pnee.js → location-services-ph842b28.js} +4 -4
  188. package/dist/chunks/{credential-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{credential-pknna89w.js → location-services-pknna89w.js} +1 -1
  190. package/dist/chunks/{credential-dbqdnwbh.js → location-services-ppnrbg7s.js} +11 -11
  191. package/dist/chunks/{credential-xa2wshx1.js → location-services-ppwx06gp.js} +20 -20
  192. package/dist/chunks/{credential-7f8046wn.js → location-services-q0g54yjn.js} +89 -89
  193. package/dist/chunks/{credential-nhv7p5wt.js → location-services-q1qecwxv.js} +11 -11
  194. package/dist/chunks/{credential-xncbfwxk.js → location-services-q3mk2dcw.js} +16 -16
  195. package/dist/chunks/{credential-4fnxzqcp.js → location-services-qeaed4rb.js} +10 -10
  196. package/dist/chunks/{credential-1j52r7da.js → location-services-qjg4je6d.js} +11 -11
  197. package/dist/chunks/{credential-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  198. package/dist/chunks/{credential-b674v2dg.js → location-services-qne3fa44.js} +5 -5
  199. package/dist/chunks/{credential-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  200. package/dist/chunks/{credential-qxmaq0sm.js → location-services-qvb3nf84.js} +8 -8
  201. package/dist/chunks/{credential-0dwp6g5k.js → location-services-r6ntqdat.js} +15 -15
  202. package/dist/chunks/{credential-54ma36ye.js → location-services-r94pvvab.js} +4 -4
  203. package/dist/chunks/{credential-bacj9t34.js → location-services-ra67jj04.js} +9 -9
  204. package/dist/chunks/{credential-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{credential-rert0e01.js → location-services-rert0e01.js} +2 -2
  206. package/dist/chunks/{credential-rj3eygr5.js → location-services-rj3eygr5.js} +2 -2
  207. package/dist/chunks/{credential-py3kkmfq.js → location-services-rkprpv83.js} +2 -2
  208. package/dist/chunks/{credential-pnfekgft.js → location-services-rzfqcm6c.js} +11 -11
  209. package/dist/chunks/{credential-my3a7ft8.js → location-services-s1mwhzrx.js} +7 -7
  210. package/dist/chunks/{credential-j7k70mt1.js → location-services-s3197e3j.js} +18 -18
  211. package/dist/chunks/{credential-sky29pjs.js → location-services-s4f49p0s.js} +3 -3
  212. package/dist/chunks/{credential-vcmdfh1f.js → location-services-s6cjjfc4.js} +13 -13
  213. package/dist/chunks/{credential-g0gbxkwa.js → location-services-s9sfj19z.js} +15 -15
  214. package/dist/chunks/{credential-sa8ekw3f.js → location-services-sa8ekw3f.js} +2 -2
  215. package/dist/chunks/{credential-k3bh1kct.js → location-services-sea3ty2w.js} +8 -8
  216. package/dist/chunks/{credential-0mjpgxaj.js → location-services-sf4bsm1d.js} +89 -89
  217. package/dist/chunks/{credential-rfg45hmd.js → location-services-sg05dgk5.js} +18 -18
  218. package/dist/chunks/{credential-txp0qwjb.js → location-services-snkznpnb.js} +17 -17
  219. package/dist/chunks/{credential-n45znrv4.js → location-services-stk88hg0.js} +41 -41
  220. package/dist/chunks/{credential-syv4x271.js → location-services-syv4x271.js} +1 -1
  221. package/dist/chunks/{credential-91wv4xtc.js → location-services-syx2fw03.js} +3 -3
  222. package/dist/chunks/{credential-raby7m75.js → location-services-t0j71e47.js} +5 -5
  223. package/dist/chunks/{credential-6gjk1srs.js → location-services-t2wzjc4q.js} +17 -17
  224. package/dist/chunks/{credential-rhjbct0v.js → location-services-t550f9t1.js} +4 -4
  225. package/dist/chunks/{credential-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  226. package/dist/chunks/{credential-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  227. package/dist/chunks/{credential-ab9cbtvh.js → location-services-tckyrjpr.js} +27 -27
  228. package/dist/chunks/{credential-tdstcens.js → location-services-tdstcens.js} +1 -1
  229. package/dist/chunks/{credential-ndgw0f3v.js → location-services-tf8ptcfp.js} +23 -23
  230. package/dist/chunks/{credential-rh0kfk84.js → location-services-tf9w7cc4.js} +26 -26
  231. package/dist/chunks/{credential-6rtzx4km.js → location-services-tgz9kpfd.js} +19 -19
  232. package/dist/chunks/{credential-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{credential-s3rnyz5s.js → location-services-tmp094y9.js} +32 -32
  234. package/dist/chunks/{credential-k5qw4hft.js → location-services-trya7axm.js} +5 -5
  235. package/dist/chunks/{credential-vsnex79p.js → location-services-tw6chp79.js} +25 -25
  236. package/dist/chunks/{credential-v4k5v7h4.js → location-services-twezr0mm.js} +14 -14
  237. package/dist/chunks/{credential-tyytaxap.js → location-services-tyytaxap.js} +1 -1
  238. package/dist/chunks/{credential-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{credential-2ekmzeb3.js → location-services-v47csb3d.js} +24 -24
  240. package/dist/chunks/{credential-z9nwtdma.js → location-services-v72k71c1.js} +16 -16
  241. package/dist/chunks/{credential-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{credential-1sgf0ss5.js → location-services-vd45c9sq.js} +14 -14
  243. package/dist/chunks/{credential-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  244. package/dist/chunks/{credential-8s3zmv7m.js → location-services-vfr0kypj.js} +48 -48
  245. package/dist/chunks/{credential-zy0xyg00.js → location-services-vtvbcqc4.js} +31 -31
  246. package/dist/chunks/{credential-1gfgk62c.js → location-services-vwhbe72t.js} +8 -8
  247. package/dist/chunks/{credential-gepknegz.js → location-services-vx1y955m.js} +32 -32
  248. package/dist/chunks/{credential-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{credential-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{credential-scxftpbw.js → location-services-w9e5drq7.js} +13 -13
  251. package/dist/chunks/{credential-yw0h1yf7.js → location-services-wby3r2te.js} +11 -11
  252. package/dist/chunks/{credential-wd87259q.js → location-services-wd87259q.js} +1 -1
  253. package/dist/chunks/{credential-czvs99ad.js → location-services-wqqy3mvy.js} +11 -11
  254. package/dist/chunks/{credential-zbgekxe2.js → location-services-x3wbe70s.js} +4 -4
  255. package/dist/chunks/{credential-jfnkvmfm.js → location-services-x4sx43e2.js} +7 -7
  256. package/dist/chunks/{credential-37sfe3bm.js → location-services-x5h44zm2.js} +11 -11
  257. package/dist/chunks/{credential-ncvmk5m4.js → location-services-x8y695va.js} +11 -11
  258. package/dist/chunks/{credential-y0tnb4b3.js → location-services-xb1mmqz8.js} +10 -10
  259. package/dist/chunks/{credential-45vsmz9h.js → location-services-xdstf3nv.js} +9 -9
  260. package/dist/chunks/{credential-567qzpgd.js → location-services-xqtf9pe1.js} +18 -18
  261. package/dist/chunks/{credential-m0ghcn19.js → location-services-xt6z0133.js} +17 -17
  262. package/dist/chunks/{credential-q9qhhjv2.js → location-services-xwk1chxv.js} +29 -29
  263. package/dist/chunks/{credential-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{credential-1gs191g7.js → location-services-y3p5qm6e.js} +5 -5
  265. package/dist/chunks/{credential-14d1mxc2.js → location-services-yajr5kvv.js} +34 -34
  266. package/dist/chunks/{credential-rpjwtdbq.js → location-services-yarctvhd.js} +45 -45
  267. package/dist/chunks/{credential-0k7vzhf9.js → location-services-ykj822me.js} +46 -46
  268. package/dist/chunks/{credential-dys7k0s0.js → location-services-ynmknp8q.js} +11 -11
  269. package/dist/chunks/{credential-1acjjqhc.js → location-services-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{credential-c9rae3wa.js → location-services-ytf73cw3.js} +11 -11
  271. package/dist/chunks/{credential-r2cwyjsv.js → location-services-ytj3bpmw.js} +16 -16
  272. package/dist/chunks/{credential-5rx060kx.js → location-services-yxehspbx.js} +10 -10
  273. package/dist/chunks/{credential-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{credential-wez5dshc.js → location-services-z12nrmke.js} +14 -14
  275. package/dist/chunks/location-services-z4zjpn5f.js +513 -0
  276. package/dist/chunks/{credential-pezdzhns.js → location-services-z66fjwda.js} +30 -30
  277. package/dist/chunks/{credential-8twccqt2.js → location-services-z6h35bfa.js} +16 -16
  278. package/dist/chunks/{credential-nhdt10nm.js → location-services-zc62n2gn.js} +20 -20
  279. package/dist/chunks/{credential-fvg499qq.js → location-services-ze18r45x.js} +16 -16
  280. package/dist/chunks/{credential-bqanrybh.js → location-services-ze2nn8xv.js} +25 -25
  281. package/dist/chunks/{credential-7tfd94v8.js → location-services-zpw9hhj6.js} +15 -15
  282. package/dist/chunks/{credential-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{credential-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +116 -116
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +116 -116
  313. package/dist/config/variable.js +1 -1
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +74 -74
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +366 -366
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +74 -74
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +214 -214
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +101 -101
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +8 -8
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +357 -357
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +354 -354
  464. package/dist/location.js +85 -85
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +111 -111
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +102 -102
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +329 -329
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +117 -117
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +116 -116
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +113 -113
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +122 -122
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +116 -116
  522. package/dist/plugin/provider/opencode.js +100 -100
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +125 -125
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +168 -168
  535. package/dist/plugin/sdk.js +76 -76
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +348 -348
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +114 -114
  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 +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +222 -222
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +84 -84
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +101 -101
  561. package/dist/reference/instructions.js +89 -89
  562. package/dist/reference.js +93 -93
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +97 -97
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +215 -215
  578. package/dist/session/execution.js +129 -129
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +224 -224
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +130 -130
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +205 -205
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +210 -210
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +209 -209
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +112 -112
  627. package/dist/snapshot.js +95 -95
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +128 -128
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +124 -124
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +121 -121
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +212 -212
  644. package/dist/tool/plugin/webfetch.js +112 -112
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +7 -7
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +93 -93
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +89 -89
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +100 -100
  683. package/package.json +8 -8
  684. package/dist/chunks/credential-bdft46kr.js +0 -253
  685. package/dist/chunks/credential-ep8gns01.js +0 -513
  686. package/dist/chunks/credential-n95b3jav.js +0 -18
  687. package/dist/chunks/credential-qnwcn7at.js +0 -26
  688. /package/dist/chunks/{credential-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{credential-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{credential-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{credential-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{credential-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{credential-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{credential-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{credential-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{credential-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{credential-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{credential-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{credential-3asan66x.js → location-services-3asan66x.js} +0 -0
  700. /package/dist/chunks/{credential-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{credential-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{credential-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{credential-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{credential-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{credential-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{credential-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{credential-53557ph1.js → location-services-53557ph1.js} +0 -0
  708. /package/dist/chunks/{credential-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{credential-6prwharc.js → location-services-6prwharc.js} +0 -0
  710. /package/dist/chunks/{credential-6q2bdcd1.js → location-services-6q2bdcd1.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-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{credential-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{credential-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{credential-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{credential-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{credential-9rqn6x4v.js → location-services-9rqn6x4v.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-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{credential-g86h250q.js → location-services-g86h250q.js} +0 -0
  746. /package/dist/chunks/{credential-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{credential-gftt206x.js → location-services-gftt206x.js} +0 -0
  748. /package/dist/chunks/{credential-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{credential-hk9envan.js → location-services-hk9envan.js} +0 -0
  750. /package/dist/chunks/{credential-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{credential-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{credential-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{credential-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{credential-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{credential-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-m18g726c.js → location-services-m18g726c.js} +0 -0
  758. /package/dist/chunks/{credential-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{credential-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{credential-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{credential-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{credential-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{credential-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{credential-pyv0edze.js → location-services-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{credential-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{credential-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{credential-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{credential-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{credential-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{credential-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{credential-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{credential-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{credential-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{credential-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{credential-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{credential-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{credential-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{credential-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{credential-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{credential-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{credential-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{credential-x61499pn.js → location-services-x61499pn.js} +0 -0
  783. /package/dist/chunks/{credential-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{credential-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{credential-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{credential-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{credential-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{credential-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service85,
3
- node89
4
- } from "./credential-trex24va.js";
3
+ node88
4
+ } from "./location-services-dpvvrdx3.js";
5
5
  import {
6
6
  Service84,
7
- node88
8
- } from "./credential-k9beb6wv.js";
7
+ node87
8
+ } from "./location-services-a4tbexpm.js";
9
9
  import {
10
- Service57,
11
- node59
12
- } from "./credential-cp1qs8w2.js";
10
+ Service51,
11
+ node54
12
+ } from "./location-services-2kym22yv.js";
13
13
  import {
14
- Service49,
15
- node51
16
- } from "./credential-c8bydgjz.js";
14
+ Service50,
15
+ node53
16
+ } from "./location-services-hq8zt1th.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
- Service46
26
- } from "./credential-dhmh7aw6.js";
25
+ Service47
26
+ } from "./location-services-embw8kgh.js";
27
27
  import {
28
- Service64,
29
- node66
30
- } from "./credential-fkcghbkc.js";
28
+ Service55,
29
+ node58
30
+ } from "./location-services-7f1f8kt8.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./credential-nr6ymt8h.js";
33
+ } from "./location-services-eknn5gcm.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./credential-3r88wvpr.js";
36
+ } from "./location-services-e7gvftdw.js";
37
37
  import {
38
38
  __export
39
- } from "./credential-9rqn6x4v.js";
39
+ } from "./location-services-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service45,
44
+ Service: () => Service46,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer19,
47
- node: () => node48,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer18,
47
+ node: () => node50,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service45 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer19 = Layer.effect(Service45, Effect.gen(function* () {
63
- const store = yield* Service64;
64
- const instances = yield* Service49;
62
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
63
+ const store = yield* Service55;
64
+ const instances = yield* Service50;
65
65
  const bus = yield* Service84;
66
- const jobs = yield* Service57;
66
+ const jobs = yield* Service51;
67
67
  const db = (yield* Service85).db;
68
68
  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);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service46.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 }))));
79
+ const result = yield* Service47.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 }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make17({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service45.of({
107
+ return Service46.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer19 = Layer.effect(Service45, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node48 = makeGlobalNode({
127
- service: Service45,
128
- layer: layer19,
129
- deps: [node66, node51, node88, node89, node59]
126
+ var node50 = makeGlobalNode({
127
+ service: Service46,
128
+ layer: layer18,
129
+ deps: [node58, node53, node87, node88, node54]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service45, Service45.of({
131
+ var noopLayer2 = Layer.succeed(Service46, Service46.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service45, Service45.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service45, terminal2, layer19, node48, noopLayer3, exports_execution };
140
+ export { Service46, terminal2, layer18, node50, noopLayer2, exports_execution };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./credential-z5v4ffb3.js";
4
+ } from "./location-services-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service83,
9
- node87
10
- } from "./credential-k3bh1kct.js";
9
+ node86
10
+ } from "./location-services-sea3ty2w.js";
11
11
  import {
12
12
  Service81,
13
- node85
14
- } from "./credential-raf8x87w.js";
13
+ node84
14
+ } from "./location-services-59te2vk4.js";
15
15
  import {
16
16
  create3
17
- } from "./credential-rdw6cm16.js";
17
+ } from "./location-services-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./credential-9rqn6x4v.js";
20
+ } from "./location-services-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service44,
25
+ Error: () => Error4,
26
+ ID: () => ID16,
27
+ Service: () => Service76,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
30
- noopLayer: () => noopLayer2
29
+ node: () => node79,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, 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 ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID16 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 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 Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service76 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
51
  const global = yield* Global.Service;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, 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 Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ 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)));
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
72
72
  const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  if (!FSUtil.contains(worktree, location.directory))
75
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
75
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
76
  return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
77
77
  });
78
78
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID5.make(tree);
99
+ return ID16.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
136
136
  for (const [file, snapshot] of input.files) {
137
137
  const absolute = path.resolve(worktree, file);
138
138
  if (!FSUtil.contains(worktree, absolute))
139
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
139
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
140
140
  files.set(file, TreeID2.make(snapshot));
141
141
  }
142
142
  return files;
143
143
  });
144
144
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
145
145
  if (!enabled())
146
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
146
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service76.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node47 = makeLocationNode({
153
- service: Service44,
152
+ var node79 = makeLocationNode({
153
+ service: Service76,
154
154
  layer,
155
- deps: [FSUtil.node, node87, Global.node, node85]
155
+ deps: [FSUtil.node, node86, Global.node, node84]
156
156
  });
157
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
157
+ var noopLayer3 = Layer.succeed(Service76, Service76.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
163
163
  restore: () => Effect.void
164
164
  }));
165
165
  function failure(operation, cause) {
166
- if (cause instanceof Error3 && cause.operation === operation)
166
+ if (cause instanceof Error4 && cause.operation === operation)
167
167
  return cause;
168
- return new Error3({
168
+ return new Error4({
169
169
  operation,
170
170
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
171
171
  cause
172
172
  });
173
173
  }
174
174
 
175
- export { ID5, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
175
+ export { ID16, Error4, Service76, node79, noopLayer3, exports_snapshot2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./credential-gd4qta3r.js";
3
+ } from "./location-services-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./credential-rdw6cm16.js";
6
+ } from "./location-services-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service72,
18
+ Service: () => Service75,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node75
21
+ node: () => node78
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service72 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service75 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service72.of({
119
+ return Service75.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node75 = makeLocationNode({
137
- service: Service72,
136
+ var node78 = makeLocationNode({
137
+ service: Service75,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service72, node75, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service75, node78, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service84
3
- } from "./credential-k9beb6wv.js";
3
+ } from "./location-services-a4tbexpm.js";
4
4
  import {
5
- Service76
6
- } from "./credential-czvs99ad.js";
5
+ Service70
6
+ } from "./location-services-wqqy3mvy.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./credential-rdw6cm16.js";
12
+ } from "./location-services-rdw6cm16.js";
13
13
  import {
14
- Service39,
14
+ Service34,
15
15
  awaitActivation2
16
- } from "./credential-n95b3jav.js";
16
+ } from "./location-services-by5v678g.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./credential-e41w5jk2.js";
21
+ } from "./location-services-htvyff0e.js";
22
22
  import {
23
23
  __export
24
- } from "./credential-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event3,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event5,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service39,
33
+ Service: () => Service34,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node22
37
+ node: () => node25
38
38
  });
39
- import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service39, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
44
44
  const bus = yield* Service84;
45
- const kv = yield* Service76;
45
+ const kv = yield* Service70;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service39.of({
208
+ return Service34.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node22 = Node.makeLocationNode({
226
- service: Service39,
225
+ var node25 = Node.makeLocationNode({
226
+ service: Service34,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node22, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
231
+ export { node25, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service55
3
- } from "./credential-mq99xv2c.js";
2
+ Service67
3
+ } from "./location-services-bfksx8rf.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./credential-z5v4ffb3.js";
6
+ } from "./location-services-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./credential-raf8x87w.js";
9
+ } from "./location-services-59te2vk4.js";
10
10
  import {
11
- Service54
12
- } from "./credential-kkd5n1wb.js";
11
+ Service66
12
+ } from "./location-services-jyyk6gde.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./credential-995t9yvb.js";
16
+ Source4
17
+ } from "./location-services-c49rsx5q.js";
18
18
  import {
19
- Service12
20
- } from "./credential-bacj9t34.js";
19
+ Service8
20
+ } from "./location-services-ra67jj04.js";
21
21
  import {
22
22
  parse2
23
- } from "./credential-twzm0fh1.js";
23
+ } from "./location-services-e59hp8e0.js";
24
24
  import {
25
25
  __export
26
- } from "./credential-9rqn6x4v.js";
26
+ } from "./location-services-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin39
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin35
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 Plugin39 = define({
39
+ var Plugin35 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service54;
43
- const discovery = yield* Service12;
42
+ const config = yield* Service66;
43
+ const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service81;
47
- const watcher = yield* Service55;
47
+ const watcher = yield* Service67;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin39 = 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 Plugin39 = 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 Plugin39 = 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 Plugin39 = 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 Plugin39 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin39, exports_skill3 };
179
+ export { Plugin35, exports_skill2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./credential-pe6c81vb.js";
3
+ } from "./location-services-14zmt7av.js";
4
4
  import {
5
- ID14,
5
+ ID13,
6
6
  MethodID2
7
- } from "./credential-ab9cbtvh.js";
7
+ } from "./location-services-tckyrjpr.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./credential-pjvnvgmy.js";
11
+ } from "./location-services-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID13.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service60,
3
- node62,
2
+ Service64,
3
+ node67,
4
4
  canonical3
5
- } from "./credential-kpjne5yp.js";
5
+ } from "./location-services-gfx22yfa.js";
6
6
  import {
7
- Service49,
8
- node51
9
- } from "./credential-c8bydgjz.js";
7
+ Service50,
8
+ node53
9
+ } from "./location-services-hq8zt1th.js";
10
10
  import {
11
- Service26
12
- } from "./credential-hnyywhnh.js";
11
+ Service22
12
+ } from "./location-services-50phh09z.js";
13
13
  import {
14
14
  layer2
15
- } from "./credential-bdft46kr.js";
15
+ } from "./location-services-d19ht2gs.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service60, Effect.gen(function* () {
20
+ return Layer.effect(Service64, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service26);
30
+ const lifecycle = Context.get(exit.value, Service22);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node51.replace(Layer.succeed(Service49, {
57
+ node53.replace(Layer.succeed(Service50, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node62.replace(Layer.succeed(Service60, map))
61
+ node67.replace(Layer.succeed(Service64, map))
62
62
  ];
63
63
  return map;
64
64
  }));