@opencode/core 0.0.0-dev-19360 → 0.0.0-dev-19363

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +77 -77
  8. package/dist/chunks/{kv-k0x38na5.js → workspace-010ejnzv.js} +23 -23
  9. package/dist/chunks/{kv-j2m1sh4m.js → workspace-022adzae.js} +8 -8
  10. package/dist/chunks/{kv-dhgwjg8a.js → workspace-02nph5r6.js} +31 -31
  11. package/dist/chunks/{kv-ggg9gqgj.js → workspace-0b1gpwwb.js} +22 -22
  12. package/dist/chunks/{kv-f6j4trmm.js → workspace-0ebyrbpf.js} +15 -15
  13. package/dist/chunks/{kv-keat3kjn.js → workspace-0gr7cw0d.js} +4 -4
  14. package/dist/chunks/{kv-1r0d1kr4.js → workspace-0n1qmxwe.js} +17 -17
  15. package/dist/chunks/{kv-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{kv-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{kv-bbcxt5nx.js → workspace-1c2ybwbd.js} +25 -25
  18. package/dist/chunks/{kv-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{kv-1dfhrqqs.js → workspace-1dfhrqqs.js} +2 -2
  20. package/dist/chunks/{kv-n1qcxzd8.js → workspace-1fa9ans5.js} +1 -1
  21. package/dist/chunks/{kv-q9h0epwa.js → workspace-1kaepe8y.js} +22 -22
  22. package/dist/chunks/{kv-k0w2nq2k.js → workspace-1qa7sx05.js} +19 -19
  23. package/dist/chunks/{kv-h235cfqb.js → workspace-1wh2xykj.js} +5 -5
  24. package/dist/chunks/{kv-33w4ejhs.js → workspace-1ygqh575.js} +6 -6
  25. package/dist/chunks/{kv-21r38tys.js → workspace-21r38tys.js} +1 -1
  26. package/dist/chunks/{kv-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  27. package/dist/chunks/{kv-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{kv-h7ygw6q4.js → workspace-2bt6bea8.js} +9 -9
  29. package/dist/chunks/{kv-brrng35t.js → workspace-2ee8pmxs.js} +5 -5
  30. package/dist/chunks/{kv-kcadhap2.js → workspace-2r9a3wfp.js} +6 -6
  31. package/dist/chunks/{kv-htxwfwhk.js → workspace-2s56tc45.js} +8 -8
  32. package/dist/chunks/{kv-ajqrbvev.js → workspace-2vz4t0z4.js} +7 -7
  33. package/dist/chunks/{kv-6qgsb3f2.js → workspace-2wb4awa6.js} +21 -21
  34. package/dist/chunks/{kv-m9wy7qrr.js → workspace-2y34zzjz.js} +6 -6
  35. package/dist/chunks/{kv-fpayzr53.js → workspace-33w8fzr9.js} +40 -40
  36. package/dist/chunks/{kv-pe4se4ke.js → workspace-3aq545f1.js} +11 -11
  37. package/dist/chunks/{kv-ybnhfehy.js → workspace-3b1wqxak.js} +25 -25
  38. package/dist/chunks/{kv-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{kv-231cp38k.js → workspace-3fsqj4j0.js} +5 -5
  40. package/dist/chunks/{kv-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{kv-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{kv-rjg8g7fv.js → workspace-3ssv6kad.js} +27 -27
  43. package/dist/chunks/{kv-m1nxg7xt.js → workspace-3t9wsyj4.js} +13 -13
  44. package/dist/chunks/{kv-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{kv-3cfzdc8e.js → workspace-3w0fmcng.js} +5 -5
  46. package/dist/chunks/{kv-ftd5gews.js → workspace-3yd4wcry.js} +7 -7
  47. package/dist/chunks/{kv-yp13aqkf.js → workspace-43yx1h7c.js} +11 -11
  48. package/dist/chunks/{kv-2h6x17mq.js → workspace-494yeyrp.js} +9 -9
  49. package/dist/chunks/{kv-wbx57ajf.js → workspace-4gqpqfcq.js} +46 -39
  50. package/dist/chunks/{kv-mpqhg696.js → workspace-4gzagvey.js} +166 -166
  51. package/dist/chunks/{kv-ecrv93z9.js → workspace-4m2pmvxz.js} +6 -6
  52. package/dist/chunks/{kv-qptq4a97.js → workspace-4ne4chy4.js} +7 -7
  53. package/dist/chunks/{kv-xfjax5kj.js → workspace-4pwxaf10.js} +6 -6
  54. package/dist/chunks/{kv-cy6y2h87.js → workspace-4tmag8pw.js} +12 -12
  55. package/dist/chunks/{kv-nr4qfx73.js → workspace-54qh477g.js} +9 -9
  56. package/dist/chunks/{kv-0h54jqbs.js → workspace-5892jdtn.js} +8 -8
  57. package/dist/chunks/{kv-0mfzvwpr.js → workspace-58aqtfam.js} +17 -17
  58. package/dist/chunks/{kv-1m7hx97q.js → workspace-59wgq1a5.js} +17 -17
  59. package/dist/chunks/{kv-06dxphr1.js → workspace-5c0f1prt.js} +4 -4
  60. package/dist/chunks/{kv-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  61. package/dist/chunks/{kv-77echfzz.js → workspace-5qatf9sn.js} +21 -21
  62. package/dist/chunks/{kv-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{kv-x0jtbjg2.js → workspace-5ys1ttr6.js} +28 -28
  64. package/dist/chunks/{kv-669tq793.js → workspace-669tq793.js} +1 -1
  65. package/dist/chunks/{kv-8xf24hrn.js → workspace-685qrrxy.js} +32 -32
  66. package/dist/chunks/{kv-ygm3k6pt.js → workspace-6ccptkaw.js} +4 -4
  67. package/dist/chunks/{kv-ce9cy9tn.js → workspace-6jex2xta.js} +5 -5
  68. package/dist/chunks/{kv-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{kv-k0a960a7.js → workspace-6qgms2qw.js} +14 -14
  70. package/dist/chunks/{kv-p1hfkb2a.js → workspace-6wjp1q1r.js} +47 -47
  71. package/dist/chunks/{kv-gn188skn.js → workspace-709qmd4f.js} +45 -45
  72. package/dist/chunks/{kv-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  73. package/dist/chunks/{kv-mhkvc446.js → workspace-73tb2d7t.js} +3 -3
  74. package/dist/chunks/{kv-zmbz8hcx.js → workspace-76q5vzcy.js} +47 -47
  75. package/dist/chunks/{kv-7khkw86z.js → workspace-7as7932t.js} +14 -14
  76. package/dist/chunks/{kv-x3et2xth.js → workspace-7b15y959.js} +8 -8
  77. package/dist/chunks/{kv-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{kv-qgn6gcr1.js → workspace-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/workspace-7er8a3we.js +247 -0
  80. package/dist/chunks/{kv-erf53p6a.js → workspace-7f2qwqcj.js} +19 -19
  81. package/dist/chunks/{kv-kktgha0p.js → workspace-7hhc48cv.js} +26 -26
  82. package/dist/chunks/{kv-q2yy3qv3.js → workspace-7s02b6me.js} +1 -1
  83. package/dist/chunks/{kv-xkmffr67.js → workspace-7vp5pahf.js} +24 -24
  84. package/dist/chunks/{kv-6nrp97vg.js → workspace-7we4r9ew.js} +11 -11
  85. package/dist/chunks/{kv-wk17m56v.js → workspace-8a435q9z.js} +24 -24
  86. package/dist/chunks/{kv-8mvvvh03.js → workspace-8bg05p2k.js} +20 -20
  87. package/dist/chunks/{kv-2z2qjkd3.js → workspace-8bt8kjwe.js} +9 -9
  88. package/dist/chunks/{kv-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{kv-fy69466f.js → workspace-8dp3tmf6.js} +34 -34
  90. package/dist/chunks/{kv-e844176y.js → workspace-8e1b1gzh.js} +6 -6
  91. package/dist/chunks/{kv-j3ac5q50.js → workspace-8ncewq7h.js} +32 -32
  92. package/dist/chunks/{kv-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  93. package/dist/chunks/{kv-75sr1xqr.js → workspace-910asfwy.js} +4 -4
  94. package/dist/chunks/{kv-avmjt9n5.js → workspace-934ndfrr.js} +6 -6
  95. package/dist/chunks/{kv-596b0gqg.js → workspace-94z0cytz.js} +15 -15
  96. package/dist/chunks/{kv-vtek68tq.js → workspace-9asg0y97.js} +16 -16
  97. package/dist/chunks/{kv-nx4sh7k4.js → workspace-9b8ps0g9.js} +4 -4
  98. package/dist/chunks/{kv-qa6ppnwe.js → workspace-9cmgy7cp.js} +35 -35
  99. package/dist/chunks/workspace-9sh4wc5j.js +18 -0
  100. package/dist/chunks/{kv-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{kv-6hh8tjw2.js → workspace-a2ew8a62.js} +4 -4
  102. package/dist/chunks/{kv-8ycz0j3c.js → workspace-a78mx8ke.js} +11 -11
  103. package/dist/chunks/workspace-a93wq46y.js +22 -0
  104. package/dist/chunks/{kv-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  105. package/dist/chunks/{kv-23pqda6t.js → workspace-ab9238g2.js} +5 -5
  106. package/dist/chunks/{kv-aky46mj0.js → workspace-abn48psr.js} +14 -14
  107. package/dist/chunks/{kv-439qq586.js → workspace-ag2v6e19.js} +32 -32
  108. package/dist/chunks/{kv-9vwhk7mz.js → workspace-ahkdt7e5.js} +42 -42
  109. package/dist/chunks/{kv-twc0z75m.js → workspace-any60g97.js} +5 -5
  110. package/dist/chunks/{kv-81swgkk7.js → workspace-ar8qnkc3.js} +9 -9
  111. package/dist/chunks/{kv-b9nc7df5.js → workspace-b1t2am26.js} +37 -37
  112. package/dist/chunks/{kv-4305953a.js → workspace-b281zsyd.js} +3 -3
  113. package/dist/chunks/{kv-d50f2zf5.js → workspace-b3t12aqp.js} +1 -1
  114. package/dist/chunks/{kv-9e7hbcg6.js → workspace-b6bb7nct.js} +15 -15
  115. package/dist/chunks/{kv-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{kv-3w5w3nh8.js → workspace-b8s0s4ee.js} +17 -17
  117. package/dist/chunks/{kv-4sm1ktk0.js → workspace-bbyyrkpa.js} +5 -5
  118. package/dist/chunks/{kv-erkhkr0k.js → workspace-bt0wtns8.js} +11 -11
  119. package/dist/chunks/{kv-fxd4av11.js → workspace-byfykep1.js} +17 -17
  120. package/dist/chunks/{kv-d85t2vjv.js → workspace-c2s6b9jx.js} +289 -289
  121. package/dist/chunks/{kv-dcrp08f6.js → workspace-c3m0xs4s.js} +12 -12
  122. package/dist/chunks/{kv-4ze7kxrr.js → workspace-c8bfydn7.js} +11 -11
  123. package/dist/chunks/{kv-5y0nzxc1.js → workspace-ccq2df5x.js} +6 -6
  124. package/dist/chunks/{kv-hf2pbrtn.js → workspace-cekxsej1.js} +32 -32
  125. package/dist/chunks/{kv-y5bhkzgm.js → workspace-cf42bz4p.js} +18 -18
  126. package/dist/chunks/{kv-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  127. package/dist/chunks/{kv-fy056mg1.js → workspace-cgybpxck.js} +25 -25
  128. package/dist/chunks/{kv-nmgx7778.js → workspace-cy2x3s5a.js} +18 -18
  129. package/dist/chunks/{kv-4gr0a549.js → workspace-d23qetaw.js} +10 -10
  130. package/dist/chunks/{kv-sefzmpgj.js → workspace-d3mk2n0c.js} +19 -19
  131. package/dist/chunks/{kv-53bzy8z6.js → workspace-devz3we5.js} +36 -36
  132. package/dist/chunks/{kv-y71avatq.js → workspace-dpkg50ah.js} +4 -4
  133. package/dist/chunks/{kv-cp1smhp7.js → workspace-dsfjtjtn.js} +18 -18
  134. package/dist/chunks/{kv-6by2q13s.js → workspace-dt849bc4.js} +6 -6
  135. package/dist/chunks/{kv-838refjp.js → workspace-dxk9f402.js} +19 -19
  136. package/dist/chunks/{kv-gz5d2c22.js → workspace-e369tct8.js} +16 -16
  137. package/dist/chunks/{kv-rqp4wsb9.js → workspace-e4tyy19d.js} +17 -17
  138. package/dist/chunks/{kv-kja4r8qp.js → workspace-eamgkqma.js} +2 -2
  139. package/dist/chunks/{kv-h5vr5j79.js → workspace-eebjtjym.js} +6 -6
  140. package/dist/chunks/{kv-09a5a0fp.js → workspace-et6333e0.js} +14 -14
  141. package/dist/chunks/{kv-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{kv-ryhwgtxa.js → workspace-exzp4pnr.js} +10 -10
  143. package/dist/chunks/{kv-wwjt80m9.js → workspace-f5wfqm5e.js} +11 -11
  144. package/dist/chunks/{kv-ckf8nxjz.js → workspace-f73rjn58.js} +4 -4
  145. package/dist/chunks/{kv-h455ysgm.js → workspace-f79e7acg.js} +2 -2
  146. package/dist/chunks/{kv-9zswys26.js → workspace-f7ehr2sm.js} +9 -9
  147. package/dist/chunks/{kv-f828m53h.js → workspace-f828m53h.js} +2 -2
  148. package/dist/chunks/{kv-pgm7azv9.js → workspace-f9ps9yx5.js} +20 -20
  149. package/dist/chunks/{kv-017vzha0.js → workspace-feth5zyx.js} +5 -5
  150. package/dist/chunks/{kv-pbewafnk.js → workspace-fkab44b1.js} +17 -17
  151. package/dist/chunks/{kv-fgbvkaq8.js → workspace-fmmn8x74.js} +3 -3
  152. package/dist/chunks/{kv-ddn28z7g.js → workspace-fsnw1hqv.js} +7 -7
  153. package/dist/chunks/{kv-waez83j4.js → workspace-fv9ed2xt.js} +41 -41
  154. package/dist/chunks/{kv-0wab6ted.js → workspace-fwv3dbt3.js} +3 -3
  155. package/dist/chunks/{kv-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{kv-t2w3xr5a.js → workspace-g5q0e61f.js} +2 -2
  157. package/dist/chunks/{kv-506x7411.js → workspace-g84khnv4.js} +17 -17
  158. package/dist/chunks/{kv-exfbp3cy.js → workspace-gcvj5pa8.js} +20 -20
  159. package/dist/chunks/{kv-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{kv-1r42e7ty.js → workspace-gd9thf3n.js} +6 -6
  161. package/dist/chunks/{kv-r5d1dmqg.js → workspace-gg212e6z.js} +27 -27
  162. package/dist/chunks/{kv-3w9yc7a7.js → workspace-ggqdnky6.js} +8 -8
  163. package/dist/chunks/{kv-n68r2zkb.js → workspace-ggrs6r08.js} +12 -12
  164. package/dist/chunks/{kv-b6haqpd9.js → workspace-gp8tcjp2.js} +13 -13
  165. package/dist/chunks/{kv-ypcjrsbr.js → workspace-gqap5j9g.js} +12 -12
  166. package/dist/chunks/{kv-8pp9vwy8.js → workspace-gt0apk7z.js} +20 -20
  167. package/dist/chunks/{kv-th5km1p3.js → workspace-gv6a8nnw.js} +5 -5
  168. package/dist/chunks/{kv-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  169. package/dist/chunks/{kv-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{kv-wqc1s1gd.js → workspace-hadkhv8d.js} +32 -32
  171. package/dist/chunks/{kv-t3tk0kdt.js → workspace-hb1af40t.js} +37 -37
  172. package/dist/chunks/{kv-bby00dsd.js → workspace-hd29wc17.js} +8 -8
  173. package/dist/chunks/{kv-59r9wywc.js → workspace-hdcqa9dy.js} +12 -12
  174. package/dist/chunks/{kv-9njzw40h.js → workspace-hf8cnsjw.js} +1 -1
  175. package/dist/chunks/{kv-bajakh74.js → workspace-hfdr1yjj.js} +4 -4
  176. package/dist/chunks/{kv-bkskf6gp.js → workspace-hjsw513e.js} +4 -4
  177. package/dist/chunks/{kv-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
  178. package/dist/chunks/{kv-wzp3jkbn.js → workspace-hkp1h9sy.js} +20 -20
  179. package/dist/chunks/{kv-bgxcxs0p.js → workspace-hnr5yq9h.js} +5 -5
  180. package/dist/chunks/{kv-4bxkgwjc.js → workspace-hz4vbhnm.js} +83 -83
  181. package/dist/chunks/{kv-er9grmn7.js → workspace-hzn56yvs.js} +12 -12
  182. package/dist/chunks/{kv-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  183. package/dist/chunks/{kv-0v53mg2y.js → workspace-j83byb14.js} +4 -4
  184. package/dist/chunks/{kv-p8mfetr7.js → workspace-jc1vbcaj.js} +13 -13
  185. package/dist/chunks/{kv-8aevjsfj.js → workspace-jg036ky1.js} +4 -4
  186. package/dist/chunks/{kv-w721cga8.js → workspace-jndyp0t0.js} +82 -82
  187. package/dist/chunks/{kv-cbhba7e7.js → workspace-jp51bnyt.js} +24 -24
  188. package/dist/chunks/{kv-a8bn8zg0.js → workspace-jw80jp6b.js} +4 -4
  189. package/dist/chunks/{kv-av4fg7kg.js → workspace-jwye7syw.js} +9 -9
  190. package/dist/chunks/{kv-t6gyap4y.js → workspace-k9q45n45.js} +5 -5
  191. package/dist/chunks/{kv-802tcqey.js → workspace-kfch808q.js} +19 -19
  192. package/dist/chunks/{kv-7gjp1kwb.js → workspace-kfjdjtta.js} +41 -41
  193. package/dist/chunks/{kv-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  194. package/dist/chunks/{kv-f77b4gg8.js → workspace-kr986s70.js} +11 -11
  195. package/dist/chunks/{kv-6mtjdhp0.js → workspace-krapsz8s.js} +8 -8
  196. package/dist/chunks/{kv-w1738nfv.js → workspace-krye8wkr.js} +15 -15
  197. package/dist/chunks/{kv-63zbbs1j.js → workspace-kwb80b5k.js} +8 -8
  198. package/dist/chunks/{kv-5nmbd4v9.js → workspace-kzzsz8rg.js} +16 -16
  199. package/dist/chunks/{kv-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{kv-9w4ppqge.js → workspace-ma15yhyh.js} +5 -5
  201. package/dist/chunks/{kv-gemkfa67.js → workspace-mdncrv3b.js} +41 -41
  202. package/dist/chunks/{kv-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  203. package/dist/chunks/{kv-70d43s4v.js → workspace-n0rxe8qg.js} +6 -6
  204. package/dist/chunks/{kv-e9ne7566.js → workspace-n4yapsk0.js} +31 -31
  205. package/dist/chunks/{kv-8vhsavsz.js → workspace-n5zjdcc0.js} +1 -1
  206. package/dist/chunks/{kv-46s06qcm.js → workspace-ngmftgzk.js} +6 -6
  207. package/dist/chunks/{kv-wpd1p932.js → workspace-njh9zcvs.js} +17 -17
  208. package/dist/chunks/{kv-rnn5ab1a.js → workspace-ntbm31a4.js} +9 -9
  209. package/dist/chunks/{kv-3wheaa1t.js → workspace-nyqyjq7f.js} +56 -56
  210. package/dist/chunks/{kv-tmh6rfkz.js → workspace-pawwnp4a.js} +16 -16
  211. package/dist/chunks/{kv-2bkjbnp9.js → workspace-pb37c83a.js} +8 -8
  212. package/dist/chunks/{kv-yt0fqk68.js → workspace-pecb0brz.js} +5 -5
  213. package/dist/chunks/{kv-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{kv-pknna89w.js → workspace-pknna89w.js} +1 -1
  215. package/dist/chunks/{kv-2m10wfgt.js → workspace-pm9j628w.js} +11 -11
  216. package/dist/chunks/{kv-76gk4s10.js → workspace-pv643edj.js} +2 -2
  217. package/dist/chunks/{kv-7g7s010y.js → workspace-pz5qb3qt.js} +8 -8
  218. package/dist/chunks/workspace-qapv375x.js +4 -0
  219. package/dist/chunks/{kv-6xp89fzc.js → workspace-qedhf8hd.js} +11 -11
  220. package/dist/chunks/{kv-bmfzpfj9.js → workspace-qq43q54h.js} +9 -9
  221. package/dist/chunks/{kv-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  222. package/dist/chunks/{kv-d7wm60v1.js → workspace-qssq5wvh.js} +1 -1
  223. package/dist/chunks/{kv-egqspz5t.js → workspace-qtwarjwz.js} +9 -9
  224. package/dist/chunks/{kv-j5ysm35j.js → workspace-r9kqtr81.js} +14 -14
  225. package/dist/chunks/{kv-1sn8gmqj.js → workspace-rcq5765c.js} +15 -15
  226. package/dist/chunks/{kv-1acjjqhc.js → workspace-rhraev7y.js} +4 -4
  227. package/dist/chunks/{kv-4haz999q.js → workspace-rq6x4r74.js} +17 -17
  228. package/dist/chunks/{kv-jge6stq5.js → workspace-rqz552e7.js} +22 -22
  229. package/dist/chunks/{kv-4hbkt23j.js → workspace-s74e6q5b.js} +24 -24
  230. package/dist/chunks/{kv-t550f9t1.js → workspace-s8d7rejh.js} +4 -4
  231. package/dist/chunks/{kv-fezr930q.js → workspace-s8t4qsw4.js} +3 -3
  232. package/dist/chunks/{kv-xvj1r6w1.js → workspace-scdhnzv1.js} +9 -9
  233. package/dist/chunks/{kv-k9ngkg1e.js → workspace-sd1b9zfd.js} +13 -13
  234. package/dist/chunks/{kv-ztatr4as.js → workspace-sdh12dq5.js} +29 -29
  235. package/dist/chunks/{kv-2b2mnr53.js → workspace-skchca7t.js} +18 -18
  236. package/dist/chunks/{kv-vjnb44yt.js → workspace-skyymkrr.js} +3 -3
  237. package/dist/chunks/{kv-hmavm4jw.js → workspace-srqbxy54.js} +24 -24
  238. package/dist/chunks/{kv-396mvtqj.js → workspace-sxgqf9nr.js} +27 -27
  239. package/dist/chunks/{kv-5kptn8c0.js → workspace-t0x5rdq8.js} +9 -9
  240. package/dist/chunks/{kv-h80adbj4.js → workspace-t1bhcjx3.js} +1 -1
  241. package/dist/chunks/{kv-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{kv-89znhe33.js → workspace-tcezcvh9.js} +4 -4
  243. package/dist/chunks/{kv-tdstcens.js → workspace-tdstcens.js} +1 -1
  244. package/dist/chunks/{kv-jefma2gq.js → workspace-tfgscs23.js} +10 -10
  245. package/dist/chunks/{kv-2r1rtg3e.js → workspace-tjedsf1z.js} +4 -4
  246. package/dist/chunks/{kv-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  247. package/dist/chunks/{kv-zeq506h1.js → workspace-v1v9n7kj.js} +18 -18
  248. package/dist/chunks/{kv-4mx2b0k8.js → workspace-v7bsnapp.js} +43 -43
  249. package/dist/chunks/{kv-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{kv-6y25d0ac.js → workspace-vx0nbd5a.js} +23 -23
  251. package/dist/chunks/{kv-vgegbj1j.js → workspace-vz7ss3k3.js} +10 -10
  252. package/dist/chunks/{kv-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{kv-vbtttdfc.js → workspace-vzw5ftch.js} +1 -1
  254. package/dist/chunks/{kv-64s65d1n.js → workspace-w1ad28wa.js} +8 -8
  255. package/dist/chunks/{kv-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{kv-bq6p2e81.js → workspace-w9ytv6gf.js} +8 -8
  257. package/dist/chunks/{kv-wd87259q.js → workspace-wd87259q.js} +1 -1
  258. package/dist/chunks/{kv-k79xn9em.js → workspace-wh7dthar.js} +53 -53
  259. package/dist/chunks/{kv-vbptb2xn.js → workspace-wjjfysat.js} +9 -9
  260. package/dist/chunks/{kv-hvbfygy7.js → workspace-wn4xj15b.js} +5 -5
  261. package/dist/chunks/{kv-zfznrpx1.js → workspace-wt5gx8pc.js} +4 -4
  262. package/dist/chunks/{kv-3nd5cs90.js → workspace-wtknh6p7.js} +4 -4
  263. package/dist/chunks/{kv-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{kv-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  265. package/dist/chunks/{kv-2jjcr86y.js → workspace-xcxg3sjd.js} +9 -9
  266. package/dist/chunks/{kv-vmtnrby3.js → workspace-xhnnpr23.js} +46 -46
  267. package/dist/chunks/{kv-x5rrbr66.js → workspace-xj890rb7.js} +26 -26
  268. package/dist/chunks/{kv-p85616da.js → workspace-xwq8n2sh.js} +3 -3
  269. package/dist/chunks/{kv-0w81t5sb.js → workspace-xwy4v95w.js} +15 -15
  270. package/dist/chunks/{kv-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{kv-3mx0y1ht.js → workspace-y418223f.js} +26 -26
  272. package/dist/chunks/{kv-exfw471h.js → workspace-y7e11ang.js} +11 -11
  273. package/dist/chunks/{kv-8354z59m.js → workspace-yam58fy8.js} +16 -16
  274. package/dist/chunks/{kv-gqc5bnj8.js → workspace-yeaw3623.js} +26 -26
  275. package/dist/chunks/{kv-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{kv-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  277. package/dist/chunks/{kv-r7ns69j1.js → workspace-ytjkbs5q.js} +30 -30
  278. package/dist/chunks/{kv-dn72drj9.js → workspace-ytp44yw2.js} +28 -28
  279. package/dist/chunks/{kv-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{kv-75y5tx4d.js → workspace-z52w236g.js} +2 -2
  281. package/dist/chunks/{kv-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  282. package/dist/chunks/{kv-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{kv-gj9xpvv3.js → workspace-zerdtc7d.js} +2 -2
  284. package/dist/chunks/{kv-zdfagqyp.js → workspace-zjw1qxrj.js} +24 -24
  285. package/dist/chunks/{kv-0n7epq16.js → workspace-zmmw47s9.js} +8 -8
  286. package/dist/chunks/{kv-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{kv-6c6rf3hd.js → workspace-zt9y4nc3.js} +15 -15
  288. package/dist/chunks/{kv-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +115 -115
  314. package/dist/config/plugin/websearch.js +113 -113
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  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 +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  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 +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  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 +216 -216
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +7 -7
  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 +7 -7
  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 +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +75 -75
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +67 -67
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +4 -4
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +100 -100
  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 +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +115 -115
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +68 -68
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +339 -339
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +90 -90
  561. package/dist/reference/instructions.js +82 -82
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +3 -3
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +84 -84
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +223 -223
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +119 -119
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +145 -145
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +119 -119
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +96 -96
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +105 -105
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/types/session/compaction.d.ts +1 -1
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +80 -80
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +340 -340
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +89 -89
  687. package/package.json +8 -8
  688. package/dist/chunks/kv-0mesazry.js +0 -4
  689. package/dist/chunks/kv-1vbpvncb.js +0 -22
  690. package/dist/chunks/kv-pgbvw7vb.js +0 -247
  691. package/dist/chunks/kv-vnkjks7b.js +0 -18
  692. /package/dist/chunks/{kv-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{kv-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{kv-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{kv-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{kv-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{kv-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{kv-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{kv-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{kv-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{kv-3asan66x.js → workspace-3asan66x.js} +0 -0
  702. /package/dist/chunks/{kv-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{kv-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{kv-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{kv-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{kv-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{kv-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{kv-53557ph1.js → workspace-53557ph1.js} +0 -0
  709. /package/dist/chunks/{kv-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{kv-6prwharc.js → workspace-6prwharc.js} +0 -0
  711. /package/dist/chunks/{kv-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{kv-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{kv-822emrt2.js → workspace-822emrt2.js} +0 -0
  714. /package/dist/chunks/{kv-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{kv-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{kv-922hggd3.js → workspace-922hggd3.js} +0 -0
  717. /package/dist/chunks/{kv-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{kv-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{kv-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{kv-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{kv-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{kv-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{kv-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{kv-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{kv-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{kv-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{kv-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{kv-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{kv-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{kv-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{kv-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{kv-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{kv-df08tz66.js → workspace-df08tz66.js} +0 -0
  734. /package/dist/chunks/{kv-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{kv-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{kv-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{kv-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{kv-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{kv-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{kv-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{kv-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{kv-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{kv-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{kv-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{kv-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{kv-g86h250q.js → workspace-g86h250q.js} +0 -0
  747. /package/dist/chunks/{kv-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{kv-gftt206x.js → workspace-gftt206x.js} +0 -0
  749. /package/dist/chunks/{kv-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{kv-hk9envan.js → workspace-hk9envan.js} +0 -0
  751. /package/dist/chunks/{kv-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{kv-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{kv-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{kv-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{kv-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{kv-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{kv-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{kv-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{kv-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{kv-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{kv-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{kv-paphc93g.js → workspace-paphc93g.js} +0 -0
  763. /package/dist/chunks/{kv-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{kv-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{kv-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{kv-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{kv-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{kv-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{kv-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{kv-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{kv-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{kv-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{kv-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{kv-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{kv-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{kv-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{kv-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{kv-x61499pn.js → workspace-x61499pn.js} +0 -0
  779. /package/dist/chunks/{kv-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{kv-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{kv-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{kv-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{kv-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -2,31 +2,31 @@ import {
2
2
  Key3,
3
3
  removed2,
4
4
  empty3,
5
- make19,
5
+ make21,
6
6
  diffByKey2
7
- } from "./kv-t550f9t1.js";
7
+ } from "./workspace-s8d7rejh.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./kv-9vwhk7mz.js";
10
+ } from "./workspace-ahkdt7e5.js";
11
11
  import {
12
- Service25,
13
- node29
14
- } from "./kv-p1hfkb2a.js";
12
+ Service37,
13
+ node41
14
+ } from "./workspace-6wjp1q1r.js";
15
15
  import {
16
16
  namespace2,
17
17
  name13
18
- } from "./kv-ybnhfehy.js";
18
+ } from "./workspace-3b1wqxak.js";
19
19
  import {
20
20
  __export
21
- } from "./kv-9rqn6x4v.js";
21
+ } from "./workspace-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions4 = {};
25
- __export(exports_instructions4, {
26
- McpInstructions: () => exports_instructions4,
27
- Service: () => Service23,
28
- layer: () => layer10,
29
- node: () => node27
24
+ var exports_instructions5 = {};
25
+ __export(exports_instructions5, {
26
+ McpInstructions: () => exports_instructions5,
27
+ Service: () => Service33,
28
+ layer: () => layer12,
29
+ node: () => node37
30
30
  });
31
31
  import { makeLocationNode } from "@opencode/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,16 +62,16 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service23 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service33 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer10 = Layer.effect(Service23, Effect.gen(function* () {
68
- const mcp = yield* Service25;
69
- return Service23.of({
67
+ var layer12 = Layer.effect(Service33, Effect.gen(function* () {
68
+ const mcp = yield* Service37;
69
+ return Service33.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
@@ -100,6 +100,6 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node27 = makeLocationNode({ service: Service23, layer: layer10, deps: [node29] });
103
+ var node37 = makeLocationNode({ service: Service33, layer: layer12, deps: [node41] });
104
104
 
105
- export { Service23, layer10, node27, exports_instructions4 };
105
+ export { Service33, layer12, node37, exports_instructions5 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
7
7
  __export(exports_formatter3, {
8
8
  ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry2,
10
- Info: () => Info11
9
+ Entry: () => Entry3,
10
+ Info: () => Info13
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry2 = Schema.Struct({
13
+ var Entry3 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
19
+ var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
20
20
 
21
- export { Entry2, Info11, exports_formatter3 };
21
+ export { Entry3, Info13, exports_formatter3 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node83
7
- } from "./kv-jefma2gq.js";
6
+ node77
7
+ } from "./workspace-tfgscs23.js";
8
8
  import {
9
- ID18
10
- } from "./kv-81swgkk7.js";
9
+ ID13
10
+ } from "./workspace-ar8qnkc3.js";
11
11
  import {
12
12
  Slug2
13
- } from "./kv-gebd4c9n.js";
13
+ } from "./workspace-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./kv-0wab6ted.js";
17
+ } from "./workspace-fwv3dbt3.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./kv-2r1rtg3e.js";
21
+ } from "./workspace-tjedsf1z.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./kv-8p4f9s12.js";
24
+ } from "./workspace-8p4f9s12.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./kv-cfpkc3c9.js";
27
+ } from "./workspace-cfpkc3c9.js";
28
28
  import {
29
- Service76,
30
- node81
31
- } from "./kv-wpd1p932.js";
29
+ Service70,
30
+ node75
31
+ } from "./workspace-njh9zcvs.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./kv-th5km1p3.js";
34
+ canonical2
35
+ } from "./workspace-gv6a8nnw.js";
36
36
  import {
37
- make21
38
- } from "./kv-2m10wfgt.js";
37
+ make12
38
+ } from "./workspace-pm9j628w.js";
39
39
  import {
40
40
  create3
41
- } from "./kv-kg06axw8.js";
41
+ } from "./workspace-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./kv-9rqn6x4v.js";
44
+ } from "./workspace-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event19,
53
- Info: () => Info30,
52
+ Event: () => Event6,
53
+ Info: () => Info5,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service75,
60
+ Service: () => Service22,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node80
66
+ node: () => node26
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info30 = Worktree.Info;
85
+ var Info5 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID13, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event19 = Worktree.Event;
103
+ var Event6 = Worktree.Event;
104
104
 
105
- class Service75 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service22 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service75, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service76;
113
+ const location = yield* Service70;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make21;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event19.Updated, { projectID });
138
+ yield* bus.publish(Event6.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical3(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service75.of({
260
+ return Service22.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node80 = makeLocationNode({
273
- service: Service75,
272
+ var node26 = makeLocationNode({
273
+ service: Service22,
274
274
  layer,
275
- deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
275
+ deps: [FSUtil.node, node77, node84, node85, AppProcess.node, node75, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info30, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event19, Service75, node80, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service22, node26, exports_worktree2, OperationError2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./kv-5t3nmthw.js";
3
+ } from "./workspace-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service27,
11
+ Service: () => Service36,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer14,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node31
15
+ node: () => node40
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
31
31
  });
32
32
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
33
33
 
34
- class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
34
+ class Service36 extends Context.Service()("@opencode/SessionModelTransport") {
35
35
  }
36
36
  var transportError = (message, input) => new AIError({
37
37
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
55
55
  return Effect.fail(observation.error);
56
56
  };
57
57
  var observationTerminal = (observation) => observation.type !== "frame";
58
- var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
58
+ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* () {
59
59
  const scope = yield* Scope.Scope;
60
60
  const states = new Map;
61
61
  const state = (sessionID) => {
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* ()
331
331
  }, { discard: true });
332
332
  });
333
333
  yield* Effect.addFinalizer(() => closeAll);
334
- return Service27.of({ bind, close, closeAll });
334
+ return Service36.of({ bind, close, closeAll });
335
335
  }));
336
- var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
336
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
337
337
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
338
338
  })));
339
- var node31 = makeGlobalNode({ service: Service27, layer: layer14, deps: [webSocketConstructor2] });
339
+ var node40 = makeGlobalNode({ service: Service36, layer: layer15, deps: [webSocketConstructor2] });
340
340
 
341
- export { Service27, makeLayer2, layer14, node31, exports_model_transport };
341
+ export { Service36, makeLayer2, layer15, node40, exports_model_transport };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./kv-2r1rtg3e.js";
4
+ } from "./workspace-tjedsf1z.js";
5
5
  import {
6
- Service25,
7
- node29
8
- } from "./kv-p1hfkb2a.js";
6
+ Service37,
7
+ node41
8
+ } from "./workspace-6wjp1q1r.js";
9
9
  import {
10
- Service64,
11
- node69
12
- } from "./kv-9vwhk7mz.js";
10
+ Service63,
11
+ node68
12
+ } from "./workspace-ahkdt7e5.js";
13
13
  import {
14
- Service29,
15
- node33
16
- } from "./kv-bbcxt5nx.js";
14
+ Service40,
15
+ node44
16
+ } from "./workspace-1c2ybwbd.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer11,
25
+ Service: () => Service34,
26
+ layer: () => layer13,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node38
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service34 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service25;
42
- const tools = yield* Service29;
40
+ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
41
+ const mcp = yield* Service37;
42
+ const tools = yield* Service40;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service64;
44
+ const permission = yield* Service63;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -112,12 +112,12 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node28 = makeLocationNode({
118
- service: Service24,
119
- layer: layer11,
120
- deps: [node33, node29, node84, node69]
117
+ var node38 = makeLocationNode({
118
+ service: Service34,
119
+ layer: layer13,
120
+ deps: [node44, node41, node84, node68]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service24, layer11, node28, exports_mcp3 };
123
+ export { namespace2, name13, Service34, layer13, node38, exports_mcp3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./kv-vbtttdfc.js";
5
+ } from "./workspace-vzw5ftch.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./kv-5y0nzxc1.js";
11
+ } from "./workspace-ccq2df5x.js";
12
12
  import {
13
13
  __export
14
- } from "./kv-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./kv-qfa1cgps.js";
3
+ } from "./workspace-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-922hggd3.js";
3
+ } from "./workspace-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./kv-wpd1p932.js";
5
+ Service70
6
+ } from "./workspace-njh9zcvs.js";
7
7
  import {
8
- Service63
9
- } from "./kv-y5bhkzgm.js";
8
+ Service16
9
+ } from "./workspace-cf42bz4p.js";
10
10
  import {
11
- Service7
12
- } from "./kv-sefzmpgj.js";
11
+ Service8
12
+ } from "./workspace-d3mk2n0c.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./kv-2a5m3afh.js";
15
+ } from "./workspace-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./kv-3w5w3nh8.js";
26
+ Service7
27
+ } from "./workspace-b8s0s4ee.js";
28
28
  import {
29
29
  __export
30
- } from "./kv-9rqn6x4v.js";
30
+ } from "./workspace-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input4,
36
- Plugin: () => Plugin5,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin25,
37
37
  ReadTool: () => exports_read,
38
- name: () => name4,
39
- toModelContent: () => toModelContent2
38
+ name: () => name11,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name4 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input4 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin5 = {
58
+ var Plugin25 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service63;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service16;
63
+ const sessionInstructions = yield* Service8;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service70;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name4,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input4,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin5 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent2(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent2 = (path, offset, output) => {
147
+ var toModelContent6 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name4, Input4, Plugin5, toModelContent2, exports_read };
182
+ export { name11, Input11, Plugin25, toModelContent6, exports_read };