@opencode/core 0.0.0-dev-20967 → 0.0.0-dev-20968

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 (789) 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/{agent-ndzpxf5d.js → location-service-map-04ttag0w.js} +32 -32
  8. package/dist/chunks/{agent-a57r0kz2.js → location-service-map-05hkmm44.js} +12 -12
  9. package/dist/chunks/{agent-fedffhe2.js → location-service-map-07w9enf1.js} +14 -14
  10. package/dist/chunks/{agent-ejzsq301.js → location-service-map-0a3bg0j5.js} +32 -32
  11. package/dist/chunks/{agent-hqhp0zxs.js → location-service-map-0b5g1ynf.js} +4 -4
  12. package/dist/chunks/{agent-n47fwd3f.js → location-service-map-0bztnv55.js} +18 -18
  13. package/dist/chunks/{agent-agsg9aqy.js → location-service-map-0fzbfnq7.js} +16 -16
  14. package/dist/chunks/{agent-xztn33cf.js → location-service-map-0hw4dk4w.js} +1 -1
  15. package/dist/chunks/{agent-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
  16. package/dist/chunks/{agent-2mnwjzbq.js → location-service-map-0pj15cwb.js} +42 -42
  17. package/dist/chunks/{agent-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{agent-z841tj5z.js → location-service-map-0ycdfwp1.js} +11 -11
  19. package/dist/chunks/{agent-kdm1wyhj.js → location-service-map-112anbc5.js} +20 -20
  20. package/dist/chunks/{agent-w8htg8v3.js → location-service-map-17t4d4av.js} +17 -17
  21. package/dist/chunks/{agent-796e0hcr.js → location-service-map-189fjxnc.js} +25 -25
  22. package/dist/chunks/{agent-z3jjyfsa.js → location-service-map-190mk5vc.js} +13 -13
  23. package/dist/chunks/{agent-ap35jyd0.js → location-service-map-1bz87fsm.js} +13 -13
  24. package/dist/chunks/location-service-map-1g906he0.js +26 -0
  25. package/dist/chunks/{agent-dx0v7867.js → location-service-map-1hyeesvh.js} +22 -22
  26. package/dist/chunks/{agent-txm3e8qz.js → location-service-map-1j6m29mr.js} +9 -9
  27. package/dist/chunks/{agent-vjsjzb07.js → location-service-map-1krj7acz.js} +49 -49
  28. package/dist/chunks/{agent-0tx2rcqt.js → location-service-map-1xjc3krj.js} +5 -5
  29. package/dist/chunks/{agent-fg3zfvg2.js → location-service-map-285qnyny.js} +16 -16
  30. package/dist/chunks/{agent-hb3xq6qf.js → location-service-map-2gw07b48.js} +9 -9
  31. package/dist/chunks/{agent-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
  32. package/dist/chunks/{agent-en47egvd.js → location-service-map-38x8v0tv.js} +28 -28
  33. package/dist/chunks/{agent-kecqjjhm.js → location-service-map-3b16v5tt.js} +5 -5
  34. package/dist/chunks/{agent-85zx94yt.js → location-service-map-3dq15cxk.js} +14 -14
  35. package/dist/chunks/{agent-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{agent-s9xxcfn6.js → location-service-map-3fgtv7ze.js} +22 -22
  37. package/dist/chunks/{agent-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{agent-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{agent-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{agent-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{agent-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{agent-180ns14n.js → location-service-map-453vx0dg.js} +34 -34
  43. package/dist/chunks/{agent-f32g4658.js → location-service-map-4c3ndrn6.js} +3 -3
  44. package/dist/chunks/{agent-txnezeta.js → location-service-map-4pn1xf0p.js} +23 -23
  45. package/dist/chunks/{agent-gbsmeqc4.js → location-service-map-4sqgwhvg.js} +17 -17
  46. package/dist/chunks/{agent-8wbxkt1z.js → location-service-map-4v7ngy20.js} +4 -4
  47. package/dist/chunks/{agent-yrcj3v3g.js → location-service-map-4z58m4b4.js} +4 -4
  48. package/dist/chunks/{agent-sxzvkvgj.js → location-service-map-51f5btjf.js} +6 -6
  49. package/dist/chunks/{agent-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  50. package/dist/chunks/{agent-hpf5e1pv.js → location-service-map-5cs9fw4j.js} +20 -20
  51. package/dist/chunks/{agent-gh8hfe7d.js → location-service-map-5e6vztpv.js} +18 -18
  52. package/dist/chunks/{agent-jt5tbdk1.js → location-service-map-5jvy51wy.js} +1 -1
  53. package/dist/chunks/{agent-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{agent-23w5gghw.js → location-service-map-5pyvwtgy.js} +18 -18
  55. package/dist/chunks/{agent-9rer32p9.js → location-service-map-605e1jbp.js} +8 -8
  56. package/dist/chunks/{agent-m1ej6awc.js → location-service-map-61qtfb41.js} +17 -17
  57. package/dist/chunks/{agent-swhagcwe.js → location-service-map-69jqfsnf.js} +13 -13
  58. package/dist/chunks/{agent-n98t1xmn.js → location-service-map-6bkr64fg.js} +6 -6
  59. package/dist/chunks/{agent-6dkb2293.js → location-service-map-6c5stfwb.js} +3 -3
  60. package/dist/chunks/{agent-jk540des.js → location-service-map-6g107h22.js} +2 -2
  61. package/dist/chunks/{agent-r9w3djhf.js → location-service-map-6hjx5zpb.js} +2 -2
  62. package/dist/chunks/{agent-j5s6pzyj.js → location-service-map-6kpyj4fb.js} +11 -11
  63. package/dist/chunks/{agent-8dpt1mes.js → location-service-map-6mdwj01c.js} +11 -11
  64. package/dist/chunks/{agent-p3gs223r.js → location-service-map-6npkjnc9.js} +16 -16
  65. package/dist/chunks/{agent-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{agent-s1y6cy45.js → location-service-map-6xc75jjq.js} +37 -37
  67. package/dist/chunks/{agent-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  68. package/dist/chunks/{agent-maq6rst1.js → location-service-map-79rgchyy.js} +25 -25
  69. package/dist/chunks/{agent-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  70. package/dist/chunks/location-service-map-7fj5dwt0.js +18 -0
  71. package/dist/chunks/{agent-79rtasgx.js → location-service-map-7hff53af.js} +9 -9
  72. package/dist/chunks/{agent-bckd7sn2.js → location-service-map-7mp49jye.js} +27 -27
  73. package/dist/chunks/{agent-84txncab.js → location-service-map-84txncab.js} +1 -1
  74. package/dist/chunks/{agent-b2awc4se.js → location-service-map-88jjz5re.js} +17 -17
  75. package/dist/chunks/{agent-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
  76. package/dist/chunks/{agent-mqrg35xz.js → location-service-map-8cxvr4t8.js} +48 -48
  77. package/dist/chunks/{agent-4vfrwfxm.js → location-service-map-8czxvfjx.js} +29 -29
  78. package/dist/chunks/{agent-s0xj90rb.js → location-service-map-8kzy7b3z.js} +12 -12
  79. package/dist/chunks/{agent-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{agent-8j1pwav1.js → location-service-map-8sqat94k.js} +34 -34
  81. package/dist/chunks/{agent-rkprpv83.js → location-service-map-8sze2n9a.js} +6 -6
  82. package/dist/chunks/{agent-nas6s75n.js → location-service-map-8ykp9xbw.js} +34 -34
  83. package/dist/chunks/{agent-rshzb64a.js → location-service-map-95kyz0q3.js} +4 -4
  84. package/dist/chunks/{agent-kx705y8y.js → location-service-map-96kn8jjj.js} +7 -7
  85. package/dist/chunks/{agent-930se4a2.js → location-service-map-977pwvh6.js} +5 -5
  86. package/dist/chunks/{agent-g57505q5.js → location-service-map-9d2vkprr.js} +7 -7
  87. package/dist/chunks/{agent-vgsgsp1h.js → location-service-map-9h357zpk.js} +39 -39
  88. package/dist/chunks/{agent-5yzzbxa7.js → location-service-map-9hn6k4tm.js} +8 -8
  89. package/dist/chunks/{agent-e26ynm9z.js → location-service-map-9tr2qfdk.js} +9 -9
  90. package/dist/chunks/{agent-4fnxzqcp.js → location-service-map-9vjjhptz.js} +9 -9
  91. package/dist/chunks/{agent-zk163zkt.js → location-service-map-9zdssp4n.js} +9 -9
  92. package/dist/chunks/{agent-qx3j1ntd.js → location-service-map-a41h3yhs.js} +33 -33
  93. package/dist/chunks/{agent-d4z6p2e9.js → location-service-map-a42kkhkg.js} +35 -35
  94. package/dist/chunks/{agent-1wsef6eh.js → location-service-map-a4hp8e9p.js} +16 -16
  95. package/dist/chunks/{agent-7yns2gfh.js → location-service-map-a62egxb3.js} +5 -5
  96. package/dist/chunks/location-service-map-asevcyq5.js +253 -0
  97. package/dist/chunks/{agent-wynzsb0k.js → location-service-map-av8cscef.js} +28 -28
  98. package/dist/chunks/{agent-1h53t7jj.js → location-service-map-ayt5007s.js} +1 -1
  99. package/dist/chunks/{agent-m5jcjszt.js → location-service-map-b1a1n7cj.js} +3 -3
  100. package/dist/chunks/{agent-b3f8fkhc.js → location-service-map-b3f8fkhc.js} +2 -2
  101. package/dist/chunks/{agent-zvdqdbwe.js → location-service-map-b7hvd3bh.js} +11 -11
  102. package/dist/chunks/{agent-x9af4wsh.js → location-service-map-b89jdn4q.js} +19 -19
  103. package/dist/chunks/{agent-5nwmaxse.js → location-service-map-bh3fdk74.js} +3 -3
  104. package/dist/chunks/{agent-mmsn9nmm.js → location-service-map-bhhmebad.js} +25 -25
  105. package/dist/chunks/{agent-80nxcd2h.js → location-service-map-bjkg2ks4.js} +24 -24
  106. package/dist/chunks/{agent-bjx1sjef.js → location-service-map-bjx1sjef.js} +2 -2
  107. package/dist/chunks/{agent-pvv3kt52.js → location-service-map-bm095xha.js} +11 -11
  108. package/dist/chunks/{agent-bv2h4xww.js → location-service-map-bpq9gadp.js} +14 -14
  109. package/dist/chunks/{agent-bgs9y14h.js → location-service-map-btec747f.js} +5 -5
  110. package/dist/chunks/{agent-es1vcfrp.js → location-service-map-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{agent-fgmp5hy9.js → location-service-map-c6nr29zh.js} +10 -10
  112. package/dist/chunks/{agent-6458qwm7.js → location-service-map-c7s5xd0e.js} +53 -53
  113. package/dist/chunks/{agent-pvshdx0y.js → location-service-map-c87q280n.js} +3 -3
  114. package/dist/chunks/{agent-ky65x1wg.js → location-service-map-cakf0m7d.js} +29 -29
  115. package/dist/chunks/{agent-gn31e51v.js → location-service-map-d04ep358.js} +11 -11
  116. package/dist/chunks/{agent-fs1nt83f.js → location-service-map-d54g0exn.js} +9 -9
  117. package/dist/chunks/{agent-n9vqf08a.js → location-service-map-dacbrmk2.js} +11 -11
  118. package/dist/chunks/{agent-5p5k132e.js → location-service-map-dkpnw212.js} +5 -5
  119. package/dist/chunks/{agent-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
  120. package/dist/chunks/{agent-2gvqmv1x.js → location-service-map-dzrvr4nb.js} +44 -44
  121. package/dist/chunks/{agent-b2kwkbq4.js → location-service-map-e2t7s5t4.js} +59 -59
  122. package/dist/chunks/{agent-7zgrsrws.js → location-service-map-e334ff5n.js} +21 -21
  123. package/dist/chunks/{agent-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{agent-nqc6nt79.js → location-service-map-eb5nwvjj.js} +32 -32
  125. package/dist/chunks/{agent-ygmj74e5.js → location-service-map-ebbyhdvc.js} +37 -37
  126. package/dist/chunks/{agent-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{agent-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{agent-fkdm2qkv.js → location-service-map-ej81gkeg.js} +11 -11
  129. package/dist/chunks/{agent-qm6xtvat.js → location-service-map-emxdjm72.js} +25 -25
  130. package/dist/chunks/{agent-je8b1457.js → location-service-map-erts2f6e.js} +13 -13
  131. package/dist/chunks/{agent-j7tg2zvf.js → location-service-map-ewf8j77t.js} +11 -11
  132. package/dist/chunks/{agent-fekzr37r.js → location-service-map-exs4tskk.js} +44 -44
  133. package/dist/chunks/{agent-xy5artkv.js → location-service-map-f50nbvzh.js} +47 -47
  134. package/dist/chunks/{agent-2x91x8py.js → location-service-map-fkhvp8gb.js} +23 -23
  135. package/dist/chunks/{agent-hq3c8me3.js → location-service-map-fxaymqdw.js} +4 -4
  136. package/dist/chunks/{agent-je2tex47.js → location-service-map-g0xzmjr0.js} +24 -24
  137. package/dist/chunks/{agent-ftqg6eaw.js → location-service-map-gabsh7yw.js} +13 -13
  138. package/dist/chunks/{agent-pnzf6mjf.js → location-service-map-gd0tnyjc.js} +1 -1
  139. package/dist/chunks/{agent-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{agent-x4z7rv0g.js → location-service-map-gk6ab8mf.js} +15 -15
  141. package/dist/chunks/{agent-w6jg7vpf.js → location-service-map-gv2dj64n.js} +5 -5
  142. package/dist/chunks/{agent-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{agent-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{agent-1pxz8ven.js → location-service-map-h83xjv7f.js} +5 -5
  145. package/dist/chunks/{agent-jdvv509r.js → location-service-map-h8rphgn6.js} +4 -4
  146. package/dist/chunks/{agent-x5h44zm2.js → location-service-map-h9mky73t.js} +7 -7
  147. package/dist/chunks/{agent-0w62qmxp.js → location-service-map-had4kgfk.js} +6 -6
  148. package/dist/chunks/{agent-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  149. package/dist/chunks/{agent-ng3918dk.js → location-service-map-hhyv66vq.js} +8 -8
  150. package/dist/chunks/{agent-6q2cgkqa.js → location-service-map-hmdrvyfh.js} +72 -72
  151. package/dist/chunks/{agent-d1g60r3j.js → location-service-map-hsvqr7g3.js} +35 -35
  152. package/dist/chunks/{agent-p9ygtxzj.js → location-service-map-hxtckxf3.js} +36 -36
  153. package/dist/chunks/{agent-tv87x6sc.js → location-service-map-hzp768xy.js} +6 -6
  154. package/dist/chunks/{agent-91qna3x0.js → location-service-map-j09zfasm.js} +3 -3
  155. package/dist/chunks/{agent-s7m34cvg.js → location-service-map-j5chjq9f.js} +11 -11
  156. package/dist/chunks/{agent-k9vctcmz.js → location-service-map-j8ssv6es.js} +11 -11
  157. package/dist/chunks/{agent-8zsb3mb5.js → location-service-map-j947zhwf.js} +11 -11
  158. package/dist/chunks/{agent-ajgp1yf6.js → location-service-map-jeewe651.js} +4 -4
  159. package/dist/chunks/{agent-4yzy4pya.js → location-service-map-jpaf2qm1.js} +45 -45
  160. package/dist/chunks/{agent-6w81mfcv.js → location-service-map-jrzj45fy.js} +12 -12
  161. package/dist/chunks/{agent-06x8he3q.js → location-service-map-jvf3yq6v.js} +4 -4
  162. package/dist/chunks/{agent-22sd1qqc.js → location-service-map-jvnghvnw.js} +8 -8
  163. package/dist/chunks/{agent-gbc8mqyx.js → location-service-map-jxr5ks98.js} +6 -6
  164. package/dist/chunks/{agent-m7n954ym.js → location-service-map-k4xdy46r.js} +26 -26
  165. package/dist/chunks/{agent-762tx1s9.js → location-service-map-k6709ays.js} +19 -19
  166. package/dist/chunks/{agent-h9d1fc2y.js → location-service-map-kcdapykd.js} +6 -6
  167. package/dist/chunks/{agent-d4eaz24s.js → location-service-map-kdxh9szv.js} +11 -11
  168. package/dist/chunks/{agent-g0g0hspt.js → location-service-map-kp5we7ps.js} +26 -26
  169. package/dist/chunks/{agent-v0xmac3n.js → location-service-map-ktgr00t7.js} +2 -2
  170. package/dist/chunks/{agent-n8y364wa.js → location-service-map-kwqk5vnc.js} +22 -22
  171. package/dist/chunks/{agent-98xjsagk.js → location-service-map-kww7pfa5.js} +9 -9
  172. package/dist/chunks/{agent-2xnadmta.js → location-service-map-kxssyy3x.js} +32 -32
  173. package/dist/chunks/{agent-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{agent-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  175. package/dist/chunks/{agent-6ps2rfac.js → location-service-map-mdmc61fe.js} +4 -4
  176. package/dist/chunks/{agent-fqp62crg.js → location-service-map-mgjjdy5b.js} +10 -10
  177. package/dist/chunks/{agent-qbcjqvkm.js → location-service-map-mh8n60fa.js} +53 -53
  178. package/dist/chunks/{agent-5fc1p0g9.js → location-service-map-mpw5hxye.js} +19 -19
  179. package/dist/chunks/{agent-k00hq61p.js → location-service-map-mt6brxxc.js} +4 -4
  180. package/dist/chunks/{agent-7312p45z.js → location-service-map-najnejyn.js} +21 -21
  181. package/dist/chunks/{agent-pv49kqqp.js → location-service-map-nc1ev885.js} +91 -91
  182. package/dist/chunks/{agent-dz30mbn2.js → location-service-map-ncp1h5wm.js} +4 -4
  183. package/dist/chunks/{agent-r2z489rp.js → location-service-map-nma959mg.js} +3 -3
  184. package/dist/chunks/{agent-8pp8jf47.js → location-service-map-npgv39fj.js} +2 -2
  185. package/dist/chunks/{agent-hjd09z3h.js → location-service-map-nqsv03v6.js} +80 -80
  186. package/dist/chunks/{agent-d4fz9c6m.js → location-service-map-pck7vvdx.js} +8 -8
  187. package/dist/chunks/{agent-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{agent-1s48y8yj.js → location-service-map-pjykpq9n.js} +40 -40
  189. package/dist/chunks/{agent-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  190. package/dist/chunks/{agent-sdnsagax.js → location-service-map-q4aap459.js} +28 -28
  191. package/dist/chunks/{agent-1yrss14f.js → location-service-map-q85n4xbh.js} +9 -9
  192. package/dist/chunks/{agent-sxz7zm75.js → location-service-map-qavnhd3j.js} +36 -36
  193. package/dist/chunks/{agent-fx8q68yx.js → location-service-map-qb7q1f1d.js} +18 -18
  194. package/dist/chunks/{agent-vqpsfxv1.js → location-service-map-qce5rqyv.js} +31 -31
  195. package/dist/chunks/{agent-p5sfywmf.js → location-service-map-qe178b41.js} +30 -30
  196. package/dist/chunks/{agent-hwqt3mf0.js → location-service-map-qezm2w8e.js} +21 -21
  197. package/dist/chunks/{agent-1z2272r9.js → location-service-map-qgw57eb3.js} +10 -10
  198. package/dist/chunks/{agent-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{agent-9tr386xz.js → location-service-map-qrabmw5q.js} +45 -45
  200. package/dist/chunks/{agent-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  201. package/dist/chunks/{agent-pfvt33xv.js → location-service-map-qvcr5dcn.js} +19 -19
  202. package/dist/chunks/{agent-wwk1k3yf.js → location-service-map-qwf29bqw.js} +3 -3
  203. package/dist/chunks/{agent-n0r990cb.js → location-service-map-qyvjbqsg.js} +18 -18
  204. package/dist/chunks/{agent-2sejkfem.js → location-service-map-r2m716tb.js} +9 -9
  205. package/dist/chunks/{agent-b46260rf.js → location-service-map-r3yrqnb5.js} +26 -26
  206. package/dist/chunks/{agent-r70na3yp.js → location-service-map-ra67jj04.js} +5 -5
  207. package/dist/chunks/{agent-sxz6gkc3.js → location-service-map-ratrq7cm.js} +7 -7
  208. package/dist/chunks/{agent-b95g883h.js → location-service-map-raxjnfg2.js} +11 -11
  209. package/dist/chunks/{agent-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{agent-tkb22qbm.js → location-service-map-rert0e01.js} +2 -2
  211. package/dist/chunks/{agent-tnc73fh6.js → location-service-map-rfnwmvtk.js} +11 -11
  212. package/dist/chunks/{agent-kshzeqx8.js → location-service-map-rht436q7.js} +17 -17
  213. package/dist/chunks/{agent-c41wscbt.js → location-service-map-rj3eygr5.js} +2 -2
  214. package/dist/chunks/{agent-et8f4tj8.js → location-service-map-s6a94ykt.js} +50 -50
  215. package/dist/chunks/{agent-5den7fts.js → location-service-map-s90bytks.js} +15 -15
  216. package/dist/chunks/{agent-c8ax2afj.js → location-service-map-sa8ekw3f.js} +2 -2
  217. package/dist/chunks/{agent-92bt4rsk.js → location-service-map-sdk84yjp.js} +5 -5
  218. package/dist/chunks/{agent-4ts0d71h.js → location-service-map-sfz6vzg3.js} +12 -12
  219. package/dist/chunks/{agent-gyt3gf5g.js → location-service-map-st6tfvct.js} +32 -32
  220. package/dist/chunks/{agent-bkb67qdq.js → location-service-map-svcw9x3w.js} +12 -12
  221. package/dist/chunks/{agent-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  222. package/dist/chunks/{agent-9xk8zs32.js → location-service-map-t4jzmwkk.js} +7 -7
  223. package/dist/chunks/{agent-t550f9t1.js → location-service-map-t550f9t1.js} +1 -1
  224. package/dist/chunks/{agent-102ecrqc.js → location-service-map-t7n4d1yf.js} +16 -16
  225. package/dist/chunks/{agent-be7qvw84.js → location-service-map-t89fqycx.js} +8 -8
  226. package/dist/chunks/{agent-xqhm0etf.js → location-service-map-t9es0ena.js} +16 -16
  227. package/dist/chunks/{agent-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{agent-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  229. package/dist/chunks/{agent-214q8xwt.js → location-service-map-thf5141v.js} +5 -5
  230. package/dist/chunks/{agent-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  231. package/dist/chunks/{agent-q3ysppy7.js → location-service-map-trecwywa.js} +24 -24
  232. package/dist/chunks/{agent-fey4ey3t.js → location-service-map-ttbvdjdw.js} +22 -22
  233. package/dist/chunks/{agent-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  234. package/dist/chunks/{agent-tg7bkhef.js → location-service-map-v0es1rhs.js} +7 -7
  235. package/dist/chunks/location-service-map-v2exr8cw.js +513 -0
  236. package/dist/chunks/{agent-gaxmf6kv.js → location-service-map-v2fstvx9.js} +26 -26
  237. package/dist/chunks/{agent-d6b4z57v.js → location-service-map-v6tgae3y.js} +191 -191
  238. package/dist/chunks/{agent-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{agent-dmxxwj5k.js → location-service-map-vdcsbfm7.js} +4 -4
  240. package/dist/chunks/{agent-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  241. package/dist/chunks/{agent-yy6p74h0.js → location-service-map-vfd5z52g.js} +27 -27
  242. package/dist/chunks/{agent-15c4ebpx.js → location-service-map-vh4rw25j.js} +13 -13
  243. package/dist/chunks/{agent-nrync45e.js → location-service-map-vhvv9bf9.js} +22 -22
  244. package/dist/chunks/{agent-jt820sv4.js → location-service-map-vxznmwbn.js} +11 -11
  245. package/dist/chunks/{agent-d858xzj7.js → location-service-map-vycw7md4.js} +4 -4
  246. package/dist/chunks/{agent-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{agent-n7yaz7xh.js → location-service-map-w34bt5ev.js} +13 -13
  248. package/dist/chunks/{agent-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{agent-a7bcxdzj.js → location-service-map-w5rka97k.js} +9 -9
  250. package/dist/chunks/{agent-9sypp5q9.js → location-service-map-w75czvp0.js} +5 -5
  251. package/dist/chunks/{agent-6hmrvhhd.js → location-service-map-w7th8kft.js} +11 -11
  252. package/dist/chunks/{agent-ggd3cdse.js → location-service-map-w85jx7ef.js} +29 -29
  253. package/dist/chunks/{agent-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  254. package/dist/chunks/{agent-58k5txrt.js → location-service-map-whqshyfz.js} +8 -8
  255. package/dist/chunks/{agent-2ppj7n2d.js → location-service-map-wnsxc07p.js} +27 -27
  256. package/dist/chunks/{agent-t9bew3r6.js → location-service-map-wve2b6s5.js} +13 -13
  257. package/dist/chunks/{agent-003zf483.js → location-service-map-wvf4y7rr.js} +24 -24
  258. package/dist/chunks/{agent-3bsp9417.js → location-service-map-x309wg9x.js} +10 -10
  259. package/dist/chunks/{agent-hcv80w8f.js → location-service-map-x5wrmng7.js} +11 -11
  260. package/dist/chunks/{agent-x661k3y3.js → location-service-map-x661k3y3.js} +1 -1
  261. package/dist/chunks/{agent-wtmn7q1g.js → location-service-map-x852hbsc.js} +4 -4
  262. package/dist/chunks/{agent-8x632nv7.js → location-service-map-x94bbvss.js} +4 -4
  263. package/dist/chunks/{agent-7p6vy070.js → location-service-map-xdfgfet0.js} +34 -34
  264. package/dist/chunks/{agent-zk0pt4kf.js → location-service-map-xe6vm9p8.js} +17 -17
  265. package/dist/chunks/{agent-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
  266. package/dist/chunks/{agent-38885ps5.js → location-service-map-xsccak5w.js} +15 -15
  267. package/dist/chunks/{agent-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{agent-ey2qp6v7.js → location-service-map-y4a0ptp4.js} +5 -5
  269. package/dist/chunks/{agent-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
  270. package/dist/chunks/{agent-68yndbk8.js → location-service-map-yhebgegd.js} +25 -25
  271. package/dist/chunks/{agent-j9ph6mae.js → location-service-map-yjqnk9hn.js} +34 -34
  272. package/dist/chunks/{agent-sxge8dhz.js → location-service-map-ykdkqy2w.js} +24 -24
  273. package/dist/chunks/{agent-hjsbj7af.js → location-service-map-ykxyh7k6.js} +13 -13
  274. package/dist/chunks/{agent-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{agent-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{agent-th3ytxdg.js → location-service-map-z1a6nf3f.js} +16 -16
  277. package/dist/chunks/{agent-4jnevpyt.js → location-service-map-z4qs0yhw.js} +33 -33
  278. package/dist/chunks/{agent-2m5mp251.js → location-service-map-z5rnbfrr.js} +9 -9
  279. package/dist/chunks/{agent-k3bqjcjm.js → location-service-map-zcfatamc.js} +14 -14
  280. package/dist/chunks/{agent-47jkzegy.js → location-service-map-zmr78fwr.js} +5 -5
  281. package/dist/chunks/{agent-bhdhebx5.js → location-service-map-zpfqjb86.js} +20 -20
  282. package/dist/chunks/{agent-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{agent-10j0zpwz.js → location-service-map-zt28r1k4.js} +26 -26
  284. package/dist/chunks/{agent-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +87 -87
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  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 +93 -93
  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/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +1 -1
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +85 -85
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +98 -98
  476. package/dist/models-dev.js +105 -105
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  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 +92 -92
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +116 -116
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +125 -125
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +346 -346
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +2 -2
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +4 -4
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +90 -90
  558. package/dist/provider.js +97 -97
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +93 -93
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +153 -153
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +166 -166
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +4 -4
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +108 -108
  646. package/dist/tool/plugin/websearch.js +116 -116
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +16 -16
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/agent-1x11rq2a.js +0 -18
  686. package/dist/chunks/agent-3e0v5z2a.js +0 -253
  687. package/dist/chunks/agent-99m0tgr4.js +0 -513
  688. package/dist/chunks/agent-a1xb6f6n.js +0 -26
  689. /package/dist/chunks/{agent-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{agent-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{agent-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{agent-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{agent-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{agent-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{agent-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{agent-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{agent-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{agent-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{agent-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{agent-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  701. /package/dist/chunks/{agent-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{agent-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{agent-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{agent-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{agent-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{agent-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{agent-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{agent-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  709. /package/dist/chunks/{agent-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{agent-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  711. /package/dist/chunks/{agent-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{agent-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{agent-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{agent-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  715. /package/dist/chunks/{agent-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{agent-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{agent-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{agent-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{agent-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{agent-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{agent-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{agent-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{agent-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{agent-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{agent-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{agent-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{agent-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{agent-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{agent-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{agent-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{agent-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{agent-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{agent-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{agent-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  735. /package/dist/chunks/{agent-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{agent-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{agent-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{agent-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{agent-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{agent-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{agent-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{agent-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{agent-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{agent-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{agent-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{agent-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  747. /package/dist/chunks/{agent-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{agent-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  749. /package/dist/chunks/{agent-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{agent-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  751. /package/dist/chunks/{agent-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{agent-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{agent-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{agent-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{agent-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{agent-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{agent-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{agent-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  759. /package/dist/chunks/{agent-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{agent-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{agent-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{agent-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{agent-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{agent-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{agent-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{agent-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{agent-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{agent-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{agent-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{agent-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{agent-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{agent-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{agent-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{agent-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{agent-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{agent-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{agent-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{agent-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{agent-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{agent-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{agent-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{agent-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{agent-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  784. /package/dist/chunks/{agent-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{agent-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{agent-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{agent-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{agent-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{agent-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./agent-x661k3y3.js";
3
+ } from "./location-service-map-x661k3y3.js";
4
4
  import {
5
- Service82
6
- } from "./agent-102ecrqc.js";
5
+ Service84
6
+ } from "./location-service-map-t7n4d1yf.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./agent-j9ph6mae.js";
9
+ Event18
10
+ } from "./location-service-map-yjqnk9hn.js";
11
11
  import {
12
- ID14,
12
+ ID13,
13
13
  MethodID2
14
- } from "./agent-80nxcd2h.js";
14
+ } from "./location-service-map-bjkg2ks4.js";
15
15
  import {
16
- ID13,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service75
20
- } from "./agent-m7n954ym.js";
19
+ Service71
20
+ } from "./location-service-map-k4xdy46r.js";
21
21
  import {
22
- ID12
23
- } from "./agent-gaxmf6kv.js";
22
+ ID11
23
+ } from "./location-service-map-v2fstvx9.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./agent-79rtasgx.js";
27
+ } from "./location-service-map-7hff53af.js";
28
28
  import {
29
29
  useragent2
30
- } from "./agent-s7m34cvg.js";
30
+ } from "./location-service-map-j5chjq9f.js";
31
31
  import {
32
- ID10
33
- } from "./agent-2ppj7n2d.js";
32
+ ID7
33
+ } from "./location-service-map-wnsxc07p.js";
34
34
  import {
35
35
  get5
36
- } from "./agent-54ma36ye.js";
36
+ } from "./location-service-map-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID14.make("github-copilot"),
68
+ integrationID: ID13.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service75;
167
- const bus = yield* Service82;
166
+ const providers = yield* Service71;
167
+ const bus = yield* Service84;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID13.githubCopilot);
183
+ const provider = yield* providers.get(ID12.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
185
  try: () => load2(url, {
186
186
  ...provider?.headers,
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID13.githubCopilot);
205
+ const item = evt.get(ID12.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
230
230
  }
231
231
  });
232
232
  yield* ctx.model.transform((models) => {
233
- if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
234
- models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
233
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
234
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
235
235
  model.enabled = false;
236
236
  });
237
237
  }
238
238
  });
239
239
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
240
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
240
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
241
  yield* refresh().pipe(Effect.forkScoped);
242
242
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
243
- if (evt.model.providerID !== ID13.githubCopilot)
243
+ if (evt.model.providerID !== ID12.githubCopilot)
244
244
  return;
245
245
  if (evt.package !== "@ai-sdk/github-copilot")
246
246
  return;
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
249
249
  evt.sdk = mod.createOpenaiCompatible(evt.options);
250
250
  }));
251
251
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
252
- if (evt.model.providerID !== ID13.githubCopilot)
252
+ if (evt.model.providerID !== ID12.githubCopilot)
253
253
  return;
254
254
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
255
255
  return;
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
259
259
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
260
260
  if (interaction !== "conversation-agent")
261
261
  evt.headers["x-initiator"] = "agent";
262
- }), { providerID: ID13.githubCopilot });
262
+ }), { providerID: ID12.githubCopilot });
263
263
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
264
- if (evt.model.providerID !== ID13.githubCopilot)
264
+ if (evt.model.providerID !== ID12.githubCopilot)
265
265
  return;
266
266
  if (!loaded.baseURL || !loaded.token || !loaded.models)
267
267
  return;
268
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
268
+ const agent = yield* ctx.agent.get({ agentID: ID7.make("title") }).pipe(Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
271
  if (agent?.data.model)
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
276
276
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
277
277
  return;
278
278
  }));
279
- }), { providerID: ID13.githubCopilot });
279
+ }), { providerID: ID12.githubCopilot });
280
280
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
281
- if (evt.model.providerID !== ID13.githubCopilot)
281
+ if (evt.model.providerID !== ID12.githubCopilot)
282
282
  return;
283
283
  const token = evt.request.headers.get("x-api-key");
284
284
  if (!token)
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
286
286
  const text = yield* Effect.promise(() => evt.request.clone().text());
287
287
  const body = Option.getOrUndefined(decodeBody(text));
288
288
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
289
- }), { providerID: ID13.githubCopilot });
289
+ }), { providerID: ID12.githubCopilot });
290
290
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
291
- if (evt.model.providerID !== ID13.githubCopilot)
291
+ if (evt.model.providerID !== ID12.githubCopilot)
292
292
  return;
293
293
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
294
294
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render3
3
- } from "./agent-drwq78ky.js";
3
+ } from "./location-service-map-xfkkasph.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -2,42 +2,42 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./agent-z5v4ffb3.js";
5
+ } from "./location-service-map-z5v4ffb3.js";
6
6
  import {
7
- Service79,
8
- node83
9
- } from "./agent-agsg9aqy.js";
7
+ Service81,
8
+ node85
9
+ } from "./location-service-map-0fzbfnq7.js";
10
10
  import {
11
- Service19,
12
- node21
13
- } from "./agent-ejzsq301.js";
11
+ Service77,
12
+ node80
13
+ } from "./location-service-map-0a3bg0j5.js";
14
14
  import {
15
15
  __export
16
- } from "./agent-9rqn6x4v.js";
16
+ } from "./location-service-map-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event3,
27
+ Event: () => Event20,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput2,
32
+ ListInput: () => ListInput5,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError3,
34
+ NotFoundError: () => NotFoundError10,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service18,
36
+ Service: () => Service76,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node20
40
+ node: () => node79
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
75
75
  return `Access denied to directory: ${this.directory}`;
76
76
  }
77
77
  }
78
- var Content2 = Schema.Struct({
78
+ var Content3 = Schema.Struct({
79
79
  uri: Schema.String,
80
80
  name: Schema.String.pipe(Schema.optional),
81
81
  content: Schema.String,
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput2 = Schema.Struct({
85
+ var ListInput5 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event3 = FileSystem.Event;
108
+ var Event20 = FileSystem.Event;
109
109
 
110
- class Service18 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service76 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service76, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service79;
115
- const search = yield* Service19;
114
+ const location = yield* Service81;
115
+ const search = yield* Service77;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError3({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError3({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError3({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError10({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service18.of({
134
+ return Service76.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError3({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError10({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError10({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node20 = makeLocationNode({
175
- service: Service18,
174
+ var node79 = makeLocationNode({
175
+ service: Service76,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node83, node21]
177
+ deps: [FSUtil.node, node85, node80]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service18, node20, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service76, node79, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./agent-8m6m0r52.js";
3
+ } from "./location-service-map-8m6m0r52.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./agent-z5v4ffb3.js";
6
+ } from "./location-service-map-z5v4ffb3.js";
7
7
  import {
8
8
  ID4,
9
9
  Name2
10
- } from "./agent-q3ysppy7.js";
10
+ } from "./location-service-map-trecwywa.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./agent-gftt206x.js";
3
+ } from "./location-service-map-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./agent-m5jcjszt.js";
6
+ } from "./location-service-map-b1a1n7cj.js";
7
7
  import {
8
8
  __export
9
- } from "./agent-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -21,7 +21,7 @@ __export(exports_error2, {
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
22
  NotFoundError: () => NotFoundError7,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
119
+ export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./agent-m7n954ym.js";
2
+ ID12
3
+ } from "./location-service-map-k4xdy46r.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./agent-6q2bdcd1.js";
6
+ } from "./location-service-map-6q2bdcd1.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID12.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./agent-775gj3j1.js";
3
+ } from "./location-service-map-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
11
  Service: () => Service37,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer16,
13
+ layer: () => layer17,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node40
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
370
  return Service37.of({ bind, close, closeAll });
371
371
  }));
372
- var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node40 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
375
+ var node41 = makeGlobalNode({ service: Service37, layer: layer17, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service37, makeLayer2, layer16, node40, exports_model_transport };
377
+ export { Service37, makeLayer2, layer17, node41, exports_model_transport };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-z5v4ffb3.js";
4
- import {
5
- Service83,
6
- node87
7
- } from "./agent-pvv3kt52.js";
8
- import {
9
- Service82,
10
- node86
11
- } from "./agent-102ecrqc.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
12
4
  import {
13
5
  Service85,
14
6
  node89
15
- } from "./agent-bkb67qdq.js";
7
+ } from "./location-service-map-bm095xha.js";
8
+ import {
9
+ Service84,
10
+ node88
11
+ } from "./location-service-map-t7n4d1yf.js";
12
+ import {
13
+ Service83,
14
+ node87
15
+ } from "./location-service-map-svcw9x3w.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info28,
19
+ Info29,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./agent-tg7bkhef.js";
23
+ } from "./location-service-map-v0es1rhs.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./agent-c41wscbt.js";
27
+ } from "./location-service-map-rj3eygr5.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./agent-c8ax2afj.js";
30
+ } from "./location-service-map-sa8ekw3f.js";
31
31
  import {
32
32
  __export
33
- } from "./agent-9rqn6x4v.js";
33
+ } from "./location-service-map-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: () => Info27,
41
- NotFoundError: () => NotFoundError10,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node86,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -59,10 +59,10 @@ import { Hash } from "@opencode/util/hash";
59
59
  var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info28 = Info29;
63
63
  var UpdateInput3 = UpdateInput4;
64
64
 
65
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
66
  projectID: ID17
67
67
  }) {
68
68
  }
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service80 extends Context.Service()("@opencode/Project") {
77
+ class Service82 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,12 +98,12 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service80, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service85;
103
+ const git = yield* Service83;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service82;
106
- const db = (yield* Service83).db;
105
+ const bus = yield* Service84;
106
+ const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
109
109
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event20.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError10({ projectID: input.projectID });
174
+ return yield* new NotFoundError11({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event20.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event20.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
190
  return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event20.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service80.of({ list, update, activate, resolve, sweep });
307
+ return Service82.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node84 = makeGlobalNode({
310
- service: Service80,
309
+ var node86 = makeGlobalNode({
310
+ service: Service82,
311
311
  layer,
312
- deps: [node86, node87, FSUtil.node, node89, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node87, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service80;
317
+ const project = yield* Service82;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node84]
320
+ deps: [node86]
321
321
  });
322
322
 
323
- export { ID17, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service80, node84, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service82, node86, sweepNode2, exports_project };