@opencode/core 0.0.0-dev-20966 → 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 +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{worktree-vb3pk5gr.js → location-service-map-04ttag0w.js} +28 -28
  8. package/dist/chunks/{worktree-hsgza3cm.js → location-service-map-05hkmm44.js} +18 -18
  9. package/dist/chunks/{worktree-xmsn35g9.js → location-service-map-07w9enf1.js} +14 -14
  10. package/dist/chunks/{worktree-9a3zed70.js → location-service-map-0a3bg0j5.js} +27 -27
  11. package/dist/chunks/{worktree-0b5g1ynf.js → location-service-map-0b5g1ynf.js} +4 -4
  12. package/dist/chunks/{worktree-63xqm307.js → location-service-map-0bztnv55.js} +15 -15
  13. package/dist/chunks/{worktree-0c8z4cs3.js → location-service-map-0fzbfnq7.js} +2 -2
  14. package/dist/chunks/{worktree-3dak6s47.js → location-service-map-0hw4dk4w.js} +1 -1
  15. package/dist/chunks/{worktree-0j77ygfz.js → location-service-map-0j77ygfz.js} +2 -2
  16. package/dist/chunks/{worktree-q28ks4kq.js → location-service-map-0pj15cwb.js} +34 -34
  17. package/dist/chunks/{worktree-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{worktree-0a99m7qb.js → location-service-map-0ycdfwp1.js} +14 -14
  19. package/dist/chunks/{worktree-eb78yqxb.js → location-service-map-112anbc5.js} +8 -8
  20. package/dist/chunks/{worktree-hex4f5x3.js → location-service-map-17t4d4av.js} +11 -11
  21. package/dist/chunks/{worktree-c7m8ew2s.js → location-service-map-189fjxnc.js} +20 -20
  22. package/dist/chunks/{worktree-cj2pe107.js → location-service-map-190mk5vc.js} +10 -10
  23. package/dist/chunks/{worktree-57676ctm.js → location-service-map-1bz87fsm.js} +13 -13
  24. package/dist/chunks/location-service-map-1g906he0.js +26 -0
  25. package/dist/chunks/{worktree-z8ads2fd.js → location-service-map-1hyeesvh.js} +16 -16
  26. package/dist/chunks/{worktree-rkg4v3e5.js → location-service-map-1j6m29mr.js} +4 -4
  27. package/dist/chunks/{worktree-9t1h6qm2.js → location-service-map-1krj7acz.js} +40 -40
  28. package/dist/chunks/{worktree-v9erzek1.js → location-service-map-1xjc3krj.js} +5 -5
  29. package/dist/chunks/{worktree-8e27w5a6.js → location-service-map-285qnyny.js} +16 -16
  30. package/dist/chunks/{worktree-15xqyjtq.js → location-service-map-2gw07b48.js} +10 -10
  31. package/dist/chunks/{worktree-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
  32. package/dist/chunks/{worktree-e6p3a57j.js → location-service-map-38x8v0tv.js} +24 -24
  33. package/dist/chunks/{worktree-k1n0z3hy.js → location-service-map-3b16v5tt.js} +5 -5
  34. package/dist/chunks/{worktree-xeyk6e5c.js → location-service-map-3dq15cxk.js} +13 -13
  35. package/dist/chunks/{worktree-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{worktree-2mmjvpe1.js → location-service-map-3fgtv7ze.js} +20 -20
  37. package/dist/chunks/{worktree-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{worktree-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{worktree-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{worktree-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{worktree-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{worktree-tk5h2yrb.js → location-service-map-453vx0dg.js} +32 -32
  43. package/dist/chunks/{worktree-6f79fvzy.js → location-service-map-4c3ndrn6.js} +9 -9
  44. package/dist/chunks/{worktree-cnnb9061.js → location-service-map-4pn1xf0p.js} +20 -20
  45. package/dist/chunks/{worktree-f0znm7sz.js → location-service-map-4sqgwhvg.js} +15 -15
  46. package/dist/chunks/{worktree-x3gqap9d.js → location-service-map-4v7ngy20.js} +4 -4
  47. package/dist/chunks/{worktree-5dkn69vz.js → location-service-map-4z58m4b4.js} +4 -4
  48. package/dist/chunks/{worktree-vvccsdf3.js → location-service-map-51f5btjf.js} +6 -6
  49. package/dist/chunks/{worktree-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  50. package/dist/chunks/{worktree-ewzsx78j.js → location-service-map-5cs9fw4j.js} +17 -17
  51. package/dist/chunks/{worktree-zjvj18av.js → location-service-map-5e6vztpv.js} +11 -11
  52. package/dist/chunks/{worktree-9heq1gfm.js → location-service-map-5jvy51wy.js} +1 -1
  53. package/dist/chunks/{worktree-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{worktree-8tbg6stw.js → location-service-map-5pyvwtgy.js} +15 -15
  55. package/dist/chunks/{worktree-6mgx7xe7.js → location-service-map-605e1jbp.js} +8 -8
  56. package/dist/chunks/{worktree-e2s224y0.js → location-service-map-61qtfb41.js} +20 -20
  57. package/dist/chunks/{worktree-a6avbjvq.js → location-service-map-69jqfsnf.js} +11 -11
  58. package/dist/chunks/{worktree-tp1s2539.js → location-service-map-6bkr64fg.js} +9 -9
  59. package/dist/chunks/{worktree-cmchd7hs.js → location-service-map-6c5stfwb.js} +3 -3
  60. package/dist/chunks/{worktree-6g107h22.js → location-service-map-6g107h22.js} +2 -2
  61. package/dist/chunks/{worktree-s1kvmffy.js → location-service-map-6hjx5zpb.js} +9 -9
  62. package/dist/chunks/{worktree-28b65eap.js → location-service-map-6kpyj4fb.js} +11 -11
  63. package/dist/chunks/{worktree-4w8247ap.js → location-service-map-6mdwj01c.js} +7 -7
  64. package/dist/chunks/{worktree-k368h1bw.js → location-service-map-6npkjnc9.js} +14 -14
  65. package/dist/chunks/{worktree-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  66. package/dist/chunks/{worktree-cfwkm2sy.js → location-service-map-6xc75jjq.js} +43 -43
  67. package/dist/chunks/{worktree-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  68. package/dist/chunks/{worktree-xnpybbqa.js → location-service-map-79rgchyy.js} +24 -24
  69. package/dist/chunks/{worktree-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  70. package/dist/chunks/location-service-map-7fj5dwt0.js +18 -0
  71. package/dist/chunks/{worktree-mr8m5p48.js → location-service-map-7hff53af.js} +9 -9
  72. package/dist/chunks/{worktree-x4yqgpdn.js → location-service-map-7mp49jye.js} +16 -16
  73. package/dist/chunks/{worktree-84txncab.js → location-service-map-84txncab.js} +1 -1
  74. package/dist/chunks/{worktree-k8pbnrry.js → location-service-map-88jjz5re.js} +12 -12
  75. package/dist/chunks/{worktree-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
  76. package/dist/chunks/{worktree-s4z024b2.js → location-service-map-8cxvr4t8.js} +36 -36
  77. package/dist/chunks/{worktree-ck9w7hsc.js → location-service-map-8czxvfjx.js} +29 -29
  78. package/dist/chunks/{worktree-6r3dthtv.js → location-service-map-8kzy7b3z.js} +23 -23
  79. package/dist/chunks/{worktree-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{worktree-jdks16ag.js → location-service-map-8sqat94k.js} +19 -19
  81. package/dist/chunks/{worktree-7fkffz83.js → location-service-map-8sze2n9a.js} +8 -8
  82. package/dist/chunks/{worktree-dkhangmk.js → location-service-map-8ykp9xbw.js} +31 -31
  83. package/dist/chunks/{worktree-31v8j1ma.js → location-service-map-95kyz0q3.js} +6 -6
  84. package/dist/chunks/{worktree-nq09r4dh.js → location-service-map-96kn8jjj.js} +6 -6
  85. package/dist/chunks/{worktree-zpkap1h9.js → location-service-map-977pwvh6.js} +2 -2
  86. package/dist/chunks/{worktree-1cz5vd6m.js → location-service-map-9d2vkprr.js} +11 -11
  87. package/dist/chunks/{worktree-d9bwsjmy.js → location-service-map-9h357zpk.js} +8 -8
  88. package/dist/chunks/{worktree-cmwkp3r5.js → location-service-map-9hn6k4tm.js} +8 -8
  89. package/dist/chunks/{worktree-047x8gkn.js → location-service-map-9tr2qfdk.js} +9 -9
  90. package/dist/chunks/{worktree-qsf3y1ew.js → location-service-map-9vjjhptz.js} +10 -10
  91. package/dist/chunks/{worktree-xa33bmm9.js → location-service-map-9zdssp4n.js} +9 -9
  92. package/dist/chunks/{worktree-wgkrc4gf.js → location-service-map-a41h3yhs.js} +29 -29
  93. package/dist/chunks/{worktree-faaxxfm8.js → location-service-map-a42kkhkg.js} +31 -31
  94. package/dist/chunks/{worktree-f6qqz66d.js → location-service-map-a4hp8e9p.js} +12 -12
  95. package/dist/chunks/{worktree-gr62y671.js → location-service-map-a62egxb3.js} +3 -3
  96. package/dist/chunks/location-service-map-asevcyq5.js +253 -0
  97. package/dist/chunks/{worktree-vnmj6pqx.js → location-service-map-av8cscef.js} +25 -25
  98. package/dist/chunks/{worktree-9wqr0z3w.js → location-service-map-ayt5007s.js} +4 -4
  99. package/dist/chunks/{worktree-4a7gy6vj.js → location-service-map-b1a1n7cj.js} +3 -3
  100. package/dist/chunks/{worktree-wecqtg5s.js → location-service-map-b3f8fkhc.js} +5 -5
  101. package/dist/chunks/{worktree-z4tt41b4.js → location-service-map-b7hvd3bh.js} +6 -6
  102. package/dist/chunks/{worktree-qpzrnwb7.js → location-service-map-b89jdn4q.js} +13 -13
  103. package/dist/chunks/{worktree-23wx4d1f.js → location-service-map-bh3fdk74.js} +3 -3
  104. package/dist/chunks/{worktree-7j49d4k9.js → location-service-map-bhhmebad.js} +20 -20
  105. package/dist/chunks/{worktree-wwj18gnb.js → location-service-map-bjkg2ks4.js} +23 -23
  106. package/dist/chunks/{worktree-ywt8jp22.js → location-service-map-bjx1sjef.js} +9 -9
  107. package/dist/chunks/{worktree-ba964zp9.js → location-service-map-bm095xha.js} +3 -3
  108. package/dist/chunks/{worktree-72f2khbq.js → location-service-map-bpq9gadp.js} +14 -14
  109. package/dist/chunks/{worktree-w8xr7nv8.js → location-service-map-btec747f.js} +5 -5
  110. package/dist/chunks/{worktree-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{worktree-13qy106w.js → location-service-map-c6nr29zh.js} +10 -10
  112. package/dist/chunks/{worktree-hzmhka1f.js → location-service-map-c7s5xd0e.js} +45 -45
  113. package/dist/chunks/{worktree-3mpe3zgf.js → location-service-map-c87q280n.js} +3 -3
  114. package/dist/chunks/{worktree-5x9t471j.js → location-service-map-cakf0m7d.js} +33 -33
  115. package/dist/chunks/{worktree-dx0ahrbs.js → location-service-map-d04ep358.js} +11 -11
  116. package/dist/chunks/{worktree-r8bsfb7y.js → location-service-map-d54g0exn.js} +7 -7
  117. package/dist/chunks/{worktree-1g6fppr6.js → location-service-map-dacbrmk2.js} +11 -11
  118. package/dist/chunks/{worktree-m9qsaj22.js → location-service-map-dkpnw212.js} +8 -8
  119. package/dist/chunks/{worktree-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
  120. package/dist/chunks/{worktree-wzwj114h.js → location-service-map-dzrvr4nb.js} +44 -44
  121. package/dist/chunks/{worktree-r7x64v0s.js → location-service-map-e2t7s5t4.js} +40 -40
  122. package/dist/chunks/{worktree-vmvc3m0d.js → location-service-map-e334ff5n.js} +17 -17
  123. package/dist/chunks/{worktree-q11w256c.js → location-service-map-eb5nwvjj.js} +18 -18
  124. package/dist/chunks/{worktree-fc8788t2.js → location-service-map-ebbyhdvc.js} +31 -31
  125. package/dist/chunks/{worktree-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  126. package/dist/chunks/{worktree-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{worktree-9qyart7b.js → location-service-map-ej81gkeg.js} +8 -8
  128. package/dist/chunks/{worktree-32npmyat.js → location-service-map-emxdjm72.js} +25 -25
  129. package/dist/chunks/{worktree-qjnp8kth.js → location-service-map-erts2f6e.js} +13 -13
  130. package/dist/chunks/{worktree-raem8mh3.js → location-service-map-ewf8j77t.js} +11 -11
  131. package/dist/chunks/{worktree-rrnkc0yz.js → location-service-map-exs4tskk.js} +21 -21
  132. package/dist/chunks/{worktree-p2w8rnj5.js → location-service-map-f50nbvzh.js} +38 -38
  133. package/dist/chunks/{worktree-y73tf1nx.js → location-service-map-fkhvp8gb.js} +12 -12
  134. package/dist/chunks/{worktree-khmqacep.js → location-service-map-fxaymqdw.js} +4 -4
  135. package/dist/chunks/{worktree-c6kyp2vd.js → location-service-map-g0xzmjr0.js} +7 -7
  136. package/dist/chunks/{worktree-efamztt7.js → location-service-map-gabsh7yw.js} +9 -9
  137. package/dist/chunks/{worktree-jhdf29st.js → location-service-map-gd0tnyjc.js} +1 -1
  138. package/dist/chunks/{worktree-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  139. package/dist/chunks/{worktree-hxn427s8.js → location-service-map-gk6ab8mf.js} +13 -13
  140. package/dist/chunks/{worktree-9jyxv9wv.js → location-service-map-gv2dj64n.js} +5 -5
  141. package/dist/chunks/{worktree-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{worktree-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
  143. package/dist/chunks/{worktree-wh6zw745.js → location-service-map-h83xjv7f.js} +5 -5
  144. package/dist/chunks/{worktree-jjv1jct9.js → location-service-map-h8rphgn6.js} +2 -2
  145. package/dist/chunks/{worktree-39z47dss.js → location-service-map-h9mky73t.js} +13 -13
  146. package/dist/chunks/{worktree-had4kgfk.js → location-service-map-had4kgfk.js} +1 -1
  147. package/dist/chunks/{worktree-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  148. package/dist/chunks/{worktree-00bpreyp.js → location-service-map-hhyv66vq.js} +8 -8
  149. package/dist/chunks/{worktree-sq2wxdf8.js → location-service-map-hmdrvyfh.js} +71 -71
  150. package/dist/chunks/{worktree-0y76yggw.js → location-service-map-hsvqr7g3.js} +33 -33
  151. package/dist/chunks/{worktree-9y8rfr9p.js → location-service-map-hxtckxf3.js} +27 -27
  152. package/dist/chunks/{worktree-k8y2vxwm.js → location-service-map-hzp768xy.js} +3 -3
  153. package/dist/chunks/{worktree-91qna3x0.js → location-service-map-j09zfasm.js} +3 -3
  154. package/dist/chunks/{worktree-bk4fykk5.js → location-service-map-j5chjq9f.js} +10 -10
  155. package/dist/chunks/{worktree-7ac80gxj.js → location-service-map-j8ssv6es.js} +11 -11
  156. package/dist/chunks/{worktree-0k9zmgbm.js → location-service-map-j947zhwf.js} +11 -11
  157. package/dist/chunks/{worktree-0s8710ya.js → location-service-map-jeewe651.js} +4 -4
  158. package/dist/chunks/{worktree-c1pn2cak.js → location-service-map-jpaf2qm1.js} +37 -37
  159. package/dist/chunks/{worktree-ysq9cvk3.js → location-service-map-jrzj45fy.js} +10 -10
  160. package/dist/chunks/{worktree-zvt5dnpc.js → location-service-map-jvf3yq6v.js} +4 -4
  161. package/dist/chunks/{worktree-qby9dwvd.js → location-service-map-jvnghvnw.js} +8 -8
  162. package/dist/chunks/{worktree-pd760nvw.js → location-service-map-jxr5ks98.js} +6 -6
  163. package/dist/chunks/{worktree-gkj5fv17.js → location-service-map-k4xdy46r.js} +23 -23
  164. package/dist/chunks/{worktree-akwfsdqq.js → location-service-map-k6709ays.js} +11 -11
  165. package/dist/chunks/{worktree-z0jrkcpk.js → location-service-map-kcdapykd.js} +6 -6
  166. package/dist/chunks/{worktree-t1bzqew3.js → location-service-map-kdxh9szv.js} +11 -11
  167. package/dist/chunks/{worktree-7svw2p5b.js → location-service-map-kp5we7ps.js} +15 -15
  168. package/dist/chunks/{worktree-w0tfgnf2.js → location-service-map-ktgr00t7.js} +2 -2
  169. package/dist/chunks/{worktree-yypbz2n6.js → location-service-map-kwqk5vnc.js} +20 -20
  170. package/dist/chunks/{worktree-fj9ny8gn.js → location-service-map-kww7pfa5.js} +7 -7
  171. package/dist/chunks/{worktree-zvmksf0w.js → location-service-map-kxssyy3x.js} +28 -28
  172. package/dist/chunks/{worktree-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{worktree-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  174. package/dist/chunks/{worktree-d4qs2yq9.js → location-service-map-mdmc61fe.js} +2 -2
  175. package/dist/chunks/{worktree-1pc1gjj0.js → location-service-map-mgjjdy5b.js} +13 -13
  176. package/dist/chunks/{worktree-713nkfes.js → location-service-map-mh8n60fa.js} +45 -45
  177. package/dist/chunks/{worktree-nvpcjjwg.js → location-service-map-mpw5hxye.js} +14 -14
  178. package/dist/chunks/{worktree-tbvqj3dg.js → location-service-map-mt6brxxc.js} +4 -4
  179. package/dist/chunks/{worktree-gvrzmcf4.js → location-service-map-najnejyn.js} +16 -16
  180. package/dist/chunks/{worktree-wmvxw9n2.js → location-service-map-nc1ev885.js} +82 -82
  181. package/dist/chunks/{worktree-nwz3xn1w.js → location-service-map-ncp1h5wm.js} +4 -4
  182. package/dist/chunks/{worktree-ed1g29hy.js → location-service-map-nma959mg.js} +3 -3
  183. package/dist/chunks/{worktree-a2g5zc1h.js → location-service-map-npgv39fj.js} +2 -2
  184. package/dist/chunks/{worktree-ndq62nn0.js → location-service-map-nqsv03v6.js} +78 -78
  185. package/dist/chunks/{worktree-kada6eax.js → location-service-map-pck7vvdx.js} +6 -6
  186. package/dist/chunks/{worktree-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{worktree-qcfhvs9f.js → location-service-map-pjykpq9n.js} +33 -33
  188. package/dist/chunks/{worktree-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  189. package/dist/chunks/{worktree-phgh38vw.js → location-service-map-q4aap459.js} +23 -23
  190. package/dist/chunks/{worktree-mj4h5zyy.js → location-service-map-q85n4xbh.js} +9 -9
  191. package/dist/chunks/{worktree-d784a9zz.js → location-service-map-qavnhd3j.js} +27 -27
  192. package/dist/chunks/{worktree-2pn6kxez.js → location-service-map-qb7q1f1d.js} +18 -18
  193. package/dist/chunks/{worktree-3yes92cn.js → location-service-map-qce5rqyv.js} +7 -7
  194. package/dist/chunks/{worktree-n3g5pdec.js → location-service-map-qe178b41.js} +26 -26
  195. package/dist/chunks/{worktree-nd3zr4qw.js → location-service-map-qezm2w8e.js} +15 -15
  196. package/dist/chunks/{worktree-rec41zv7.js → location-service-map-qgw57eb3.js} +8 -8
  197. package/dist/chunks/{worktree-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  198. package/dist/chunks/{worktree-14mhcz0z.js → location-service-map-qrabmw5q.js} +35 -35
  199. package/dist/chunks/{worktree-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  200. package/dist/chunks/{worktree-36sqq72v.js → location-service-map-qvcr5dcn.js} +19 -19
  201. package/dist/chunks/{worktree-w2fd5jxd.js → location-service-map-qwf29bqw.js} +3 -3
  202. package/dist/chunks/{worktree-sjbmsh99.js → location-service-map-qyvjbqsg.js} +12 -12
  203. package/dist/chunks/{worktree-d4he2qe1.js → location-service-map-r2m716tb.js} +9 -9
  204. package/dist/chunks/{worktree-2g49c99y.js → location-service-map-r3yrqnb5.js} +17 -17
  205. package/dist/chunks/{worktree-nd4tfyg0.js → location-service-map-ra67jj04.js} +9 -9
  206. package/dist/chunks/{worktree-1g7epwpd.js → location-service-map-ratrq7cm.js} +7 -7
  207. package/dist/chunks/{worktree-d7zx0zg5.js → location-service-map-raxjnfg2.js} +11 -11
  208. package/dist/chunks/{worktree-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{worktree-rert0e01.js → location-service-map-rert0e01.js} +2 -2
  210. package/dist/chunks/{worktree-2csbwcjg.js → location-service-map-rfnwmvtk.js} +9 -9
  211. package/dist/chunks/{worktree-919ps8m3.js → location-service-map-rht436q7.js} +14 -14
  212. package/dist/chunks/{worktree-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{worktree-svwvq4d5.js → location-service-map-s6a94ykt.js} +50 -50
  214. package/dist/chunks/{worktree-hzsf6k88.js → location-service-map-s90bytks.js} +15 -15
  215. package/dist/chunks/{worktree-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
  216. package/dist/chunks/{worktree-m0xm5t79.js → location-service-map-sdk84yjp.js} +1 -1
  217. package/dist/chunks/{worktree-352md1ar.js → location-service-map-sfz6vzg3.js} +10 -10
  218. package/dist/chunks/{worktree-f3x7gcm5.js → location-service-map-st6tfvct.js} +30 -30
  219. package/dist/chunks/{worktree-7gra0nqm.js → location-service-map-svcw9x3w.js} +5 -5
  220. package/dist/chunks/{worktree-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  221. package/dist/chunks/{worktree-heq1a16y.js → location-service-map-t4jzmwkk.js} +7 -7
  222. package/dist/chunks/{worktree-t550f9t1.js → location-service-map-t550f9t1.js} +1 -1
  223. package/dist/chunks/{worktree-0p4seb2j.js → location-service-map-t7n4d1yf.js} +4 -4
  224. package/dist/chunks/{worktree-2n295dmf.js → location-service-map-t89fqycx.js} +8 -8
  225. package/dist/chunks/{worktree-qk5v6yqg.js → location-service-map-t9es0ena.js} +16 -16
  226. package/dist/chunks/{worktree-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{worktree-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  228. package/dist/chunks/{worktree-x7eaanfs.js → location-service-map-thf5141v.js} +3 -3
  229. package/dist/chunks/{worktree-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  230. package/dist/chunks/{worktree-bpn8wa0j.js → location-service-map-trecwywa.js} +26 -26
  231. package/dist/chunks/{worktree-547mgkha.js → location-service-map-ttbvdjdw.js} +16 -16
  232. package/dist/chunks/{worktree-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  233. package/dist/chunks/{worktree-v0es1rhs.js → location-service-map-v0es1rhs.js} +2 -2
  234. package/dist/chunks/location-service-map-v2exr8cw.js +513 -0
  235. package/dist/chunks/{worktree-zpt8t96v.js → location-service-map-v2fstvx9.js} +25 -25
  236. package/dist/chunks/{worktree-wxdrkwee.js → location-service-map-v6tgae3y.js} +145 -145
  237. package/dist/chunks/{worktree-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{worktree-nhe6bk5v.js → location-service-map-vdcsbfm7.js} +7 -7
  239. package/dist/chunks/{worktree-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  240. package/dist/chunks/{worktree-273zw8zg.js → location-service-map-vfd5z52g.js} +20 -20
  241. package/dist/chunks/{worktree-xfw881m1.js → location-service-map-vh4rw25j.js} +10 -10
  242. package/dist/chunks/{worktree-ht3mx19x.js → location-service-map-vhvv9bf9.js} +13 -13
  243. package/dist/chunks/{worktree-bf1tsaws.js → location-service-map-vxznmwbn.js} +14 -14
  244. package/dist/chunks/{worktree-4bm5ja14.js → location-service-map-vycw7md4.js} +4 -4
  245. package/dist/chunks/{worktree-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{worktree-8dc9ddds.js → location-service-map-w34bt5ev.js} +11 -11
  247. package/dist/chunks/{worktree-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{worktree-dvep9rg9.js → location-service-map-w5rka97k.js} +9 -9
  249. package/dist/chunks/{worktree-fv1gh5kw.js → location-service-map-w75czvp0.js} +3 -3
  250. package/dist/chunks/{worktree-z5cvsch1.js → location-service-map-w7th8kft.js} +11 -11
  251. package/dist/chunks/{worktree-bw54z2dz.js → location-service-map-w85jx7ef.js} +22 -22
  252. package/dist/chunks/{worktree-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  253. package/dist/chunks/{worktree-j8xvyka0.js → location-service-map-whqshyfz.js} +8 -8
  254. package/dist/chunks/{worktree-xrd6m33g.js → location-service-map-wnsxc07p.js} +19 -19
  255. package/dist/chunks/{worktree-qrmef7q5.js → location-service-map-wve2b6s5.js} +12 -12
  256. package/dist/chunks/{worktree-4h91jvx1.js → location-service-map-wvf4y7rr.js} +22 -22
  257. package/dist/chunks/{worktree-bc8zjgdy.js → location-service-map-x309wg9x.js} +8 -8
  258. package/dist/chunks/{worktree-w3smsxn0.js → location-service-map-x5wrmng7.js} +8 -8
  259. package/dist/chunks/{worktree-azwe5p1w.js → location-service-map-x661k3y3.js} +4 -4
  260. package/dist/chunks/{worktree-1yt7rx9k.js → location-service-map-x852hbsc.js} +4 -4
  261. package/dist/chunks/{worktree-wyp5t2nv.js → location-service-map-x94bbvss.js} +4 -4
  262. package/dist/chunks/{worktree-2641fc7s.js → location-service-map-xdfgfet0.js} +34 -34
  263. package/dist/chunks/{worktree-v2fecqa2.js → location-service-map-xe6vm9p8.js} +20 -20
  264. package/dist/chunks/{worktree-qqeeq2t9.js → location-service-map-xfkkasph.js} +7 -7
  265. package/dist/chunks/{worktree-rzj0vt9r.js → location-service-map-xsccak5w.js} +10 -10
  266. package/dist/chunks/{worktree-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{worktree-5rq05eez.js → location-service-map-y4a0ptp4.js} +3 -3
  268. package/dist/chunks/{worktree-y71avatq.js → location-service-map-y71avatq.js} +1 -1
  269. package/dist/chunks/{worktree-5wbbhyy2.js → location-service-map-yhebgegd.js} +22 -22
  270. package/dist/chunks/{worktree-1g706jtd.js → location-service-map-yjqnk9hn.js} +24 -24
  271. package/dist/chunks/{worktree-vckqakrf.js → location-service-map-ykdkqy2w.js} +17 -17
  272. package/dist/chunks/{worktree-wsss038a.js → location-service-map-ykxyh7k6.js} +10 -10
  273. package/dist/chunks/{worktree-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
  274. package/dist/chunks/{worktree-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{worktree-tthj469c.js → location-service-map-z1a6nf3f.js} +17 -17
  276. package/dist/chunks/{worktree-11g55wky.js → location-service-map-z4qs0yhw.js} +32 -32
  277. package/dist/chunks/{worktree-0ns114n3.js → location-service-map-z5rnbfrr.js} +9 -9
  278. package/dist/chunks/{worktree-jhyqneq0.js → location-service-map-zcfatamc.js} +10 -10
  279. package/dist/chunks/{worktree-47jkzegy.js → location-service-map-zmr78fwr.js} +5 -5
  280. package/dist/chunks/{worktree-j1c4j6vn.js → location-service-map-zpfqjb86.js} +17 -17
  281. package/dist/chunks/{worktree-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{worktree-yhgqt7b2.js → location-service-map-zt28r1k4.js} +25 -25
  283. package/dist/chunks/{worktree-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  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 +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  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 +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +120 -120
  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 +118 -118
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  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 +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +91 -91
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +91 -91
  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 +72 -72
  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 +222 -222
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +84 -84
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +103 -103
  428. package/dist/git.js +6 -6
  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 +93 -93
  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 +359 -359
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  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 +133 -133
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +107 -107
  468. package/dist/mcp/instructions.js +125 -125
  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 +93 -93
  473. package/dist/model-resolver.js +100 -100
  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 +84 -84
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  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 +92 -92
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  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 +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  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 +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  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 +115 -115
  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 +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  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 +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  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 +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  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 +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  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 +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +99 -99
  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 +91 -91
  562. package/dist/reference.js +91 -91
  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 +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  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 +216 -216
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +86 -86
  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 +127 -127
  591. package/dist/session/projector.js +86 -86
  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 +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +98 -98
  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 +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +89 -89
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +203 -203
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +209 -209
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +215 -215
  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 +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +116 -116
  627. package/dist/snapshot.js +93 -93
  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 +126 -126
  635. package/dist/tool/plugin/grep.js +124 -124
  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 +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +121 -121
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +210 -210
  644. package/dist/tool/plugin/webfetch.js +114 -114
  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 +16 -16
  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 +5 -5
  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 +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  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 +91 -91
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +1 -1
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +74 -74
  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/worktree-619r8v3y.js +0 -18
  685. package/dist/chunks/worktree-gga122km.js +0 -26
  686. package/dist/chunks/worktree-hfhhdy4d.js +0 -513
  687. package/dist/chunks/worktree-yvbfxc2q.js +0 -253
  688. /package/dist/chunks/{worktree-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{worktree-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{worktree-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{worktree-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{worktree-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{worktree-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{worktree-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{worktree-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{worktree-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{worktree-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{worktree-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{worktree-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  700. /package/dist/chunks/{worktree-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{worktree-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{worktree-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{worktree-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{worktree-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{worktree-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{worktree-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{worktree-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  708. /package/dist/chunks/{worktree-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{worktree-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  710. /package/dist/chunks/{worktree-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{worktree-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{worktree-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{worktree-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  714. /package/dist/chunks/{worktree-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{worktree-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{worktree-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{worktree-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{worktree-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{worktree-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{worktree-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{worktree-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{worktree-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{worktree-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{worktree-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{worktree-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{worktree-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{worktree-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{worktree-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{worktree-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{worktree-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{worktree-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{worktree-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{worktree-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  734. /package/dist/chunks/{worktree-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{worktree-e3qxr5gk.js → location-service-map-e3qxr5gk.js} +0 -0
  736. /package/dist/chunks/{worktree-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{worktree-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{worktree-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{worktree-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{worktree-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{worktree-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{worktree-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{worktree-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{worktree-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{worktree-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{worktree-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  747. /package/dist/chunks/{worktree-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{worktree-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  749. /package/dist/chunks/{worktree-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{worktree-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  751. /package/dist/chunks/{worktree-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{worktree-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{worktree-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{worktree-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{worktree-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{worktree-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{worktree-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{worktree-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  759. /package/dist/chunks/{worktree-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{worktree-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{worktree-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{worktree-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{worktree-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{worktree-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{worktree-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{worktree-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{worktree-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{worktree-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{worktree-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{worktree-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{worktree-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{worktree-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{worktree-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{worktree-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{worktree-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{worktree-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{worktree-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{worktree-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{worktree-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{worktree-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{worktree-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{worktree-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{worktree-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  784. /package/dist/chunks/{worktree-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{worktree-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{worktree-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{worktree-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{worktree-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{worktree-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service61
3
- } from "./worktree-4h91jvx1.js";
2
+ Service67
3
+ } from "./location-service-map-wvf4y7rr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./worktree-z5v4ffb3.js";
6
+ } from "./location-service-map-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./worktree-0c8z4cs3.js";
9
+ } from "./location-service-map-0fzbfnq7.js";
10
10
  import {
11
- Service60
12
- } from "./worktree-hzmhka1f.js";
11
+ Service66
12
+ } from "./location-service-map-c7s5xd0e.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./worktree-bpn8wa0j.js";
16
+ Source4
17
+ } from "./location-service-map-trecwywa.js";
18
18
  import {
19
- Service11
20
- } from "./worktree-nd4tfyg0.js";
19
+ Service8
20
+ } from "./location-service-map-ra67jj04.js";
21
21
  import {
22
22
  parse2
23
- } from "./worktree-31v8j1ma.js";
23
+ } from "./location-service-map-95kyz0q3.js";
24
24
  import {
25
25
  __export
26
- } from "./worktree-9rqn6x4v.js";
26
+ } from "./location-service-map-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill2 = {};
30
30
  __export(exports_skill2, {
31
31
  ConfigSkillPlugin: () => exports_skill2,
32
- Plugin: () => Plugin32
32
+ Plugin: () => Plugin24
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 Plugin32 = define({
39
+ var Plugin24 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service60;
43
- const discovery = yield* Service11;
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* Service61;
47
+ const watcher = yield* Service67;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin32 = 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 Plugin32 = 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 Plugin32 = 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 Plugin32 = 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 Plugin32 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin32, exports_skill2 };
179
+ export { Plugin24, exports_skill2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./worktree-ba964zp9.js";
4
+ } from "./location-service-map-bm095xha.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./worktree-0p4seb2j.js";
8
+ } from "./location-service-map-t7n4d1yf.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./worktree-pknna89w.js";
11
+ } from "./location-service-map-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./worktree-3zsf4n22.js";
14
+ } from "./location-service-map-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./worktree-9rqn6x4v.js";
17
+ } from "./location-service-map-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
23
+ Event: () => Event18,
24
24
  External: () => External2,
25
25
  ID: () => ID14,
26
- Info: () => Info22,
26
+ Info: () => Info24,
27
27
  Key: () => Key4,
28
28
  OAuth: () => OAuth3,
29
- Service: () => Service69,
29
+ Service: () => Service73,
30
30
  Value: () => Value2,
31
- node: () => node72
31
+ node: () => node76
32
32
  });
33
33
  import { asc, desc, eq } from "drizzle-orm";
34
34
  import { Cause, Context, Effect, Layer, Schema } from "effect";
@@ -40,9 +40,9 @@ var OAuth3 = Credential.OAuth;
40
40
  var Key4 = Credential.Key;
41
41
  var External2 = Credential.External;
42
42
  var Value2 = Credential.Value;
43
- var Event17 = Credential.Event;
43
+ var Event18 = Credential.Event;
44
44
 
45
- class Info22 extends Schema.Class("Credential.Info")({
45
+ class Info24 extends Schema.Class("Credential.Info")({
46
46
  id: ID14,
47
47
  integrationID: Integration.ID,
48
48
  label: Schema.String,
@@ -50,16 +50,16 @@ class Info22 extends Schema.Class("Credential.Info")({
50
50
  }) {
51
51
  }
52
52
 
53
- class Service69 extends Context.Service()("@opencode/Credential") {
53
+ class Service73 extends Context.Service()("@opencode/Credential") {
54
54
  }
55
- var layer = Layer.effect(Service69, Effect.gen(function* () {
55
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
56
56
  const db = (yield* Service85).db;
57
57
  const bus = yield* Service84;
58
58
  const decode = Schema.decodeUnknownSync(Value2);
59
59
  const stored = (row) => {
60
60
  if (!row.integration_id)
61
61
  return;
62
- return new Info22({
62
+ return new Info24({
63
63
  id: row.id,
64
64
  integrationID: row.integration_id,
65
65
  label: row.label,
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
70
70
  const credential = stored(row);
71
71
  return credential ? [credential] : [];
72
72
  });
73
- return Service69.of({
73
+ return Service73.of({
74
74
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
75
75
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
76
76
  get: Effect.fn("Credential.get")(function* (id) {
@@ -78,7 +78,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
78
78
  return row ? stored(row) : undefined;
79
79
  }),
80
80
  create: Effect.fn("Credential.create")(function* (input) {
81
- const credential = new Info22({
81
+ const credential = new Info24({
82
82
  id: input.id ?? ID14.create(),
83
83
  integrationID: input.integrationID,
84
84
  label: input.label ?? "default",
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
110
110
  type: credential.value.type,
111
111
  active: activated
112
112
  });
113
- yield* bus.publish(Event17.Updated, {}, { global: true });
113
+ yield* bus.publish(Event18.Updated, {}, { global: true });
114
114
  if (activated)
115
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
115
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
116
116
  return credential;
117
117
  }),
118
118
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
132
132
  })), Effect.orDie);
133
133
  if (integrationID) {
134
134
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
135
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
135
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
136
136
  }
137
137
  }),
138
138
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
164
164
  labelChanged: updates.label !== undefined && updates.label !== credential.label
165
165
  });
166
166
  if (updates.label !== undefined && updates.label !== credential.label)
167
- yield* bus.publish(Event17.Updated, {}, { global: true });
167
+ yield* bus.publish(Event18.Updated, {}, { global: true });
168
168
  }),
169
169
  remove: Effect.fn("Credential.remove")(function* (id) {
170
170
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
197
197
  active: removed.switched,
198
198
  ...removed.switched ? { replacementID: removed.credentialID } : {}
199
199
  });
200
- yield* bus.publish(Event17.Updated, {}, { global: true });
200
+ yield* bus.publish(Event18.Updated, {}, { global: true });
201
201
  if (removed.switched)
202
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
202
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
203
203
  })
204
204
  });
205
205
  }));
206
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89, node88] });
206
+ var node76 = makeGlobalNode({ service: Service73, layer, deps: [node89, node88] });
207
207
 
208
- export { ID14, OAuth3, Key4, External2, Value2, Event17, Info22, Service69, node72, exports_credential };
208
+ export { ID14, OAuth3, Key4, External2, Value2, Event18, Info24, Service73, node76, exports_credential };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-0p4seb2j.js";
4
+ } from "./location-service-map-t7n4d1yf.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./worktree-tazgh4e4.js";
9
+ } from "./location-service-map-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./worktree-d9bwsjmy.js";
12
+ } from "./location-service-map-9h357zpk.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./worktree-0c8z4cs3.js";
16
+ } from "./location-service-map-0fzbfnq7.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./worktree-rdw6cm16.js";
20
+ } from "./location-service-map-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./worktree-9rqn6x4v.js";
23
+ } from "./location-service-map-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info7,
32
+ Info: () => Info3,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service42,
35
+ Service: () => Service15,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node46
37
+ node: () => node18
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service42 extends Context.Service()("@opencode/Vcs") {
57
+ class Service15 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service42, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service81;
62
62
  const bus = yield* Service84;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service42.of({
132
+ return Service15.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node46 = makeLocationNode({
191
- service: Service42,
190
+ var node18 = makeLocationNode({
191
+ service: Service15,
192
192
  layer,
193
193
  deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, InitializeError2, Service42, node46, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service15, node18, exports_vcs };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./worktree-0c8z4cs3.js";
4
+ } from "./location-service-map-0fzbfnq7.js";
5
5
  import {
6
6
  Key3,
7
7
  make19,
8
8
  combine2
9
- } from "./worktree-t550f9t1.js";
9
+ } from "./location-service-map-t550f9t1.js";
10
10
  import {
11
11
  __export
12
- } from "./worktree-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service26,
19
- node: () => node29
18
+ Service: () => Service33,
19
+ node: () => node37
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service26, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service81;
29
- return Service26.of({
29
+ return Service33.of({
30
30
  load: () => Effect.succeed(combine2([
31
31
  make19({
32
32
  key: Key3.make("core/date"),
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node29 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node85] });
63
+ var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node85] });
64
64
 
65
- export { Service26, node29, exports_builtins };
65
+ export { Service33, node37, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./worktree-ym463w8f.js";
3
+ } from "./location-service-map-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./worktree-0p4seb2j.js";
4
+ } from "./location-service-map-t7n4d1yf.js";
5
5
  import {
6
6
  __export
7
- } from "./worktree-9rqn6x4v.js";
7
+ } from "./location-service-map-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID15,
20
- Info: () => Info23,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service70,
25
+ Service: () => Service75,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node73,
28
+ layer: () => layer26,
29
+ node: () => node78,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID15 = Form.ID;
39
- var Info23 = Form.Info;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID15
49
49
  }) {
50
50
  get message() {
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service70 extends Context.Service()("@opencode/Form") {
82
+ class Service75 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service70, Effect.gen(function* () {
84
+ var layer26 = Layer.effect(Service75, Effect.gen(function* () {
85
85
  const bus = yield* Service84;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
93
  const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service70.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service75.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node73 = makeLocationNode({ service: Service70, layer: layer25, deps: [node88] });
167
+ var node78 = makeLocationNode({ service: Service75, layer: layer26, deps: [node88] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID15, Info23, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer25, node73, validateAnswer2, validateFields2, exports_form, Event18 };
319
+ export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer26, node78, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-hgz4x7wa.js";
5
+ } from "./location-service-map-hgz4x7wa.js";
6
6
  import {
7
7
  Service81
8
- } from "./worktree-0c8z4cs3.js";
8
+ } from "./location-service-map-0fzbfnq7.js";
9
9
  import {
10
10
  Service79
11
- } from "./worktree-c6kyp2vd.js";
11
+ } from "./location-service-map-g0xzmjr0.js";
12
12
  import {
13
- Service74
14
- } from "./worktree-8dc9ddds.js";
13
+ Service14
14
+ } from "./location-service-map-w34bt5ev.js";
15
15
  import {
16
- Service78,
16
+ Service74,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./worktree-cj2pe107.js";
19
+ } from "./location-service-map-190mk5vc.js";
20
20
  import {
21
- Service51
22
- } from "./worktree-713nkfes.js";
21
+ Service55
22
+ } from "./location-service-map-mh8n60fa.js";
23
23
  import {
24
- Service19,
24
+ Service16,
25
25
  resolvePath2
26
- } from "./worktree-8tbg6stw.js";
26
+ } from "./location-service-map-5pyvwtgy.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./worktree-6prwharc.js";
29
+ } from "./location-service-map-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./worktree-9rqn6x4v.js";
32
+ } from "./location-service-map-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input9,
39
- Output: () => Output6,
38
+ Input: () => Input7,
39
+ Output: () => Output4,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin11,
42
- name: () => name9,
43
- toModelContent: () => toModelContent4
41
+ Plugin: () => Plugin42,
42
+ name: () => name7,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name9 = "patch";
89
- var Input9 = Schema.Struct({
88
+ var name7 = "patch";
89
+ var Input7 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output4 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent4 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin11 = {
108
+ var Plugin42 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
111
  const environment = yield* Service79;
112
- const access = yield* Service19;
113
- const fileMutation = yield* Service78;
114
- const formatter = yield* Service74;
112
+ const access = yield* Service16;
113
+ const fileMutation = yield* Service74;
114
+ const formatter = yield* Service14;
115
115
  const location = yield* Service81;
116
- const permission = yield* Service51;
116
+ const permission = yield* Service55;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name9,
118
+ name: name7,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input9,
122
- output: Output6,
121
+ input: Input7,
122
+ output: Output4,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin11 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent4(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name9, Input9, Applied2, Output6, toModelContent4, Plugin11, exports_patch };
329
+ export { name7, Input7, Applied2, Output4, toModelContent2, Plugin42, exports_patch };