@opencode-ai/core 0.0.0-dev-19134 → 0.0.0-dev-19142

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 (774) 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 +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{agent-ab9238g2.js → app-0b9a3syv.js} +6 -6
  9. package/dist/chunks/{agent-0e0xafbb.js → app-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{agent-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{agent-1rxbh4dg.js → app-0pnstday.js} +35 -35
  12. package/dist/chunks/{agent-0s9ayhjt.js → app-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{agent-9s4ajjhc.js → app-10crkvny.js} +21 -21
  14. package/dist/chunks/{agent-a2q94wnn.js → app-11ayww28.js} +41 -41
  15. package/dist/chunks/{agent-z02m7gq6.js → app-11nb5kwh.js} +9 -9
  16. package/dist/chunks/{agent-w7xx7zyy.js → app-12m25a1r.js} +4 -4
  17. package/dist/chunks/{agent-tb635r1t.js → app-19zwchw3.js} +88 -88
  18. package/dist/chunks/{agent-dns82vym.js → app-1ac4g41n.js} +19 -19
  19. package/dist/chunks/{agent-yq43v846.js → app-1ayxneq2.js} +24 -24
  20. package/dist/chunks/{agent-mkmcbfj7.js → app-1cnz31nk.js} +13 -13
  21. package/dist/chunks/{agent-1ct4r87x.js → app-1ct4r87x.js} +1 -1
  22. package/dist/chunks/{agent-tepvdgp6.js → app-1eg3ajsc.js} +9 -9
  23. package/dist/chunks/{agent-1pgk3sz4.js → app-1g3sbppe.js} +13 -13
  24. package/dist/chunks/{agent-yyxvg800.js → app-1jdc2svp.js} +20 -20
  25. package/dist/chunks/{agent-vt3sdt2p.js → app-1jynzpaq.js} +10 -10
  26. package/dist/chunks/{agent-01w7s3hf.js → app-1mrma768.js} +5 -5
  27. package/dist/chunks/{agent-21r38tys.js → app-21r38tys.js} +1 -1
  28. package/dist/chunks/{agent-7vdy950p.js → app-2548brk4.js} +17 -17
  29. package/dist/chunks/{agent-806j49yq.js → app-25m4ah6t.js} +7 -7
  30. package/dist/chunks/{agent-91aj8tvp.js → app-28dgmzze.js} +28 -28
  31. package/dist/chunks/{agent-1z80kc63.js → app-28pcbh69.js} +8 -8
  32. package/dist/chunks/{agent-z63w68vq.js → app-29x78va6.js} +6 -6
  33. package/dist/chunks/{agent-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{agent-2ht70gj7.js → app-2ht70gj7.js} +1 -1
  35. package/dist/chunks/{agent-9wfg6z9j.js → app-2jfbx11t.js} +20 -20
  36. package/dist/chunks/{agent-2jqmte8w.js → app-2jqmte8w.js} +2 -2
  37. package/dist/chunks/{agent-2k8khapm.js → app-2k8khapm.js} +1 -1
  38. package/dist/chunks/{agent-hf34rg9m.js → app-2q46cvfz.js} +17 -17
  39. package/dist/chunks/{agent-14h757nk.js → app-2z4bcakw.js} +17 -17
  40. package/dist/chunks/{agent-d98jztjr.js → app-3699wah4.js} +9 -9
  41. package/dist/chunks/{agent-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{agent-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{agent-qkmrjpc8.js → app-3hgkq37t.js} +32 -32
  44. package/dist/chunks/{agent-zg6phhks.js → app-3ksgtvjj.js} +292 -292
  45. package/dist/chunks/{agent-3qzbfqsy.js → app-3qzbfqsy.js} +2 -2
  46. package/dist/chunks/{agent-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{agent-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{agent-gak3es0t.js → app-3v6hx42c.js} +11 -11
  49. package/dist/chunks/{agent-3xcehbhs.js → app-3xe1zpzw.js} +25 -25
  50. package/dist/chunks/{agent-5448aj5z.js → app-3xxzp3nh.js} +22 -22
  51. package/dist/chunks/{agent-bharwccy.js → app-42jtes1n.js} +18 -18
  52. package/dist/chunks/{agent-bqarnab4.js → app-43mprarq.js} +2 -2
  53. package/dist/chunks/{agent-454k5vzh.js → app-454k5vzh.js} +1 -1
  54. package/dist/chunks/{agent-3z68pr8k.js → app-46f0x6q8.js} +11 -11
  55. package/dist/chunks/{agent-qj09d9qc.js → app-49r12z1f.js} +23 -23
  56. package/dist/chunks/{agent-ar3vq2rb.js → app-4dxz6g2t.js} +12 -12
  57. package/dist/chunks/{agent-26qqzp3j.js → app-4k4vxknf.js} +11 -11
  58. package/dist/chunks/{agent-rhs5vnag.js → app-4qfdps26.js} +6 -6
  59. package/dist/chunks/{agent-4r2nyarf.js → app-4r2nyarf.js} +1 -1
  60. package/dist/chunks/{agent-gdkjhw4h.js → app-4w9tmb1q.js} +4 -4
  61. package/dist/chunks/app-4y2hpfj1.js +20 -0
  62. package/dist/chunks/{agent-xffcgm1v.js → app-51amr62k.js} +6 -6
  63. package/dist/chunks/{agent-czdarw0y.js → app-5b58gzej.js} +72 -72
  64. package/dist/chunks/{agent-5daktx2q.js → app-5daktx2q.js} +1 -1
  65. package/dist/chunks/{agent-dd4gnkmv.js → app-5fmjy2xb.js} +11 -11
  66. package/dist/chunks/{agent-5fmxt4p5.js → app-5fmxt4p5.js} +1 -1
  67. package/dist/chunks/{agent-rxbdfnq0.js → app-5gx2hdkx.js} +3 -3
  68. package/dist/chunks/{agent-5jvc5tg2.js → app-5jvc5tg2.js} +1 -1
  69. package/dist/chunks/{agent-j935v87r.js → app-5qd3pb7m.js} +2 -2
  70. package/dist/chunks/{agent-jpkebe24.js → app-5qs502xj.js} +11 -11
  71. package/dist/chunks/{agent-jrjfj6f1.js → app-5vv1ktcy.js} +22 -22
  72. package/dist/chunks/{agent-a5wzkdk7.js → app-5xfb8tt8.js} +28 -28
  73. package/dist/chunks/{agent-hqd7e165.js → app-63daw84a.js} +10 -10
  74. package/dist/chunks/{agent-jteae0j7.js → app-67ztqkdy.js} +3 -3
  75. package/dist/chunks/{agent-6z5bwd8g.js → app-6abnk40k.js} +9 -9
  76. package/dist/chunks/{agent-pm2mekbm.js → app-6axwcwgk.js} +85 -85
  77. package/dist/chunks/{agent-x108nqtd.js → app-6dsrej2r.js} +3 -3
  78. package/dist/chunks/{agent-2402vzrj.js → app-6h73sxmp.js} +5 -5
  79. package/dist/chunks/{agent-8pk35v3b.js → app-6mbbwrj4.js} +24 -24
  80. package/dist/chunks/{agent-bbqqsne5.js → app-6n3kqnmf.js} +62 -62
  81. package/dist/chunks/{agent-rwbhhn1p.js → app-6qb1jm5z.js} +8 -8
  82. package/dist/chunks/{agent-e4gpwzj6.js → app-6ryd33xm.js} +6 -6
  83. package/dist/chunks/{agent-tp9gt758.js → app-6rzv01zx.js} +4 -4
  84. package/dist/chunks/{agent-kar5tx9z.js → app-6wk3pvpa.js} +15 -15
  85. package/dist/chunks/{agent-zbnhqhy2.js → app-6wpk4jm3.js} +11 -11
  86. package/dist/chunks/{agent-wfzrsdxz.js → app-6yh4f6fv.js} +11 -11
  87. package/dist/chunks/{agent-65xgr3ez.js → app-6z2bsf6d.js} +7 -7
  88. package/dist/chunks/{agent-eszpqqjx.js → app-70a7nh0p.js} +27 -27
  89. package/dist/chunks/{agent-711hfp6y.js → app-711hfp6y.js} +2 -2
  90. package/dist/chunks/{agent-72nftnjy.js → app-72nftnjy.js} +2 -2
  91. package/dist/chunks/{agent-m8mnxh4b.js → app-73sszyh7.js} +16 -16
  92. package/dist/chunks/{agent-gs7dfp15.js → app-76r8xxxn.js} +9 -9
  93. package/dist/chunks/app-77jnt7s6.js +247 -0
  94. package/dist/chunks/{agent-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{agent-crf72gwq.js → app-7bpzgkas.js} +6 -6
  96. package/dist/chunks/{agent-4npbydey.js → app-7mdbrk5c.js} +15 -15
  97. package/dist/chunks/{agent-aaybge2e.js → app-7n7dggr2.js} +8 -8
  98. package/dist/chunks/{agent-sbhn25d0.js → app-7pd6f52x.js} +25 -25
  99. package/dist/chunks/{agent-nryvk2bb.js → app-7rq73qz7.js} +27 -27
  100. package/dist/chunks/{agent-hybax9yn.js → app-7tw3q1zv.js} +59 -59
  101. package/dist/chunks/{agent-qtc5wbcs.js → app-7vjwf2sx.js} +29 -29
  102. package/dist/chunks/{agent-7wbeyhp9.js → app-7w74e5nf.js} +9 -9
  103. package/dist/chunks/{agent-cxrechn0.js → app-7wq0tnvg.js} +23 -23
  104. package/dist/chunks/{agent-tcezcvh9.js → app-89znhe33.js} +4 -4
  105. package/dist/chunks/{agent-3h4s9wf1.js → app-8q83hqdf.js} +13 -13
  106. package/dist/chunks/{agent-c6afg63y.js → app-8w717yyx.js} +8 -8
  107. package/dist/chunks/{agent-tkg14h75.js → app-8y09mrx6.js} +6 -6
  108. package/dist/chunks/{agent-9hjqzppv.js → app-92c4reck.js} +29 -29
  109. package/dist/chunks/{agent-p32d7zzt.js → app-93wzm26s.js} +8 -8
  110. package/dist/chunks/{agent-a53x0zc2.js → app-9asqdat1.js} +8 -8
  111. package/dist/chunks/{agent-asfb91ym.js → app-9cfwdcc0.js} +13 -13
  112. package/dist/chunks/{agent-0wc4szmq.js → app-9k8ga460.js} +1 -1
  113. package/dist/chunks/{agent-b2jmq90t.js → app-9mtkw4g3.js} +32 -32
  114. package/dist/chunks/{agent-r7b3zwn8.js → app-9svx6tw9.js} +31 -31
  115. package/dist/chunks/{agent-ptcr5d7p.js → app-9v7rjn4h.js} +5 -5
  116. package/dist/chunks/app-9zwhrd2p.js +4 -0
  117. package/dist/chunks/{agent-r2res0kp.js → app-a247e3as.js} +9 -9
  118. package/dist/chunks/{agent-h722e297.js → app-a9zfrvqc.js} +5 -5
  119. package/dist/chunks/{agent-aaet6srn.js → app-aaet6srn.js} +2 -2
  120. package/dist/chunks/{agent-jhtq1fsz.js → app-abzfqj08.js} +6 -6
  121. package/dist/chunks/{agent-e1pnr02a.js → app-ag6ev01p.js} +10 -10
  122. package/dist/chunks/{agent-4crm0y3y.js → app-ah84y693.js} +1 -1
  123. package/dist/chunks/{agent-bct739vz.js → app-an7cqtb7.js} +4 -4
  124. package/dist/chunks/{agent-7ekmjv5k.js → app-arefmjbx.js} +2 -2
  125. package/dist/chunks/{agent-2m4g9ewj.js → app-b5gjhjfs.js} +20 -20
  126. package/dist/chunks/{agent-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  127. package/dist/chunks/{agent-yba16dxq.js → app-b75ft6nf.js} +4 -4
  128. package/dist/chunks/{agent-xkc4w1jp.js → app-b89s2553.js} +13 -13
  129. package/dist/chunks/{agent-b9wsbatv.js → app-b9wsbatv.js} +1 -1
  130. package/dist/chunks/{agent-v2wh89ge.js → app-bawrj3b9.js} +2 -2
  131. package/dist/chunks/{agent-s4g226qt.js → app-bkc8hw0t.js} +7 -7
  132. package/dist/chunks/{agent-nxrz604p.js → app-bskj9zs2.js} +9 -9
  133. package/dist/chunks/{agent-vz2cwsm9.js → app-bvy2akch.js} +20 -20
  134. package/dist/chunks/app-bwt7bpgq.js +18 -0
  135. package/dist/chunks/{agent-810y1jh4.js → app-c1g9mjxb.js} +10 -10
  136. package/dist/chunks/{agent-7r0r50e5.js → app-c5c0bz0t.js} +5 -5
  137. package/dist/chunks/{agent-mr60vpn5.js → app-c6gpbsrj.js} +31 -31
  138. package/dist/chunks/{agent-7qpar7b0.js → app-cbzzwm6t.js} +30 -30
  139. package/dist/chunks/{agent-by97waje.js → app-cmc3px63.js} +46 -46
  140. package/dist/chunks/{agent-gvmasxkv.js → app-cp79y1v1.js} +13 -13
  141. package/dist/chunks/{agent-redfcqdd.js → app-cy44mvmp.js} +4 -4
  142. package/dist/chunks/{agent-p1r008p0.js → app-d8wfxvdg.js} +19 -19
  143. package/dist/chunks/{agent-80ems202.js → app-d904segq.js} +24 -24
  144. package/dist/chunks/{agent-bs24dhpj.js → app-djybk775.js} +1 -1
  145. package/dist/chunks/{agent-jbckvzxk.js → app-dkkesp2b.js} +17 -17
  146. package/dist/chunks/{agent-smb21sg5.js → app-drxmcvep.js} +28 -28
  147. package/dist/chunks/{agent-tgwtqm6f.js → app-dsmcg9zs.js} +16 -16
  148. package/dist/chunks/{agent-4w16edgh.js → app-e6xjfqn1.js} +15 -15
  149. package/dist/chunks/{agent-tscg86cs.js → app-eb93zemk.js} +31 -31
  150. package/dist/chunks/{agent-7t94ejvv.js → app-ecn9jhng.js} +4 -4
  151. package/dist/chunks/{agent-67h63hm0.js → app-emesvkpm.js} +28 -28
  152. package/dist/chunks/{agent-rk7nwdhj.js → app-epd5s80n.js} +16 -16
  153. package/dist/chunks/{agent-x6a99p7m.js → app-evfdbawk.js} +5 -5
  154. package/dist/chunks/{agent-ez5b8bq3.js → app-ez5b8bq3.js} +1 -1
  155. package/dist/chunks/{agent-8zped23d.js → app-ftp1bkne.js} +5 -5
  156. package/dist/chunks/{agent-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  157. package/dist/chunks/{agent-fxypknc8.js → app-fxypknc8.js} +1 -1
  158. package/dist/chunks/{agent-68seyw0w.js → app-g02688sb.js} +34 -34
  159. package/dist/chunks/{agent-yzmzwmzr.js → app-g1gppypj.js} +20 -20
  160. package/dist/chunks/{agent-g2dy4bvs.js → app-g2dy4bvs.js} +3 -3
  161. package/dist/chunks/{agent-g2gt0w0k.js → app-g2gt0w0k.js} +2 -2
  162. package/dist/chunks/{agent-wm2nxt60.js → app-gcvg6c9v.js} +34 -34
  163. package/dist/chunks/{agent-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{agent-x1cmshak.js → app-ggw8ryqa.js} +27 -27
  165. package/dist/chunks/{agent-kzr8291h.js → app-gj4y5m52.js} +25 -25
  166. package/dist/chunks/{agent-0etjh3sx.js → app-gm0famdj.js} +46 -46
  167. package/dist/chunks/{agent-p7fwe8hr.js → app-gndgrf2p.js} +11 -11
  168. package/dist/chunks/{agent-r44vzmrg.js → app-gy8r63zv.js} +11 -11
  169. package/dist/chunks/{agent-cx951yas.js → app-h0v7sv0t.js} +24 -24
  170. package/dist/chunks/app-h16f3rt9.js +22 -0
  171. package/dist/chunks/{agent-c9cdp0vn.js → app-h3e45e1k.js} +18 -18
  172. package/dist/chunks/{agent-a8fdacep.js → app-h3y6t4a9.js} +25 -25
  173. package/dist/chunks/{agent-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  174. package/dist/chunks/{agent-heyhwy2w.js → app-heyhwy2w.js} +1 -1
  175. package/dist/chunks/{agent-z11ppbym.js → app-hjwfeaa1.js} +20 -20
  176. package/dist/chunks/{agent-na6nvkmt.js → app-hncf1b4v.js} +18 -18
  177. package/dist/chunks/{agent-thfv75je.js → app-hnyf01b0.js} +5 -5
  178. package/dist/chunks/{agent-31sg83h3.js → app-hqbzdwyf.js} +16 -16
  179. package/dist/chunks/{agent-ecbt05nt.js → app-hw7r5c7p.js} +5 -5
  180. package/dist/chunks/{agent-nj1g2yhc.js → app-j3pby61b.js} +6 -6
  181. package/dist/chunks/{agent-2y34zzjz.js → app-j5208yae.js} +4 -4
  182. package/dist/chunks/{agent-f3y516wx.js → app-j8wswpkz.js} +10 -10
  183. package/dist/chunks/{agent-djhf0gy5.js → app-je94mgw6.js} +43 -43
  184. package/dist/chunks/{agent-thvv0w5b.js → app-jfzd9m53.js} +28 -28
  185. package/dist/chunks/{agent-5nhnxyzk.js → app-jg5w4ckf.js} +8 -8
  186. package/dist/chunks/{agent-ehjws9wm.js → app-jhw2yzs0.js} +14 -14
  187. package/dist/chunks/{agent-mhk86k01.js → app-jtkad9sr.js} +32 -32
  188. package/dist/chunks/{agent-59p9anb2.js → app-jv7yt568.js} +22 -22
  189. package/dist/chunks/{agent-y71avatq.js → app-jwcy2c2z.js} +4 -4
  190. package/dist/chunks/{agent-5bccfspb.js → app-jxqq6ybj.js} +11 -11
  191. package/dist/chunks/{agent-6nd0921f.js → app-k1xbqk76.js} +9 -9
  192. package/dist/chunks/{agent-atxn8a3g.js → app-k39vhxmz.js} +15 -15
  193. package/dist/chunks/{agent-k4bwy1x5.js → app-k4bwy1x5.js} +1 -1
  194. package/dist/chunks/{agent-1en627kf.js → app-k4jdan51.js} +9 -9
  195. package/dist/chunks/{agent-c7w00fnw.js → app-kbs3ytgs.js} +7 -7
  196. package/dist/chunks/{agent-kg06axw8.js → app-kg06axw8.js} +1 -1
  197. package/dist/chunks/{agent-t49wxcvk.js → app-kght2vh2.js} +36 -36
  198. package/dist/chunks/{agent-3qnxcvkk.js → app-khe7zx09.js} +20 -20
  199. package/dist/chunks/{agent-j8nnq7em.js → app-kkm1c4fb.js} +1 -1
  200. package/dist/chunks/{agent-hw4pv20g.js → app-kvsjn1dr.js} +2 -2
  201. package/dist/chunks/{agent-759pz1a2.js → app-m4535t75.js} +8 -8
  202. package/dist/chunks/{agent-1n116cmy.js → app-m5045k8y.js} +9 -9
  203. package/dist/chunks/{agent-fm6rp3s9.js → app-m9nbq4j3.js} +37 -37
  204. package/dist/chunks/{agent-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  205. package/dist/chunks/{agent-xbr894yq.js → app-mc6f4wmg.js} +11 -11
  206. package/dist/chunks/{agent-eq1pz5kg.js → app-mvfsc1pv.js} +3 -3
  207. package/dist/chunks/{agent-v7qwqw98.js → app-n6mjpdbf.js} +8 -8
  208. package/dist/chunks/{agent-k2tv210q.js → app-ng75afqg.js} +4 -4
  209. package/dist/chunks/{agent-x81n7arw.js → app-nrcsyr73.js} +20 -20
  210. package/dist/chunks/{agent-w750rgvc.js → app-p6mzzxr3.js} +18 -18
  211. package/dist/chunks/{agent-jnyk3mzb.js → app-p6pyb1k7.js} +27 -27
  212. package/dist/chunks/{agent-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{agent-pknna89w.js → app-pknna89w.js} +1 -1
  214. package/dist/chunks/{agent-y1z2akcv.js → app-prkjxx16.js} +8 -8
  215. package/dist/chunks/{agent-7zhf76n3.js → app-pycndmcz.js} +24 -24
  216. package/dist/chunks/{agent-adj555m4.js → app-pzjyfgzz.js} +23 -23
  217. package/dist/chunks/{agent-wxjr8ywh.js → app-q4msk40h.js} +18 -18
  218. package/dist/chunks/{agent-c03sxnnv.js → app-qa6tzkyt.js} +161 -161
  219. package/dist/chunks/{agent-gp7nde0h.js → app-qavd1wvc.js} +32 -32
  220. package/dist/chunks/{agent-022wyyth.js → app-qb0tn3m5.js} +4 -4
  221. package/dist/chunks/{agent-6s53yxk4.js → app-qf33an78.js} +39 -39
  222. package/dist/chunks/{agent-035ccfev.js → app-qg8529j6.js} +25 -25
  223. package/dist/chunks/{agent-3mkt1fq8.js → app-qp4easfw.js} +42 -42
  224. package/dist/chunks/{agent-qsdy395h.js → app-qsdy395h.js} +1 -1
  225. package/dist/chunks/{agent-qvbcabdc.js → app-qvbcabdc.js} +2 -2
  226. package/dist/chunks/{agent-qmgssm61.js → app-r1m5m6n7.js} +31 -31
  227. package/dist/chunks/{agent-7n2tcerd.js → app-r3j4zcsz.js} +11 -11
  228. package/dist/chunks/{agent-8rxwk6s8.js → app-r64qmg5x.js} +10 -10
  229. package/dist/chunks/{agent-r8dhm0tv.js → app-r8dhm0tv.js} +1 -1
  230. package/dist/chunks/{agent-qq0s42pd.js → app-r8vaxre5.js} +9 -9
  231. package/dist/chunks/{agent-nddsbw1c.js → app-rdgg5j33.js} +6 -6
  232. package/dist/chunks/{agent-57bm4pw2.js → app-rnbmyxw3.js} +28 -28
  233. package/dist/chunks/{agent-xkm3xnb1.js → app-rrmnk23p.js} +14 -14
  234. package/dist/chunks/{agent-9xvrg3b1.js → app-rs7d7ay9.js} +1 -1
  235. package/dist/chunks/{agent-ztnyd3e4.js → app-rz31k017.js} +9 -9
  236. package/dist/chunks/{agent-qv5d22yx.js → app-s6sc7xsb.js} +4 -4
  237. package/dist/chunks/{agent-czfdxcf9.js → app-s9ng70hv.js} +37 -37
  238. package/dist/chunks/{agent-sba4qhjf.js → app-sba4qhjf.js} +1 -1
  239. package/dist/chunks/{agent-v9z32g9k.js → app-sd7f8jwe.js} +7 -7
  240. package/dist/chunks/{agent-1ezz2wmh.js → app-srsjt1nn.js} +3 -3
  241. package/dist/chunks/{agent-0bhfshk5.js → app-stachqf2.js} +17 -17
  242. package/dist/chunks/{agent-1f1wzhgc.js → app-sxhwk0c0.js} +4 -4
  243. package/dist/chunks/{agent-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{agent-p2qkj8wm.js → app-tcszm0ed.js} +22 -22
  245. package/dist/chunks/{agent-tjykrgmx.js → app-tjykrgmx.js} +1 -1
  246. package/dist/chunks/{agent-tppvcy65.js → app-tppvcy65.js} +2 -2
  247. package/dist/chunks/{agent-ens6nfbp.js → app-tqfvardz.js} +28 -28
  248. package/dist/chunks/{agent-55xx6td3.js → app-ttsb85y1.js} +7 -7
  249. package/dist/chunks/{agent-a15cmqra.js → app-w2t62r7y.js} +8 -8
  250. package/dist/chunks/{agent-kxw418nq.js → app-w39xyyj8.js} +31 -31
  251. package/dist/chunks/{agent-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{agent-0rag4e4f.js → app-w4600456.js} +4 -4
  253. package/dist/chunks/{agent-8qyy1b3c.js → app-w91bf5kg.js} +8 -8
  254. package/dist/chunks/{agent-9q2vx4dz.js → app-wcevzh1p.js} +38 -38
  255. package/dist/chunks/{agent-wd87259q.js → app-wd87259q.js} +1 -1
  256. package/dist/chunks/{agent-n6q5hn6k.js → app-wgdphb3s.js} +16 -16
  257. package/dist/chunks/{agent-xea88nm1.js → app-wq38yxfv.js} +1 -1
  258. package/dist/chunks/{agent-gf4sh87j.js → app-wwr3ad35.js} +1 -1
  259. package/dist/chunks/{agent-qb37cqa6.js → app-wwwks56p.js} +13 -13
  260. package/dist/chunks/{agent-9ktg0kwy.js → app-wz8xxayn.js} +25 -25
  261. package/dist/chunks/{agent-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{agent-2kn058km.js → app-x1z8np8d.js} +48 -48
  263. package/dist/chunks/{agent-jyf935bj.js → app-x20jfd50.js} +35 -35
  264. package/dist/chunks/{agent-65g465sb.js → app-xechrp4q.js} +12 -12
  265. package/dist/chunks/{agent-gf1b3qaq.js → app-xeq5x5py.js} +6 -6
  266. package/dist/chunks/{agent-31azyw44.js → app-xtx2skvw.js} +18 -18
  267. package/dist/chunks/{agent-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{agent-93a8yfjt.js → app-y2cqme3r.js} +5 -5
  269. package/dist/chunks/{agent-awqyf91x.js → app-y4nzzd5t.js} +5 -5
  270. package/dist/chunks/{agent-zevg6rsq.js → app-y78qtzg5.js} +45 -45
  271. package/dist/chunks/{agent-0k2v0y72.js → app-yd4mva7c.js} +4 -4
  272. package/dist/chunks/{agent-yfbd16n1.js → app-yfbd16n1.js} +2 -2
  273. package/dist/chunks/{agent-vx3pgvz4.js → app-yfthbyyg.js} +11 -11
  274. package/dist/chunks/{agent-yg7sb877.js → app-yg7sb877.js} +2 -2
  275. package/dist/chunks/{agent-e457wa0p.js → app-ytqhcam2.js} +15 -15
  276. package/dist/chunks/{agent-xswknbe2.js → app-yy80zasr.js} +14 -14
  277. package/dist/chunks/{agent-z1k01bn4.js → app-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{agent-z3xgatyd.js → app-z3xgatyd.js} +1 -1
  279. package/dist/chunks/{agent-qb76z85q.js → app-z729fpb2.js} +38 -38
  280. package/dist/chunks/{agent-ks21ngwh.js → app-z8emj02k.js} +10 -10
  281. package/dist/chunks/{agent-df7nm8fz.js → app-z9yjs9a7.js} +30 -30
  282. package/dist/chunks/{agent-tcvhc7ea.js → app-znp4r3b7.js} +26 -26
  283. package/dist/chunks/{agent-jrsbke6c.js → app-ztfeypd4.js} +5 -5
  284. package/dist/chunks/{agent-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +79 -79
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +151 -151
  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 +125 -125
  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 +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  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 +114 -114
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +82 -82
  317. package/dist/database/database.js +68 -68
  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 +77 -77
  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 +72 -72
  405. package/dist/file-mutation.js +85 -85
  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 +6 -6
  414. package/dist/filesystem/location-watcher.js +214 -214
  415. package/dist/filesystem/protected.js +3 -3
  416. package/dist/filesystem/search.js +99 -99
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +11 -11
  419. package/dist/filesystem.js +100 -100
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +92 -92
  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 +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +7 -7
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +81 -81
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +73 -73
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +86 -86
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +96 -96
  464. package/dist/mcp/instructions.js +120 -120
  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 +7 -7
  469. package/dist/model-resolver.js +83 -83
  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 +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  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 +98 -98
  482. package/dist/plugin/command.js +95 -95
  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 +116 -116
  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 +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 +339 -339
  533. package/dist/plugin/system-prompt.js +1 -1
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  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 +6 -6
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +216 -216
  546. package/dist/project/schema.js +2 -2
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +79 -79
  549. package/dist/provider.js +7 -7
  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 +92 -92
  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 +91 -91
  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 +127 -127
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +84 -84
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +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 +1 -1
  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 +4 -4
  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 +73 -73
  600. package/dist/session/store.js +84 -84
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +3 -3
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +216 -216
  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 +132 -132
  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 +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +113 -113
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +208 -208
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +106 -106
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +94 -94
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error.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 +5 -5
  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 +1 -1
  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 +78 -78
  667. package/dist/wellknown/plugin.js +72 -72
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +4 -4
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +89 -89
  677. package/package.json +7 -7
  678. package/dist/chunks/agent-9zdhvgqs.js +0 -18
  679. package/dist/chunks/agent-fa7kv0pp.js +0 -247
  680. package/dist/chunks/agent-ngp141x2.js +0 -22
  681. package/dist/chunks/agent-vs313s01.js +0 -20
  682. package/dist/chunks/agent-w3vb4krt.js +0 -4
  683. /package/dist/chunks/{agent-0fabt78z.js → app-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{agent-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{agent-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{agent-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{agent-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{agent-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{agent-2710q6r3.js → app-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{agent-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{agent-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{agent-359p4xyc.js → app-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{agent-3asan66x.js → app-3asan66x.js} +0 -0
  694. /package/dist/chunks/{agent-3t738kvx.js → app-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{agent-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{agent-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{agent-41nvscxy.js → app-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{agent-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{agent-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{agent-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{agent-53557ph1.js → app-53557ph1.js} +0 -0
  702. /package/dist/chunks/{agent-550bvhaj.js → app-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{agent-6prwharc.js → app-6prwharc.js} +0 -0
  704. /package/dist/chunks/{agent-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{agent-7m9af43g.js → app-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{agent-822emrt2.js → app-822emrt2.js} +0 -0
  707. /package/dist/chunks/{agent-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{agent-8n3pysct.js → app-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{agent-982e01ww.js → app-982e01ww.js} +0 -0
  710. /package/dist/chunks/{agent-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{agent-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{agent-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{agent-af5trqkr.js → app-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{agent-afrmfg78.js → app-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{agent-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{agent-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{agent-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{agent-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{agent-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{agent-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{agent-d9fn303g.js → app-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{agent-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{agent-dajrwvna.js → app-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{agent-dap0rakb.js → app-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{agent-df08tz66.js → app-df08tz66.js} +0 -0
  726. /package/dist/chunks/{agent-dy18nga0.js → app-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{agent-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{agent-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{agent-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{agent-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{agent-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{agent-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{agent-faypxj3z.js → app-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{agent-fd410y7t.js → app-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{agent-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{agent-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{agent-g86h250q.js → app-g86h250q.js} +0 -0
  738. /package/dist/chunks/{agent-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{agent-hk9envan.js → app-hk9envan.js} +0 -0
  740. /package/dist/chunks/{agent-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{agent-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{agent-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{agent-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{agent-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{agent-mntxs535.js → app-mntxs535.js} +0 -0
  746. /package/dist/chunks/{agent-mp448xyj.js → app-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{agent-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{agent-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{agent-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{agent-njntx4h6.js → app-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{agent-p8qxwesx.js → app-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{agent-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{agent-q74kybfr.js → app-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{agent-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{agent-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{agent-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{agent-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{agent-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{agent-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{agent-se0s1eqw.js → app-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{agent-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{agent-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{agent-twg0f83k.js → app-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{agent-w803qqfp.js → app-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{agent-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{agent-wtztk69x.js → app-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{agent-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{agent-x1b8g1yb.js → app-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{agent-x61499pn.js → app-x61499pn.js} +0 -0
  770. /package/dist/chunks/{agent-y44na4kk.js → app-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{agent-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{agent-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{agent-z9919s4g.js → app-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{agent-zbjnn3ac.js → app-zbjnn3ac.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ephemeral2,
3
+ Service76,
4
+ node81
5
+ } from "./app-73sszyh7.js";
6
+ import {
3
7
  Service78,
4
8
  node83
5
- } from "./agent-m8mnxh4b.js";
6
- import {
7
- Service69,
8
- node74
9
- } from "./agent-asfb91ym.js";
9
+ } from "./app-9cfwdcc0.js";
10
10
  import {
11
11
  __export
12
- } from "./agent-9rqn6x4v.js";
12
+ } from "./app-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
@@ -19,11 +19,11 @@ __export(exports_wellknown, {
19
19
  Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service67,
22
+ Service: () => Service64,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node71,
26
- resolve: () => resolve3
25
+ node: () => node68,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode-ai/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service67 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service64 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
51
  var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service67, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service69;
81
- const bus = yield* Service78;
80
+ const kv = yield* Service78;
81
+ const bus = yield* Service76;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
112
112
  yield* bus.publish(Event15.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service67.of({
115
+ return Service64.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node71 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node74, node83] });
146
+ var node68 = makeGlobalNode({ service: Service64, layer, deps: [httpClient, node83, node81] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event15, inspect2, resolve3, node71, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service64, Event15, inspect2, resolve2, node68, exports_wellknown };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin11
9
+ Plugin: () => Plugin40
10
10
  });
11
11
  import { define } from "@opencode-ai/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin11 = define({
14
+ var Plugin40 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin11 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin11, exports_mcp_codemode_exclusion };
37
+ export { Plugin40, exports_mcp_codemode_exclusion };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make17,
6
6
  diffByKey2
7
- } from "./agent-1z80kc63.js";
7
+ } from "./app-28pcbh69.js";
8
8
  import {
9
- ID12,
9
+ ID3,
10
10
  Name2,
11
11
  available2,
12
- Service70,
13
- node75
14
- } from "./agent-91aj8tvp.js";
12
+ Service34,
13
+ node37
14
+ } from "./app-28dgmzze.js";
15
15
  import {
16
16
  __export
17
- } from "./agent-9rqn6x4v.js";
17
+ } from "./app-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions5 = {};
21
- __export(exports_instructions5, {
22
- Service: () => Service29,
23
- SkillInstructions: () => exports_instructions5,
24
- node: () => node33
20
+ var exports_instructions2 = {};
21
+ __export(exports_instructions2, {
22
+ Service: () => Service22,
23
+ SkillInstructions: () => exports_instructions2,
24
+ node: () => node26
25
25
  });
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID12,
29
+ id: ID3,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service29 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service22 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service29, Effect.gen(function* () {
66
- const skills = yield* Service70;
67
- return Service29.of({
65
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
66
+ const skills = yield* Service34;
67
+ return Service22.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
- return make20({
74
- key: Key4.make("core/skill-guidance"),
73
+ return make17({
74
+ key: Key3.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node33 = makeLocationNode({ service: Service29, layer, deps: [node75] });
86
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [node37] });
87
87
 
88
- export { Service29, node33, exports_instructions5 };
88
+ export { Service22, node26, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./agent-p8qxwesx.js";
3
+ } from "./app-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID15,
3
- Service74
4
- } from "./agent-eszpqqjx.js";
2
+ ID9,
3
+ Service52
4
+ } from "./app-70a7nh0p.js";
5
5
  import {
6
- Service76
7
- } from "./agent-xkm3xnb1.js";
6
+ Service74
7
+ } from "./app-rrmnk23p.js";
8
8
  import {
9
- Service60
10
- } from "./agent-3mkt1fq8.js";
9
+ Service62
10
+ } from "./app-qp4easfw.js";
11
11
  import {
12
- Service64,
12
+ Service67,
13
13
  args2
14
- } from "./agent-hf34rg9m.js";
14
+ } from "./app-2q46cvfz.js";
15
15
  import {
16
- Service19
17
- } from "./agent-tb635r1t.js";
16
+ Service16
17
+ } from "./app-19zwchw3.js";
18
18
  import {
19
- make9
20
- } from "./agent-d98jztjr.js";
19
+ make6
20
+ } from "./app-3699wah4.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./agent-5daktx2q.js";
23
+ } from "./app-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./agent-9rqn6x4v.js";
26
+ } from "./app-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command2 = {};
30
- __export(exports_command2, {
31
- ConfigCommandPlugin: () => exports_command2,
32
- Plugin: () => Plugin40
29
+ var exports_command = {};
30
+ __export(exports_command, {
31
+ ConfigCommandPlugin: () => exports_command,
32
+ Plugin: () => Plugin31
33
33
  });
34
34
  import { define } from "@opencode-ai/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode-ai/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode-ai/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin40 = define({
44
+ var Plugin31 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service60;
47
+ const config = yield* Service62;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin40 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service76;
57
+ const location = yield* Service74;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service64;
60
- const sessions = yield* Service19;
61
- const agents = yield* Service74;
62
- const subagents = yield* make9;
59
+ const shell = yield* Service67;
60
+ const sessions = yield* Service16;
61
+ const agents = yield* Service52;
62
+ const subagents = yield* make6;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin40 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin40, exports_command2 };
207
+ export { Plugin31, exports_command };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./agent-f0mxakyp.js";
3
+ } from "./app-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./agent-w3wsvvr9.js";
6
+ } from "./app-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./agent-7bmhse3q.js";
9
+ } from "./app-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./agent-cf4snx6d.js";
12
+ } from "./app-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./agent-822emrt2.js";
15
+ } from "./app-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./agent-wd87259q.js";
18
+ } from "./app-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./agent-m9w0rfyh.js";
21
+ } from "./app-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./agent-c6afg63y.js";
3
+ } from "./app-8w717yyx.js";
4
4
  import {
5
5
  __export
6
- } from "./agent-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin36,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint3 = "https://api.tavily.com/search";
18
+ var endpoint4 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin6 = define({
32
+ var Plugin36 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin6 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint3, Plugin6, exports_tavily };
80
+ export { endpoint4, Plugin36, exports_tavily };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./agent-m8mnxh4b.js";
2
+ Service76,
3
+ node81
4
+ } from "./app-73sszyh7.js";
5
5
  import {
6
- Key3,
7
- Service66,
8
- node70
9
- } from "./agent-1rxbh4dg.js";
6
+ Key4,
7
+ Service65,
8
+ node69
9
+ } from "./app-0pnstday.js";
10
10
  import {
11
11
  create3
12
- } from "./agent-kg06axw8.js";
12
+ } from "./app-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./agent-thvv0w5b.js";
16
+ } from "./app-jfzd9m53.js";
17
17
  import {
18
18
  __export
19
- } from "./agent-9rqn6x4v.js";
19
+ } from "./app-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event9,
34
- ID: () => ID5,
35
- Info: () => Info9,
33
+ Event: () => Event11,
34
+ ID: () => ID10,
35
+ Info: () => Info11,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service53,
43
- node: () => node56
42
+ Service: () => Service57,
43
+ node: () => node60
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event9 } from "@opencode-ai/schema/integration";
65
- var ID5 = Integration.ID;
64
+ import { Event as Event11 } from "@opencode-ai/schema/integration";
65
+ var ID10 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info9 = Integration.Info;
73
+ var Info11 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service53 extends Context.Service()("@opencode/Integration") {
90
+ class Service57 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service53, Effect.gen(function* () {
96
- const credentials = yield* Service66;
97
- const bus = yield* Service78;
95
+ var layer = Layer.effect(Service57, Effect.gen(function* () {
96
+ const credentials = yield* Service65;
97
+ const bus = yield* Service76;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
100
100
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info9.make({
190
+ const project = (entry, connections) => Info11.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key3.make({ type: "key", key: exit.value })
274
+ value: Key4.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service53.of({
420
+ return Service57.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key3.make({ type: "key", key }) : undefined;
441
+ return key ? Key4.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key3.make({
474
+ value: Key4.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node56 = makeLocationNode({
569
- service: Service53,
568
+ var node60 = makeLocationNode({
569
+ service: Service57,
570
570
  layer,
571
- deps: [node70, node83, AppProcess.node]
571
+ deps: [node69, node81, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID5, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info9, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service53, node56, exports_integration, Event9 };
574
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info11, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service57, node60, exports_integration, Event11 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./agent-emrn6kk6.js";
4
+ } from "./app-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt2 = {};
7
7
  __export(exports_system_prompt2, {
8
8
  SessionSystemPrompt: () => exports_system_prompt2,
9
- make: () => make16
9
+ make: () => make14
10
10
  });
11
11
 
12
12
  // src/session/runner/prompt/system.txt
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
28
28
  `;
29
29
 
30
30
  // src/session/system-prompt.ts
31
- function make16(tools) {
31
+ function make14(tools) {
32
32
  const instructions = [];
33
33
  if (tools.includes("shell")) {
34
34
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.");
@@ -43,4 +43,4 @@ function make16(tools) {
43
43
  `));
44
44
  }
45
45
 
46
- export { make16, exports_system_prompt2 };
46
+ export { make14, exports_system_prompt2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service75,
10
- node: () => node80
9
+ Service: () => Service44,
10
+ node: () => node47
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service75 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service44 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service75, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service75.of({ has, register, trigger });
57
+ return Service44.of({ has, register, trigger });
58
58
  }));
59
- var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
59
+ var node47 = makeLocationNode({ service: Service44, layer, deps: [] });
60
60
 
61
- export { Service75, node80, exports_hooks };
61
+ export { Service44, node47, exports_hooks };