@opencode-ai/core 0.0.0-dev-19152 → 0.0.0-dev-19153

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 (773) 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 +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{git-qta1pbte.js → workspace-01ranzbk.js} +15 -15
  9. package/dist/chunks/{git-tzw81pya.js → workspace-0ccbb5fs.js} +7 -7
  10. package/dist/chunks/{git-j20qt8ny.js → workspace-0cgwketr.js} +15 -15
  11. package/dist/chunks/{git-eqe7bhk4.js → workspace-0ck40rgt.js} +35 -35
  12. package/dist/chunks/{git-0e0xafbb.js → workspace-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{git-91h1kd54.js → workspace-0f53zsz5.js} +34 -34
  14. package/dist/chunks/{git-2jmaghvr.js → workspace-0ft9cg2j.js} +4 -4
  15. package/dist/chunks/{git-ytqcjkjx.js → workspace-0hs6qkpf.js} +6 -6
  16. package/dist/chunks/{git-7dqw4kz8.js → workspace-0jwsre1p.js} +5 -5
  17. package/dist/chunks/{git-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{git-v08zexc0.js → workspace-0rwgbq6e.js} +10 -10
  19. package/dist/chunks/{git-0s9ayhjt.js → workspace-0s9ayhjt.js} +1 -1
  20. package/dist/chunks/{git-mkanh8av.js → workspace-0y9x3m2t.js} +6 -6
  21. package/dist/chunks/{git-11tw25g0.js → workspace-11tw25g0.js} +1 -1
  22. package/dist/chunks/{git-94b080c3.js → workspace-12ekwz9e.js} +5 -5
  23. package/dist/chunks/{git-ejwtzsrd.js → workspace-14e0ksqr.js} +13 -13
  24. package/dist/chunks/{git-357rxt8c.js → workspace-14ykvsqn.js} +15 -15
  25. package/dist/chunks/{git-1bbkgx8g.js → workspace-1bbkgx8g.js} +1 -1
  26. package/dist/chunks/{git-b5gjhjfs.js → workspace-1cngsnb6.js} +20 -20
  27. package/dist/chunks/{git-1ct4r87x.js → workspace-1ct4r87x.js} +1 -1
  28. package/dist/chunks/{git-rq5pxryv.js → workspace-1f74nbrw.js} +17 -17
  29. package/dist/chunks/{git-rzsjt7my.js → workspace-1fkv9cmy.js} +12 -12
  30. package/dist/chunks/{git-14hmenm3.js → workspace-1hy241bm.js} +3 -3
  31. package/dist/chunks/{git-1jk1zpn7.js → workspace-1t1nbvn5.js} +15 -15
  32. package/dist/chunks/{git-0z2q6qd2.js → workspace-1wpbnn2f.js} +29 -29
  33. package/dist/chunks/{git-bsgbf39w.js → workspace-2168rw8s.js} +9 -9
  34. package/dist/chunks/{git-21r38tys.js → workspace-21r38tys.js} +1 -1
  35. package/dist/chunks/{git-28pcbh69.js → workspace-28pcbh69.js} +1 -1
  36. package/dist/chunks/{git-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{git-2ht70gj7.js → workspace-2ht70gj7.js} +1 -1
  38. package/dist/chunks/{git-2jqmte8w.js → workspace-2jqmte8w.js} +2 -2
  39. package/dist/chunks/{git-xpqkh19y.js → workspace-2kp05069.js} +10 -10
  40. package/dist/chunks/{git-0nwt5npc.js → workspace-2pgk7vty.js} +2 -2
  41. package/dist/chunks/{git-thre64ft.js → workspace-2ssfnbgs.js} +26 -26
  42. package/dist/chunks/{git-zhyn27n2.js → workspace-2v5q54hm.js} +28 -28
  43. package/dist/chunks/{git-mcxg6pmm.js → workspace-2w6bfmvf.js} +1 -1
  44. package/dist/chunks/{git-f69meha8.js → workspace-2xn2cc7f.js} +11 -11
  45. package/dist/chunks/{git-256zxpde.js → workspace-350wk6dc.js} +9 -9
  46. package/dist/chunks/{git-y01np14z.js → workspace-35cnj8n6.js} +11 -11
  47. package/dist/chunks/{git-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{git-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{git-3qzbfqsy.js → workspace-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{git-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{git-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{git-e993tk0q.js → workspace-3vf1aewa.js} +6 -6
  53. package/dist/chunks/{git-rft8amsn.js → workspace-3wgash5j.js} +11 -11
  54. package/dist/chunks/{git-ewjppg9k.js → workspace-40gnxt3q.js} +24 -24
  55. package/dist/chunks/{git-42tkewwq.js → workspace-42tkewwq.js} +1 -1
  56. package/dist/chunks/{git-454k5vzh.js → workspace-454k5vzh.js} +1 -1
  57. package/dist/chunks/{git-de7edjxw.js → workspace-47695va9.js} +15 -15
  58. package/dist/chunks/{git-b185tj8s.js → workspace-4d8bxmps.js} +3 -3
  59. package/dist/chunks/{git-tdpndm1c.js → workspace-4dg124c5.js} +5 -5
  60. package/dist/chunks/{git-mmj3jx9j.js → workspace-4ertttby.js} +18 -18
  61. package/dist/chunks/{git-3mpn79e8.js → workspace-4h8k6c24.js} +80 -80
  62. package/dist/chunks/{git-4r2nyarf.js → workspace-4r2nyarf.js} +1 -1
  63. package/dist/chunks/workspace-4v7qdvcn.js +18 -0
  64. package/dist/chunks/{git-2rcn8zjb.js → workspace-4x0nmcjx.js} +9 -9
  65. package/dist/chunks/{git-99kegj5v.js → workspace-5160spka.js} +7 -7
  66. package/dist/chunks/{git-2tb9hyx2.js → workspace-55w7b5d5.js} +11 -11
  67. package/dist/chunks/{git-6xaf4e55.js → workspace-57cygpdy.js} +22 -22
  68. package/dist/chunks/{git-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  69. package/dist/chunks/{git-qyhzj9g1.js → workspace-5evqdwc0.js} +1 -1
  70. package/dist/chunks/{git-sxyem01p.js → workspace-5f8zs254.js} +24 -24
  71. package/dist/chunks/{git-5fmxt4p5.js → workspace-5fmxt4p5.js} +1 -1
  72. package/dist/chunks/{git-6ew8bvbb.js → workspace-5fs88ahy.js} +18 -18
  73. package/dist/chunks/{git-jndv8ypt.js → workspace-5gewddrw.js} +24 -24
  74. package/dist/chunks/{git-5jvc5tg2.js → workspace-5jvc5tg2.js} +1 -1
  75. package/dist/chunks/{git-kcv7778q.js → workspace-69wmbgv2.js} +8 -8
  76. package/dist/chunks/{git-2402vzrj.js → workspace-6h73sxmp.js} +5 -5
  77. package/dist/chunks/{git-y3pv78j9.js → workspace-6s3t77w5.js} +4 -4
  78. package/dist/chunks/{git-s0vczy7e.js → workspace-6xyzxqae.js} +25 -25
  79. package/dist/chunks/{git-3x6030n9.js → workspace-711hfp6y.js} +2 -2
  80. package/dist/chunks/{git-72nftnjy.js → workspace-72nftnjy.js} +2 -2
  81. package/dist/chunks/{git-av4m0z60.js → workspace-756g9d8p.js} +32 -32
  82. package/dist/chunks/{git-sskteryb.js → workspace-760mpvsy.js} +11 -11
  83. package/dist/chunks/{git-e5b0qn1c.js → workspace-768z0hjh.js} +1 -1
  84. package/dist/chunks/{git-8x14xe82.js → workspace-7ar5dmwr.js} +9 -9
  85. package/dist/chunks/{git-ay4nvzy9.js → workspace-7bk6c1pn.js} +7 -7
  86. package/dist/chunks/{git-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{git-wgxn7ww3.js → workspace-7m9ka41z.js} +4 -4
  88. package/dist/chunks/{git-efc5hrs6.js → workspace-7nbk4t3q.js} +8 -8
  89. package/dist/chunks/{git-6c91nz2w.js → workspace-7nc35fpj.js} +6 -6
  90. package/dist/chunks/workspace-7zk4hah4.js +4 -0
  91. package/dist/chunks/{git-dde5yshk.js → workspace-89zqf0rn.js} +40 -40
  92. package/dist/chunks/{git-a738ra00.js → workspace-8dpj5jx0.js} +24 -24
  93. package/dist/chunks/{git-01ns8z8m.js → workspace-8g5t4xyy.js} +11 -11
  94. package/dist/chunks/{git-swp4cd5a.js → workspace-8pg5w1c0.js} +15 -15
  95. package/dist/chunks/{git-3tqdhrak.js → workspace-90xq7qht.js} +8 -8
  96. package/dist/chunks/{git-hhpzk61m.js → workspace-93a8yfjt.js} +2 -2
  97. package/dist/chunks/{git-9d4vrqc0.js → workspace-9d4vrqc0.js} +2 -2
  98. package/dist/chunks/{git-h25e6w8y.js → workspace-9hpx3zsm.js} +13 -13
  99. package/dist/chunks/{git-8yyhgdt3.js → workspace-9nvrza8s.js} +7 -7
  100. package/dist/chunks/{git-g3dk9xws.js → workspace-9qdpx948.js} +282 -282
  101. package/dist/chunks/{git-qvbcabdc.js → workspace-9qm9egsn.js} +2 -2
  102. package/dist/chunks/{git-49z5p9jd.js → workspace-9sph3y7n.js} +6 -6
  103. package/dist/chunks/{git-z8f0y67p.js → workspace-9ttf5dzm.js} +17 -17
  104. package/dist/chunks/{git-hawqa09c.js → workspace-a6tbqd0f.js} +17 -17
  105. package/dist/chunks/{git-jy77g1jk.js → workspace-a79ethms.js} +36 -36
  106. package/dist/chunks/{git-bpvetzyt.js → workspace-a7adp6am.js} +20 -20
  107. package/dist/chunks/{git-99vgbsyy.js → workspace-a9zfrvqc.js} +5 -5
  108. package/dist/chunks/{git-nzk95x83.js → workspace-aa7cxt5r.js} +24 -24
  109. package/dist/chunks/{git-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  110. package/dist/chunks/{git-1tda89k7.js → workspace-acnp2grr.js} +13 -13
  111. package/dist/chunks/{git-jgwcdxcs.js → workspace-aehxssp2.js} +52 -52
  112. package/dist/chunks/{git-rmy3e5eg.js → workspace-aj7d9r5a.js} +3 -3
  113. package/dist/chunks/{git-yg7sb877.js → workspace-ajtjthsy.js} +2 -2
  114. package/dist/chunks/{git-vy6f12p8.js → workspace-atrh1qrd.js} +24 -24
  115. package/dist/chunks/{git-2f60pf4m.js → workspace-b1wk0f2e.js} +4 -4
  116. package/dist/chunks/{git-95t4wctn.js → workspace-b4a6kftb.js} +22 -22
  117. package/dist/chunks/{git-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{git-b9wsbatv.js → workspace-b9wsbatv.js} +1 -1
  119. package/dist/chunks/{git-k01ak1rc.js → workspace-bbfgj5dt.js} +4 -4
  120. package/dist/chunks/{git-89b0hn0k.js → workspace-bk6sw042.js} +18 -18
  121. package/dist/chunks/{git-bphmvjfp.js → workspace-bphmvjfp.js} +2 -2
  122. package/dist/chunks/{git-0fgbm3tz.js → workspace-bt23vpje.js} +19 -19
  123. package/dist/chunks/{git-9xrx0nj0.js → workspace-bth01ppy.js} +13 -13
  124. package/dist/chunks/workspace-c249zhh8.js +22 -0
  125. package/dist/chunks/{git-790wkyyc.js → workspace-cbh3af09.js} +8 -8
  126. package/dist/chunks/{git-h2xm238p.js → workspace-ct2bpxfa.js} +43 -43
  127. package/dist/chunks/{git-ajeh18pz.js → workspace-cv7z4kpf.js} +26 -26
  128. package/dist/chunks/{git-g41n1fn3.js → workspace-d1a1bt21.js} +5 -5
  129. package/dist/chunks/{git-qcnqc9zy.js → workspace-d1eppzy1.js} +11 -11
  130. package/dist/chunks/{git-g2gt0w0k.js → workspace-d72308c8.js} +2 -2
  131. package/dist/chunks/{git-j3x781zd.js → workspace-debn2ac6.js} +22 -22
  132. package/dist/chunks/{git-y10z6ja5.js → workspace-dhdg3mzn.js} +17 -17
  133. package/dist/chunks/{git-0zyzm3y4.js → workspace-djcgb51x.js} +16 -16
  134. package/dist/chunks/{git-cnpjj00n.js → workspace-dmjtybt2.js} +21 -21
  135. package/dist/chunks/{git-kebpsn0t.js → workspace-dndp70pv.js} +23 -23
  136. package/dist/chunks/{git-0ez61b8c.js → workspace-e1hrx4vk.js} +2 -2
  137. package/dist/chunks/{git-jfzpv47d.js → workspace-e2m76334.js} +16 -16
  138. package/dist/chunks/{git-snxw7857.js → workspace-e4n35891.js} +6 -6
  139. package/dist/chunks/{git-ykcesz1b.js → workspace-e6e5s9wz.js} +4 -4
  140. package/dist/chunks/{git-cpcypa0y.js → workspace-ecterdbk.js} +9 -9
  141. package/dist/chunks/{git-q9t1pswy.js → workspace-efbfh6n7.js} +21 -21
  142. package/dist/chunks/{git-eh2mpbhy.js → workspace-f38c1aq1.js} +41 -41
  143. package/dist/chunks/{git-x0w2mwfz.js → workspace-f5frmbwp.js} +24 -24
  144. package/dist/chunks/{git-7ad5acx5.js → workspace-f88nnjjf.js} +10 -10
  145. package/dist/chunks/{git-8gtnf6t2.js → workspace-fehrn2qm.js} +6 -6
  146. package/dist/chunks/{git-snakeby2.js → workspace-fvwrqa71.js} +20 -20
  147. package/dist/chunks/{git-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{git-fxypknc8.js → workspace-fxypknc8.js} +1 -1
  149. package/dist/chunks/{git-a2wkfh4c.js → workspace-fyy5qkk9.js} +11 -11
  150. package/dist/chunks/{git-zpwsjmm7.js → workspace-g7xwt8rt.js} +20 -20
  151. package/dist/chunks/{git-jzvp32eb.js → workspace-g8d3gcyj.js} +7 -7
  152. package/dist/chunks/{git-gfs7stvq.js → workspace-gbz1pcbh.js} +35 -35
  153. package/dist/chunks/{git-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{git-yrmm4d0n.js → workspace-ge3y94tk.js} +29 -29
  155. package/dist/chunks/{git-6b40c87x.js → workspace-gka3rngk.js} +10 -10
  156. package/dist/chunks/{git-6qmj2164.js → workspace-gsk84g46.js} +14 -14
  157. package/dist/chunks/{git-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{git-4w29j2bz.js → workspace-h9xf66gq.js} +29 -29
  159. package/dist/chunks/{git-heyhwy2w.js → workspace-heyhwy2w.js} +1 -1
  160. package/dist/chunks/{git-bdzhwkq1.js → workspace-hjf2e9et.js} +8 -8
  161. package/dist/chunks/{git-cfmkmvf9.js → workspace-hkg4r61w.js} +6 -6
  162. package/dist/chunks/{git-j0bvmw6p.js → workspace-hp0zgb07.js} +33 -33
  163. package/dist/chunks/{git-3fh1yz3r.js → workspace-hrccczz7.js} +46 -46
  164. package/dist/chunks/{git-g2dy4bvs.js → workspace-hrvm11jt.js} +3 -3
  165. package/dist/chunks/{git-kvsjn1dr.js → workspace-hw4pv20g.js} +2 -2
  166. package/dist/chunks/{git-xky9ppev.js → workspace-j67kztky.js} +25 -25
  167. package/dist/chunks/{git-bf0ztrs3.js → workspace-j83byb14.js} +4 -4
  168. package/dist/chunks/{git-5s6em07e.js → workspace-j90k6w45.js} +25 -25
  169. package/dist/chunks/{git-5qd3pb7m.js → workspace-j935v87r.js} +2 -2
  170. package/dist/chunks/{git-4w4v4hff.js → workspace-jc29952v.js} +10 -10
  171. package/dist/chunks/{git-xqsy6kp0.js → workspace-jnmmvqjs.js} +1 -1
  172. package/dist/chunks/{git-bbdkjdrd.js → workspace-jrrv38ty.js} +8 -8
  173. package/dist/chunks/{git-kp3pprh7.js → workspace-jtqgarc5.js} +39 -39
  174. package/dist/chunks/{git-y71avatq.js → workspace-jwcy2c2z.js} +4 -4
  175. package/dist/chunks/{git-rdsqqr2s.js → workspace-k31rb934.js} +17 -17
  176. package/dist/chunks/{git-3wfq9j39.js → workspace-k47rhfy9.js} +12 -12
  177. package/dist/chunks/{git-k4bwy1x5.js → workspace-k4bwy1x5.js} +1 -1
  178. package/dist/chunks/{git-y2ccy3rm.js → workspace-k6n1fvnb.js} +3 -3
  179. package/dist/chunks/{git-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  180. package/dist/chunks/{git-pfhdk2d4.js → workspace-kj09bn6f.js} +31 -31
  181. package/dist/chunks/{git-dcavesng.js → workspace-m0hhfb99.js} +5 -5
  182. package/dist/chunks/{git-enc6jm7h.js → workspace-m1wfp3t7.js} +7 -7
  183. package/dist/chunks/{git-xtcz8ppp.js → workspace-m2kyj3pe.js} +24 -24
  184. package/dist/chunks/{git-xqfjvwcm.js → workspace-m7sqfb9n.js} +16 -16
  185. package/dist/chunks/{git-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{git-0k45et74.js → workspace-mjzw1bzx.js} +9 -9
  187. package/dist/chunks/{git-mkyvm1mp.js → workspace-mkyvm1mp.js} +2 -2
  188. package/dist/chunks/{git-wv35vjx4.js → workspace-mnsp2bby.js} +4 -4
  189. package/dist/chunks/{git-zwasfec5.js → workspace-na8hr0vp.js} +23 -23
  190. package/dist/chunks/{git-qzw8yrfq.js → workspace-nbrk7b4a.js} +85 -85
  191. package/dist/chunks/{git-gh7ynw45.js → workspace-nf9kpa2n.js} +28 -28
  192. package/dist/chunks/{git-7sd9q442.js → workspace-nkcwakxz.js} +4 -4
  193. package/dist/chunks/{git-k9snrmvg.js → workspace-ntkj80nk.js} +18 -18
  194. package/dist/chunks/{git-zeapr5n1.js → workspace-nvzmp878.js} +11 -11
  195. package/dist/chunks/{git-yaec1nge.js → workspace-p870xxwd.js} +9 -9
  196. package/dist/chunks/{git-b7bn4zzd.js → workspace-p8g5rzmy.js} +28 -28
  197. package/dist/chunks/{git-8t7rpfs0.js → workspace-pcxb50d4.js} +43 -43
  198. package/dist/chunks/{git-zypqn6cf.js → workspace-pd32dv0s.js} +30 -30
  199. package/dist/chunks/{git-02nqpn9k.js → workspace-pj6fam98.js} +19 -19
  200. package/dist/chunks/{git-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{git-pknna89w.js → workspace-pknna89w.js} +1 -1
  202. package/dist/chunks/{git-6m2bw32x.js → workspace-pm2kz5s1.js} +23 -23
  203. package/dist/chunks/{git-576eqkb7.js → workspace-pqksgydy.js} +9 -9
  204. package/dist/chunks/{git-s3eqpch7.js → workspace-pt7wq7x0.js} +1 -1
  205. package/dist/chunks/{git-azgzp121.js → workspace-px14sdfk.js} +169 -169
  206. package/dist/chunks/{git-a615ws19.js → workspace-q059vqcc.js} +4 -4
  207. package/dist/chunks/{git-asmayx9p.js → workspace-qa85yw4y.js} +10 -10
  208. package/dist/chunks/{git-0twy4jn9.js → workspace-qb47n0b0.js} +11 -11
  209. package/dist/chunks/{git-3vsz3p7m.js → workspace-qc5kqrcq.js} +9 -9
  210. package/dist/chunks/{git-am4pcxvr.js → workspace-qfr5gq21.js} +13 -13
  211. package/dist/chunks/{git-0qhj2dys.js → workspace-qgdqpbvz.js} +4 -4
  212. package/dist/chunks/{git-3jb0x30q.js → workspace-qj045n01.js} +10 -10
  213. package/dist/chunks/{git-48pwx2w2.js → workspace-qjrm34bp.js} +2 -2
  214. package/dist/chunks/workspace-qjsjjfeh.js +247 -0
  215. package/dist/chunks/{git-75ydt1pr.js → workspace-qmd64t15.js} +35 -35
  216. package/dist/chunks/{git-5xfzsdsy.js → workspace-qq0tkz6q.js} +3 -3
  217. package/dist/chunks/{git-86s3977f.js → workspace-qs4avvkb.js} +1 -1
  218. package/dist/chunks/{git-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  219. package/dist/chunks/{git-9p8m1ync.js → workspace-r82mbdvs.js} +15 -15
  220. package/dist/chunks/{git-r8dhm0tv.js → workspace-r8dhm0tv.js} +1 -1
  221. package/dist/chunks/{git-2239fvjv.js → workspace-r9gfrje9.js} +4 -4
  222. package/dist/chunks/{git-rpstmqvz.js → workspace-rae26gbb.js} +8 -8
  223. package/dist/chunks/{git-4z6b0fg6.js → workspace-rvb2zp0m.js} +6 -6
  224. package/dist/chunks/{git-ewbbbgk7.js → workspace-rwkt33rf.js} +37 -37
  225. package/dist/chunks/{git-ggk96kdt.js → workspace-sa0pctfm.js} +4 -4
  226. package/dist/chunks/{git-saak5ttd.js → workspace-saak5ttd.js} +2 -2
  227. package/dist/chunks/{git-sba4qhjf.js → workspace-sba4qhjf.js} +1 -1
  228. package/dist/chunks/{git-paap86ds.js → workspace-sbcqr78w.js} +51 -51
  229. package/dist/chunks/{git-ygd99mp3.js → workspace-scsyzxzw.js} +11 -11
  230. package/dist/chunks/{git-n8xc4bye.js → workspace-sdn7expb.js} +25 -25
  231. package/dist/chunks/{git-nnv36dam.js → workspace-seets54z.js} +27 -27
  232. package/dist/chunks/{git-8k3x1tmb.js → workspace-sgqkzh53.js} +5 -5
  233. package/dist/chunks/{git-s141a68e.js → workspace-sh7bh2kf.js} +5 -5
  234. package/dist/chunks/{git-0x2ny62j.js → workspace-skjkpwv2.js} +16 -16
  235. package/dist/chunks/{git-k28yxd6c.js → workspace-t3yh62b0.js} +20 -20
  236. package/dist/chunks/{git-fz7f4s5e.js → workspace-t4xwbtzq.js} +12 -12
  237. package/dist/chunks/{git-qd1dw6kz.js → workspace-t8mm9h73.js} +9 -9
  238. package/dist/chunks/{git-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{git-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{git-tjykrgmx.js → workspace-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{git-9jtnr53s.js → workspace-tx0n6h40.js} +24 -24
  242. package/dist/chunks/{git-dmj0gzeb.js → workspace-v56vtys4.js} +33 -33
  243. package/dist/chunks/{git-pfnxmpv6.js → workspace-v7j1z2wq.js} +5 -5
  244. package/dist/chunks/{git-2hyswaq2.js → workspace-v8xer3dx.js} +20 -20
  245. package/dist/chunks/{git-eh802jd0.js → workspace-vhr5dwb3.js} +62 -62
  246. package/dist/chunks/{git-z56ty9r2.js → workspace-vn3245c3.js} +11 -11
  247. package/dist/chunks/{git-7mgtj72g.js → workspace-w05tx3pg.js} +10 -10
  248. package/dist/chunks/{git-6g5f7dmn.js → workspace-w0k1he6w.js} +5 -5
  249. package/dist/chunks/{git-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{git-bp7pam25.js → workspace-w3yb96n9.js} +6 -6
  251. package/dist/chunks/{git-dchnan0w.js → workspace-w9fnv673.js} +13 -13
  252. package/dist/chunks/{git-6xppn8bd.js → workspace-wb3m83k0.js} +17 -17
  253. package/dist/chunks/{git-wd87259q.js → workspace-wd87259q.js} +1 -1
  254. package/dist/chunks/{git-y5dvpqkh.js → workspace-wpjc2q9a.js} +41 -41
  255. package/dist/chunks/{git-z109bg2r.js → workspace-wrk2wmqj.js} +29 -29
  256. package/dist/chunks/{git-jj3qxa52.js → workspace-wsfy2223.js} +4 -4
  257. package/dist/chunks/{git-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{git-xqych8xx.js → workspace-xc5sx9yh.js} +27 -27
  259. package/dist/chunks/{git-5c6acc4z.js → workspace-xnvap4wk.js} +5 -5
  260. package/dist/chunks/{git-64mbz47k.js → workspace-xqrmy91b.js} +6 -6
  261. package/dist/chunks/{git-wyydh2b2.js → workspace-xtvwy747.js} +11 -11
  262. package/dist/chunks/{git-yt248q8q.js → workspace-xxjj2aym.js} +6 -6
  263. package/dist/chunks/{git-6pkw9ygr.js → workspace-y171dd4m.js} +9 -9
  264. package/dist/chunks/{git-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{git-03v82kyy.js → workspace-y6vm5g8a.js} +10 -10
  266. package/dist/chunks/{git-kk3rr3qh.js → workspace-yfbd16n1.js} +5 -5
  267. package/dist/chunks/{git-2tm39pz1.js → workspace-yhxq7m29.js} +11 -11
  268. package/dist/chunks/{git-5k3f87xj.js → workspace-yj3e99fm.js} +1 -1
  269. package/dist/chunks/{git-48ajhrad.js → workspace-yjw1hky4.js} +12 -12
  270. package/dist/chunks/{git-q93h2s66.js → workspace-yrtbee6v.js} +24 -24
  271. package/dist/chunks/{git-1yrh2hz8.js → workspace-ys8tv0st.js} +12 -12
  272. package/dist/chunks/{git-rc2f37hd.js → workspace-yv78zg7h.js} +4 -4
  273. package/dist/chunks/{git-dn1bcd64.js → workspace-yxae0rkk.js} +16 -16
  274. package/dist/chunks/{git-mab9d0v5.js → workspace-yyh0fd82.js} +20 -20
  275. package/dist/chunks/{git-ewvwwfm6.js → workspace-z023xry8.js} +20 -20
  276. package/dist/chunks/{git-03trxjpd.js → workspace-z1ge9h94.js} +20 -20
  277. package/dist/chunks/{git-z1k01bn4.js → workspace-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{git-vep9yay1.js → workspace-z3xgatyd.js} +4 -4
  279. package/dist/chunks/{git-dgp4s6zg.js → workspace-z4gv7xzk.js} +5 -5
  280. package/dist/chunks/{git-29x78va6.js → workspace-z63w68vq.js} +6 -6
  281. package/dist/chunks/{git-zn2pq4p8.js → workspace-zajwd6at.js} +5 -5
  282. package/dist/chunks/{git-989d4g0q.js → workspace-zv2v2r4h.js} +10 -10
  283. package/dist/chunks/{git-em41q4xm.js → workspace-zvkk2fwq.js} +40 -40
  284. package/dist/chunks/{git-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  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 +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +115 -115
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +132 -132
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +110 -110
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +112 -112
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +76 -76
  317. package/dist/database/database.js +64 -64
  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 +358 -358
  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 +68 -68
  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 +218 -218
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +2 -2
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +84 -84
  424. package/dist/git.js +7 -7
  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 +3 -3
  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 +349 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +1 -1
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +85 -85
  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 +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +96 -96
  464. package/dist/mcp/instructions.js +118 -118
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +80 -80
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  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 +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  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 +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +114 -114
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +129 -129
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +2 -2
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +80 -80
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +109 -109
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +6 -6
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +2 -2
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +85 -85
  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 +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +93 -93
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +213 -213
  569. package/dist/session/execution.js +118 -118
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +82 -82
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +77 -77
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +4 -4
  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 +124 -124
  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 +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +2 -2
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  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 +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +201 -201
  603. package/dist/session/system-prompt.js +1 -1
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  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 +11 -11
  613. package/dist/shell.js +130 -130
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +84 -84
  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 +119 -119
  622. package/dist/tool/plugin/edit.js +112 -112
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +115 -115
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +1 -1
  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 +114 -114
  630. package/dist/tool/plugin/shell.js +208 -208
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +112 -112
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +15 -15
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +80 -80
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +79 -79
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +76 -76
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +5 -5
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -7
  678. package/dist/chunks/git-88z38vzy.js +0 -22
  679. package/dist/chunks/git-e3ze3pba.js +0 -4
  680. package/dist/chunks/git-ht5y0zrb.js +0 -18
  681. package/dist/chunks/git-zjbrkj3w.js +0 -247
  682. /package/dist/chunks/{git-0fabt78z.js → workspace-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{git-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{git-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{git-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{git-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{git-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{git-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{git-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{git-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{git-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{git-3asan66x.js → workspace-3asan66x.js} +0 -0
  693. /package/dist/chunks/{git-3t738kvx.js → workspace-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{git-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{git-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{git-41nvscxy.js → workspace-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{git-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{git-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{git-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{git-53557ph1.js → workspace-53557ph1.js} +0 -0
  701. /package/dist/chunks/{git-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{git-6prwharc.js → workspace-6prwharc.js} +0 -0
  703. /package/dist/chunks/{git-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{git-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{git-822emrt2.js → workspace-822emrt2.js} +0 -0
  706. /package/dist/chunks/{git-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{git-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{git-982e01ww.js → workspace-982e01ww.js} +0 -0
  709. /package/dist/chunks/{git-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{git-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{git-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{git-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{git-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{git-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{git-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{git-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{git-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{git-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{git-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{git-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{git-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{git-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{git-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{git-df08tz66.js → workspace-df08tz66.js} +0 -0
  725. /package/dist/chunks/{git-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{git-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{git-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{git-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{git-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{git-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{git-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{git-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{git-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{git-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{git-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{git-g86h250q.js → workspace-g86h250q.js} +0 -0
  737. /package/dist/chunks/{git-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{git-hk9envan.js → workspace-hk9envan.js} +0 -0
  739. /package/dist/chunks/{git-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{git-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{git-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{git-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{git-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{git-mntxs535.js → workspace-mntxs535.js} +0 -0
  745. /package/dist/chunks/{git-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{git-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{git-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{git-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{git-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{git-p8qxwesx.js → workspace-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{git-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{git-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{git-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{git-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{git-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{git-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{git-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{git-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{git-se0s1eqw.js → workspace-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{git-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{git-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{git-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{git-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{git-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{git-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{git-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{git-x1b8g1yb.js → workspace-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{git-x61499pn.js → workspace-x61499pn.js} +0 -0
  769. /package/dist/chunks/{git-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{git-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{git-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{git-z9919s4g.js → workspace-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{git-zbjnn3ac.js → workspace-zbjnn3ac.js} +0 -0
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./git-0qhj2dys.js";
5
+ } from "./workspace-qgdqpbvz.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make17,
11
11
  diffByKey2
12
- } from "./git-28pcbh69.js";
12
+ } from "./workspace-28pcbh69.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./git-p8qxwesx.js";
15
+ } from "./workspace-p8qxwesx.js";
16
16
  import {
17
17
  create3
18
- } from "./git-kg06axw8.js";
18
+ } from "./workspace-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./git-9rqn6x4v.js";
21
+ } from "./workspace-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event6,
26
+ Event: () => Event12,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service46,
31
- configured: () => configured5,
32
- layer: () => layer18,
33
- node: () => node49
29
+ Options: () => Options9,
30
+ Service: () => Service60,
31
+ configured: () => configured8,
32
+ layer: () => layer21,
33
+ node: () => node63
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key3.make("core/instructions");
45
- var Event6 = {
45
+ var Event12 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options9 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service46 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
55
+ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
56
56
  const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,7 +72,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make17({
78
78
  key,
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service46.of({
93
+ return Service60.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured8(options) {
108
108
  return makeLocationNode({
109
- service: Service46,
110
- layer: layer18(options),
109
+ service: Service60,
110
+ layer: layer21(options),
111
111
  deps: [node84]
112
112
  });
113
113
  }
114
- var node49 = configured5();
114
+ var node63 = configured8();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event6, Options5, Service46, layer18, configured5, node49, exports_instruction_discovery };
145
+ export { File2, Event12, Options9, Service60, layer21, configured8, node63, exports_instruction_discovery };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  create3
3
- } from "./git-kg06axw8.js";
3
+ } from "./workspace-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./git-qaymkmh1.js";
6
+ } from "./workspace-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./workspace-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service61,
14
+ Options: () => Options8,
15
+ Service: () => Service56,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
18
  configured: () => configured7,
@@ -21,9 +21,9 @@ __export(exports_select, {
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node65,
24
+ node: () => node59,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options8 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service61 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service56 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service61.of({
202
+ return Service56.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
208
  function configured7(options) {
209
- return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
209
+ return makeLocationNode({ service: Service56, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node65 = configured7();
211
+ var node59 = configured7();
212
212
 
213
- export { Options6, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured7, node65, exports_select };
213
+ export { Options8, Service56, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node59, exports_select };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./git-0qhj2dys.js";
3
+ } from "./workspace-qgdqpbvz.js";
4
4
  import {
5
- ID18
6
- } from "./git-4z6b0fg6.js";
5
+ ID16
6
+ } from "./workspace-rvb2zp0m.js";
7
7
  import {
8
- ID17
9
- } from "./git-3wfq9j39.js";
8
+ ID15
9
+ } from "./workspace-k47rhfy9.js";
10
10
  import {
11
- Event19
12
- } from "./git-cnpjj00n.js";
11
+ Event18
12
+ } from "./workspace-dmjtybt2.js";
13
13
  import {
14
- ID9
15
- } from "./git-6xaf4e55.js";
14
+ ID11
15
+ } from "./workspace-57cygpdy.js";
16
16
  import {
17
- Service57
18
- } from "./git-s0vczy7e.js";
17
+ Service61
18
+ } from "./workspace-6xyzxqae.js";
19
19
  import {
20
20
  get2
21
- } from "./git-rzsjt7my.js";
21
+ } from "./workspace-1fkv9cmy.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode-ai/plugin/effect/plugin";
26
- var providerID = ID18.make("modal");
26
+ var providerID = ID16.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service57;
30
+ const catalog = yield* Service61;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID17.make(id)))
61
+ if (!loaded.models.has(ID15.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./git-y2ccy3rm.js";
4
+ } from "./workspace-k6n1fvnb.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./git-0qhj2dys.js";
8
+ } from "./workspace-qgdqpbvz.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./git-pknna89w.js";
11
+ } from "./workspace-pknna89w.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/credential.ts
17
17
  var exports_credential = {};
18
18
  __export(exports_credential, {
19
19
  Credential: () => exports_credential,
20
- Event: () => Event19,
21
- ID: () => ID14,
22
- Info: () => Info27,
20
+ Event: () => Event18,
21
+ ID: () => ID17,
22
+ Info: () => Info31,
23
23
  Key: () => Key4,
24
24
  OAuth: () => OAuth3,
25
25
  Service: () => Service75,
@@ -31,14 +31,14 @@ import { Context, Effect, Layer, Schema } from "effect";
31
31
  import { Credential } from "@opencode-ai/schema/credential";
32
32
  import { Integration } from "@opencode-ai/schema/integration";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
34
- var ID14 = Credential.ID;
34
+ var ID17 = Credential.ID;
35
35
  var OAuth3 = Credential.OAuth;
36
36
  var Key4 = Credential.Key;
37
37
  var Value2 = Credential.Value;
38
- var Event19 = Credential.Event;
38
+ var Event18 = Credential.Event;
39
39
 
40
- class Info27 extends Schema.Class("Credential.Info")({
41
- id: ID14,
40
+ class Info31 extends Schema.Class("Credential.Info")({
41
+ id: ID17,
42
42
  integrationID: Integration.ID,
43
43
  label: Schema.String,
44
44
  value: Value2
@@ -54,7 +54,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const stored = (row) => {
55
55
  if (!row.integration_id)
56
56
  return;
57
- return new Info27({
57
+ return new Info31({
58
58
  id: row.id,
59
59
  integrationID: row.integration_id,
60
60
  label: row.label,
@@ -73,8 +73,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
73
73
  return row ? stored(row) : undefined;
74
74
  }),
75
75
  create: Effect.fn("Credential.create")(function* (input) {
76
- const credential = new Info27({
77
- id: ID14.create(),
76
+ const credential = new Info31({
77
+ id: ID17.create(),
78
78
  integrationID: input.integrationID,
79
79
  label: input.label ?? "default",
80
80
  value: input.value
@@ -89,8 +89,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
89
89
  active: true
90
90
  }).run();
91
91
  })).pipe(Effect.orDie);
92
- yield* bus.publish(Event19.Updated, {}, { global: true });
93
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
92
+ yield* bus.publish(Event18.Updated, {}, { global: true });
93
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
94
94
  return credential;
95
95
  }),
96
96
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
106
106
  return credential.integration_id;
107
107
  })).pipe(Effect.orDie);
108
108
  if (integrationID)
109
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
109
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
110
110
  }),
111
111
  update: Effect.fn("Credential.update")(function* (id, updates) {
112
112
  if (updates.label === undefined && updates.value === undefined)
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
118
118
  return;
119
119
  yield* db.update(CredentialTable2).set({ label: updates.label, value: updates.value }).where(eq(CredentialTable2.id, id)).run().pipe(Effect.orDie);
120
120
  if (updates.label !== undefined && updates.label !== credential.label)
121
- yield* bus.publish(Event19.Updated, {}, { global: true });
121
+ yield* bus.publish(Event18.Updated, {}, { global: true });
122
122
  }),
123
123
  remove: Effect.fn("Credential.remove")(function* (id) {
124
124
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -142,12 +142,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
142
142
  })).pipe(Effect.orDie);
143
143
  if (!removed)
144
144
  return;
145
- yield* bus.publish(Event19.Updated, {}, { global: true });
145
+ yield* bus.publish(Event18.Updated, {}, { global: true });
146
146
  if (removed.switched)
147
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
147
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
148
148
  })
149
149
  });
150
150
  }));
151
151
  var node80 = makeGlobalNode({ service: Service75, layer, deps: [node85, node84] });
152
152
 
153
- export { ID14, OAuth3, Key4, Value2, Event19, Info27, Service75, node80, exports_credential };
153
+ export { ID17, OAuth3, Key4, Value2, Event18, Info31, Service75, node80, exports_credential };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-p8qxwesx.js";
3
+ } from "./workspace-p8qxwesx.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./git-v08zexc0.js";
5
+ Service73,
6
+ node78
7
+ } from "./workspace-0rwgbq6e.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./git-2402vzrj.js";
13
+ } from "./workspace-6h73sxmp.js";
14
14
  import {
15
- Service74,
16
- node79
17
- } from "./git-asmayx9p.js";
15
+ Service77,
16
+ node82
17
+ } from "./workspace-qa85yw4y.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service40,
33
+ Service: () => Service72,
34
34
  isError: () => isError2,
35
- node: () => node43,
35
+ node: () => node77,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service40 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service72 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service40, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service73;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service74;
110
- return Service40.of({
109
+ const kv = yield* Service77;
110
+ return Service72.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node43 = makeGlobalNode({
171
- service: Service40,
170
+ var node77 = makeGlobalNode({
171
+ service: Service72,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node79]
173
+ deps: [EffectFlock.node, FSUtil.node, node78, Global.node, node82]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node43, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service72, isError2, validateBranch2, node77, exports_repository_cache };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./git-4z6b0fg6.js";
4
+ } from "./workspace-rvb2zp0m.js";
5
5
  import {
6
6
  __export
7
- } from "./git-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service39,
3
- node42
4
- } from "./git-b7bn4zzd.js";
2
+ Service71,
3
+ node76
4
+ } from "./workspace-p8g5rzmy.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make17,
9
9
  diffByKey2
10
- } from "./git-28pcbh69.js";
10
+ } from "./workspace-28pcbh69.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions5 = {};
17
- __export(exports_instructions5, {
18
- ReferenceInstructions: () => exports_instructions5,
19
- Service: () => Service22,
20
- node: () => node26
16
+ var exports_instructions3 = {};
17
+ __export(exports_instructions3, {
18
+ ReferenceInstructions: () => exports_instructions3,
19
+ Service: () => Service27,
20
+ node: () => node31
21
21
  });
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,11 +57,11 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service22, Effect.gen(function* () {
63
- const references = yield* Service39;
64
- return Service22.of({
62
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
63
+ const references = yield* Service71;
64
+ return Service27.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node26 = makeLocationNode({ service: Service22, layer, deps: [node42] });
84
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [node76] });
85
85
 
86
- export { Service22, node26, exports_instructions5 };
86
+ export { Service27, node31, exports_instructions3 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./git-5daktx2q.js";
3
+ } from "./workspace-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./git-p8qxwesx.js";
6
+ } from "./workspace-p8qxwesx.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Name2
10
- } from "./git-sxyem01p.js";
10
+ } from "./workspace-5f8zs254.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
57
57
  return {
58
58
  _tag: "Parsed",
59
59
  skill: {
60
- id: ID4.make(id),
60
+ id: ID5.make(id),
61
61
  name: Name2.make(frontmatter.name ?? id),
62
62
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
63
63
  ...slash === undefined ? {} : { slash },
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./git-0paq2nw3.js";
4
+ } from "./workspace-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./git-4z6b0fg6.js";
7
+ } from "./workspace-rvb2zp0m.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./git-3wfq9j39.js";
11
+ } from "./workspace-k47rhfy9.js";
12
12
  import {
13
13
  __export
14
- } from "./git-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service29
3
- } from "./git-8gtnf6t2.js";
2
+ Service37
3
+ } from "./workspace-fehrn2qm.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./git-ht5y0zrb.js";
6
+ } from "./workspace-4v7qdvcn.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./git-enc6jm7h.js";
9
+ } from "./workspace-m1wfp3t7.js";
10
10
  import {
11
- Service47
12
- } from "./git-sxyem01p.js";
11
+ Service50
12
+ } from "./workspace-5f8zs254.js";
13
13
  import {
14
14
  __export
15
- } from "./git-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service29;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
25
+ const instances = yield* Service37;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });