@opencode-ai/core 0.0.0-beta-19228 → 0.0.0-beta-19234

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 (775) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{integration-13gt56f3.js → worktree-040j8z8f.js} +6 -6
  9. package/dist/chunks/{integration-zkn0w8ks.js → worktree-066kw2xy.js} +3 -3
  10. package/dist/chunks/{integration-baaqp4zd.js → worktree-06x8he3q.js} +4 -4
  11. package/dist/chunks/{integration-0e0xafbb.js → worktree-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{integration-es2wkwv6.js → worktree-0n1w7scn.js} +5 -5
  13. package/dist/chunks/{integration-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{integration-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{integration-z4btfpw8.js → worktree-0rkdmzyv.js} +9 -9
  16. package/dist/chunks/{integration-0s9ayhjt.js → worktree-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{integration-wr27bwq7.js → worktree-1459npmt.js} +29 -29
  18. package/dist/chunks/{integration-1ct4r87x.js → worktree-1ct4r87x.js} +1 -1
  19. package/dist/chunks/{integration-cqvb8n3q.js → worktree-1gvs4d4m.js} +20 -20
  20. package/dist/chunks/{integration-1n116cmy.js → worktree-1n116cmy.js} +2 -2
  21. package/dist/chunks/{integration-ga2g4a2e.js → worktree-1pdtxp2d.js} +1 -1
  22. package/dist/chunks/{integration-gks1q0wj.js → worktree-1wfjb4fb.js} +1 -1
  23. package/dist/chunks/{integration-k2gqysrh.js → worktree-1ytn6e3p.js} +11 -11
  24. package/dist/chunks/{integration-21r38tys.js → worktree-21r38tys.js} +1 -1
  25. package/dist/chunks/{integration-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
  26. package/dist/chunks/{integration-mtcjf44p.js → worktree-28pcbh69.js} +4 -4
  27. package/dist/chunks/{integration-z63w68vq.js → worktree-29x78va6.js} +6 -6
  28. package/dist/chunks/{integration-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{integration-2ht70gj7.js → worktree-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{integration-jgx0heh4.js → worktree-2hth30a0.js} +8 -8
  31. package/dist/chunks/{integration-2k8khapm.js → worktree-2k8khapm.js} +1 -1
  32. package/dist/chunks/{integration-0zbay0d2.js → worktree-2sz5zasg.js} +17 -17
  33. package/dist/chunks/{integration-a1w1fpj3.js → worktree-2yb0w078.js} +3 -3
  34. package/dist/chunks/{integration-9r8ws15v.js → worktree-30e1hbbk.js} +28 -28
  35. package/dist/chunks/{integration-zw0t7b2b.js → worktree-35bk7ths.js} +81 -81
  36. package/dist/chunks/{integration-nkd0m12v.js → worktree-3883t5g1.js} +5 -5
  37. package/dist/chunks/{integration-knh3mbp0.js → worktree-3cj33xev.js} +21 -21
  38. package/dist/chunks/{integration-3g2y1byn.js → worktree-3g2y1byn.js} +2 -2
  39. package/dist/chunks/{integration-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{integration-3qzbfqsy.js → worktree-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{integration-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{integration-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{integration-rke5v8gv.js → worktree-410zfba8.js} +2 -2
  44. package/dist/chunks/{integration-sh7bh2kf.js → worktree-41mncz27.js} +5 -5
  45. package/dist/chunks/{integration-454k5vzh.js → worktree-454k5vzh.js} +1 -1
  46. package/dist/chunks/{integration-xg3vtz5h.js → worktree-45aqx2pr.js} +4 -4
  47. package/dist/chunks/{integration-h8zz2ecm.js → worktree-471a560f.js} +48 -48
  48. package/dist/chunks/{integration-4r2nyarf.js → worktree-4r2nyarf.js} +1 -1
  49. package/dist/chunks/{integration-krtzpnj6.js → worktree-4tyxcf8v.js} +32 -32
  50. package/dist/chunks/{integration-cp2fwpzt.js → worktree-52vxm64v.js} +25 -25
  51. package/dist/chunks/{integration-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
  52. package/dist/chunks/{integration-588w1t3p.js → worktree-58hqrsnb.js} +27 -27
  53. package/dist/chunks/{integration-a8z03gk5.js → worktree-5agnkr4h.js} +19 -19
  54. package/dist/chunks/{integration-bjp14p5h.js → worktree-5d98etyc.js} +14 -14
  55. package/dist/chunks/{integration-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  56. package/dist/chunks/{integration-5fmxt4p5.js → worktree-5fmxt4p5.js} +1 -1
  57. package/dist/chunks/{integration-5jvc5tg2.js → worktree-5jvc5tg2.js} +1 -1
  58. package/dist/chunks/{integration-1kjrg5h4.js → worktree-5nygvj5f.js} +20 -20
  59. package/dist/chunks/{integration-sspp9p5y.js → worktree-5r8w58wp.js} +23 -23
  60. package/dist/chunks/{integration-6kzsdjmr.js → worktree-5zcapbqz.js} +35 -35
  61. package/dist/chunks/{integration-kzzvpjj3.js → worktree-61k64wys.js} +18 -18
  62. package/dist/chunks/{integration-7s54ph47.js → worktree-62mr7g8a.js} +14 -14
  63. package/dist/chunks/{integration-0bhrx1x9.js → worktree-63nctvwe.js} +56 -56
  64. package/dist/chunks/{integration-wp8mzxcn.js → worktree-660eg1b9.js} +27 -27
  65. package/dist/chunks/{integration-6w2ebves.js → worktree-6v6snzyf.js} +24 -24
  66. package/dist/chunks/{integration-53b1td34.js → worktree-6y2e0e4e.js} +13 -13
  67. package/dist/chunks/{integration-y3c3mzvm.js → worktree-6yybv5x8.js} +13 -13
  68. package/dist/chunks/{integration-711hfp6y.js → worktree-711hfp6y.js} +2 -2
  69. package/dist/chunks/{integration-zbp985em.js → worktree-7214vx64.js} +4 -4
  70. package/dist/chunks/{integration-72nftnjy.js → worktree-72nftnjy.js} +2 -2
  71. package/dist/chunks/{integration-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
  72. package/dist/chunks/{integration-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{integration-327n2tt7.js → worktree-7dz4r7mk.js} +8 -8
  74. package/dist/chunks/{integration-0arvn5f6.js → worktree-7er3jcv0.js} +26 -26
  75. package/dist/chunks/{integration-433q4afj.js → worktree-7g2k4w5v.js} +41 -41
  76. package/dist/chunks/{integration-g3by5vjq.js → worktree-7gkmedy0.js} +13 -13
  77. package/dist/chunks/{integration-w0968pv7.js → worktree-7h10aajm.js} +5 -5
  78. package/dist/chunks/{integration-re8qbn3m.js → worktree-7nmnk1wx.js} +21 -21
  79. package/dist/chunks/{integration-051qdrr2.js → worktree-7w74e5nf.js} +9 -9
  80. package/dist/chunks/{integration-rbqj5q8p.js → worktree-842v7csv.js} +7 -7
  81. package/dist/chunks/{integration-gr0yca18.js → worktree-87hmtf6v.js} +16 -16
  82. package/dist/chunks/{integration-5nrew705.js → worktree-8dff8bqa.js} +5 -5
  83. package/dist/chunks/{integration-a7pjgb0j.js → worktree-8k6sjvxx.js} +11 -11
  84. package/dist/chunks/{integration-n4q030rw.js → worktree-94pmskv9.js} +4 -4
  85. package/dist/chunks/{integration-e1rfyyrx.js → worktree-9g259f3c.js} +8 -8
  86. package/dist/chunks/{integration-tq9bnbkc.js → worktree-9kwyppn5.js} +20 -20
  87. package/dist/chunks/{integration-0t8hhwgh.js → worktree-9mtg8gdn.js} +11 -11
  88. package/dist/chunks/{integration-9qm9egsn.js → worktree-9qm9egsn.js} +2 -2
  89. package/dist/chunks/{integration-pg4tqg4j.js → worktree-a29r829w.js} +49 -49
  90. package/dist/chunks/{integration-cv4ckjj3.js → worktree-a8g0fabb.js} +7 -7
  91. package/dist/chunks/{integration-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  92. package/dist/chunks/{integration-hdd17qa4.js → worktree-acbvwaxg.js} +19 -19
  93. package/dist/chunks/{integration-10fgs14z.js → worktree-adacqx41.js} +17 -17
  94. package/dist/chunks/{integration-3mygrb37.js → worktree-adv3g3q6.js} +11 -11
  95. package/dist/chunks/{integration-qja7rspw.js → worktree-ajphwd6y.js} +8 -8
  96. package/dist/chunks/{integration-ajtjthsy.js → worktree-ajtjthsy.js} +2 -2
  97. package/dist/chunks/{integration-56kfp8bc.js → worktree-avwxaxy8.js} +24 -24
  98. package/dist/chunks/{integration-26bs89kh.js → worktree-b08spypp.js} +11 -11
  99. package/dist/chunks/{integration-7w3s9kd0.js → worktree-b1chm04x.js} +9 -9
  100. package/dist/chunks/{integration-gzx0b0mt.js → worktree-b3kfkjj6.js} +4 -4
  101. package/dist/chunks/worktree-b5q5y4vk.js +4 -0
  102. package/dist/chunks/{integration-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{integration-0dh1sqzr.js → worktree-b9e4evd2.js} +10 -10
  104. package/dist/chunks/{integration-b9wsbatv.js → worktree-b9wsbatv.js} +1 -1
  105. package/dist/chunks/{integration-sz4gjawx.js → worktree-bg50jbb6.js} +84 -84
  106. package/dist/chunks/{integration-js3a5baj.js → worktree-bj3t22s0.js} +40 -40
  107. package/dist/chunks/{integration-bpnz08mb.js → worktree-bpnz08mb.js} +2 -2
  108. package/dist/chunks/{integration-pgaw07cd.js → worktree-bsv171pv.js} +8 -8
  109. package/dist/chunks/{integration-5t9nxpj3.js → worktree-c047tdby.js} +13 -13
  110. package/dist/chunks/{integration-mmb49dvx.js → worktree-c83taev4.js} +7 -7
  111. package/dist/chunks/{integration-gdkjhw4h.js → worktree-ce9ncmzb.js} +4 -4
  112. package/dist/chunks/{integration-a4rgs0hc.js → worktree-cfsc9srb.js} +4 -4
  113. package/dist/chunks/{integration-wzny3sya.js → worktree-cjrs1hef.js} +17 -17
  114. package/dist/chunks/{integration-p8j18qeb.js → worktree-ckfw619d.js} +42 -42
  115. package/dist/chunks/{integration-ezt9sm97.js → worktree-cnvcdvk7.js} +6 -6
  116. package/dist/chunks/{integration-tm74we8j.js → worktree-cnze8n7v.js} +10 -10
  117. package/dist/chunks/{integration-fn34x8gt.js → worktree-cs4zqdxc.js} +4 -4
  118. package/dist/chunks/{integration-gny0aj3z.js → worktree-d4w17cfe.js} +11 -11
  119. package/dist/chunks/{integration-d72308c8.js → worktree-d72308c8.js} +2 -2
  120. package/dist/chunks/{integration-scmtthwv.js → worktree-dng5ka12.js} +16 -16
  121. package/dist/chunks/{integration-kx2gvdct.js → worktree-dpdxxwta.js} +4 -4
  122. package/dist/chunks/{integration-amcb702e.js → worktree-dssx1y55.js} +22 -22
  123. package/dist/chunks/{integration-p8zhn1ry.js → worktree-e2xpxj6j.js} +15 -15
  124. package/dist/chunks/{integration-hjt4xg1x.js → worktree-e82z9tr0.js} +7 -7
  125. package/dist/chunks/{integration-9sftbbn6.js → worktree-edz5pbw5.js} +27 -27
  126. package/dist/chunks/{integration-5vxncqj9.js → worktree-eg4pr325.js} +9 -9
  127. package/dist/chunks/{integration-2h194s0m.js → worktree-enw72f67.js} +6 -6
  128. package/dist/chunks/{integration-1jp9daeg.js → worktree-ex625ka3.js} +3 -3
  129. package/dist/chunks/{integration-xtrrbz3n.js → worktree-f8pec4ch.js} +13 -13
  130. package/dist/chunks/{integration-w8ztvw7q.js → worktree-fgdwx9dj.js} +28 -28
  131. package/dist/chunks/{integration-tkhgbb47.js → worktree-fj906p38.js} +15 -15
  132. package/dist/chunks/{integration-vmb983vf.js → worktree-fmanbg8s.js} +28 -28
  133. package/dist/chunks/{integration-5ajcezws.js → worktree-fss4j797.js} +24 -24
  134. package/dist/chunks/{integration-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{integration-fxypknc8.js → worktree-fxypknc8.js} +1 -1
  136. package/dist/chunks/{integration-y1sxvda5.js → worktree-g43vvm86.js} +7 -7
  137. package/dist/chunks/{integration-5phv6q8y.js → worktree-g6njkj82.js} +15 -15
  138. package/dist/chunks/{integration-00th4a5r.js → worktree-g89m0qrn.js} +35 -35
  139. package/dist/chunks/{integration-m6jbwjsh.js → worktree-gcaq7q8d.js} +4 -4
  140. package/dist/chunks/{integration-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{integration-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
  142. package/dist/chunks/{integration-m1rpt5yb.js → worktree-ge7ds67b.js} +2 -2
  143. package/dist/chunks/{integration-02gvdgew.js → worktree-gq1q1b4e.js} +8 -8
  144. package/dist/chunks/{integration-nqh50ffv.js → worktree-gqvj11y0.js} +9 -9
  145. package/dist/chunks/{integration-7dwyp953.js → worktree-gvcph31s.js} +12 -12
  146. package/dist/chunks/{integration-z8145smf.js → worktree-h08w630h.js} +34 -34
  147. package/dist/chunks/{integration-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{integration-e82pn39z.js → worktree-hbxp6gk0.js} +6 -6
  149. package/dist/chunks/worktree-hcs930pp.js +22 -0
  150. package/dist/chunks/{integration-n3scjepk.js → worktree-hctjcsn3.js} +64 -64
  151. package/dist/chunks/{integration-30z9ekqv.js → worktree-hevn35yy.js} +7 -7
  152. package/dist/chunks/{integration-heyhwy2w.js → worktree-heyhwy2w.js} +1 -1
  153. package/dist/chunks/{integration-bphmvjfp.js → worktree-hnyf01b0.js} +5 -5
  154. package/dist/chunks/{integration-hrvm11jt.js → worktree-hrvm11jt.js} +3 -3
  155. package/dist/chunks/{integration-axrkenmh.js → worktree-ht4ejyw1.js} +13 -13
  156. package/dist/chunks/{integration-4sxg11az.js → worktree-ht963k40.js} +5 -5
  157. package/dist/chunks/{integration-xxht2zme.js → worktree-j1yqv9s7.js} +13 -13
  158. package/dist/chunks/{integration-6k1x2hq7.js → worktree-j6jsstpv.js} +19 -19
  159. package/dist/chunks/{integration-paphc93g.js → worktree-j935v87r.js} +2 -2
  160. package/dist/chunks/{integration-h6phs3m3.js → worktree-jkzajkdb.js} +16 -16
  161. package/dist/chunks/{integration-h63taqsq.js → worktree-jm1y8vkw.js} +11 -11
  162. package/dist/chunks/{integration-reyds50y.js → worktree-jw9vr5cv.js} +11 -11
  163. package/dist/chunks/{integration-0naqfmpk.js → worktree-k1rzh40r.js} +17 -17
  164. package/dist/chunks/{integration-ey04d52n.js → worktree-k3skpd5n.js} +14 -14
  165. package/dist/chunks/{integration-k4bwy1x5.js → worktree-k4bwy1x5.js} +1 -1
  166. package/dist/chunks/{integration-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  167. package/dist/chunks/{integration-4qnq6xhv.js → worktree-kg8hghrp.js} +33 -33
  168. package/dist/chunks/{integration-wd5ma2ph.js → worktree-kk0awzkj.js} +22 -22
  169. package/dist/chunks/{integration-pvg228j8.js → worktree-kmcjptjm.js} +1 -1
  170. package/dist/chunks/{integration-hw4pv20g.js → worktree-kvsjn1dr.js} +2 -2
  171. package/dist/chunks/{integration-432pw3c5.js → worktree-kxf02bzq.js} +22 -22
  172. package/dist/chunks/{integration-tpg9ytbh.js → worktree-m7nj5h8z.js} +8 -8
  173. package/dist/chunks/{integration-21pvg7kt.js → worktree-m7w02m4e.js} +12 -12
  174. package/dist/chunks/{integration-089r6rfv.js → worktree-m9asb4sr.js} +29 -29
  175. package/dist/chunks/{integration-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{integration-8aa81zbh.js → worktree-m9xhrdze.js} +12 -12
  177. package/dist/chunks/{integration-5fex8bb2.js → worktree-mfpdf0ta.js} +7 -7
  178. package/dist/chunks/{integration-3qbt326n.js → worktree-mh0thj4x.js} +13 -13
  179. package/dist/chunks/{integration-az4t7x9p.js → worktree-mtd0mgtt.js} +40 -40
  180. package/dist/chunks/{integration-ryr25ayn.js → worktree-mtq6xxnx.js} +7 -7
  181. package/dist/chunks/{integration-radpzgs0.js → worktree-mw548jxj.js} +18 -18
  182. package/dist/chunks/{integration-sgv69984.js → worktree-najyedn1.js} +5 -5
  183. package/dist/chunks/{integration-b5nf4epv.js → worktree-ne4zyw3a.js} +15 -15
  184. package/dist/chunks/{integration-ava0yb97.js → worktree-nhfc898y.js} +29 -29
  185. package/dist/chunks/{integration-vzvx7g7e.js → worktree-nnad2ash.js} +46 -46
  186. package/dist/chunks/{integration-80nx285x.js → worktree-nz4zy0sw.js} +19 -19
  187. package/dist/chunks/{integration-ag62pq98.js → worktree-pfzksdxq.js} +24 -24
  188. package/dist/chunks/{integration-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{integration-vjxchawq.js → worktree-pjw83wd2.js} +32 -32
  190. package/dist/chunks/{integration-pknna89w.js → worktree-pknna89w.js} +1 -1
  191. package/dist/chunks/{integration-m5kbf3jc.js → worktree-pq5hrpmt.js} +11 -11
  192. package/dist/chunks/{integration-2gk5cp3r.js → worktree-pr0pn8m6.js} +13 -13
  193. package/dist/chunks/{integration-r7ddtr8e.js → worktree-prrfs6yw.js} +23 -23
  194. package/dist/chunks/{integration-pdp8j59c.js → worktree-q3yxb0xv.js} +11 -11
  195. package/dist/chunks/{integration-gart8bfz.js → worktree-q8qsy7xy.js} +16 -16
  196. package/dist/chunks/{integration-4ktjq5jv.js → worktree-qafexnn6.js} +9 -9
  197. package/dist/chunks/{integration-wqpfxacs.js → worktree-qbddy52q.js} +11 -11
  198. package/dist/chunks/{integration-wjzbj88c.js → worktree-qqt43bp1.js} +23 -23
  199. package/dist/chunks/{integration-r33ff4dw.js → worktree-qqtwvk4z.js} +6 -6
  200. package/dist/chunks/{integration-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  201. package/dist/chunks/{integration-0khar44x.js → worktree-qvk768dr.js} +11 -11
  202. package/dist/chunks/{integration-5xzsz4y7.js → worktree-qyv79zw0.js} +30 -30
  203. package/dist/chunks/{integration-skm6vzx1.js → worktree-qyza05bp.js} +27 -27
  204. package/dist/chunks/{integration-ebbs9ney.js → worktree-r226ndvg.js} +36 -36
  205. package/dist/chunks/{integration-r8dhm0tv.js → worktree-r8dhm0tv.js} +1 -1
  206. package/dist/chunks/{integration-j83byb14.js → worktree-r98e92ep.js} +4 -4
  207. package/dist/chunks/worktree-rap9a73h.js +18 -0
  208. package/dist/chunks/{integration-pdxe2edq.js → worktree-rd9hzb43.js} +14 -14
  209. package/dist/chunks/{integration-68y46v3g.js → worktree-rfedyjyh.js} +20 -20
  210. package/dist/chunks/{integration-p9vx44pc.js → worktree-rh7y5xh0.js} +1 -1
  211. package/dist/chunks/{integration-gej0j4pk.js → worktree-rj2f5sk2.js} +17 -17
  212. package/dist/chunks/{integration-7nzzgtdj.js → worktree-rqqsyksf.js} +24 -24
  213. package/dist/chunks/{integration-dz86g41b.js → worktree-s06dat1t.js} +9 -9
  214. package/dist/chunks/{integration-hf3t0h2k.js → worktree-s6z4mph6.js} +6 -6
  215. package/dist/chunks/{integration-sba4qhjf.js → worktree-sba4qhjf.js} +1 -1
  216. package/dist/chunks/{integration-a5n2dake.js → worktree-sdm57bgr.js} +23 -23
  217. package/dist/chunks/{integration-pfwd1k69.js → worktree-smk292jk.js} +152 -152
  218. package/dist/chunks/{integration-d1qjg7yf.js → worktree-sn5ar8h4.js} +1 -1
  219. package/dist/chunks/{integration-sz4dw7gm.js → worktree-srxvp5n6.js} +11 -11
  220. package/dist/chunks/{integration-0zgbz30q.js → worktree-sxrnkw1n.js} +9 -9
  221. package/dist/chunks/{integration-9exd6xtw.js → worktree-sy2xv61m.js} +1 -1
  222. package/dist/chunks/{integration-3jwyfetg.js → worktree-t5ad4xaj.js} +8 -8
  223. package/dist/chunks/{integration-pe587v0q.js → worktree-t5h4rs02.js} +9 -9
  224. package/dist/chunks/{integration-ba8a6aak.js → worktree-t8vr1kn7.js} +9 -9
  225. package/dist/chunks/{integration-9x9phxhw.js → worktree-t9qj8c83.js} +10 -10
  226. package/dist/chunks/{integration-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{integration-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{integration-6g5h5enh.js → worktree-tgpzk4tr.js} +13 -13
  229. package/dist/chunks/{integration-x8nhbgtx.js → worktree-tgz6nsmd.js} +48 -48
  230. package/dist/chunks/{integration-tjykrgmx.js → worktree-tjykrgmx.js} +1 -1
  231. package/dist/chunks/{integration-npjzd5yf.js → worktree-tmjhps6z.js} +11 -11
  232. package/dist/chunks/{integration-tppvcy65.js → worktree-tppvcy65.js} +2 -2
  233. package/dist/chunks/{integration-gmfar029.js → worktree-tq32dsfx.js} +9 -9
  234. package/dist/chunks/{integration-wy76m6zk.js → worktree-tqmakht3.js} +25 -25
  235. package/dist/chunks/{integration-pmbgjyp9.js → worktree-txt2cax8.js} +284 -284
  236. package/dist/chunks/{integration-x9ktxn4p.js → worktree-tza14zss.js} +32 -32
  237. package/dist/chunks/{integration-jyprvyx1.js → worktree-v6s3zgrk.js} +6 -6
  238. package/dist/chunks/{integration-5fq934vj.js → worktree-vhjdrq5e.js} +5 -5
  239. package/dist/chunks/{integration-jp7d3tsh.js → worktree-vqfj6rgg.js} +15 -15
  240. package/dist/chunks/{integration-kfrje9nb.js → worktree-vspn1zx3.js} +26 -26
  241. package/dist/chunks/{integration-7tzxs4gx.js → worktree-vxz7khjw.js} +34 -34
  242. package/dist/chunks/{integration-e3ntb6n0.js → worktree-vy8y55ac.js} +27 -27
  243. package/dist/chunks/{integration-qgj1bmkg.js → worktree-vynk1gtr.js} +11 -11
  244. package/dist/chunks/{integration-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{integration-wd87259q.js → worktree-wd87259q.js} +1 -1
  246. package/dist/chunks/{integration-rkar1xve.js → worktree-wga61mrz.js} +16 -16
  247. package/dist/chunks/{integration-avsd5b6b.js → worktree-wgc064dh.js} +10 -10
  248. package/dist/chunks/{integration-2pvtkfrt.js → worktree-wjy58fct.js} +12 -12
  249. package/dist/chunks/{integration-rn3ywvk5.js → worktree-wt966625.js} +17 -17
  250. package/dist/chunks/{integration-nngpx1ez.js → worktree-wvbw7nq4.js} +20 -20
  251. package/dist/chunks/{integration-xzhshwgm.js → worktree-wx13dy4y.js} +11 -11
  252. package/dist/chunks/{integration-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{integration-5hy0rtfk.js → worktree-x4ndt50x.js} +18 -18
  254. package/dist/chunks/{integration-mjzw1bzx.js → worktree-xgjy9czn.js} +9 -9
  255. package/dist/chunks/{integration-czarjmjc.js → worktree-xgqr5ys9.js} +27 -27
  256. package/dist/chunks/{integration-sv1bgkh6.js → worktree-xk6kcd15.js} +3 -3
  257. package/dist/chunks/{integration-d7rthvks.js → worktree-xpxmebhh.js} +43 -43
  258. package/dist/chunks/{integration-n38qs1ar.js → worktree-xr5vwsd4.js} +9 -9
  259. package/dist/chunks/{integration-rtyzczqf.js → worktree-xwsmtwfv.js} +5 -5
  260. package/dist/chunks/{integration-nhczefgv.js → worktree-xy07edwq.js} +41 -41
  261. package/dist/chunks/{integration-w19w1qkx.js → worktree-y14y9keq.js} +1 -1
  262. package/dist/chunks/{integration-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{integration-93a8yfjt.js → worktree-y2cqme3r.js} +5 -5
  264. package/dist/chunks/{integration-jwcy2c2z.js → worktree-y71avatq.js} +4 -4
  265. package/dist/chunks/{integration-2571w2b0.js → worktree-ybjzef57.js} +5 -5
  266. package/dist/chunks/{integration-yfbd16n1.js → worktree-yfbd16n1.js} +2 -2
  267. package/dist/chunks/{integration-r4e2f98f.js → worktree-yfdj9tfx.js} +31 -31
  268. package/dist/chunks/{integration-n8295sxz.js → worktree-yh9c67q5.js} +4 -4
  269. package/dist/chunks/{integration-3nf7bh68.js → worktree-ynqmrvb3.js} +14 -14
  270. package/dist/chunks/{integration-yp2x3t23.js → worktree-yp2x3t23.js} +1 -1
  271. package/dist/chunks/{integration-psgkh1f7.js → worktree-ypyh08m6.js} +4 -4
  272. package/dist/chunks/worktree-yrf23g47.js +247 -0
  273. package/dist/chunks/{integration-sxnbked4.js → worktree-yywg80z9.js} +6 -6
  274. package/dist/chunks/{integration-6a04dbgb.js → worktree-z168y132.js} +24 -24
  275. package/dist/chunks/{integration-z1k01bn4.js → worktree-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{integration-t89cxbfz.js → worktree-z1sr0xrs.js} +4 -4
  277. package/dist/chunks/{integration-hha4zry8.js → worktree-ze4dnq9c.js} +20 -20
  278. package/dist/chunks/{integration-k2en0fft.js → worktree-zgsac5yt.js} +10 -10
  279. package/dist/chunks/{integration-n0tc3be6.js → worktree-zh2rh6rn.js} +17 -17
  280. package/dist/chunks/{integration-4ha7507h.js → worktree-zh93cpfk.js} +23 -23
  281. package/dist/chunks/{integration-whyqf77n.js → worktree-zht09bnk.js} +8 -8
  282. package/dist/chunks/{integration-chtrmnkp.js → worktree-zkj92s1w.js} +11 -6
  283. package/dist/chunks/{integration-t3jgv66k.js → worktree-zn2cbnfs.js} +11 -11
  284. package/dist/chunks/{integration-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +117 -117
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +115 -115
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +117 -117
  300. package/dist/config/plugin/mcp.js +126 -126
  301. package/dist/config/plugin/policy.js +114 -114
  302. package/dist/config/plugin/provider.js +113 -113
  303. package/dist/config/plugin/reference.js +117 -117
  304. package/dist/config/plugin/shell.js +116 -116
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -135
  307. package/dist/config/plugin/snapshot.js +115 -115
  308. package/dist/config/plugin/source.js +117 -117
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +113 -113
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +119 -119
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +77 -77
  317. package/dist/database/database.js +70 -70
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -359
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +2 -2
  414. package/dist/filesystem/location-watcher.js +221 -221
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +95 -95
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +94 -94
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +2 -2
  422. package/dist/formatter.js +84 -84
  423. package/dist/generate.js +89 -89
  424. package/dist/git.js +5 -5
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -350
  449. package/dist/instruction-discovery.js +79 -79
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +86 -86
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +132 -132
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +347 -347
  461. package/dist/location.js +78 -78
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +101 -101
  464. package/dist/mcp/instructions.js +121 -121
  465. package/dist/mcp/oauth.js +3 -3
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +86 -86
  470. package/dist/model.js +10 -10
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +76 -76
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +105 -105
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +78 -78
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +96 -96
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -212
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -321
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +5 -5
  490. package/dist/plugin/optimize.js +2 -2
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -118
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -114
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -80
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -76
  510. package/dist/plugin/provider/lmstudio.js +117 -117
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -79
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -117
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +78 -78
  517. package/dist/plugin/provider/opencode.js +76 -76
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +117 -117
  526. package/dist/plugin/provider/xai.js +77 -77
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -155
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +132 -132
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +336 -336
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -112
  539. package/dist/plugin/websearch/exa.js +5 -5
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +215 -215
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +77 -77
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +84 -84
  556. package/dist/repository-cache.js +74 -74
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +87 -87
  560. package/dist/rpc.js +77 -77
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +128 -128
  564. package/dist/session/context.js +146 -146
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -218
  569. package/dist/session/execution.js +123 -123
  570. package/dist/session/generate.js +145 -145
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -125
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +1 -1
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -224
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -86
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +118 -118
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +1 -1
  595. package/dist/session/session.js +168 -168
  596. package/dist/session/shell.js +131 -131
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -204
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +146 -146
  605. package/dist/session/to-session-error.js +106 -106
  606. package/dist/session/transfer.js +211 -211
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +206 -206
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +13 -13
  613. package/dist/shell.js +133 -133
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +99 -99
  616. package/dist/skill.js +100 -100
  617. package/dist/snapshot.js +88 -88
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +120 -120
  622. package/dist/tool/plugin/edit.js +110 -110
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +113 -113
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +205 -205
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +213 -213
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +92 -92
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error-summary.js +1 -1
  641. package/dist/util/error.js +1 -1
  642. package/dist/util/iife.js +1 -1
  643. package/dist/util/lazy.js +1 -1
  644. package/dist/util/slug.js +1 -1
  645. package/dist/util/token.js +1 -1
  646. package/dist/util/which.js +1 -1
  647. package/dist/util/wildcard.js +1 -1
  648. package/dist/v1/config/agent.js +7 -7
  649. package/dist/v1/config/attachment.js +4 -4
  650. package/dist/v1/config/command.js +5 -5
  651. package/dist/v1/config/config.js +16 -16
  652. package/dist/v1/config/error.js +4 -4
  653. package/dist/v1/config/formatter.js +7 -7
  654. package/dist/v1/config/layout.js +1 -1
  655. package/dist/v1/config/lsp.js +5 -5
  656. package/dist/v1/config/mcp.js +2 -2
  657. package/dist/v1/config/migrate.js +4 -4
  658. package/dist/v1/config/permission.js +7 -7
  659. package/dist/v1/config/plugin.js +1 -1
  660. package/dist/v1/config/provider-options.js +1 -1
  661. package/dist/v1/config/provider.js +4 -4
  662. package/dist/v1/config/server.js +2 -2
  663. package/dist/v1/config/skills.js +3 -3
  664. package/dist/v1/permission.js +1 -1
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +85 -85
  667. package/dist/websearch.js +76 -76
  668. package/dist/wellknown/plugin.js +74 -74
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +7 -7
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +4 -4
  674. package/dist/worktree/git.js +7 -7
  675. package/dist/worktree/refresh.js +339 -339
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree.js +91 -91
  678. package/package.json +7 -7
  679. package/dist/chunks/integration-4y7bcn0g.js +0 -4
  680. package/dist/chunks/integration-e62b8887.js +0 -22
  681. package/dist/chunks/integration-h8c5g50t.js +0 -247
  682. package/dist/chunks/integration-pf31ssb9.js +0 -18
  683. /package/dist/chunks/{integration-0fabt78z.js → worktree-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{integration-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{integration-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{integration-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{integration-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{integration-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{integration-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{integration-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{integration-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{integration-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{integration-3asan66x.js → worktree-3asan66x.js} +0 -0
  694. /package/dist/chunks/{integration-3t738kvx.js → worktree-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{integration-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{integration-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{integration-41nvscxy.js → worktree-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{integration-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{integration-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{integration-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{integration-53557ph1.js → worktree-53557ph1.js} +0 -0
  702. /package/dist/chunks/{integration-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{integration-6prwharc.js → worktree-6prwharc.js} +0 -0
  704. /package/dist/chunks/{integration-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{integration-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{integration-822emrt2.js → worktree-822emrt2.js} +0 -0
  707. /package/dist/chunks/{integration-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{integration-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{integration-982e01ww.js → worktree-982e01ww.js} +0 -0
  710. /package/dist/chunks/{integration-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{integration-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{integration-a1tpkmh4.js → worktree-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{integration-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{integration-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{integration-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{integration-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{integration-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{integration-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{integration-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{integration-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{integration-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{integration-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{integration-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{integration-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{integration-df08tz66.js → worktree-df08tz66.js} +0 -0
  726. /package/dist/chunks/{integration-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{integration-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{integration-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{integration-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{integration-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{integration-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{integration-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{integration-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{integration-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{integration-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{integration-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{integration-g86h250q.js → worktree-g86h250q.js} +0 -0
  738. /package/dist/chunks/{integration-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{integration-hk9envan.js → worktree-hk9envan.js} +0 -0
  740. /package/dist/chunks/{integration-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{integration-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{integration-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{integration-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{integration-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{integration-mntxs535.js → worktree-mntxs535.js} +0 -0
  746. /package/dist/chunks/{integration-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{integration-mq9r6drf.js → worktree-mq9r6drf.js} +0 -0
  748. /package/dist/chunks/{integration-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  749. /package/dist/chunks/{integration-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  750. /package/dist/chunks/{integration-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  751. /package/dist/chunks/{integration-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  752. /package/dist/chunks/{integration-p8qxwesx.js → worktree-p8qxwesx.js} +0 -0
  753. /package/dist/chunks/{integration-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  754. /package/dist/chunks/{integration-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  755. /package/dist/chunks/{integration-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  756. /package/dist/chunks/{integration-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  757. /package/dist/chunks/{integration-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  758. /package/dist/chunks/{integration-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  759. /package/dist/chunks/{integration-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  760. /package/dist/chunks/{integration-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  761. /package/dist/chunks/{integration-se0s1eqw.js → worktree-se0s1eqw.js} +0 -0
  762. /package/dist/chunks/{integration-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  763. /package/dist/chunks/{integration-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  764. /package/dist/chunks/{integration-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  765. /package/dist/chunks/{integration-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  766. /package/dist/chunks/{integration-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  767. /package/dist/chunks/{integration-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  768. /package/dist/chunks/{integration-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  769. /package/dist/chunks/{integration-x1b8g1yb.js → worktree-x1b8g1yb.js} +0 -0
  770. /package/dist/chunks/{integration-x61499pn.js → worktree-x61499pn.js} +0 -0
  771. /package/dist/chunks/{integration-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  772. /package/dist/chunks/{integration-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  773. /package/dist/chunks/{integration-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  774. /package/dist/chunks/{integration-z9919s4g.js → worktree-z9919s4g.js} +0 -0
  775. /package/dist/chunks/{integration-zbjnn3ac.js → worktree-zbjnn3ac.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./integration-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
10
- render: () => render3
9
+ make: () => make13,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
33
- return render3(system_default, tools);
32
+ function make13(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make13, render2, exports_system_prompt };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./integration-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./integration-rbqj5q8p.js";
6
+ } from "./worktree-842v7csv.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service72
10
- } from "./integration-3nf7bh68.js";
9
+ Service22
10
+ } from "./worktree-ynqmrvb3.js";
11
11
  import {
12
- Service54
13
- } from "./integration-h8zz2ecm.js";
12
+ Service48
13
+ } from "./worktree-471a560f.js";
14
14
  import {
15
- Service6
16
- } from "./integration-tq9bnbkc.js";
15
+ Service8
16
+ } from "./worktree-9kwyppn5.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./integration-2a5m3afh.js";
19
+ } from "./worktree-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -28,25 +28,25 @@ import {
28
28
  TextPage2,
29
29
  ListPage2,
30
30
  Service7
31
- } from "./integration-gmfar029.js";
31
+ } from "./worktree-tq32dsfx.js";
32
32
  import {
33
33
  __export
34
- } from "./integration-9rqn6x4v.js";
34
+ } from "./worktree-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input11,
40
- Plugin: () => Plugin25,
39
+ Input: () => Input5,
40
+ Plugin: () => Plugin5,
41
41
  ReadTool: () => exports_read,
42
- name: () => name11,
43
- toModelContent: () => toModelContent6
42
+ name: () => name5,
43
+ toModelContent: () => toModelContent3
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name11 = "read";
49
+ var name5 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input11 = LocationInput;
60
+ var Input5 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin25 = {
62
+ var Plugin5 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
65
  const reader = yield* Service7;
66
- const mutation = yield* Service72;
67
- const permission = yield* Service54;
68
- const sessionInstructions = yield* Service6;
66
+ const mutation = yield* Service22;
67
+ const permission = yield* Service48;
68
+ const sessionInstructions = yield* Service8;
69
69
  const fs = yield* FSUtil.Service;
70
70
  const location = yield* Service76;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name11,
72
+ name: name5,
73
73
  options: { codemode: false },
74
74
  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.",
75
- input: Input11,
75
+ input: Input5,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin25 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name11,
93
+ action: name5,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin25 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent6(result.path, input.offset, result.output),
144
+ content: toModelContent3(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent6 = (path, offset, output) => {
176
+ var toModelContent3 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent6 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name11, Input11, Plugin25, toModelContent6, exports_read };
211
+ export { name5, Input5, Plugin5, toModelContent3, exports_read };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./integration-p8qxwesx.js";
4
+ } from "./worktree-p8qxwesx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./integration-jwcy2c2z.js";
7
+ } from "./worktree-y71avatq.js";
8
8
  import {
9
9
  __export
10
- } from "./integration-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/git.ts
13
13
  var exports_git3 = {};
@@ -15,7 +15,7 @@ __export(exports_git3, {
15
15
  Git: () => exports_git3,
16
16
  OperationError: () => OperationError3,
17
17
  Repository: () => Repository2,
18
- Service: () => Service79,
18
+ Service: () => Service78,
19
19
  TreeID: () => TreeID2,
20
20
  Worktree: () => Worktree2,
21
21
  WorktreeError: () => WorktreeError2,
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
85
85
  }) {
86
86
  }
87
87
 
88
- class Service79 extends Context.Service()("@opencode/Git") {
88
+ class Service78 extends Context.Service()("@opencode/Git") {
89
89
  }
90
- var layer = Layer.effect(Service79, Effect.gen(function* () {
90
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
91
91
  const fs = yield* FSUtil.Service;
92
92
  const proc = yield* AppProcess.Service;
93
93
  const locks = makeUnsafe2();
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
409
409
  kind: index === 0 ? "main" : "linked"
410
410
  }));
411
411
  });
412
- return Service79.of({
412
+ return Service78.of({
413
413
  repo: { discover, clone, create },
414
414
  remote: { get: remote },
415
415
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
425
425
  }
426
426
  });
427
427
  }));
428
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
428
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [FSUtil.node, AppProcess.node] });
429
429
  function run(cwd, proc, args) {
430
430
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
431
431
  }
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
450
450
  return path.resolve(cwd, normalized);
451
451
  }
452
452
 
453
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
453
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service78, node83, exports_git3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./integration-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service51,
10
- node: () => node54
9
+ Service: () => Service42,
10
+ node: () => node45
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
- class Service51 extends Context.Service()("@opencode/Instance") {
16
+ class Service42 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node54 = LayerNode.unbound(Service51, Node.tags.values.global);
18
+ var node45 = LayerNode.unbound(Service42, Node.tags.values.global);
19
19
 
20
- export { Service51, node54, exports_service2 };
20
+ export { Service42, node45, exports_service2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./integration-p8qxwesx.js";
3
+ } from "./worktree-p8qxwesx.js";
4
4
  import {
5
5
  Service76
6
- } from "./integration-rbqj5q8p.js";
6
+ } from "./worktree-842v7csv.js";
7
7
  import {
8
8
  __export
9
- } from "./integration-9rqn6x4v.js";
9
+ } from "./worktree-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service76
3
- } from "./integration-rbqj5q8p.js";
3
+ } from "./worktree-842v7csv.js";
4
4
  import {
5
5
  latest2,
6
- Service44
7
- } from "./integration-d7rthvks.js";
6
+ Service62
7
+ } from "./worktree-xpxmebhh.js";
8
8
  import {
9
- Service19
10
- } from "./integration-h6phs3m3.js";
9
+ Service70
10
+ } from "./worktree-jkzajkdb.js";
11
11
  import {
12
12
  make10
13
- } from "./integration-73tb2d7t.js";
13
+ } from "./worktree-73tb2d7t.js";
14
14
  import {
15
15
  observe2
16
- } from "./integration-qsdy395h.js";
16
+ } from "./worktree-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./integration-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin41
25
+ Plugin: () => Plugin29
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -30,11 +30,11 @@ import { Global } from "@opencode-ai/util/global";
30
30
  import { Npm } from "@opencode-ai/util/npm";
31
31
  import { AppProcess } from "@opencode-ai/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin41 = define({
33
+ var Plugin29 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service44;
37
- const formatter = yield* Service19;
36
+ const config = yield* Service62;
37
+ const formatter = yield* Service70;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
40
  const location = yield* Service76;
@@ -74,4 +74,4 @@ var Plugin41 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin41, exports_formatter };
77
+ export { Plugin29, exports_formatter };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./integration-scmtthwv.js";
2
+ Service79,
3
+ node84
4
+ } from "./worktree-dng5ka12.js";
5
5
  import {
6
6
  Key4,
7
- Service65,
7
+ Service64,
8
8
  node68
9
- } from "./integration-wp8mzxcn.js";
9
+ } from "./worktree-660eg1b9.js";
10
10
  import {
11
11
  create3
12
- } from "./integration-kg06axw8.js";
12
+ } from "./worktree-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./integration-czarjmjc.js";
16
+ } from "./worktree-xgqr5ys9.js";
17
17
  import {
18
18
  __export
19
- } from "./integration-9rqn6x4v.js";
19
+ } from "./worktree-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event16,
34
- ID: () => ID11,
35
- Info: () => Info24,
33
+ Event: () => Event11,
34
+ ID: () => ID9,
35
+ Info: () => Info10,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref3,
42
- Service: () => Service64,
43
- node: () => node67
41
+ Ref: () => Ref2,
42
+ Service: () => Service53,
43
+ node: () => node56
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event16 } from "@opencode-ai/schema/integration";
65
- var ID11 = Integration.ID;
64
+ import { Event as Event11 } from "@opencode-ai/schema/integration";
65
+ var ID9 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info24 = Integration.Info;
73
+ var Info10 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,16 +85,16 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref3 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service64 extends Context.Service()("@opencode/Integration") {
90
+ class Service53 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service64, Effect.gen(function* () {
96
- const credentials = yield* Service65;
97
- const bus = yield* Service78;
95
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
96
+ const credentials = yield* Service64;
97
+ const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
100
100
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info24.make({
190
+ const project = (entry, connections) => Info10.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service64.of({
420
+ return Service53.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node67 = makeLocationNode({
569
- service: Service64,
568
+ var node56 = makeLocationNode({
569
+ service: Service53,
570
570
  layer,
571
- deps: [node68, node82, AppProcess.node]
571
+ deps: [node68, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID11, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info24, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service64, node67, exports_integration, Event16 };
574
+ export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service53, node56, exports_integration, Event11 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./integration-gny0aj3z.js";
3
+ node85
4
+ } from "./worktree-d4w17cfe.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./integration-hrvm11jt.js";
8
+ } from "./worktree-hrvm11jt.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load3
12
- } from "./integration-0dh1sqzr.js";
11
+ load2
12
+ } from "./worktree-b9e4evd2.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./integration-bpnz08mb.js";
15
+ } from "./worktree-bpnz08mb.js";
16
16
  import {
17
17
  __export
18
- } from "./integration-9rqn6x4v.js";
18
+ } from "./worktree-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service56,
24
+ Service: () => Service50,
25
25
  SessionStore: () => exports_store,
26
- node: () => node59
26
+ node: () => node53
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service56 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service50 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service56, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
58
58
  const { db } = yield* Service80;
59
- return Service56.of({
59
+ return Service50.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
99
99
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
100
100
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
101
101
  }),
102
- context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID)),
102
+ context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID)),
103
103
  message: Effect.fn("SessionStore.message")(function* (messageID) {
104
104
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
105
105
  return row ? {
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
126
126
  })
127
127
  });
128
128
  }));
129
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [node84] });
129
+ var node53 = makeGlobalNode({ service: Service50, layer, deps: [node85] });
130
130
 
131
- export { ListInput5, Service56, node59, exports_store };
131
+ export { ListInput5, Service50, node53, exports_store };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./integration-scmtthwv.js";
2
+ Service79,
3
+ node84
4
+ } from "./worktree-dng5ka12.js";
5
5
  import {
6
6
  create3
7
- } from "./integration-kg06axw8.js";
7
+ } from "./worktree-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./integration-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event6,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event19,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info6,
19
- NotFoundError: () => NotFoundError4,
20
- Service: () => Service36,
21
- layer: () => layer16,
22
- node: () => node40
18
+ Info: () => Info29,
19
+ NotFoundError: () => NotFoundError9,
20
+ Service: () => Service74,
21
+ layer: () => layer25,
22
+ node: () => node79
23
23
  });
24
24
  import { Command } from "@opencode-ai/schema/command";
25
25
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event6 } from "@opencode-ai/schema/command";
28
- var Info6 = Command.Info;
27
+ import { Event as Event19 } from "@opencode-ai/schema/command";
28
+ var Info29 = Command.Info;
29
29
 
30
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service36 extends Context.Service()("@opencode/Command") {
42
+ class Service74 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer16 = Layer.effect(Service36, Effect.gen(function* () {
45
- const bus = yield* Service78;
44
+ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
45
+ const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info6.make({
54
+ const info = (definition) => Info29.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service36.of({
58
+ return Service74.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer16 = Layer.effect(Service36, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node40 = makeLocationNode({
75
- service: Service36,
76
- layer: layer16,
77
- deps: [node82]
74
+ var node79 = makeLocationNode({
75
+ service: Service74,
76
+ layer: layer25,
77
+ deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info6, NotFoundError4, ExecutionError2, Service36, layer16, node40, exports_command4, Event6 };
89
+ export { Info29, NotFoundError9, ExecutionError2, Service74, layer25, node79, exports_command5, Event19 };