@opencode-ai/core 0.0.0-dev-19186 → 0.0.0-dev-19190

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 +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{bus-434pnv9v.js → app-06szxjx6.js} +39 -39
  9. package/dist/chunks/{bus-bvxnc9g4.js → app-06wcfzj4.js} +13 -13
  10. package/dist/chunks/{bus-grcfym27.js → app-083ppshs.js} +34 -34
  11. package/dist/chunks/{bus-yw9364ag.js → app-09ywgxwg.js} +4 -4
  12. package/dist/chunks/{bus-ww8c32hp.js → app-0b89de78.js} +5 -5
  13. package/dist/chunks/{bus-b6rw464e.js → app-0de1cgns.js} +10 -10
  14. package/dist/chunks/{bus-0e0xafbb.js → app-0e0xafbb.js} +2 -2
  15. package/dist/chunks/{bus-xt2f3af4.js → app-0fcdsnj3.js} +3 -3
  16. package/dist/chunks/{bus-sfxm1h0s.js → app-0fkdfe39.js} +2 -2
  17. package/dist/chunks/{bus-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{bus-rhjckj9y.js → app-0rh3kdcc.js} +5 -5
  19. package/dist/chunks/{bus-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
  20. package/dist/chunks/{bus-n0cxab0r.js → app-0szs917b.js} +9 -9
  21. package/dist/chunks/{bus-bf0ztrs3.js → app-0v53mg2y.js} +4 -4
  22. package/dist/chunks/{bus-a2ew8a62.js → app-19vf66h0.js} +4 -4
  23. package/dist/chunks/{bus-1ct4r87x.js → app-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{bus-83rp9aqa.js → app-1f2ewr5a.js} +17 -17
  25. package/dist/chunks/{bus-73gvfjg4.js → app-1h24d1wf.js} +58 -58
  26. package/dist/chunks/{bus-dpm05p3t.js → app-1mp0h602.js} +40 -40
  27. package/dist/chunks/{bus-pt34y05q.js → app-1n116cmy.js} +9 -9
  28. package/dist/chunks/{bus-bd7er6gs.js → app-1te7w6sr.js} +1 -1
  29. package/dist/chunks/{bus-tssjvmgn.js → app-1za47bct.js} +35 -35
  30. package/dist/chunks/{bus-21r38tys.js → app-21r38tys.js} +1 -1
  31. package/dist/chunks/{bus-cbjj75jx.js → app-23czx9as.js} +4 -4
  32. package/dist/chunks/{bus-6h73sxmp.js → app-2402vzrj.js} +5 -5
  33. package/dist/chunks/{bus-fy69wkfh.js → app-258y7m68.js} +30 -30
  34. package/dist/chunks/{bus-fyjt0avv.js → app-262p9crn.js} +15 -15
  35. package/dist/chunks/{bus-dq884360.js → app-26xmsst9.js} +17 -17
  36. package/dist/chunks/{bus-r0h1m8yn.js → app-29cycmk6.js} +24 -24
  37. package/dist/chunks/{bus-8hksdbz1.js → app-29s6twc9.js} +32 -32
  38. package/dist/chunks/{bus-z63w68vq.js → app-29x78va6.js} +6 -6
  39. package/dist/chunks/{bus-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  40. package/dist/chunks/{bus-cmy5y5dg.js → app-2amemfdp.js} +2 -2
  41. package/dist/chunks/{bus-89bfeqfq.js → app-2bgp9thn.js} +27 -27
  42. package/dist/chunks/{bus-2ht70gj7.js → app-2ht70gj7.js} +1 -1
  43. package/dist/chunks/{bus-7dqw4kz8.js → app-2k8khapm.js} +5 -5
  44. package/dist/chunks/{bus-1vbp5j7a.js → app-2n0dms42.js} +21 -21
  45. package/dist/chunks/{bus-hwyf1vhw.js → app-2se7prez.js} +1 -1
  46. package/dist/chunks/{bus-20ebpt2n.js → app-2tyxyjce.js} +24 -24
  47. package/dist/chunks/{bus-e07bfndv.js → app-313dwm7m.js} +19 -19
  48. package/dist/chunks/{bus-ggfsjf2v.js → app-31xg6w4p.js} +1 -1
  49. package/dist/chunks/{bus-3yq82pb2.js → app-32wwtxgm.js} +1 -1
  50. package/dist/chunks/{bus-3bsrcfpb.js → app-3329abc6.js} +28 -28
  51. package/dist/chunks/{bus-x8za3qqf.js → app-33zcyt0h.js} +18 -18
  52. package/dist/chunks/{bus-ga1h0m9y.js → app-3bsbze2w.js} +5 -5
  53. package/dist/chunks/{bus-gdvy8fx6.js → app-3fc6dm20.js} +4 -4
  54. package/dist/chunks/{bus-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{bus-qq0s42pd.js → app-3ke94kzw.js} +9 -9
  56. package/dist/chunks/{bus-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
  57. package/dist/chunks/{bus-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  58. package/dist/chunks/{bus-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  59. package/dist/chunks/{bus-5v4d9t1w.js → app-41a1d24q.js} +7 -7
  60. package/dist/chunks/{bus-454k5vzh.js → app-454k5vzh.js} +1 -1
  61. package/dist/chunks/{bus-0xz3dzbq.js → app-4fp4z7gz.js} +20 -20
  62. package/dist/chunks/{bus-myyr5eq0.js → app-4hqv9kwc.js} +8 -8
  63. package/dist/chunks/{bus-ztherss1.js → app-4jzx66mv.js} +9 -9
  64. package/dist/chunks/{bus-4r2nyarf.js → app-4r2nyarf.js} +1 -1
  65. package/dist/chunks/{bus-gk020jjx.js → app-4v1c8jm7.js} +10 -10
  66. package/dist/chunks/{bus-5azxvc7x.js → app-4x14arvg.js} +27 -27
  67. package/dist/chunks/{bus-kf6gbfrb.js → app-523gcqcx.js} +9 -9
  68. package/dist/chunks/{bus-1xf0k5sv.js → app-59jdw31y.js} +13 -13
  69. package/dist/chunks/{bus-5daktx2q.js → app-5daktx2q.js} +1 -1
  70. package/dist/chunks/{bus-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
  71. package/dist/chunks/{bus-9gmnkn1a.js → app-5hpdpzt1.js} +85 -85
  72. package/dist/chunks/{bus-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
  73. package/dist/chunks/{bus-0evdvf3m.js → app-5q489hzg.js} +5 -5
  74. package/dist/chunks/{bus-84vjrsce.js → app-5vnhssj4.js} +30 -30
  75. package/dist/chunks/{bus-3zyads7b.js → app-5xvz5a6s.js} +16 -16
  76. package/dist/chunks/{bus-d2q1a9h5.js → app-6033nvr8.js} +4 -4
  77. package/dist/chunks/{bus-qkawf4bj.js → app-61kevbn4.js} +22 -22
  78. package/dist/chunks/{bus-e9r133th.js → app-66kfpdc2.js} +11 -11
  79. package/dist/chunks/{bus-2d57kztd.js → app-6anwy9fs.js} +4 -4
  80. package/dist/chunks/{bus-75yf2d83.js → app-6e958v7x.js} +8 -8
  81. package/dist/chunks/{bus-2p9tqta8.js → app-6e9gven4.js} +15 -15
  82. package/dist/chunks/{bus-ss1kepxy.js → app-6f3837nt.js} +10 -10
  83. package/dist/chunks/{bus-j56e7md4.js → app-6jdgs7bt.js} +46 -46
  84. package/dist/chunks/{bus-xjyr936n.js → app-6mqg66fr.js} +1 -1
  85. package/dist/chunks/{bus-ze67etev.js → app-6rbgwafj.js} +35 -35
  86. package/dist/chunks/{bus-t8wv8e2h.js → app-6rrpkkzh.js} +35 -35
  87. package/dist/chunks/{bus-6abnk40k.js → app-6z5bwd8g.js} +9 -9
  88. package/dist/chunks/{bus-711hfp6y.js → app-711hfp6y.js} +2 -2
  89. package/dist/chunks/{bus-72nftnjy.js → app-72nftnjy.js} +2 -2
  90. package/dist/chunks/{bus-gqqnkh8v.js → app-72trm8w5.js} +14 -14
  91. package/dist/chunks/{bus-pxzs1q6p.js → app-73m2sb4s.js} +13 -13
  92. package/dist/chunks/{bus-av3gzsdm.js → app-7ag6v8k0.js} +18 -18
  93. package/dist/chunks/{bus-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  94. package/dist/chunks/{bus-w1jbs0y4.js → app-7s53hefr.js} +15 -15
  95. package/dist/chunks/{bus-r14a846e.js → app-7snb3jby.js} +2 -2
  96. package/dist/chunks/{bus-tpc2xyw9.js → app-7y7gbmb7.js} +6 -6
  97. package/dist/chunks/{bus-1s8x6ddd.js → app-89cjq6h4.js} +4 -4
  98. package/dist/chunks/{bus-kr1vvnwz.js → app-8adb22cw.js} +17 -17
  99. package/dist/chunks/{bus-w071yvmc.js → app-8ja3g6ap.js} +22 -22
  100. package/dist/chunks/{bus-f25wfmnz.js → app-8jqz49pj.js} +18 -18
  101. package/dist/chunks/{bus-svtn6ftc.js → app-8qg6kkkv.js} +9 -9
  102. package/dist/chunks/{bus-gzkr61q0.js → app-8ramm68n.js} +4 -4
  103. package/dist/chunks/{bus-23wvan8x.js → app-8smzbk72.js} +23 -23
  104. package/dist/chunks/{bus-96kjkgmk.js → app-8vh7bxeq.js} +8 -8
  105. package/dist/chunks/{bus-kxw3z6ex.js → app-8x3vza85.js} +11 -11
  106. package/dist/chunks/{bus-gsnpnfh8.js → app-8xmyy94t.js} +11 -11
  107. package/dist/chunks/{bus-93a8yfjt.js → app-93a8yfjt.js} +2 -2
  108. package/dist/chunks/{bus-41t7h6jd.js → app-9cjevta8.js} +15 -15
  109. package/dist/chunks/{bus-ycn7ay9t.js → app-9d6nh4n5.js} +23 -23
  110. package/dist/chunks/{bus-56531erc.js → app-9kedy7gd.js} +11 -11
  111. package/dist/chunks/{bus-e3qsaezh.js → app-9nyam0xf.js} +12 -12
  112. package/dist/chunks/{bus-9qm9egsn.js → app-9qm9egsn.js} +2 -2
  113. package/dist/chunks/{bus-d2rtq077.js → app-a2dfej31.js} +28 -28
  114. package/dist/chunks/{bus-aaet6srn.js → app-aaet6srn.js} +2 -2
  115. package/dist/chunks/{bus-v2pza5zk.js → app-ajphwd6y.js} +8 -8
  116. package/dist/chunks/{bus-ajtjthsy.js → app-ajtjthsy.js} +2 -2
  117. package/dist/chunks/{bus-p386207z.js → app-as4zy6vm.js} +6 -6
  118. package/dist/chunks/{bus-zp9ajhcp.js → app-azwkmrsh.js} +2 -2
  119. package/dist/chunks/{bus-6t8k13pe.js → app-b1dd7b4w.js} +83 -83
  120. package/dist/chunks/{bus-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{bus-b9wsbatv.js → app-b9wsbatv.js} +1 -1
  122. package/dist/chunks/{bus-mckf4h7b.js → app-ba723ajb.js} +8 -8
  123. package/dist/chunks/{bus-wkq0emgv.js → app-bdq43x58.js} +28 -28
  124. package/dist/chunks/{bus-8vb85d8j.js → app-bfhprby2.js} +4 -4
  125. package/dist/chunks/{bus-dad8bk2q.js → app-bng3mmzn.js} +15 -15
  126. package/dist/chunks/{bus-hnyf01b0.js → app-bphmvjfp.js} +5 -5
  127. package/dist/chunks/{bus-khfm06dd.js → app-c2yr71t2.js} +12 -12
  128. package/dist/chunks/{bus-rmc74c4t.js → app-c5n1ev3g.js} +34 -34
  129. package/dist/chunks/{bus-bf3qrb3j.js → app-c8qx0qc9.js} +1 -1
  130. package/dist/chunks/{bus-sk616wp9.js → app-ch969d5t.js} +27 -27
  131. package/dist/chunks/{bus-8h9b3wfc.js → app-crgnq6kz.js} +11 -11
  132. package/dist/chunks/{bus-gst7axd9.js → app-ctmr8zqa.js} +4 -4
  133. package/dist/chunks/{bus-0gsy4sqt.js → app-ctq37z0g.js} +3 -3
  134. package/dist/chunks/{bus-d72308c8.js → app-d72308c8.js} +2 -2
  135. package/dist/chunks/{bus-f4e8jj35.js → app-d7x10w0n.js} +31 -31
  136. package/dist/chunks/{bus-qs5gpaa7.js → app-db58ew7v.js} +8 -8
  137. package/dist/chunks/{bus-v33gch5h.js → app-dfdmajwe.js} +27 -27
  138. package/dist/chunks/{bus-wycvtbqt.js → app-dsrt1vwr.js} +8 -8
  139. package/dist/chunks/{bus-djtdz80w.js → app-e7gxy7fd.js} +4 -4
  140. package/dist/chunks/{bus-e8ecwan1.js → app-eb6nje78.js} +10 -10
  141. package/dist/chunks/{bus-cmbqfntm.js → app-edme2h3e.js} +7 -7
  142. package/dist/chunks/{bus-mvfsc1pv.js → app-eq1pz5kg.js} +3 -3
  143. package/dist/chunks/{bus-3nepss8s.js → app-f8x9e4a9.js} +5 -5
  144. package/dist/chunks/{bus-k97nqm59.js → app-fc5e23qc.js} +9 -9
  145. package/dist/chunks/{bus-9czjfc66.js → app-fedpf0jg.js} +11 -11
  146. package/dist/chunks/{bus-wxwbjexe.js → app-fngqvgwt.js} +6 -6
  147. package/dist/chunks/{bus-1d2yf5yg.js → app-fpne420g.js} +20 -20
  148. package/dist/chunks/{bus-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{bus-fxypknc8.js → app-fxypknc8.js} +1 -1
  150. package/dist/chunks/{bus-7rr5f4gz.js → app-fxznck9p.js} +17 -17
  151. package/dist/chunks/{bus-cphw1rrq.js → app-g1s3xph8.js} +33 -33
  152. package/dist/chunks/{bus-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{bus-b270hrwc.js → app-gm63t1fr.js} +4 -4
  154. package/dist/chunks/{bus-9qw5sf44.js → app-gr8x9xpg.js} +11 -11
  155. package/dist/chunks/{bus-63f9ebx5.js → app-h2rv46j6.js} +46 -46
  156. package/dist/chunks/{bus-zf97vnn4.js → app-h40ga2ve.js} +8 -8
  157. package/dist/chunks/{bus-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{bus-wppt2sme.js → app-h9fpj1t7.js} +10 -10
  159. package/dist/chunks/{bus-byjqrnh7.js → app-hafcdhba.js} +25 -25
  160. package/dist/chunks/{bus-z5n63056.js → app-hch2yqnj.js} +11 -11
  161. package/dist/chunks/{bus-heyhwy2w.js → app-heyhwy2w.js} +1 -1
  162. package/dist/chunks/{bus-5aephga1.js → app-hk5vb16s.js} +1 -1
  163. package/dist/chunks/{bus-hrvm11jt.js → app-hrvm11jt.js} +3 -3
  164. package/dist/chunks/{bus-5wkefnsp.js → app-hxrpm0tt.js} +9 -9
  165. package/dist/chunks/{bus-paphc93g.js → app-j935v87r.js} +2 -2
  166. package/dist/chunks/{bus-yf6xxqf2.js → app-j9nxz8aj.js} +14 -14
  167. package/dist/chunks/{bus-wpts28dx.js → app-jdj1d2bw.js} +4 -4
  168. package/dist/chunks/{bus-5gyhz2nn.js → app-jdtdqwa3.js} +45 -45
  169. package/dist/chunks/{bus-q1b8pcac.js → app-jg4gddsx.js} +26 -26
  170. package/dist/chunks/{bus-f3bqzcfa.js → app-jrsvccbt.js} +4 -4
  171. package/dist/chunks/{bus-y71avatq.js → app-jwcy2c2z.js} +4 -4
  172. package/dist/chunks/{bus-wyvwzpgp.js → app-jwjezfz2.js} +33 -33
  173. package/dist/chunks/{bus-3etffxf1.js → app-jy22979j.js} +19 -19
  174. package/dist/chunks/{bus-mcvs2zbw.js → app-jz3n7spr.js} +12 -12
  175. package/dist/chunks/{bus-h6dr5ctb.js → app-k1gvzfgg.js} +29 -29
  176. package/dist/chunks/{bus-7bn4vab1.js → app-k4bk8ndr.js} +9 -9
  177. package/dist/chunks/{bus-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
  178. package/dist/chunks/app-k558dr3h.js +20 -0
  179. package/dist/chunks/{bus-r7kgbqwf.js → app-k6j8jbs6.js} +6 -6
  180. package/dist/chunks/{bus-hgsh7sdh.js → app-kbnjdf88.js} +6 -6
  181. package/dist/chunks/{bus-0xwtr52f.js → app-kfzjmew4.js} +18 -18
  182. package/dist/chunks/{bus-kg06axw8.js → app-kg06axw8.js} +1 -1
  183. package/dist/chunks/{bus-d6v5jdzg.js → app-kjhc41xm.js} +15 -15
  184. package/dist/chunks/{bus-j6nhct4h.js → app-kpxvvzc7.js} +9 -9
  185. package/dist/chunks/{bus-ytyw8mcv.js → app-ksx2mpq5.js} +15 -15
  186. package/dist/chunks/{bus-hw4pv20g.js → app-kvsjn1dr.js} +2 -2
  187. package/dist/chunks/{bus-804r97dm.js → app-kwzbs4vy.js} +7 -7
  188. package/dist/chunks/{bus-6wj0fw5p.js → app-ky8hq9j3.js} +9 -9
  189. package/dist/chunks/{bus-3jsg4rse.js → app-kyxz6nyb.js} +13 -13
  190. package/dist/chunks/{bus-edq94eaw.js → app-m8rx4xpm.js} +1 -1
  191. package/dist/chunks/{bus-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{bus-gzaq63kr.js → app-mfw1rdg8.js} +7 -7
  193. package/dist/chunks/{bus-qnwfs6wy.js → app-mrjhbrdh.js} +38 -38
  194. package/dist/chunks/{bus-kerhshr9.js → app-mtrbqqrq.js} +5 -5
  195. package/dist/chunks/{bus-fphv0de3.js → app-mw92mm60.js} +8 -8
  196. package/dist/chunks/{bus-3g2y1byn.js → app-na3y75gh.js} +5 -5
  197. package/dist/chunks/{bus-1jfdb1er.js → app-nqpfysvj.js} +64 -64
  198. package/dist/chunks/{bus-0y4twpwd.js → app-nt1xgz9f.js} +6 -6
  199. package/dist/chunks/{bus-rxbdfnq0.js → app-nvw3xbya.js} +3 -3
  200. package/dist/chunks/{bus-bmj3d0ka.js → app-p6yzb5ay.js} +7 -7
  201. package/dist/chunks/{bus-jfqycs0z.js → app-panxx8jc.js} +22 -22
  202. package/dist/chunks/{bus-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{bus-nh1jkfpr.js → app-pk87d0j2.js} +6 -6
  204. package/dist/chunks/{bus-p9xxfsxh.js → app-pkm5xtq2.js} +15 -15
  205. package/dist/chunks/{bus-pknna89w.js → app-pknna89w.js} +1 -1
  206. package/dist/chunks/app-q0x89fb2.js +22 -0
  207. package/dist/chunks/{bus-vjmsffxn.js → app-q1b103yg.js} +27 -27
  208. package/dist/chunks/{bus-s6a5z1ry.js → app-q49dfcef.js} +9 -9
  209. package/dist/chunks/{bus-0kbdxtg6.js → app-q9qcg4fy.js} +34 -34
  210. package/dist/chunks/{bus-r73hqwej.js → app-qg58f473.js} +10 -10
  211. package/dist/chunks/{bus-0ccrtq8e.js → app-qpehrct2.js} +16 -16
  212. package/dist/chunks/{bus-6bb2rddz.js → app-qrb6jamf.js} +1 -1
  213. package/dist/chunks/{bus-qsdy395h.js → app-qsdy395h.js} +1 -1
  214. package/dist/chunks/{bus-8w14596t.js → app-qzsnb17h.js} +38 -38
  215. package/dist/chunks/{bus-4rqnb94f.js → app-r2d81gk0.js} +24 -24
  216. package/dist/chunks/{bus-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
  217. package/dist/chunks/app-rap9a73h.js +18 -0
  218. package/dist/chunks/{bus-ejbvb9q0.js → app-rdck9bdb.js} +25 -25
  219. package/dist/chunks/{bus-ap2t8vcq.js → app-rmszh8ch.js} +22 -22
  220. package/dist/chunks/{bus-64z1dcvr.js → app-rseta75b.js} +3 -3
  221. package/dist/chunks/{bus-rz31k017.js → app-rz31k017.js} +2 -2
  222. package/dist/chunks/{bus-6gn07reb.js → app-s5qvk878.js} +51 -51
  223. package/dist/chunks/{bus-hha4zry8.js → app-sb910js5.js} +20 -20
  224. package/dist/chunks/{bus-sba4qhjf.js → app-sba4qhjf.js} +1 -1
  225. package/dist/chunks/{bus-849kvxk3.js → app-sg99v9jk.js} +13 -13
  226. package/dist/chunks/{bus-35ymyeta.js → app-sk0y5786.js} +5 -5
  227. package/dist/chunks/{bus-57j0ygqm.js → app-sk350rt6.js} +32 -32
  228. package/dist/chunks/{bus-pxrsnsv2.js → app-sknp9wr7.js} +18 -18
  229. package/dist/chunks/{bus-wv36qkf9.js → app-smwcszs7.js} +17 -17
  230. package/dist/chunks/{bus-3fwrn7pg.js → app-stxjm3ct.js} +1 -1
  231. package/dist/chunks/{bus-m2vxpjnv.js → app-t8ygnhjk.js} +16 -16
  232. package/dist/chunks/{bus-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{bus-rpthx8hq.js → app-tbvcryad.js} +4 -4
  234. package/dist/chunks/{bus-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{bus-6t49dzs3.js → app-tj0465p7.js} +16 -16
  236. package/dist/chunks/{bus-tjykrgmx.js → app-tjykrgmx.js} +1 -1
  237. package/dist/chunks/{bus-fv4q91yr.js → app-tkdsazt3.js} +11 -11
  238. package/dist/chunks/{bus-4rh36sjt.js → app-tnqse60a.js} +23 -23
  239. package/dist/chunks/{bus-85m33w8k.js → app-tqm8f0wf.js} +14 -14
  240. package/dist/chunks/app-ttdxmbcm.js +247 -0
  241. package/dist/chunks/{bus-z0f88jgc.js → app-tzw5ab79.js} +32 -32
  242. package/dist/chunks/{bus-aj7dyy80.js → app-v52mabp7.js} +13 -13
  243. package/dist/chunks/{bus-tppvcy65.js → app-v60ecprk.js} +7 -7
  244. package/dist/chunks/{bus-rrzvz4w9.js → app-vbc5sz6b.js} +9 -9
  245. package/dist/chunks/{bus-hhxmypn0.js → app-vkb1fgep.js} +23 -23
  246. package/dist/chunks/{bus-bndd36kw.js → app-vmex9dey.js} +5 -5
  247. package/dist/chunks/{bus-hsargt6j.js → app-vqabm5wh.js} +27 -27
  248. package/dist/chunks/{bus-54sc1s1k.js → app-vsq1yn6y.js} +20 -20
  249. package/dist/chunks/{bus-q089jhzf.js → app-vv9t5qz8.js} +292 -292
  250. package/dist/chunks/{bus-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{bus-z91dmd0w.js → app-w4373xa2.js} +30 -30
  252. package/dist/chunks/{bus-wd87259q.js → app-wd87259q.js} +1 -1
  253. package/dist/chunks/{bus-n5f15nnr.js → app-wmw1swn5.js} +9 -9
  254. package/dist/chunks/{bus-hsg1hj1w.js → app-wp1mbyyz.js} +21 -21
  255. package/dist/chunks/{bus-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{bus-f4b47wcg.js → app-x8p7t0fd.js} +26 -26
  257. package/dist/chunks/{bus-qrz5apad.js → app-xaf2pj7f.js} +43 -43
  258. package/dist/chunks/{bus-2rhspc98.js → app-xbfce38w.js} +47 -47
  259. package/dist/chunks/{bus-e832z393.js → app-xffknpsc.js} +162 -162
  260. package/dist/chunks/{bus-dha1rfzn.js → app-xk6dje90.js} +23 -23
  261. package/dist/chunks/{bus-ap0e00cv.js → app-xrt6vqmz.js} +19 -19
  262. package/dist/chunks/{bus-y2ktbrjm.js → app-xspkd1h6.js} +17 -17
  263. package/dist/chunks/{bus-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{bus-t00n1yfv.js → app-y78hsxdj.js} +8 -8
  265. package/dist/chunks/{bus-4b1mthq9.js → app-y9j759kk.js} +4 -4
  266. package/dist/chunks/{bus-gnqaz2e7.js → app-ycj1jb32.js} +16 -16
  267. package/dist/chunks/{bus-yfbd16n1.js → app-yfbd16n1.js} +2 -2
  268. package/dist/chunks/{bus-xevys2wm.js → app-ym9nx4vt.js} +15 -15
  269. package/dist/chunks/{bus-saphkdfh.js → app-yn4cw0av.js} +3 -3
  270. package/dist/chunks/{bus-bqarnab4.js → app-ystvjdgv.js} +2 -2
  271. package/dist/chunks/{bus-3q0mzqr9.js → app-yvt5my6f.js} +11 -11
  272. package/dist/chunks/{bus-r1tc6yem.js → app-yyqtha35.js} +32 -32
  273. package/dist/chunks/{bus-pm8mksm9.js → app-z1a6gh5v.js} +19 -19
  274. package/dist/chunks/{bus-z1k01bn4.js → app-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{bus-ndjv4j8j.js → app-z447gwwj.js} +10 -10
  276. package/dist/chunks/{bus-rrhrq44h.js → app-z5pwnrhb.js} +24 -24
  277. package/dist/chunks/{bus-8arghjyt.js → app-z5rnafa4.js} +22 -22
  278. package/dist/chunks/{bus-a4p546v5.js → app-zecsv645.js} +24 -24
  279. package/dist/chunks/{bus-bpxe412r.js → app-zh621p81.js} +12 -12
  280. package/dist/chunks/{bus-qas6r648.js → app-zryxh0yg.js} +14 -14
  281. package/dist/chunks/{bus-48e7jqbg.js → app-zt31snrc.js} +35 -35
  282. package/dist/chunks/{bus-ktqm69e3.js → app-zvqe0y51.js} +64 -64
  283. package/dist/chunks/{bus-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +3 -3
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +79 -79
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +116 -116
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +110 -110
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +117 -117
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +132 -132
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +64 -64
  317. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  318. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +13 -13
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +14 -14
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +74 -74
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +90 -90
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +72 -72
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +6 -6
  413. package/dist/filesystem/location-watcher.js +220 -220
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +99 -99
  416. package/dist/filesystem/watcher-binding.js +3 -3
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +96 -96
  419. package/dist/form.js +84 -84
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +84 -84
  422. package/dist/generate.js +90 -90
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +7 -7
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +7 -7
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +86 -86
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +81 -81
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +82 -82
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +96 -96
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +7 -7
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +10 -10
  470. package/dist/models-dev.js +86 -86
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +113 -113
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +80 -80
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +7 -7
  489. package/dist/plugin/optimize.js +4 -4
  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 +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +79 -79
  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 +5 -5
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +337 -337
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +5 -5
  539. package/dist/plugin/websearch/firecrawl.js +6 -6
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +214 -214
  545. package/dist/project/schema.js +6 -6
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +83 -83
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +86 -86
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +84 -84
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +91 -91
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +7 -7
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +217 -217
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +14 -14
  571. package/dist/session/inbox.js +84 -84
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +110 -110
  579. package/dist/session/model-transport.js +7 -7
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +71 -71
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +5 -5
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +213 -213
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +11 -11
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +2 -2
  614. package/dist/skill/instructions.js +99 -99
  615. package/dist/skill.js +104 -104
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +119 -119
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +119 -119
  624. package/dist/tool/plugin/grep.js +119 -119
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +112 -112
  627. package/dist/tool/plugin/question.js +97 -97
  628. package/dist/tool/plugin/read.js +120 -120
  629. package/dist/tool/plugin/shell.js +210 -210
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +108 -108
  634. package/dist/tool/plugin/write.js +116 -116
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +11 -11
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +7 -7
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +3 -3
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +4 -4
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +3 -3
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +7 -7
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +76 -76
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +5 -5
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +2 -2
  672. package/dist/worktree/git.js +5 -5
  673. package/dist/worktree/refresh.js +338 -338
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +87 -87
  676. package/package.json +7 -7
  677. package/dist/chunks/bus-a7csy0p6.js +0 -22
  678. package/dist/chunks/bus-w1s1ra18.js +0 -20
  679. package/dist/chunks/bus-ybsh6ht0.js +0 -247
  680. package/dist/chunks/bus-ydckrtmx.js +0 -18
  681. /package/dist/chunks/{bus-0fabt78z.js → app-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{bus-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{bus-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{bus-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{bus-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{bus-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{bus-2710q6r3.js → app-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{bus-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{bus-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{bus-359p4xyc.js → app-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{bus-3asan66x.js → app-3asan66x.js} +0 -0
  692. /package/dist/chunks/{bus-3t738kvx.js → app-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{bus-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{bus-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{bus-41nvscxy.js → app-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{bus-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{bus-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{bus-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{bus-53557ph1.js → app-53557ph1.js} +0 -0
  700. /package/dist/chunks/{bus-550bvhaj.js → app-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{bus-6prwharc.js → app-6prwharc.js} +0 -0
  702. /package/dist/chunks/{bus-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{bus-7m9af43g.js → app-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{bus-7zk4hah4.js → app-7zk4hah4.js} +0 -0
  705. /package/dist/chunks/{bus-822emrt2.js → app-822emrt2.js} +0 -0
  706. /package/dist/chunks/{bus-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{bus-8n3pysct.js → app-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{bus-982e01ww.js → app-982e01ww.js} +0 -0
  709. /package/dist/chunks/{bus-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{bus-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{bus-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{bus-af5trqkr.js → app-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{bus-afrmfg78.js → app-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{bus-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{bus-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{bus-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{bus-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{bus-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{bus-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{bus-d9fn303g.js → app-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{bus-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{bus-dajrwvna.js → app-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{bus-dap0rakb.js → app-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{bus-df08tz66.js → app-df08tz66.js} +0 -0
  725. /package/dist/chunks/{bus-dy18nga0.js → app-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{bus-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{bus-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{bus-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{bus-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{bus-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{bus-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{bus-faypxj3z.js → app-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{bus-fd410y7t.js → app-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{bus-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{bus-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{bus-g86h250q.js → app-g86h250q.js} +0 -0
  737. /package/dist/chunks/{bus-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{bus-hk9envan.js → app-hk9envan.js} +0 -0
  739. /package/dist/chunks/{bus-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{bus-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{bus-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{bus-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{bus-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{bus-mntxs535.js → app-mntxs535.js} +0 -0
  745. /package/dist/chunks/{bus-mp448xyj.js → app-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{bus-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{bus-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{bus-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{bus-njntx4h6.js → app-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{bus-p8qxwesx.js → app-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{bus-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{bus-q74kybfr.js → app-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{bus-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{bus-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{bus-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{bus-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{bus-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{bus-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{bus-se0s1eqw.js → app-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{bus-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{bus-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{bus-twg0f83k.js → app-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{bus-w803qqfp.js → app-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{bus-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{bus-wtztk69x.js → app-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{bus-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{bus-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{bus-x61499pn.js → app-x61499pn.js} +0 -0
  769. /package/dist/chunks/{bus-y44na4kk.js → app-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{bus-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{bus-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{bus-z9919s4g.js → app-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{bus-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
@@ -1,17 +1,17 @@
1
+ import {
2
+ Service77,
3
+ node82
4
+ } from "./app-jz3n7spr.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./bus-mcvs2zbw.js";
5
- import {
6
- Service69,
7
- node74
8
- } from "./bus-r73hqwej.js";
8
+ } from "./app-qg58f473.js";
9
9
  import {
10
10
  create3
11
- } from "./bus-kg06axw8.js";
11
+ } from "./app-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service19,
31
+ Service: () => Service20,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node23
33
+ node: () => node24
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
@@ -61,11 +61,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
61
  }) {
62
62
  }
63
63
 
64
- class Service19 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service20 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const bus = yield* Service79;
68
- const kv = yield* Service69;
66
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
67
+ const bus = yield* Service77;
68
+ const kv = yield* Service79;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
70
70
  const state = create3({
71
71
  initial: () => ({ providers: new Map }),
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service19.of({
109
+ return Service20.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node23 = makeLocationNode({
133
- service: Service19,
132
+ var node24 = makeLocationNode({
133
+ service: Service20,
134
134
  layer,
135
- deps: [node84, node74]
135
+ deps: [node82, node84]
136
136
  });
137
137
 
138
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service19, node23, exports_websearch3, Event6 };
138
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service20, node24, exports_websearch3, Event6 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service40
3
- } from "./bus-w1s1ra18.js";
2
+ Service35
3
+ } from "./app-k558dr3h.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./bus-ydckrtmx.js";
6
+ } from "./app-rap9a73h.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./bus-qq0s42pd.js";
9
+ } from "./app-3ke94kzw.js";
10
10
  import {
11
- Service51
12
- } from "./bus-q1b8pcac.js";
11
+ Service46
12
+ } from "./app-jg4gddsx.js";
13
13
  import {
14
14
  __export
15
- } from "./bus-9rqn6x4v.js";
15
+ } from "./app-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* Service40;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
25
+ const instances = yield* Service35;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service46), 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 });
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./bus-0paq2nw3.js";
4
+ } from "./app-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./bus-r7kgbqwf.js";
7
+ } from "./app-k6j8jbs6.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./bus-bpxe412r.js";
11
+ } from "./app-zh621p81.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-p8qxwesx.js";
3
+ } from "./app-p8qxwesx.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./bus-wppt2sme.js";
5
+ Service76,
6
+ node81
7
+ } from "./app-h9fpj1t7.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./bus-6h73sxmp.js";
13
+ } from "./app-2402vzrj.js";
14
14
  import {
15
- Service69,
16
- node74
17
- } from "./bus-r73hqwej.js";
15
+ Service79,
16
+ node84
17
+ } from "./app-qg58f473.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./app-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: () => Service57,
33
+ Service: () => Service59,
34
34
  isError: () => isError2,
35
- node: () => node61,
35
+ node: () => node62,
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 Service57 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service59 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(Service57, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service76;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service69;
110
- return Service57.of({
109
+ const kv = yield* Service79;
110
+ return Service59.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 = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(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 ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(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(Service57, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node61 = makeGlobalNode({
171
- service: Service57,
170
+ var node62 = makeGlobalNode({
171
+ service: Service59,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node74]
173
+ deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node84]
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, Service57, isError2, validateBranch2, node61, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79
3
- } from "./bus-mcvs2zbw.js";
2
+ Service77
3
+ } from "./app-jz3n7spr.js";
4
4
  import {
5
- Service15,
6
- Event3
7
- } from "./bus-rmc74c4t.js";
5
+ Service22,
6
+ Event7
7
+ } from "./app-c5n1ev3g.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
14
14
  var ModelsDevPlugin2 = define({
15
15
  id: "opencode.models.dev",
16
16
  effect: Effect.fn(function* (ctx) {
17
- const modelsDev = yield* Service15;
18
- const bus = yield* Service79;
17
+ const modelsDev = yield* Service22;
18
+ const bus = yield* Service77;
19
19
  const loaded = { data: snapshots(yield* modelsDev.get()) };
20
20
  yield* ctx.integration.transform((integrations) => {
21
21
  for (const provider of loaded.data) {
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
49
49
  }
50
50
  }
51
51
  });
52
- yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
52
+ yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
53
53
  })
54
54
  });
55
55
  function environmentNames(provider) {
@@ -1,12 +1,12 @@
1
- import {
2
- Service53
3
- } from "./bus-h6dr5ctb.js";
4
1
  import {
5
2
  Service70
6
- } from "./bus-ktqm69e3.js";
3
+ } from "./app-k1gvzfgg.js";
4
+ import {
5
+ Service52
6
+ } from "./app-zvqe0y51.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode-ai/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode-ai/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service53;
57
- const permission = yield* Service70;
56
+ const forms = yield* Service70;
57
+ const permission = yield* Service52;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service79
3
- } from "./bus-mcvs2zbw.js";
2
+ Service77
3
+ } from "./app-jz3n7spr.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./bus-r1tc6yem.js";
6
+ Event18
7
+ } from "./app-yyqtha35.js";
8
8
  import {
9
- ID5,
9
+ ID13,
10
10
  MethodID2
11
- } from "./bus-wyvwzpgp.js";
11
+ } from "./app-jwjezfz2.js";
12
12
  import {
13
13
  ID12,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./bus-r7kgbqwf.js";
17
+ } from "./app-k6j8jbs6.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID5.make("opencode"),
47
+ integrationID: ID13.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -85,7 +85,7 @@ function oauth(http) {
85
85
  var OpencodePlugin2 = define({
86
86
  id: "opencode.provider.opencode",
87
87
  effect: Effect.fn(function* (ctx) {
88
- const bus = yield* Service79;
88
+ const bus = yield* Service77;
89
89
  const http = yield* HttpClient.HttpClient;
90
90
  const loading = Semaphore.makeUnsafe(1);
91
91
  let connected = false;
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID5.make("opencode");
115
+ provider.integrationID = ID13.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-p8qxwesx.js";
3
+ } from "./app-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./bus-p8qxwesx.js";
5
+ } from "./app-p8qxwesx.js";
6
6
  import {
7
- Service67,
8
- node71
9
- } from "./bus-a4p546v5.js";
7
+ Service60,
8
+ node63
9
+ } from "./app-zecsv645.js";
10
10
  import {
11
11
  Content2
12
- } from "./bus-hsg1hj1w.js";
12
+ } from "./app-wp1mbyyz.js";
13
13
  import {
14
14
  detect2
15
- } from "./bus-3smtnn6g.js";
15
+ } from "./app-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./bus-9rqn6x4v.js";
18
+ } from "./app-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service10,
37
37
  TextPage: () => TextPage2,
38
- node: () => node8,
38
+ node: () => node13,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service67;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
330
+ const environment = yield* Service60;
331
+ return Service10.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node8 = makeLocationNode({ service: Service5, layer, deps: [node71] });
336
+ var node13 = makeLocationNode({ service: Service10, layer, deps: [node63] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node8, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node13, exports_read_filesystem };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./bus-mcvs2zbw.js";
2
+ Service77,
3
+ node82
4
+ } from "./app-jz3n7spr.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./bus-6t49dzs3.js";
6
+ Service74,
7
+ node79
8
+ } from "./app-tj0465p7.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./bus-kg06axw8.js";
12
+ } from "./app-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./bus-tazgh4e4.js";
17
+ } from "./app-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./bus-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info5,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service22,
31
+ Service: () => Service18,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node26
33
+ node: () => node22
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode-ai/schema/file-diff";
38
38
  import { FileSystem } from "@opencode-ai/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode-ai/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode-ai/schema/vcs";
40
40
  import { VcsEvent } from "@opencode-ai/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service22 extends Context.Service()("@opencode/Vcs") {
48
+ class Service18 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service22, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service76;
53
- const bus = yield* Service79;
52
+ const location = yield* Service74;
53
+ const bus = yield* Service77;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service22.of({
118
+ return Service18.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node26 = makeLocationNode({
165
- service: Service22,
164
+ var node22 = makeLocationNode({
165
+ service: Service18,
166
166
  layer,
167
- deps: [FSUtil.node, node81, node84]
167
+ deps: [FSUtil.node, node79, node82]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service22, node26, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service18, node22, exports_vcs };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./bus-p8qxwesx.js";
3
+ } from "./app-p8qxwesx.js";
4
4
  import {
5
- Info16
6
- } from "./bus-hha4zry8.js";
5
+ Info20
6
+ } from "./app-sb910js5.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info14
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info18
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info16)
47
+ permission: Schema.optional(Info20)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info18 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info14, exports_agent3 };
74
+ export { Info18, exports_agent4 };