@opencode/core 0.0.0-dev-20969 → 0.0.0-dev-20970

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 +83 -83
  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/{filesystem-f1418zp3.js → location-service-map-0e0z4xs4.js} +27 -27
  8. package/dist/chunks/{filesystem-eaj1djv9.js → location-service-map-0gdmqesm.js} +8 -8
  9. package/dist/chunks/{filesystem-7x6mdxf8.js → location-service-map-0hws4rz6.js} +10 -10
  10. package/dist/chunks/{filesystem-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{filesystem-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{filesystem-6rm5yzkt.js → location-service-map-0xqyf95c.js} +4 -4
  13. package/dist/chunks/{filesystem-v13g4sj1.js → location-service-map-15gp8gwp.js} +20 -20
  14. package/dist/chunks/{filesystem-d5pb17pk.js → location-service-map-1cwtqt4r.js} +24 -24
  15. package/dist/chunks/{filesystem-1ffvrpkg.js → location-service-map-1ffvrpkg.js} +2 -2
  16. package/dist/chunks/{filesystem-gd72kns9.js → location-service-map-1g7cdmxb.js} +25 -25
  17. package/dist/chunks/{filesystem-bjahvz15.js → location-service-map-1j6f3fcz.js} +3 -3
  18. package/dist/chunks/{filesystem-97aeaand.js → location-service-map-1j6m29mr.js} +9 -9
  19. package/dist/chunks/{filesystem-k60gdc8d.js → location-service-map-1nswxt31.js} +17 -17
  20. package/dist/chunks/{filesystem-yrcj3v3g.js → location-service-map-1rn5pcm9.js} +4 -4
  21. package/dist/chunks/{filesystem-fya5pxx9.js → location-service-map-2f8xmtvs.js} +10 -10
  22. package/dist/chunks/{filesystem-m7w6ry8k.js → location-service-map-2gbtb9ex.js} +33 -33
  23. package/dist/chunks/{filesystem-n0dejpnd.js → location-service-map-2kgr186q.js} +29 -29
  24. package/dist/chunks/{filesystem-xvc52nav.js → location-service-map-2sxk7h72.js} +33 -33
  25. package/dist/chunks/{filesystem-3jvm98xe.js → location-service-map-2wdjt9g8.js} +11 -11
  26. package/dist/chunks/{filesystem-50tcwssc.js → location-service-map-333jpv82.js} +1 -1
  27. package/dist/chunks/{filesystem-b9fxgaae.js → location-service-map-3a7h0qtw.js} +14 -14
  28. package/dist/chunks/{filesystem-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{filesystem-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{filesystem-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{filesystem-nhtvjeyc.js → location-service-map-3p5gpzs5.js} +33 -33
  32. package/dist/chunks/{filesystem-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  33. package/dist/chunks/{filesystem-a78w3xhb.js → location-service-map-3sw2dssw.js} +18 -18
  34. package/dist/chunks/{filesystem-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{filesystem-ash8wba5.js → location-service-map-3z39tkdq.js} +7 -7
  36. package/dist/chunks/{filesystem-wh0v2wjt.js → location-service-map-3z3xn5yy.js} +30 -30
  37. package/dist/chunks/{filesystem-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{filesystem-qvaxqqvn.js → location-service-map-40jkzs91.js} +35 -35
  39. package/dist/chunks/{filesystem-jp4tahhf.js → location-service-map-44asg7d3.js} +50 -50
  40. package/dist/chunks/{filesystem-h2vzssh9.js → location-service-map-47yqzcwx.js} +30 -30
  41. package/dist/chunks/{filesystem-azpq3pjs.js → location-service-map-4f3wm1ac.js} +18 -18
  42. package/dist/chunks/{filesystem-1d99jg21.js → location-service-map-4h8beb84.js} +50 -50
  43. package/dist/chunks/{filesystem-eq20ba7x.js → location-service-map-4ns3h2re.js} +4 -4
  44. package/dist/chunks/{filesystem-9zsn4ryv.js → location-service-map-4ybf7fnk.js} +11 -11
  45. package/dist/chunks/{filesystem-rk3q4hq2.js → location-service-map-50n7yzyq.js} +25 -25
  46. package/dist/chunks/{filesystem-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  47. package/dist/chunks/{filesystem-jac8zx36.js → location-service-map-58sy987p.js} +17 -17
  48. package/dist/chunks/{filesystem-d6kg2w02.js → location-service-map-5jz5gmkx.js} +26 -26
  49. package/dist/chunks/{filesystem-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{filesystem-zrbwd74c.js → location-service-map-5mq28h2t.js} +14 -14
  51. package/dist/chunks/{filesystem-w2ejb1sn.js → location-service-map-5tjn6tpp.js} +12 -12
  52. package/dist/chunks/{filesystem-0amcbn5s.js → location-service-map-5wbv3d1w.js} +13 -13
  53. package/dist/chunks/{filesystem-p37cw4rj.js → location-service-map-5xtgfte3.js} +4 -4
  54. package/dist/chunks/{filesystem-pnzf6mjf.js → location-service-map-68wqtz75.js} +1 -1
  55. package/dist/chunks/{filesystem-am6f2qjv.js → location-service-map-6bjhz71w.js} +11 -11
  56. package/dist/chunks/{filesystem-jk540des.js → location-service-map-6g107h22.js} +2 -2
  57. package/dist/chunks/{filesystem-nm25s7jz.js → location-service-map-6jpm8ex2.js} +11 -11
  58. package/dist/chunks/{filesystem-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{filesystem-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  60. package/dist/chunks/{filesystem-pbwex7x3.js → location-service-map-79nhj7b6.js} +34 -34
  61. package/dist/chunks/{filesystem-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  62. package/dist/chunks/{filesystem-0jwsre1p.js → location-service-map-7dqw4kz8.js} +5 -5
  63. package/dist/chunks/{filesystem-54t2qdpv.js → location-service-map-7k1rdhbp.js} +11 -11
  64. package/dist/chunks/{filesystem-rbpvdgf0.js → location-service-map-7ph0vnsv.js} +5 -5
  65. package/dist/chunks/{filesystem-3q1fa1xg.js → location-service-map-7zdn2k09.js} +11 -11
  66. package/dist/chunks/{filesystem-hh0gybm5.js → location-service-map-80m1sdbk.js} +315 -315
  67. package/dist/chunks/{filesystem-80scg3y3.js → location-service-map-80scg3y3.js} +1 -1
  68. package/dist/chunks/{filesystem-w1eejvng.js → location-service-map-84txncab.js} +5 -5
  69. package/dist/chunks/{filesystem-srnsn3q2.js → location-service-map-89x5zc49.js} +11 -11
  70. package/dist/chunks/{filesystem-2ayk62t9.js → location-service-map-8acdjqfv.js} +21 -21
  71. package/dist/chunks/{filesystem-f3crtseh.js → location-service-map-8fe0d2sh.js} +4 -4
  72. package/dist/chunks/{filesystem-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  73. package/dist/chunks/{filesystem-wfskyrtt.js → location-service-map-8v3872mr.js} +15 -15
  74. package/dist/chunks/{filesystem-hh0ptvjq.js → location-service-map-8z12w5mn.js} +14 -14
  75. package/dist/chunks/{filesystem-9e6tnrqh.js → location-service-map-9a1mrhyh.js} +11 -11
  76. package/dist/chunks/{filesystem-f6tzyt39.js → location-service-map-9byyftbt.js} +29 -29
  77. package/dist/chunks/{filesystem-qq49mz5j.js → location-service-map-9m4mwgwd.js} +9 -9
  78. package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
  79. package/dist/chunks/{filesystem-7pqqbnk7.js → location-service-map-9t8w0vez.js} +3 -3
  80. package/dist/chunks/{filesystem-04z81fpd.js → location-service-map-a22dk6g9.js} +42 -42
  81. package/dist/chunks/{filesystem-4n895ea0.js → location-service-map-a5e101j6.js} +4 -4
  82. package/dist/chunks/{filesystem-mwdfvsrc.js → location-service-map-a7z0fe8c.js} +1 -1
  83. package/dist/chunks/{filesystem-m5kx5r4g.js → location-service-map-a8hvaj9p.js} +13 -13
  84. package/dist/chunks/{filesystem-addxnjmp.js → location-service-map-addxnjmp.js} +1 -1
  85. package/dist/chunks/{filesystem-b55f9bw7.js → location-service-map-agg557zn.js} +11 -11
  86. package/dist/chunks/{filesystem-zarpn6yq.js → location-service-map-ah1t51zw.js} +12 -12
  87. package/dist/chunks/{filesystem-35hq6fdz.js → location-service-map-ah9s4888.js} +5 -5
  88. package/dist/chunks/{filesystem-2tz6nn1d.js → location-service-map-apbyd0y0.js} +15 -15
  89. package/dist/chunks/{filesystem-37ea9c2d.js → location-service-map-at1kfnmk.js} +8 -8
  90. package/dist/chunks/{filesystem-f3dt93wk.js → location-service-map-av4ka64b.js} +93 -93
  91. package/dist/chunks/{filesystem-xh6zv5p8.js → location-service-map-avdzqnth.js} +3 -3
  92. package/dist/chunks/{filesystem-scgrse2b.js → location-service-map-b3f8fkhc.js} +5 -5
  93. package/dist/chunks/{filesystem-kkjcmgcs.js → location-service-map-b5ab48k5.js} +33 -33
  94. package/dist/chunks/{filesystem-e89xj288.js → location-service-map-b7v4cx43.js} +5 -5
  95. package/dist/chunks/{filesystem-brkftcds.js → location-service-map-bg0scr0s.js} +5 -5
  96. package/dist/chunks/{filesystem-wm97b409.js → location-service-map-bpqmbvp8.js} +20 -20
  97. package/dist/chunks/{filesystem-zcfehvc5.js → location-service-map-brzr8pgk.js} +4 -4
  98. package/dist/chunks/{filesystem-krxv5ast.js → location-service-map-bz1ch3a7.js} +34 -34
  99. package/dist/chunks/{filesystem-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
  100. package/dist/chunks/{filesystem-x642km10.js → location-service-map-c67afrq3.js} +6 -6
  101. package/dist/chunks/{filesystem-a7jeddqa.js → location-service-map-c9y76qr3.js} +9 -9
  102. package/dist/chunks/{filesystem-qmqgtz8f.js → location-service-map-cwa6csj7.js} +9 -9
  103. package/dist/chunks/{filesystem-7nes44hp.js → location-service-map-d2s7sfgk.js} +2 -2
  104. package/dist/chunks/{filesystem-q37cayrb.js → location-service-map-dbd4bcxh.js} +27 -27
  105. package/dist/chunks/{filesystem-088y8j6m.js → location-service-map-ddnd35kk.js} +9 -9
  106. package/dist/chunks/{filesystem-dy6phfej.js → location-service-map-djvdn7j4.js} +29 -29
  107. package/dist/chunks/{filesystem-rp2821x6.js → location-service-map-dn85cbp5.js} +22 -22
  108. package/dist/chunks/{filesystem-anq8x8fx.js → location-service-map-dn8fxr7e.js} +19 -19
  109. package/dist/chunks/{filesystem-chh1qf5w.js → location-service-map-dnxwqgza.js} +23 -23
  110. package/dist/chunks/{filesystem-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
  111. package/dist/chunks/{filesystem-2f41x624.js → location-service-map-dprgbttx.js} +18 -18
  112. package/dist/chunks/{filesystem-d9ebg897.js → location-service-map-dqss8s9h.js} +17 -17
  113. package/dist/chunks/{filesystem-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{filesystem-9h22qa0h.js → location-service-map-drmqggy3.js} +8 -8
  115. package/dist/chunks/{filesystem-5pyjqqve.js → location-service-map-drnf6xwf.js} +2 -2
  116. package/dist/chunks/{filesystem-xya6rnzh.js → location-service-map-dvzj1xmf.js} +13 -13
  117. package/dist/chunks/{filesystem-pp5cqqtv.js → location-service-map-dwwb2yn6.js} +11 -11
  118. package/dist/chunks/{filesystem-j2xzv77w.js → location-service-map-dzj3pesk.js} +1 -1
  119. package/dist/chunks/{filesystem-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
  120. package/dist/chunks/{filesystem-qaevhgds.js → location-service-map-e59gya24.js} +10 -10
  121. package/dist/chunks/{filesystem-dk1jwvm3.js → location-service-map-eegn9671.js} +2 -2
  122. package/dist/chunks/{filesystem-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{filesystem-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{filesystem-0j8yhgsx.js → location-service-map-ek79twyn.js} +6 -6
  125. package/dist/chunks/{filesystem-6zwe5z01.js → location-service-map-f6vptca4.js} +48 -48
  126. package/dist/chunks/{filesystem-hjyx165y.js → location-service-map-fahd1t22.js} +8 -8
  127. package/dist/chunks/{filesystem-bvjcet60.js → location-service-map-fdn2kncn.js} +149 -149
  128. package/dist/chunks/{filesystem-gkdycpm2.js → location-service-map-fjmme1zd.js} +9 -9
  129. package/dist/chunks/{filesystem-wx36b1j2.js → location-service-map-fkrwggfj.js} +10 -10
  130. package/dist/chunks/{filesystem-zwmh7mk0.js → location-service-map-ftxqeyfp.js} +27 -27
  131. package/dist/chunks/{filesystem-gc4jdv56.js → location-service-map-fwh25w6r.js} +35 -35
  132. package/dist/chunks/{filesystem-ny8edt06.js → location-service-map-fxaymqdw.js} +4 -4
  133. package/dist/chunks/{filesystem-z92d7xwv.js → location-service-map-g16zfax1.js} +28 -28
  134. package/dist/chunks/{filesystem-51tqp85b.js → location-service-map-gbh65n66.js} +4 -4
  135. package/dist/chunks/{filesystem-hwhn336e.js → location-service-map-gc30vjt8.js} +14 -14
  136. package/dist/chunks/{filesystem-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{filesystem-17vn99m1.js → location-service-map-gfvfhfth.js} +11 -11
  138. package/dist/chunks/{filesystem-s83rft3p.js → location-service-map-gh8rs6tp.js} +9 -9
  139. package/dist/chunks/{filesystem-b802xj85.js → location-service-map-gq9mz0q5.js} +25 -25
  140. package/dist/chunks/{filesystem-gyscva2z.js → location-service-map-gvmyet0t.js} +2 -2
  141. package/dist/chunks/{filesystem-fww2ha2b.js → location-service-map-gwaf4cyv.js} +9 -9
  142. package/dist/chunks/{filesystem-891td7wt.js → location-service-map-gybmckzj.js} +31 -31
  143. package/dist/chunks/{filesystem-7qw3bype.js → location-service-map-h36qpgyc.js} +5 -5
  144. package/dist/chunks/{filesystem-wn36fw8j.js → location-service-map-h3damvf7.js} +21 -21
  145. package/dist/chunks/{filesystem-57m3nn06.js → location-service-map-h5ctynge.js} +47 -47
  146. package/dist/chunks/{filesystem-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{filesystem-pgsm1jra.js → location-service-map-h796dgtk.js} +23 -23
  148. package/dist/chunks/{filesystem-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
  149. package/dist/chunks/{filesystem-479xfgw2.js → location-service-map-hbhk3w7g.js} +22 -22
  150. package/dist/chunks/{filesystem-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{filesystem-sm28yfzz.js → location-service-map-hse9bmtq.js} +3 -3
  152. package/dist/chunks/{filesystem-gtymtyg6.js → location-service-map-htr2xv6b.js} +6 -6
  153. package/dist/chunks/{filesystem-8rpbtay5.js → location-service-map-hw1z087j.js} +7 -7
  154. package/dist/chunks/{filesystem-wsfdahkn.js → location-service-map-hw81jkqg.js} +12 -12
  155. package/dist/chunks/{filesystem-7ye1622v.js → location-service-map-hxxxkake.js} +24 -24
  156. package/dist/chunks/{filesystem-42vvks9a.js → location-service-map-hy35aq5e.js} +12 -12
  157. package/dist/chunks/{filesystem-j09zfasm.js → location-service-map-j09zfasm.js} +3 -3
  158. package/dist/chunks/{filesystem-mfgzhhge.js → location-service-map-j0z1hbm7.js} +5 -5
  159. package/dist/chunks/{filesystem-04rd1xjf.js → location-service-map-j26e8f99.js} +31 -31
  160. package/dist/chunks/{filesystem-df9r6vr8.js → location-service-map-j4xtsjbj.js} +23 -23
  161. package/dist/chunks/{filesystem-y8fj3v1k.js → location-service-map-jgrj7vpb.js} +10 -10
  162. package/dist/chunks/{filesystem-pnkbpv6t.js → location-service-map-jvvc3tfq.js} +9 -9
  163. package/dist/chunks/{filesystem-1vvyf17e.js → location-service-map-jxntzgs7.js} +28 -28
  164. package/dist/chunks/{filesystem-4052cchc.js → location-service-map-jz647r1p.js} +11 -11
  165. package/dist/chunks/{filesystem-rde5ychf.js → location-service-map-k73fr1k7.js} +20 -20
  166. package/dist/chunks/{filesystem-m8azxxds.js → location-service-map-k7wxww75.js} +11 -11
  167. package/dist/chunks/{filesystem-axz3bbsr.js → location-service-map-kc16ztxm.js} +15 -15
  168. package/dist/chunks/location-service-map-kf3mbpd3.js +253 -0
  169. package/dist/chunks/{filesystem-brxt6bhf.js → location-service-map-kfj9hn6k.js} +20 -20
  170. package/dist/chunks/{filesystem-dytxdk7n.js → location-service-map-kg0ryrs1.js} +34 -34
  171. package/dist/chunks/{filesystem-esay8zmc.js → location-service-map-kjttyt96.js} +17 -17
  172. package/dist/chunks/{filesystem-zcrspsvn.js → location-service-map-kne8f3cn.js} +4 -4
  173. package/dist/chunks/{filesystem-st4n5fmc.js → location-service-map-krpype3t.js} +16 -16
  174. package/dist/chunks/{filesystem-m52bgz96.js → location-service-map-kt13rzk4.js} +32 -32
  175. package/dist/chunks/{filesystem-x0f2qx15.js → location-service-map-kvh9ex0n.js} +3 -3
  176. package/dist/chunks/{filesystem-cqj6hj84.js → location-service-map-kvsv9rq3.js} +17 -17
  177. package/dist/chunks/{filesystem-ea274jfg.js → location-service-map-kxqng4z4.js} +16 -16
  178. package/dist/chunks/{filesystem-2jysb6nv.js → location-service-map-kz8sfr61.js} +3 -3
  179. package/dist/chunks/{filesystem-88hkx883.js → location-service-map-m329mjby.js} +12 -12
  180. package/dist/chunks/{filesystem-ntd76dtp.js → location-service-map-m47hdp86.js} +8 -8
  181. package/dist/chunks/{filesystem-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{filesystem-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  183. package/dist/chunks/{filesystem-me4fzj2s.js → location-service-map-mcwdvdbx.js} +9 -9
  184. package/dist/chunks/{filesystem-7q7p1rgy.js → location-service-map-ms1sgmgt.js} +10 -10
  185. package/dist/chunks/{filesystem-4mwpykj0.js → location-service-map-mx9vqzsb.js} +6 -6
  186. package/dist/chunks/{filesystem-vx3jgdek.js → location-service-map-my4zabxr.js} +3 -3
  187. package/dist/chunks/{filesystem-cb63bp6n.js → location-service-map-n3gkh2k8.js} +4 -4
  188. package/dist/chunks/{filesystem-93ea1xn4.js → location-service-map-n7chbqxk.js} +21 -21
  189. package/dist/chunks/{filesystem-6kzp9tjq.js → location-service-map-n8vdnqrc.js} +5 -5
  190. package/dist/chunks/{filesystem-gyvk3j9r.js → location-service-map-ns04df5e.js} +15 -15
  191. package/dist/chunks/{filesystem-2mvwd2j5.js → location-service-map-nszkg83g.js} +19 -19
  192. package/dist/chunks/location-service-map-pc3mwg2h.js +513 -0
  193. package/dist/chunks/{filesystem-g4y5gz37.js → location-service-map-pd14fbdd.js} +6 -6
  194. package/dist/chunks/{filesystem-nd4tfyg0.js → location-service-map-phz50fbd.js} +9 -9
  195. package/dist/chunks/{filesystem-ast615dg.js → location-service-map-pj97maf1.js} +25 -25
  196. package/dist/chunks/{filesystem-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{filesystem-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  198. package/dist/chunks/{filesystem-xrg7s2x1.js → location-service-map-pp6tmt8p.js} +10 -10
  199. package/dist/chunks/{filesystem-djjx68bv.js → location-service-map-pp7c1v3z.js} +37 -37
  200. package/dist/chunks/{filesystem-t3825hcj.js → location-service-map-pxpx7y6c.js} +55 -55
  201. package/dist/chunks/{filesystem-6pc27hjz.js → location-service-map-py3kkmfq.js} +6 -6
  202. package/dist/chunks/{filesystem-6gw469qx.js → location-service-map-pynx3rzn.js} +6 -6
  203. package/dist/chunks/{filesystem-8gk143f9.js → location-service-map-q15xqe5w.js} +15 -15
  204. package/dist/chunks/{filesystem-m70nxkxe.js → location-service-map-qn90mm7z.js} +14 -14
  205. package/dist/chunks/{filesystem-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{filesystem-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  207. package/dist/chunks/{filesystem-e8yng8xa.js → location-service-map-qv519ymt.js} +45 -45
  208. package/dist/chunks/{filesystem-98zt1fkg.js → location-service-map-qwqqzdxk.js} +8 -8
  209. package/dist/chunks/{filesystem-e80seqcp.js → location-service-map-r2z489rp.js} +3 -3
  210. package/dist/chunks/{filesystem-b72x306p.js → location-service-map-r37wb9bh.js} +13 -13
  211. package/dist/chunks/{filesystem-g8272p2k.js → location-service-map-r5p8p72t.js} +10 -10
  212. package/dist/chunks/{filesystem-3rtxz4nr.js → location-service-map-r61qxybf.js} +8 -8
  213. package/dist/chunks/{filesystem-0nb2yaj7.js → location-service-map-r80kwpvr.js} +9 -9
  214. package/dist/chunks/{filesystem-yfyzdc7t.js → location-service-map-r8bwyjs3.js} +32 -32
  215. package/dist/chunks/{filesystem-zx414vf8.js → location-service-map-ra8aazcz.js} +15 -15
  216. package/dist/chunks/{filesystem-t6vsspdg.js → location-service-map-ratrq7cm.js} +7 -7
  217. package/dist/chunks/{filesystem-38xz3wm4.js → location-service-map-rdb1svpf.js} +34 -34
  218. package/dist/chunks/{filesystem-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{filesystem-rert0e01.js → location-service-map-rert0e01.js} +2 -2
  220. package/dist/chunks/{filesystem-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
  221. package/dist/chunks/{filesystem-sptbfbhr.js → location-service-map-rwme0grx.js} +15 -15
  222. package/dist/chunks/{filesystem-yhq47pcp.js → location-service-map-ry082wg0.js} +9 -9
  223. package/dist/chunks/{filesystem-nghv1tg0.js → location-service-map-s0gydmaw.js} +23 -23
  224. package/dist/chunks/{filesystem-6vt1d4a8.js → location-service-map-s2t00s75.js} +12 -12
  225. package/dist/chunks/location-service-map-s315gvtx.js +26 -0
  226. package/dist/chunks/{filesystem-a7tjv382.js → location-service-map-s68q802c.js} +13 -13
  227. package/dist/chunks/{filesystem-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
  228. package/dist/chunks/{filesystem-4r3st4w3.js → location-service-map-sb86xevf.js} +12 -12
  229. package/dist/chunks/{filesystem-x1n3xk5a.js → location-service-map-shm9gt2y.js} +12 -12
  230. package/dist/chunks/{filesystem-t8jmph7p.js → location-service-map-sx3pjf9c.js} +31 -31
  231. package/dist/chunks/{filesystem-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  232. package/dist/chunks/{filesystem-ma3vsd6k.js → location-service-map-t58ss6va.js} +11 -11
  233. package/dist/chunks/{filesystem-pj3rwfnx.js → location-service-map-t8ne3r2q.js} +12 -12
  234. package/dist/chunks/{filesystem-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{filesystem-m77a8waw.js → location-service-map-tbt5dvb1.js} +19 -19
  236. package/dist/chunks/{filesystem-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{filesystem-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  238. package/dist/chunks/{filesystem-zrd4nqr3.js → location-service-map-tgnnk969.js} +19 -19
  239. package/dist/chunks/{filesystem-vrrq7v3g.js → location-service-map-tk14y25j.js} +5 -5
  240. package/dist/chunks/{filesystem-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{filesystem-90vpw73y.js → location-service-map-txd8c2hd.js} +4 -4
  242. package/dist/chunks/{filesystem-kfpaqgkr.js → location-service-map-txqtqxhq.js} +22 -22
  243. package/dist/chunks/{filesystem-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  244. package/dist/chunks/{filesystem-0bg0bx69.js → location-service-map-v0es1rhs.js} +5 -5
  245. package/dist/chunks/{filesystem-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{filesystem-rrpgd0ny.js → location-service-map-vb8wgay5.js} +8 -8
  247. package/dist/chunks/{filesystem-m2sg2d0v.js → location-service-map-vcc1d1p0.js} +3 -3
  248. package/dist/chunks/{filesystem-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  249. package/dist/chunks/{filesystem-xg164bxt.js → location-service-map-vjwphg0n.js} +34 -34
  250. package/dist/chunks/{filesystem-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{filesystem-f5ea8hdq.js → location-service-map-w0cr6kn3.js} +22 -22
  252. package/dist/chunks/{filesystem-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{filesystem-vk98rgmp.js → location-service-map-w76n4hge.js} +19 -19
  254. package/dist/chunks/{filesystem-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  255. package/dist/chunks/{filesystem-c60gsmre.js → location-service-map-wqptjszz.js} +21 -21
  256. package/dist/chunks/{filesystem-nybg9njq.js → location-service-map-wyazz7bw.js} +12 -12
  257. package/dist/chunks/{filesystem-erv775vn.js → location-service-map-x5hsf6rj.js} +17 -17
  258. package/dist/chunks/{filesystem-33xa9rtw.js → location-service-map-xe9ktzb9.js} +25 -25
  259. package/dist/chunks/{filesystem-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
  260. package/dist/chunks/{filesystem-yvtwbw85.js → location-service-map-xh49hxk7.js} +75 -75
  261. package/dist/chunks/{filesystem-kw3sp2bd.js → location-service-map-xmpwqgz4.js} +9 -9
  262. package/dist/chunks/{filesystem-5bbq7g0g.js → location-service-map-xsgpdrvd.js} +41 -41
  263. package/dist/chunks/{filesystem-r90cpetc.js → location-service-map-y1em8rf3.js} +11 -11
  264. package/dist/chunks/{filesystem-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{filesystem-njhqdk9p.js → location-service-map-y56ehv6b.js} +5 -5
  266. package/dist/chunks/{filesystem-9018w457.js → location-service-map-ydah9gdn.js} +84 -84
  267. package/dist/chunks/{filesystem-b7e4t0g9.js → location-service-map-yfv96e1b.js} +24 -24
  268. package/dist/chunks/{filesystem-ppnsdmbh.js → location-service-map-ykw935pc.js} +33 -33
  269. package/dist/chunks/{filesystem-f2n192rq.js → location-service-map-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{filesystem-qr891hhg.js → location-service-map-yytnj0xn.js} +15 -15
  271. package/dist/chunks/{filesystem-06d3crh0.js → location-service-map-z029qf89.js} +5 -5
  272. package/dist/chunks/{filesystem-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{filesystem-qsdp7can.js → location-service-map-z186befd.js} +2 -2
  274. package/dist/chunks/{filesystem-fs5j28yz.js → location-service-map-z1zdzsfj.js} +53 -53
  275. package/dist/chunks/{filesystem-96q3gpsm.js → location-service-map-z2dcak32.js} +33 -33
  276. package/dist/chunks/{filesystem-72rw85ce.js → location-service-map-z3507kbh.js} +11 -11
  277. package/dist/chunks/{filesystem-45m3bn54.js → location-service-map-z37zr1de.js} +4 -4
  278. package/dist/chunks/{filesystem-929jc9q6.js → location-service-map-z5s28eht.js} +14 -14
  279. package/dist/chunks/{filesystem-3n46ts9y.js → location-service-map-zcf38hqe.js} +9 -9
  280. package/dist/chunks/{filesystem-47f1pje9.js → location-service-map-zh94prq5.js} +11 -11
  281. package/dist/chunks/{filesystem-qf76qvkk.js → location-service-map-zjtrsxny.js} +5 -5
  282. package/dist/chunks/{filesystem-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{filesystem-03apfjcg.js → location-service-map-zx2dwjq0.js} +3 -3
  284. package/dist/chunks/{filesystem-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  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 +116 -116
  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 +118 -118
  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 +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  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 +117 -117
  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 +87 -87
  319. package/dist/database/database.js +68 -68
  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 +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +365 -365
  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 +91 -91
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +93 -93
  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 +218 -218
  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 +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  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 +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +5 -5
  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 +135 -135
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +86 -86
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +87 -87
  466. package/dist/managed-policy.js +6 -6
  467. package/dist/mcp/client.js +101 -94
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  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 +104 -104
  476. package/dist/models-dev.js +103 -103
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  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 +90 -90
  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 +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +1 -1
  491. package/dist/plugin/instance.js +3 -3
  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 +119 -119
  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 +118 -118
  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 +127 -127
  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 +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +4 -4
  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 +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +4 -4
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  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 +95 -95
  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 +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +84 -84
  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 +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +88 -88
  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 +122 -122
  590. package/dist/session/model-transport.js +9 -9
  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 +3 -3
  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 +4 -4
  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 +75 -75
  611. package/dist/session/store.js +87 -87
  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 +215 -215
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  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 +11 -11
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +116 -116
  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 +130 -130
  633. package/dist/tool/plugin/edit.js +116 -116
  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 +126 -126
  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 +124 -124
  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 +210 -210
  643. package/dist/tool/plugin/skill.js +109 -109
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +114 -114
  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 +3 -3
  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 +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +78 -78
  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 +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/filesystem-1x11rq2a.js +0 -18
  686. package/dist/chunks/filesystem-szeb262z.js +0 -513
  687. package/dist/chunks/filesystem-tr1gc2fq.js +0 -253
  688. package/dist/chunks/filesystem-vddt4hr5.js +0 -26
  689. /package/dist/chunks/{filesystem-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{filesystem-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{filesystem-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{filesystem-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{filesystem-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{filesystem-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{filesystem-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{filesystem-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{filesystem-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{filesystem-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{filesystem-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{filesystem-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  701. /package/dist/chunks/{filesystem-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{filesystem-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{filesystem-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{filesystem-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{filesystem-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{filesystem-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{filesystem-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{filesystem-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  709. /package/dist/chunks/{filesystem-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{filesystem-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  711. /package/dist/chunks/{filesystem-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{filesystem-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{filesystem-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{filesystem-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  715. /package/dist/chunks/{filesystem-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{filesystem-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{filesystem-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{filesystem-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{filesystem-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{filesystem-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{filesystem-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{filesystem-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{filesystem-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{filesystem-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{filesystem-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{filesystem-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{filesystem-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{filesystem-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{filesystem-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{filesystem-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{filesystem-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{filesystem-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{filesystem-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  735. /package/dist/chunks/{filesystem-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{filesystem-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{filesystem-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{filesystem-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{filesystem-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{filesystem-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{filesystem-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{filesystem-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{filesystem-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{filesystem-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{filesystem-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{filesystem-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  747. /package/dist/chunks/{filesystem-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{filesystem-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  749. /package/dist/chunks/{filesystem-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{filesystem-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  751. /package/dist/chunks/{filesystem-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{filesystem-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{filesystem-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{filesystem-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{filesystem-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{filesystem-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{filesystem-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{filesystem-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  759. /package/dist/chunks/{filesystem-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{filesystem-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{filesystem-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{filesystem-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{filesystem-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{filesystem-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{filesystem-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{filesystem-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{filesystem-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{filesystem-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{filesystem-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{filesystem-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{filesystem-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{filesystem-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{filesystem-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{filesystem-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{filesystem-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{filesystem-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{filesystem-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{filesystem-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{filesystem-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{filesystem-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{filesystem-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{filesystem-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{filesystem-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  784. /package/dist/chunks/{filesystem-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{filesystem-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{filesystem-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{filesystem-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{filesystem-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{filesystem-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./filesystem-6vt1d4a8.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-service-map-s2t00s75.js";
5
5
  import {
6
6
  create3
7
- } from "./filesystem-rdw6cm16.js";
7
+ } from "./location-service-map-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./filesystem-1d99jg21.js";
10
+ } from "./location-service-map-4h8beb84.js";
11
11
  import {
12
12
  __export
13
- } from "./filesystem-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event9,
21
- ID: () => ID5,
22
- Info: () => Info14,
20
+ Event: () => Event7,
21
+ ID: () => ID4,
22
+ Info: () => Info6,
23
23
  Name: () => Name2,
24
- Service: () => Service53,
24
+ Service: () => Service39,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available3,
29
- node: () => node55,
28
+ available: () => available2,
29
+ node: () => node42,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event9 } from "@opencode/schema/skill";
37
+ import { Event as Event7 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info14 = Skill.Info;
43
- var ID5 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info6 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
- var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
45
+ var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
47
47
  const directory = path.dirname(skill.path);
48
48
  return [
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service53 extends Context.Service()("@opencode/Skill") {
74
+ class Service39 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service53, Effect.gen(function* () {
77
- const bus = yield* Service83;
76
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
77
+ const bus = yield* Service84;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID5.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID5.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID5.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID5.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service53.of({
100
+ return Service39.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node55 = makeLocationNode({
112
- service: Service53,
111
+ var node42 = makeLocationNode({
112
+ service: Service39,
113
113
  layer,
114
- deps: [node87]
114
+ deps: [node88]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID5, Name2, available3, toModelOutput3, prepare3, Service53, node55, exports_skill5, Event9 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ID14,
3
- Service76,
4
- node80
5
- } from "./filesystem-q37cayrb.js";
3
+ Service78,
4
+ node82
5
+ } from "./location-service-map-dbd4bcxh.js";
6
6
  import {
7
7
  ID13,
8
8
  isAISDK2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service75,
19
- node79
20
- } from "./filesystem-hh0gybm5.js";
18
+ Service77,
19
+ node81
20
+ } from "./location-service-map-80m1sdbk.js";
21
21
  import {
22
- Service74,
23
- node78
24
- } from "./filesystem-a7jeddqa.js";
22
+ Service58,
23
+ node61
24
+ } from "./location-service-map-c9y76qr3.js";
25
25
  import {
26
- ID10,
26
+ ID12,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service66,
30
- node68,
29
+ Service76,
30
+ node80,
31
31
  supportsText2
32
- } from "./filesystem-38xz3wm4.js";
32
+ } from "./location-service-map-rdb1svpf.js";
33
33
  import {
34
34
  __export
35
- } from "./filesystem-9rqn6x4v.js";
35
+ } from "./location-service-map-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service62,
44
+ Service: () => Service57,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer23,
52
- node: () => node64,
51
+ layer: () => layer24,
52
+ node: () => node60,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -60,7 +60,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
62
  providerID: ID13,
63
- modelID: ID10,
63
+ modelID: ID12,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -70,7 +70,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
72
  providerID: ID13,
73
- modelID: ID10,
73
+ modelID: ID12,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -81,7 +81,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
83
  providerID: ID13,
84
- modelID: ID10,
84
+ modelID: ID12,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -92,7 +92,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
94
  providerID: ID13,
95
- modelID: ID10,
95
+ modelID: ID12,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -104,7 +104,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
106
  providerID: ID13,
107
- modelID: ID10,
107
+ modelID: ID12,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -114,7 +114,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
116
  providerID: ID13,
117
- modelID: ID10,
117
+ modelID: ID12,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service62 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service57 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -271,12 +271,12 @@ var causeMessage = (cause) => {
271
271
  };
272
272
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
273
273
  var hasPackage2 = (model) => Boolean(model.package);
274
- var layer23 = Layer.effect(Service62, Effect.gen(function* () {
275
- const providers = yield* Service75;
276
- const models = yield* Service66;
277
- const integrations = yield* Service76;
274
+ var layer24 = Layer.effect(Service57, Effect.gen(function* () {
275
+ const providers = yield* Service77;
276
+ const models = yield* Service76;
277
+ const integrations = yield* Service78;
278
278
  const npm = yield* Npm.Service;
279
- const aisdk = yield* Service74;
279
+ const aisdk = yield* Service58;
280
280
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
281
281
  const provider = yield* providers.get(selected.providerID);
282
282
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
@@ -306,7 +306,7 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
306
306
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
307
307
  };
308
308
  });
309
- return Service62.of({
309
+ return Service57.of({
310
310
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
311
311
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
312
312
  if (!selected)
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
323
323
  const name = packageName2(packageName);
324
324
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
325
325
  }
326
- var node64 = makeLocationNode({
327
- service: Service62,
328
- layer: layer23,
329
- deps: [node79, node68, node80, Npm.node, node78]
326
+ var node60 = makeLocationNode({
327
+ service: Service57,
328
+ layer: layer24,
329
+ deps: [node81, node80, node82, Npm.node, node61]
330
330
  });
331
331
 
332
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node64, exports_model_resolver };
332
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service57, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node60, exports_model_resolver };
@@ -1,153 +1,153 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./filesystem-jzg6c2d5.js";
3
+ } from "./location-service-map-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./filesystem-q3sfg36h.js";
6
+ } from "./location-service-map-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./filesystem-1cnp2v09.js";
9
+ } from "./location-service-map-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./filesystem-rcb2kzg1.js";
12
+ } from "./location-service-map-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./filesystem-msx8hqn2.js";
15
+ } from "./location-service-map-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./filesystem-bkyjaxrp.js";
18
+ } from "./location-service-map-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./filesystem-g86h250q.js";
21
+ } from "./location-service-map-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./filesystem-jr7sbwjy.js";
24
+ } from "./location-service-map-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./filesystem-7m9af43g.js";
27
+ } from "./location-service-map-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./filesystem-j2ntwpah.js";
30
+ } from "./location-service-map-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./filesystem-njntx4h6.js";
33
+ } from "./location-service-map-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./filesystem-qrg20bc0.js";
36
+ } from "./location-service-map-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./filesystem-z9919s4g.js";
39
+ } from "./location-service-map-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./filesystem-43n2bw4t.js";
42
+ } from "./location-service-map-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./filesystem-n3j8tn72.js";
45
+ } from "./location-service-map-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./filesystem-d9jj8t3e.js";
48
+ } from "./location-service-map-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./filesystem-fd410y7t.js";
51
+ } from "./location-service-map-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./filesystem-e5kj55wp.js";
54
+ } from "./location-service-map-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./filesystem-f6n9ztr4.js";
57
+ } from "./location-service-map-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./filesystem-q74kybfr.js";
60
+ } from "./location-service-map-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./filesystem-53557ph1.js";
63
+ } from "./location-service-map-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./filesystem-7akdwqpd.js";
66
+ } from "./location-service-map-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./filesystem-wer8tq1h.js";
69
+ } from "./location-service-map-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./filesystem-wtztk69x.js";
72
+ } from "./location-service-map-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./filesystem-ssg3fenm.js";
75
+ } from "./location-service-map-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./filesystem-2c3vjs8z.js";
78
+ } from "./location-service-map-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./filesystem-17cy0kzp.js";
81
+ } from "./location-service-map-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./filesystem-hk9envan.js";
84
+ } from "./location-service-map-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./filesystem-w803qqfp.js";
87
+ } from "./location-service-map-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./filesystem-jwfs4k6c.js";
90
+ } from "./location-service-map-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./filesystem-mp448xyj.js";
93
+ } from "./location-service-map-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./filesystem-aqzs7mqg.js";
96
+ } from "./location-service-map-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./filesystem-ygaqb7jw.js";
99
+ } from "./location-service-map-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./filesystem-8n3pysct.js";
102
+ } from "./location-service-map-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./filesystem-d9fn303g.js";
105
+ } from "./location-service-map-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./filesystem-cvy3z8tj.js";
108
+ } from "./location-service-map-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./filesystem-9a4afbnw.js";
111
+ } from "./location-service-map-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./filesystem-n05xt0ee.js";
114
+ } from "./location-service-map-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./filesystem-sdp7kfr6.js";
117
+ } from "./location-service-map-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./filesystem-a6k6eb26.js";
120
+ } from "./location-service-map-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./filesystem-4knz6hnm.js";
123
+ } from "./location-service-map-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./filesystem-df08tz66.js";
126
+ } from "./location-service-map-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./filesystem-bmr6ed5q.js";
129
+ } from "./location-service-map-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./filesystem-atq7p7m5.js";
132
+ } from "./location-service-map-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./filesystem-qb87gjwd.js";
135
+ } from "./location-service-map-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./filesystem-359p4xyc.js";
138
+ } from "./location-service-map-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./filesystem-y8f7s663.js";
141
+ } from "./location-service-map-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./filesystem-8wj87zfr.js";
144
+ } from "./location-service-map-8wj87zfr.js";
145
145
  import {
146
146
  _20261007190000_azure_cli_external_credential_default
147
- } from "./filesystem-84wd9syh.js";
147
+ } from "./location-service-map-84wd9syh.js";
148
148
  import {
149
149
  _20261010180456_project_time_archived_default
150
- } from "./filesystem-m18g726c.js";
150
+ } from "./location-service-map-m18g726c.js";
151
151
 
152
152
  // src/database/migration.gen.ts
153
153
  var migrations2 = [
@@ -1,72 +1,72 @@
1
1
  import {
2
2
  Service72
3
- } from "./filesystem-nm25s7jz.js";
3
+ } from "./location-service-map-6jpm8ex2.js";
4
4
  import {
5
- Service16,
5
+ Service19,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./filesystem-7q7p1rgy.js";
8
+ } from "./location-service-map-ms1sgmgt.js";
9
9
  import {
10
- Service19
11
- } from "./filesystem-wfskyrtt.js";
10
+ Service14
11
+ } from "./location-service-map-8v3872mr.js";
12
12
  import {
13
- Service54
14
- } from "./filesystem-1d99jg21.js";
13
+ Service49
14
+ } from "./location-service-map-4h8beb84.js";
15
15
  import {
16
- Service15
17
- } from "./filesystem-a78w3xhb.js";
16
+ Service17
17
+ } from "./location-service-map-3sw2dssw.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./filesystem-6prwharc.js";
20
+ } from "./location-service-map-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./location-service-map-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input11,
29
- Output: () => Output7,
30
- Plugin: () => Plugin13,
28
+ Input: () => Input5,
29
+ Output: () => Output4,
30
+ Plugin: () => Plugin6,
31
31
  WriteTool: () => exports_write,
32
- name: () => name11,
33
- toModelContent: () => toModelContent6
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name11 = "write";
39
- var Input11 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output7 = Schema.Struct({
45
+ var Output4 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin13 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin6 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service15;
56
- const fileMutation = yield* Service16;
55
+ const access = yield* Service17;
56
+ const fileMutation = yield* Service19;
57
57
  const environment = yield* Service72;
58
- const formatter = yield* Service19;
59
- const permission = yield* Service54;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service49;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name11,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input11,
69
- output: Output7,
68
+ input: Input5,
69
+ output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name11, Input11, Output7, toModelContent6, Plugin13, exports_write };
101
+ export { name5, Input5, Output4, toModelContent3, Plugin6, exports_write };