@opencode/core 0.0.0-dev-19658 → 0.0.0-dev-19660

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-jzv7hrdh.js → location-service-map-0jtkz3d8.js} +40 -40
  8. package/dist/chunks/{location-2k8khapm.js → location-service-map-0jwsre1p.js} +5 -5
  9. package/dist/chunks/{location-m3p5ews0.js → location-service-map-0p0j0qmv.js} +14 -14
  10. package/dist/chunks/{location-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{location-x60t9eey.js → location-service-map-0x3vynpm.js} +5 -5
  13. package/dist/chunks/{location-23e0sdpc.js → location-service-map-140749c4.js} +3 -3
  14. package/dist/chunks/{location-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{location-vdg07bfs.js → location-service-map-1dxctdcm.js} +4 -4
  16. package/dist/chunks/{location-wbakrcvj.js → location-service-map-1mv8tc66.js} +10 -10
  17. package/dist/chunks/{location-zhd3dgar.js → location-service-map-1mxmwp69.js} +5 -5
  18. package/dist/chunks/{location-a2jjt3bn.js → location-service-map-1q4mm0ye.js} +28 -28
  19. package/dist/chunks/{location-56gdpj1q.js → location-service-map-1ygqh575.js} +9 -9
  20. package/dist/chunks/{location-v46024yx.js → location-service-map-210szggt.js} +1 -1
  21. package/dist/chunks/{location-x32zrvqm.js → location-service-map-21kebyyj.js} +41 -41
  22. package/dist/chunks/{location-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  23. package/dist/chunks/location-service-map-24yjxnnb.js +247 -0
  24. package/dist/chunks/{location-mygg1vka.js → location-service-map-265fjsnr.js} +56 -56
  25. package/dist/chunks/{location-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{location-8t0sj8q6.js → location-service-map-2j80qb3r.js} +5 -5
  27. package/dist/chunks/{location-bxf8tdej.js → location-service-map-2y1k1gba.js} +4 -4
  28. package/dist/chunks/{location-3w2b2yj4.js → location-service-map-3cfzdc8e.js} +5 -5
  29. package/dist/chunks/{location-67t79zb6.js → location-service-map-3dpqf97p.js} +15 -15
  30. package/dist/chunks/{location-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{location-bba6sqk7.js → location-service-map-3fd5r0q9.js} +7 -7
  32. package/dist/chunks/{location-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{location-5q76taye.js → location-service-map-3ktf6c16.js} +25 -25
  34. package/dist/chunks/{location-4wjrfpfr.js → location-service-map-3p0sb3hh.js} +34 -34
  35. package/dist/chunks/{location-gctr1sw8.js → location-service-map-3scja1h6.js} +6 -6
  36. package/dist/chunks/{location-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{location-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{location-9mek4kv0.js → location-service-map-3w8a90tt.js} +24 -24
  39. package/dist/chunks/{location-43yrs188.js → location-service-map-3xkzj60s.js} +32 -32
  40. package/dist/chunks/{location-jva4mgym.js → location-service-map-3ythc6yv.js} +4 -4
  41. package/dist/chunks/{location-var1m86v.js → location-service-map-49jpjk9s.js} +15 -15
  42. package/dist/chunks/{location-j3qk5xq3.js → location-service-map-4b77fr6c.js} +9 -9
  43. package/dist/chunks/{location-0hamrkm4.js → location-service-map-4bfn2nav.js} +36 -36
  44. package/dist/chunks/{location-b80qvjyn.js → location-service-map-4f16ex7w.js} +24 -24
  45. package/dist/chunks/{location-mtj0w11y.js → location-service-map-4mymgcv0.js} +4 -4
  46. package/dist/chunks/{location-k0hm0ppj.js → location-service-map-4nm3vjp9.js} +6 -6
  47. package/dist/chunks/{location-nq6ygtzk.js → location-service-map-4x04b74d.js} +24 -24
  48. package/dist/chunks/{location-2pnhn36q.js → location-service-map-50mzsvk4.js} +21 -21
  49. package/dist/chunks/{location-510m7gjw.js → location-service-map-510m7gjw.js} +2 -2
  50. package/dist/chunks/{location-yv8j9t10.js → location-service-map-545n52gg.js} +10 -10
  51. package/dist/chunks/{location-bccb6npm.js → location-service-map-5c0f1prt.js} +4 -4
  52. package/dist/chunks/{location-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  53. package/dist/chunks/{location-q7tjfjkg.js → location-service-map-5feygex5.js} +24 -24
  54. package/dist/chunks/{location-f5avtzec.js → location-service-map-5h7r02gf.js} +15 -15
  55. package/dist/chunks/{location-yck5mxex.js → location-service-map-5jjmea98.js} +12 -12
  56. package/dist/chunks/{location-ts9new8c.js → location-service-map-5mr0an5j.js} +34 -34
  57. package/dist/chunks/{location-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{location-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{location-wmhkxz7c.js → location-service-map-5x83e8xj.js} +9 -9
  60. package/dist/chunks/{location-1ajx6rf5.js → location-service-map-5yzzbxa7.js} +8 -8
  61. package/dist/chunks/{location-8bfckdzf.js → location-service-map-640j4mmj.js} +16 -16
  62. package/dist/chunks/{location-669tq793.js → location-service-map-669tq793.js} +1 -1
  63. package/dist/chunks/location-service-map-68wamef9.js +26 -0
  64. package/dist/chunks/{location-gaq06wk0.js → location-service-map-6cd6tdvt.js} +6 -6
  65. package/dist/chunks/{location-zzvq861e.js → location-service-map-6f0f08tp.js} +6 -6
  66. package/dist/chunks/{location-6h73sxmp.js → location-service-map-6h73sxmp.js} +1 -1
  67. package/dist/chunks/{location-a3ftg8j6.js → location-service-map-6hjx5zpb.js} +9 -9
  68. package/dist/chunks/{location-avc8n21j.js → location-service-map-6jqkynh6.js} +18 -18
  69. package/dist/chunks/location-service-map-6kdq0pjd.js +4 -0
  70. package/dist/chunks/{location-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{location-t0gchcch.js → location-service-map-6t76mbj1.js} +20 -20
  72. package/dist/chunks/{location-6cjrqzet.js → location-service-map-6tycdckt.js} +18 -18
  73. package/dist/chunks/{location-7hqq4yr5.js → location-service-map-6vmhsyqb.js} +3 -3
  74. package/dist/chunks/{location-57ez7d0k.js → location-service-map-6x0h2hvg.js} +9 -9
  75. package/dist/chunks/{location-t89gs4p7.js → location-service-map-72x2kg6r.js} +10 -10
  76. package/dist/chunks/{location-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{location-rbqenzp4.js → location-service-map-7gs7ke07.js} +22 -22
  78. package/dist/chunks/{location-ghb6dw5x.js → location-service-map-7kbdqp21.js} +6 -6
  79. package/dist/chunks/{location-xsvdyt0s.js → location-service-map-7mq0cvq1.js} +13 -13
  80. package/dist/chunks/{location-cpdheze8.js → location-service-map-7srmk5ch.js} +11 -11
  81. package/dist/chunks/{location-ac9hcp81.js → location-service-map-7wgre560.js} +37 -37
  82. package/dist/chunks/{location-jhq2w8nd.js → location-service-map-82kbskjh.js} +16 -16
  83. package/dist/chunks/{location-8khwn8xa.js → location-service-map-82wag1nn.js} +15 -15
  84. package/dist/chunks/{location-gdfwdqg1.js → location-service-map-83trqwjq.js} +20 -20
  85. package/dist/chunks/{location-sf4dfcqt.js → location-service-map-846nxxqf.js} +20 -20
  86. package/dist/chunks/{location-bk6zst5d.js → location-service-map-86ywxagw.js} +15 -15
  87. package/dist/chunks/{location-6wz0fpth.js → location-service-map-893gk64j.js} +11 -11
  88. package/dist/chunks/{location-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{location-1y0rb0ak.js → location-service-map-8mydn4af.js} +17 -17
  90. package/dist/chunks/{location-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{location-kgvs6344.js → location-service-map-8vqyqek3.js} +18 -18
  92. package/dist/chunks/{location-6sbe3e33.js → location-service-map-8zqjmmsh.js} +18 -18
  93. package/dist/chunks/{location-0xyk4f6x.js → location-service-map-925vrtrr.js} +84 -84
  94. package/dist/chunks/{location-z2nh5xtk.js → location-service-map-95hnsnnf.js} +10 -10
  95. package/dist/chunks/{location-tgks2w6d.js → location-service-map-965hbsyz.js} +10 -10
  96. package/dist/chunks/{location-rzkgkfj2.js → location-service-map-9ehf71qq.js} +8 -8
  97. package/dist/chunks/{location-96b9akrn.js → location-service-map-9xt7beqv.js} +7 -7
  98. package/dist/chunks/{location-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{location-r8ste1ck.js → location-service-map-a3r4dcrj.js} +2 -2
  100. package/dist/chunks/{location-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  101. package/dist/chunks/{location-qv6dpkjj.js → location-service-map-advntn1d.js} +4 -4
  102. package/dist/chunks/{location-3f9dyp3c.js → location-service-map-af5bf86k.js} +11 -11
  103. package/dist/chunks/{location-j1wra8w6.js → location-service-map-af7ft6b2.js} +9 -9
  104. package/dist/chunks/{location-02khppbe.js → location-service-map-anf0zms1.js} +9 -9
  105. package/dist/chunks/{location-nca7p386.js → location-service-map-apn8f15b.js} +9 -9
  106. package/dist/chunks/{location-h813zdhp.js → location-service-map-aqabytrz.js} +15 -15
  107. package/dist/chunks/{location-xqsj03fy.js → location-service-map-ayehcz6v.js} +11 -11
  108. package/dist/chunks/{location-b24v1g3v.js → location-service-map-b1ve85my.js} +28 -28
  109. package/dist/chunks/{location-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{location-qn627g2p.js → location-service-map-b9280rn6.js} +17 -17
  111. package/dist/chunks/{location-d61der1w.js → location-service-map-bapar831.js} +23 -23
  112. package/dist/chunks/{location-q5gbzsgk.js → location-service-map-bd0vgtef.js} +8 -8
  113. package/dist/chunks/{location-m5970q9f.js → location-service-map-bfmjpd91.js} +9 -9
  114. package/dist/chunks/{location-3bbrp7y1.js → location-service-map-bj7jfyvt.js} +17 -17
  115. package/dist/chunks/{location-251fb10q.js → location-service-map-bs2603xw.js} +32 -32
  116. package/dist/chunks/{location-pd1sw0zy.js → location-service-map-bxphfnmx.js} +25 -25
  117. package/dist/chunks/{location-2faw5ef7.js → location-service-map-c323bbvp.js} +17 -17
  118. package/dist/chunks/{location-jhhychjc.js → location-service-map-c3wvze55.js} +10 -10
  119. package/dist/chunks/{location-sg5fy40w.js → location-service-map-cbsgcep2.js} +32 -32
  120. package/dist/chunks/{location-63mm3hew.js → location-service-map-cc21mxc2.js} +32 -32
  121. package/dist/chunks/{location-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
  122. package/dist/chunks/{location-mx09shfg.js → location-service-map-cpkf12cv.js} +12 -12
  123. package/dist/chunks/{location-9m52ezb2.js → location-service-map-ctfw7cdm.js} +47 -47
  124. package/dist/chunks/{location-r7mqfzj6.js → location-service-map-cv7j2z5n.js} +12 -12
  125. package/dist/chunks/{location-5x5d8tg1.js → location-service-map-cvxnh4ee.js} +31 -31
  126. package/dist/chunks/{location-04e598sb.js → location-service-map-d0vk8qkm.js} +6 -6
  127. package/dist/chunks/{location-en7kw85b.js → location-service-map-d802jrky.js} +17 -17
  128. package/dist/chunks/{location-m11g7xy2.js → location-service-map-dc1t8cpf.js} +18 -18
  129. package/dist/chunks/{location-yxrvd12h.js → location-service-map-ddmannaj.js} +172 -172
  130. package/dist/chunks/{location-57b9ws8p.js → location-service-map-drwq78ky.js} +5 -5
  131. package/dist/chunks/{location-pzz1nbp9.js → location-service-map-ds3cv58q.js} +5 -5
  132. package/dist/chunks/{location-3qchzd5j.js → location-service-map-dyv4mywf.js} +10 -10
  133. package/dist/chunks/{location-j7qxv4aj.js → location-service-map-e02sbcgh.js} +30 -30
  134. package/dist/chunks/{location-brzb0pjt.js → location-service-map-e6hwtmax.js} +20 -20
  135. package/dist/chunks/{location-2kefad82.js → location-service-map-e6nzwyqe.js} +13 -13
  136. package/dist/chunks/{location-1e5k370n.js → location-service-map-e7jm4tva.js} +4 -4
  137. package/dist/chunks/{location-86wkksas.js → location-service-map-e7xzm7yh.js} +6 -6
  138. package/dist/chunks/{location-2hr5nhwa.js → location-service-map-eeaf82dq.js} +8 -8
  139. package/dist/chunks/{location-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{location-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{location-f828m53h.js → location-service-map-f828m53h.js} +2 -2
  142. package/dist/chunks/{location-4vg4ks7t.js → location-service-map-f8cghxbq.js} +20 -20
  143. package/dist/chunks/{location-k5jjywx3.js → location-service-map-few8y2yk.js} +41 -41
  144. package/dist/chunks/{location-3tq5qxbk.js → location-service-map-fkjmw100.js} +4 -4
  145. package/dist/chunks/{location-1k5f7654.js → location-service-map-fmrwf976.js} +15 -15
  146. package/dist/chunks/{location-apya2hza.js → location-service-map-fswh39dv.js} +19 -19
  147. package/dist/chunks/{location-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{location-cvezkyr6.js → location-service-map-g19t371p.js} +37 -37
  149. package/dist/chunks/{location-9b6jkn76.js → location-service-map-g1chrtxc.js} +6 -6
  150. package/dist/chunks/{location-fkb7e5ds.js → location-service-map-g8xjpkgp.js} +16 -16
  151. package/dist/chunks/{location-j3p5ngfb.js → location-service-map-gb5bdds1.js} +11 -11
  152. package/dist/chunks/{location-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{location-begrs0yj.js → location-service-map-ge51wycr.js} +30 -30
  154. package/dist/chunks/{location-3bmpx6jt.js → location-service-map-ggq2s5pj.js} +4 -4
  155. package/dist/chunks/{location-f4tgg2kc.js → location-service-map-gmk0dfms.js} +1 -1
  156. package/dist/chunks/{location-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{location-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
  158. package/dist/chunks/{location-hxr4ws4r.js → location-service-map-h08rb56n.js} +8 -8
  159. package/dist/chunks/{location-ataz063g.js → location-service-map-h0xtcnwj.js} +16 -16
  160. package/dist/chunks/{location-1twvxmhv.js → location-service-map-h5bq1sb8.js} +37 -37
  161. package/dist/chunks/{location-ya3w475s.js → location-service-map-h5dsj1en.js} +9 -9
  162. package/dist/chunks/{location-ebe9bak5.js → location-service-map-h6r3nrb9.js} +4 -4
  163. package/dist/chunks/{location-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-xax9g04y.js → location-service-map-h9yd5z5z.js} +23 -23
  165. package/dist/chunks/{location-bajakh74.js → location-service-map-hfdr1yjj.js} +4 -4
  166. package/dist/chunks/{location-wfwy58wd.js → location-service-map-hp2c8qqy.js} +24 -24
  167. package/dist/chunks/{location-ee7kvn5h.js → location-service-map-hptwwzze.js} +23 -23
  168. package/dist/chunks/{location-6wdd4sn3.js → location-service-map-j39yv4t6.js} +12 -12
  169. package/dist/chunks/{location-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  170. package/dist/chunks/{location-339sjr54.js → location-service-map-j9s1fk2v.js} +11 -11
  171. package/dist/chunks/{location-ed9batnz.js → location-service-map-jc0e05m4.js} +4 -4
  172. package/dist/chunks/{location-wnen7h7y.js → location-service-map-jdmvfsrp.js} +41 -41
  173. package/dist/chunks/{location-fjs5xx1d.js → location-service-map-jexxy024.js} +3 -3
  174. package/dist/chunks/{location-bnjqj5p3.js → location-service-map-jphv0zzy.js} +46 -46
  175. package/dist/chunks/{location-w0ejc12g.js → location-service-map-jxcxq7n9.js} +18 -18
  176. package/dist/chunks/{location-jppvw2tx.js → location-service-map-k3gnzxs0.js} +5 -5
  177. package/dist/chunks/{location-496ppf69.js → location-service-map-k82ca1ea.js} +13 -13
  178. package/dist/chunks/{location-skv4xg8q.js → location-service-map-kn6hy8gg.js} +3 -3
  179. package/dist/chunks/{location-qx08wga9.js → location-service-map-kqam0sgn.js} +15 -15
  180. package/dist/chunks/{location-yjb6xngg.js → location-service-map-m1bkqzdr.js} +19 -19
  181. package/dist/chunks/{location-5ccd62tn.js → location-service-map-m5wb1pe3.js} +10 -10
  182. package/dist/chunks/{location-2v2kev7s.js → location-service-map-m7wcydhj.js} +27 -27
  183. package/dist/chunks/{location-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-3pyx2gpt.js → location-service-map-maj3cgsn.js} +22 -22
  185. package/dist/chunks/{location-t4bxqr6c.js → location-service-map-mddebm60.js} +11 -11
  186. package/dist/chunks/{location-gy07hydc.js → location-service-map-mgk0crra.js} +3 -3
  187. package/dist/chunks/{location-ep3z54wh.js → location-service-map-mhhcsnwa.js} +44 -44
  188. package/dist/chunks/{location-r5x6zcsm.js → location-service-map-mhkvc446.js} +3 -3
  189. package/dist/chunks/{location-96x6qz65.js → location-service-map-mpmzeszj.js} +11 -11
  190. package/dist/chunks/{location-c1k63ygc.js → location-service-map-mpp021qg.js} +22 -22
  191. package/dist/chunks/{location-34dcfzy2.js → location-service-map-my4p66pg.js} +3 -3
  192. package/dist/chunks/{location-87deq66t.js → location-service-map-my4qt5ka.js} +8 -8
  193. package/dist/chunks/{location-06x8he3q.js → location-service-map-n4r3xatb.js} +4 -4
  194. package/dist/chunks/{location-5dx64r44.js → location-service-map-nbzsj80d.js} +11 -11
  195. package/dist/chunks/{location-rzw4e1rr.js → location-service-map-ndfbhgwr.js} +11 -11
  196. package/dist/chunks/{location-t1njq8np.js → location-service-map-ngn15djb.js} +37 -37
  197. package/dist/chunks/{location-v1mb79rm.js → location-service-map-nj8trw50.js} +15 -15
  198. package/dist/chunks/{location-fhbwfkce.js → location-service-map-njsjcp28.js} +20 -20
  199. package/dist/chunks/{location-mtft99cd.js → location-service-map-nxhqveyz.js} +5 -5
  200. package/dist/chunks/{location-1nzs1dt7.js → location-service-map-pf2hb43r.js} +6 -6
  201. package/dist/chunks/{location-pvrjs4yz.js → location-service-map-pj3035kn.js} +11 -11
  202. package/dist/chunks/{location-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{location-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  204. package/dist/chunks/{location-zvp4yy8h.js → location-service-map-pthrx8yq.js} +16 -16
  205. package/dist/chunks/{location-8k62qdcz.js → location-service-map-qcxfr8rj.js} +20 -20
  206. package/dist/chunks/{location-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  207. package/dist/chunks/{location-37ea9c2d.js → location-service-map-qwjmgwmn.js} +8 -8
  208. package/dist/chunks/{location-x8tmt122.js → location-service-map-qxgazt95.js} +9 -9
  209. package/dist/chunks/{location-cwa6csj7.js → location-service-map-r2m716tb.js} +9 -9
  210. package/dist/chunks/{location-yp2x3t23.js → location-service-map-r8xr0va3.js} +4 -4
  211. package/dist/chunks/{location-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
  212. package/dist/chunks/{location-rap9a73h.js → location-service-map-rap9a73h.js} +1 -1
  213. package/dist/chunks/{location-stn45mdz.js → location-service-map-rb2v4k36.js} +43 -43
  214. package/dist/chunks/{location-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{location-ywkfy99j.js → location-service-map-rhafb4aa.js} +9 -9
  216. package/dist/chunks/{location-x2c1vmj7.js → location-service-map-rjy43r9k.js} +47 -47
  217. package/dist/chunks/{location-tyhqx03m.js → location-service-map-rrkwsne1.js} +13 -13
  218. package/dist/chunks/{location-th94vcaa.js → location-service-map-rtn8v257.js} +23 -23
  219. package/dist/chunks/{location-7r7r939x.js → location-service-map-rv4vr9yd.js} +2 -2
  220. package/dist/chunks/{location-13r97ts9.js → location-service-map-s19nse04.js} +26 -26
  221. package/dist/chunks/{location-yv4dpavb.js → location-service-map-s24268rc.js} +15 -15
  222. package/dist/chunks/{location-97nfm5th.js → location-service-map-s7mj0cgm.js} +13 -13
  223. package/dist/chunks/{location-t550f9t1.js → location-service-map-s8d7rejh.js} +4 -4
  224. package/dist/chunks/{location-370e5hc7.js → location-service-map-sh4kyrrg.js} +28 -28
  225. package/dist/chunks/{location-51eea56x.js → location-service-map-shj1fj37.js} +11 -11
  226. package/dist/chunks/{location-w27pm9me.js → location-service-map-skzznzbs.js} +18 -18
  227. package/dist/chunks/{location-7k7zh3qr.js → location-service-map-snd73vvn.js} +23 -23
  228. package/dist/chunks/{location-qa3qhgw8.js → location-service-map-t2fc4mz5.js} +4 -4
  229. package/dist/chunks/{location-xhps9kw3.js → location-service-map-t45ckn0p.js} +28 -28
  230. package/dist/chunks/{location-7a80bsjh.js → location-service-map-t622crrm.js} +11 -11
  231. package/dist/chunks/{location-50hhjvx3.js → location-service-map-t8qw8ht6.js} +4 -4
  232. package/dist/chunks/{location-an7cqtb7.js → location-service-map-t9zs3egg.js} +4 -4
  233. package/dist/chunks/{location-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{location-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{location-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  236. package/dist/chunks/{location-m87mxrfe.js → location-service-map-tf0d63vq.js} +5 -5
  237. package/dist/chunks/{location-nx74h8ag.js → location-service-map-tgfqj0tj.js} +31 -31
  238. package/dist/chunks/{location-j0rfc03s.js → location-service-map-tpgz8nga.js} +3 -3
  239. package/dist/chunks/{location-5cxtm7bs.js → location-service-map-tqd8qkp8.js} +15 -15
  240. package/dist/chunks/{location-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  241. package/dist/chunks/{location-en8ynzy9.js → location-service-map-txetpexz.js} +26 -26
  242. package/dist/chunks/{location-1ca5mjv4.js → location-service-map-txwwvtzy.js} +11 -11
  243. package/dist/chunks/{location-b8hzf7nw.js → location-service-map-v27f6r8c.js} +5 -5
  244. package/dist/chunks/{location-e5b7myd9.js → location-service-map-v8p7hepz.js} +4 -4
  245. package/dist/chunks/{location-8eq90n8n.js → location-service-map-vbdfzvsx.js} +15 -15
  246. package/dist/chunks/{location-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  247. package/dist/chunks/{location-ygt2fm35.js → location-service-map-vfgap0e3.js} +25 -25
  248. package/dist/chunks/{location-0292n7zp.js → location-service-map-vkmp5m69.js} +5 -5
  249. package/dist/chunks/{location-r80gq034.js → location-service-map-vna125x6.js} +26 -26
  250. package/dist/chunks/{location-cn2nrzps.js → location-service-map-vnsev666.js} +33 -33
  251. package/dist/chunks/{location-maz0e8pn.js → location-service-map-vr5gpa7d.js} +5 -5
  252. package/dist/chunks/location-service-map-vtcpxyf1.js +478 -0
  253. package/dist/chunks/{location-x3a4azgv.js → location-service-map-vvavc2qy.js} +11 -11
  254. package/dist/chunks/{location-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{location-xa5p1vmb.js → location-service-map-w3verbm1.js} +30 -30
  256. package/dist/chunks/{location-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{location-jn30mvgr.js → location-service-map-w4xs2ha5.js} +7 -7
  258. package/dist/chunks/{location-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  259. package/dist/chunks/{location-1fzvkq6b.js → location-service-map-ww40wncq.js} +59 -59
  260. package/dist/chunks/{location-5xjbzt31.js → location-service-map-wy9nqtfx.js} +24 -24
  261. package/dist/chunks/{location-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{location-cfj0yfbe.js → location-service-map-x1xexjmd.js} +25 -25
  263. package/dist/chunks/{location-wckfp198.js → location-service-map-x5bvb29v.js} +26 -26
  264. package/dist/chunks/{location-fdvvjpp8.js → location-service-map-xdqbkvnf.js} +8 -8
  265. package/dist/chunks/{location-chfvzptm.js → location-service-map-xk2zp1tj.js} +13 -13
  266. package/dist/chunks/{location-4y72ap3v.js → location-service-map-xm1e10md.js} +12 -12
  267. package/dist/chunks/{location-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-8k81hsz5.js → location-service-map-y6j1hny3.js} +30 -30
  269. package/dist/chunks/{location-y71avatq.js → location-service-map-y71avatq.js} +1 -1
  270. package/dist/chunks/{location-wgsyq2g2.js → location-service-map-ybhbtxjg.js} +9 -9
  271. package/dist/chunks/{location-sxzvkvgj.js → location-service-map-ycjb11n5.js} +6 -6
  272. package/dist/chunks/{location-r4q4j9a5.js → location-service-map-ygrxvgeh.js} +92 -92
  273. package/dist/chunks/{location-6c6gzq39.js → location-service-map-yhx1xcxn.js} +54 -54
  274. package/dist/chunks/{location-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{location-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
  276. package/dist/chunks/{location-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{location-cpbw8163.js → location-service-map-z28g3w2g.js} +45 -45
  278. package/dist/chunks/{location-7x2gvtfy.js → location-service-map-z2qbjhyn.js} +5 -5
  279. package/dist/chunks/{location-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
  280. package/dist/chunks/{location-7861qcha.js → location-service-map-z90797js.js} +18 -18
  281. package/dist/chunks/{location-2kdpwj1f.js → location-service-map-zdcb0bn4.js} +3 -3
  282. package/dist/chunks/{location-ednp5hmx.js → location-service-map-ze5v0a14.js} +8 -8
  283. package/dist/chunks/{location-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{location-ryt7pzqc.js → location-service-map-zhq6vg7a.js} +1 -1
  285. package/dist/chunks/{location-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{location-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +11 -11
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +78 -78
  291. package/dist/config/discovery.js +83 -83
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +212 -212
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +122 -122
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +123 -123
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +82 -82
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +223 -223
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +107 -107
  425. package/dist/form.js +83 -83
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +88 -88
  428. package/dist/generate.js +98 -98
  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 +98 -98
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +86 -86
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +124 -124
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +98 -98
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +99 -99
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +114 -114
  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 +77 -77
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +103 -103
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +1 -1
  536. package/dist/plugin/skill.js +140 -140
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +223 -223
  551. package/dist/project/schema.js +8 -8
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +89 -89
  554. package/dist/provider.js +98 -98
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +97 -97
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -96
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +132 -132
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +89 -89
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +117 -117
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +171 -171
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +208 -208
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +154 -154
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +215 -215
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +216 -216
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +121 -121
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +124 -124
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +112 -112
  639. package/dist/tool/plugin/subagent.js +217 -217
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +111 -111
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +15 -15
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +7 -7
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  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 +2 -2
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +92 -92
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +81 -81
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +80 -80
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +97 -97
  687. package/package.json +8 -8
  688. package/dist/chunks/location-0mesazry.js +0 -4
  689. package/dist/chunks/location-8pz1rfxz.js +0 -26
  690. package/dist/chunks/location-bmw63xjq.js +0 -478
  691. package/dist/chunks/location-pjk1k7sh.js +0 -247
  692. /package/dist/chunks/{location-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{location-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{location-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{location-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{location-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{location-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  703. /package/dist/chunks/{location-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{location-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{location-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{location-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{location-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{location-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{location-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{location-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  711. /package/dist/chunks/{location-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{location-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  713. /package/dist/chunks/{location-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{location-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{location-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  716. /package/dist/chunks/{location-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{location-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{location-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  719. /package/dist/chunks/{location-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{location-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{location-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{location-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{location-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{location-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{location-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{location-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{location-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{location-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{location-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{location-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{location-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{location-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{location-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{location-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  735. /package/dist/chunks/{location-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{location-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{location-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{location-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{location-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{location-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{location-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{location-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{location-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{location-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{location-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  748. /package/dist/chunks/{location-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{location-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  750. /package/dist/chunks/{location-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{location-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  752. /package/dist/chunks/{location-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{location-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{location-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{location-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{location-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{location-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{location-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{location-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{location-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{location-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{location-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{location-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{location-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{location-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{location-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{location-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{location-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{location-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{location-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{location-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{location-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{location-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  781. /package/dist/chunks/{location-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{location-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{location-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{location-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{location-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{location-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service70
3
- } from "./location-b80qvjyn.js";
2
+ Service47
3
+ } from "./location-service-map-4f16ex7w.js";
4
4
  import {
5
- Service14,
5
+ Service23,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./location-xsvdyt0s.js";
8
+ } from "./location-service-map-7mq0cvq1.js";
9
9
  import {
10
- Service21
11
- } from "./location-kgvs6344.js";
10
+ Service53
11
+ } from "./location-service-map-8vqyqek3.js";
12
12
  import {
13
- Service54
14
- } from "./location-mygg1vka.js";
13
+ Service65
14
+ } from "./location-service-map-265fjsnr.js";
15
15
  import {
16
- Service53
17
- } from "./location-7861qcha.js";
16
+ Service51
17
+ } from "./location-service-map-z90797js.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./location-6prwharc.js";
20
+ } from "./location-service-map-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./location-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: () => Input12,
29
- Output: () => Output8,
30
- Plugin: () => Plugin32,
28
+ Input: () => Input4,
29
+ Output: () => Output3,
30
+ Plugin: () => Plugin37,
31
31
  WriteTool: () => exports_write,
32
- name: () => name12,
33
- toModelContent: () => toModelContent6
32
+ name: () => name4,
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 name12 = "write";
39
- var Input12 = Schema.Struct({
38
+ var name4 = "write";
39
+ var Input4 = 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 Output8 = Schema.Struct({
45
+ var Output3 = 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 Plugin32 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin37 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service53;
56
- const fileMutation = yield* Service14;
57
- const environment = yield* Service70;
58
- const formatter = yield* Service21;
59
- const permission = yield* Service54;
55
+ const access = yield* Service51;
56
+ const fileMutation = yield* Service23;
57
+ const environment = yield* Service47;
58
+ const formatter = yield* Service53;
59
+ const permission = yield* Service65;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name12,
61
+ name: name4,
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: Input12,
69
- output: Output8,
68
+ input: Input4,
69
+ output: Output3,
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 { name12, Input12, Output8, toModelContent6, Plugin32, exports_write };
101
+ export { name4, Input4, Output3, toModelContent3, Plugin37, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./location-6msgmcgs.js";
3
+ } from "./location-service-map-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./location-8p4f9s12.js";
6
+ } from "./location-service-map-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./location-gd4qta3r.js";
3
+ } from "./location-service-map-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./location-tvtrv512.js";
6
+ } from "./location-service-map-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./location-rdw6cm16.js";
9
+ } from "./location-service-map-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service50,
21
+ Service: () => Service54,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node52
23
+ node: () => node59
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service50 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service54 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service50, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service50.of({
125
+ return Service54.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node52 = makeLocationNode({
143
- service: Service50,
142
+ var node59 = makeLocationNode({
143
+ service: Service54,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node52, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service54, node59, exports_tool_output2 };
@@ -1,144 +1,144 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./location-jzg6c2d5.js";
3
+ } from "./location-service-map-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./location-q3sfg36h.js";
6
+ } from "./location-service-map-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./location-1cnp2v09.js";
9
+ } from "./location-service-map-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./location-rcb2kzg1.js";
12
+ } from "./location-service-map-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./location-msx8hqn2.js";
15
+ } from "./location-service-map-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./location-bkyjaxrp.js";
18
+ } from "./location-service-map-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./location-g86h250q.js";
21
+ } from "./location-service-map-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./location-jr7sbwjy.js";
24
+ } from "./location-service-map-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./location-7m9af43g.js";
27
+ } from "./location-service-map-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./location-j2ntwpah.js";
30
+ } from "./location-service-map-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./location-njntx4h6.js";
33
+ } from "./location-service-map-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./location-qrg20bc0.js";
36
+ } from "./location-service-map-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./location-z9919s4g.js";
39
+ } from "./location-service-map-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./location-43n2bw4t.js";
42
+ } from "./location-service-map-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./location-n3j8tn72.js";
45
+ } from "./location-service-map-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./location-d9jj8t3e.js";
48
+ } from "./location-service-map-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./location-fd410y7t.js";
51
+ } from "./location-service-map-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./location-e5kj55wp.js";
54
+ } from "./location-service-map-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./location-f6n9ztr4.js";
57
+ } from "./location-service-map-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./location-q74kybfr.js";
60
+ } from "./location-service-map-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./location-53557ph1.js";
63
+ } from "./location-service-map-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./location-7akdwqpd.js";
66
+ } from "./location-service-map-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./location-wer8tq1h.js";
69
+ } from "./location-service-map-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./location-wtztk69x.js";
72
+ } from "./location-service-map-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./location-ssg3fenm.js";
75
+ } from "./location-service-map-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./location-2c3vjs8z.js";
78
+ } from "./location-service-map-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./location-17cy0kzp.js";
81
+ } from "./location-service-map-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./location-hk9envan.js";
84
+ } from "./location-service-map-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./location-w803qqfp.js";
87
+ } from "./location-service-map-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./location-jwfs4k6c.js";
90
+ } from "./location-service-map-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./location-mp448xyj.js";
93
+ } from "./location-service-map-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./location-aqzs7mqg.js";
96
+ } from "./location-service-map-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./location-ygaqb7jw.js";
99
+ } from "./location-service-map-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./location-8n3pysct.js";
102
+ } from "./location-service-map-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./location-d9fn303g.js";
105
+ } from "./location-service-map-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./location-cvy3z8tj.js";
108
+ } from "./location-service-map-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./location-9a4afbnw.js";
111
+ } from "./location-service-map-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./location-n05xt0ee.js";
114
+ } from "./location-service-map-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./location-sdp7kfr6.js";
117
+ } from "./location-service-map-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./location-a6k6eb26.js";
120
+ } from "./location-service-map-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./location-4knz6hnm.js";
123
+ } from "./location-service-map-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./location-df08tz66.js";
126
+ } from "./location-service-map-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./location-bmr6ed5q.js";
129
+ } from "./location-service-map-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./location-atq7p7m5.js";
132
+ } from "./location-service-map-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./location-qb87gjwd.js";
135
+ } from "./location-service-map-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./location-359p4xyc.js";
138
+ } from "./location-service-map-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./location-y8f7s663.js";
141
+ } from "./location-service-map-y8f7s663.js";
142
142
 
143
143
  // src/database/migration.gen.ts
144
144
  var migrations2 = [
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-mtj0w11y.js";
4
+ } from "./location-service-map-4mymgcv0.js";
5
5
  import {
6
6
  environment2
7
- } from "./location-w27pm9me.js";
7
+ } from "./location-service-map-skzznzbs.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./location-sk3qaz4a.js";
10
+ } from "./location-service-map-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
@@ -19,11 +19,11 @@ __export(exports_persistent_pty, {
19
19
  NotFoundError: () => NotFoundError3,
20
20
  Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service17,
22
+ Service: () => Service21,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  configured: () => configured3,
25
25
  layer: () => layer10,
26
- node: () => node20
26
+ node: () => node24
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -47,9 +47,9 @@ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError",
47
47
  }) {
48
48
  }
49
49
 
50
- class Service17 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service21 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
53
53
  const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service17.of({
242
+ return Service21.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -257,11 +257,11 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
257
257
  }));
258
258
  var layer10 = makeLayer();
259
259
  var configured3 = (options) => makeGlobalNode({
260
- service: Service17,
260
+ service: Service21,
261
261
  layer: options === undefined ? layer10 : makeLayer(options),
262
262
  deps: [node85, Global.node]
263
263
  });
264
- var node20 = configured3();
264
+ var node24 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service17, layer10, configured3, node20, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError3, NotFoundError3, Service21, layer10, configured3, node24, exports_persistent_pty, Handoff2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-922hggd3.js";
4
+ } from "./location-service-map-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./location-4y72ap3v.js";
11
- import {
12
8
  Service78,
13
9
  node82
14
- } from "./location-ataz063g.js";
10
+ } from "./location-service-map-xm1e10md.js";
11
+ import {
12
+ Service76,
13
+ node80
14
+ } from "./location-service-map-h0xtcnwj.js";
15
15
  import {
16
16
  create3
17
- } from "./location-rdw6cm16.js";
17
+ } from "./location-service-map-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./location-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID5,
27
- Service: () => Service35,
25
+ Error: () => Error4,
26
+ ID: () => ID7,
27
+ Service: () => Service55,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node38,
29
+ node: () => node60,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service35 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service55 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service35, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service78;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service76;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service35.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node38 = makeLocationNode({
144
- service: Service35,
143
+ var node60 = makeLocationNode({
144
+ service: Service55,
145
145
  layer,
146
- deps: [FSUtil.node, node84, Global.node, node82]
146
+ deps: [FSUtil.node, node82, Global.node, node80]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service35, Service35.of({
148
+ var noopLayer2 = Layer.succeed(Service55, Service55.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error2, Service35, node38, noopLayer2, exports_snapshot2 };
166
+ export { ID7, Error4, Service55, node60, noopLayer2, exports_snapshot2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./location-5daktx2q.js";
3
+ } from "./location-service-map-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-922hggd3.js";
6
+ } from "./location-service-map-922hggd3.js";
7
7
  import {
8
- ID6,
8
+ ID5,
9
9
  Name2
10
- } from "./location-brzb0pjt.js";
10
+ } from "./location-service-map-e6hwtmax.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID6.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },