@opencode/core 0.0.0-dev-20180 → 0.0.0-dev-20183

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{git-tjaz3ert.js → app-04mwcks8.js} +16 -16
  8. package/dist/chunks/{git-baaqp4zd.js → app-06x8he3q.js} +4 -4
  9. package/dist/chunks/{git-qzx88zny.js → app-07m27n2f.js} +31 -31
  10. package/dist/chunks/{git-ny5pcte9.js → app-0bncb0zr.js} +154 -154
  11. package/dist/chunks/{git-e252jyjm.js → app-0k7rzmkv.js} +26 -26
  12. package/dist/chunks/app-0mesazry.js +4 -0
  13. package/dist/chunks/{git-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{git-gng5hxs7.js → app-0t3s8gwj.js} +12 -12
  15. package/dist/chunks/{git-z97943y0.js → app-0y8j0jwb.js} +32 -32
  16. package/dist/chunks/{git-ynctgny0.js → app-0zs2jmpx.js} +38 -38
  17. package/dist/chunks/{git-1a08kc09.js → app-17j7xjjx.js} +19 -19
  18. package/dist/chunks/{git-49w8mb30.js → app-17j9h1rv.js} +8 -8
  19. package/dist/chunks/{git-73tb2d7t.js → app-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{git-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{git-ss0awb04.js → app-1tq060df.js} +4 -4
  22. package/dist/chunks/{git-1m9mvz04.js → app-1wapx8hq.js} +14 -14
  23. package/dist/chunks/{git-q35enfgt.js → app-21qee8pd.js} +3 -3
  24. package/dist/chunks/{git-21r38tys.js → app-21r38tys.js} +1 -1
  25. package/dist/chunks/{git-29x78va6.js → app-29x78va6.js} +2 -2
  26. package/dist/chunks/{git-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{git-c0ze6azg.js → app-2ewsd7dz.js} +15 -15
  28. package/dist/chunks/{git-5m30x6et.js → app-2krf6z0f.js} +17 -17
  29. package/dist/chunks/{git-2w73900m.js → app-2q7knkvv.js} +50 -50
  30. package/dist/chunks/{git-0v6jwyy3.js → app-2rqb0n2e.js} +18 -18
  31. package/dist/chunks/{git-vkg4cfmh.js → app-2sfcmm48.js} +13 -13
  32. package/dist/chunks/{git-gppf410q.js → app-30dn86p1.js} +21 -21
  33. package/dist/chunks/{git-pnqe9gv0.js → app-37mwd34b.js} +1 -1
  34. package/dist/chunks/{git-369htbx8.js → app-381tf59s.js} +18 -18
  35. package/dist/chunks/{git-vq9f2bt3.js → app-3bwzg9n3.js} +88 -88
  36. package/dist/chunks/{git-62600c50.js → app-3cc30kq4.js} +15 -15
  37. package/dist/chunks/{git-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{git-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{git-an7cqtb7.js → app-3j8sdtpz.js} +4 -4
  40. package/dist/chunks/{git-gs4tkc79.js → app-3ms0g86c.js} +8 -8
  41. package/dist/chunks/{git-666kj367.js → app-3rmaeae4.js} +3 -3
  42. package/dist/chunks/{git-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{git-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{git-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{git-xf3b7ak0.js → app-41wzkj33.js} +12 -12
  46. package/dist/chunks/{git-860rnwef.js → app-4bjnnp4e.js} +15 -15
  47. package/dist/chunks/{git-kpk8zhaq.js → app-4gvbb2mg.js} +32 -32
  48. package/dist/chunks/{git-jmarqnvm.js → app-4nmwwe2n.js} +11 -11
  49. package/dist/chunks/{git-may19ace.js → app-4s9c1cby.js} +36 -36
  50. package/dist/chunks/{git-8x95hpt8.js → app-4w6pnabk.js} +54 -54
  51. package/dist/chunks/{git-xh2n1tx9.js → app-4y1a8kv7.js} +38 -38
  52. package/dist/chunks/{git-56gdpj1q.js → app-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{git-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{git-5daktx2q.js → app-5daktx2q.js} +1 -1
  55. package/dist/chunks/{git-bkynabhq.js → app-5ha5de5a.js} +36 -36
  56. package/dist/chunks/{git-n19t397f.js → app-5kr47n8m.js} +17 -17
  57. package/dist/chunks/{git-swp2mva0.js → app-5n4zza11.js} +31 -31
  58. package/dist/chunks/{git-e66q86e2.js → app-5nr495b5.js} +41 -41
  59. package/dist/chunks/{git-60at6cp5.js → app-5qtwg0c9.js} +21 -21
  60. package/dist/chunks/{git-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{git-n1ka8r9d.js → app-5xpznt2d.js} +4 -4
  62. package/dist/chunks/{git-wtwjc2y3.js → app-60z9p1zw.js} +22 -22
  63. package/dist/chunks/{git-669tq793.js → app-669tq793.js} +1 -1
  64. package/dist/chunks/{git-4xxchepr.js → app-6df1s2zp.js} +15 -15
  65. package/dist/chunks/{git-91995yx2.js → app-6e60b89z.js} +20 -20
  66. package/dist/chunks/{git-2402vzrj.js → app-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{git-g9ch0q6b.js → app-6kzbhvf9.js} +28 -28
  68. package/dist/chunks/{git-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{git-cycs76hc.js → app-6r17xzga.js} +5 -5
  70. package/dist/chunks/{git-t51qk8jz.js → app-6sr3ve8g.js} +4 -4
  71. package/dist/chunks/{git-y906m0ew.js → app-6vq97qmv.js} +5 -5
  72. package/dist/chunks/{git-wy9kf037.js → app-762k0108.js} +7 -7
  73. package/dist/chunks/{git-ehrxfcx9.js → app-772x3yj2.js} +12 -12
  74. package/dist/chunks/{git-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{git-xe0rw7pk.js → app-7t177gfd.js} +25 -25
  76. package/dist/chunks/{git-a2ew8a62.js → app-806j49yq.js} +4 -4
  77. package/dist/chunks/{git-mkegk1gd.js → app-81vvm6at.js} +45 -45
  78. package/dist/chunks/app-82yqp303.js +252 -0
  79. package/dist/chunks/{git-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{git-c0nbb22r.js → app-8hr617rk.js} +13 -13
  81. package/dist/chunks/{git-xtqytmaw.js → app-8nz49acp.js} +36 -36
  82. package/dist/chunks/{git-ch4sbhb0.js → app-8prskhzj.js} +9 -9
  83. package/dist/chunks/{git-s7s657b9.js → app-8vmhfmbz.js} +11 -11
  84. package/dist/chunks/{git-94ek1h2f.js → app-94ek1h2f.js} +2 -2
  85. package/dist/chunks/{git-ytzyys1x.js → app-9jcr10np.js} +1 -1
  86. package/dist/chunks/{git-8fhj4thy.js → app-9n26hfc3.js} +33 -33
  87. package/dist/chunks/{git-vk04hqkj.js → app-9skm3yw2.js} +7 -7
  88. package/dist/chunks/{git-s2n17b9m.js → app-a26qxgdt.js} +16 -16
  89. package/dist/chunks/{git-xyqxxema.js → app-a2xk245q.js} +48 -48
  90. package/dist/chunks/{git-x79d2r0k.js → app-a5gqm4c9.js} +6 -6
  91. package/dist/chunks/{git-k96br1zw.js → app-a72gbv29.js} +12 -12
  92. package/dist/chunks/{git-3z8etzyw.js → app-a76g130h.js} +46 -46
  93. package/dist/chunks/{git-h8r7rjgh.js → app-a7cargxb.js} +35 -35
  94. package/dist/chunks/{git-hymttjhr.js → app-a9rzk6y3.js} +9 -9
  95. package/dist/chunks/{git-aaet6srn.js → app-aaet6srn.js} +2 -2
  96. package/dist/chunks/{git-afed7ext.js → app-adk9my66.js} +12 -12
  97. package/dist/chunks/{git-mscdvfrd.js → app-ahsg504y.js} +4 -4
  98. package/dist/chunks/{git-mr3aysrj.js → app-am9m0s2t.js} +29 -29
  99. package/dist/chunks/{git-q95ya1jw.js → app-ax56929r.js} +22 -22
  100. package/dist/chunks/{git-xgdt0b3g.js → app-azmax92t.js} +6 -6
  101. package/dist/chunks/{git-rx7w6kha.js → app-b4nhm8bs.js} +48 -48
  102. package/dist/chunks/{git-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{git-cyk2d3fq.js → app-b7b9y31v.js} +25 -25
  104. package/dist/chunks/{git-3wcq71ej.js → app-bd9pgsph.js} +3 -3
  105. package/dist/chunks/{git-x9zytbhm.js → app-bh8ke73z.js} +6 -6
  106. package/dist/chunks/{git-vkc0skh6.js → app-bjd689ev.js} +8 -8
  107. package/dist/chunks/{git-cvcxksr2.js → app-bwd0y37m.js} +14 -14
  108. package/dist/chunks/{git-83h78zw0.js → app-c9e7vqn3.js} +6 -6
  109. package/dist/chunks/{git-7gp0zx07.js → app-cbtv2dmn.js} +9 -9
  110. package/dist/chunks/{git-6z9mwsmt.js → app-ccs41bz9.js} +22 -22
  111. package/dist/chunks/{git-ckecvw8r.js → app-ckecvw8r.js} +2 -2
  112. package/dist/chunks/{git-gb4zbcp8.js → app-ckj0j7na.js} +11 -11
  113. package/dist/chunks/{git-f2r29xz8.js → app-cqh4n8r9.js} +34 -34
  114. package/dist/chunks/{git-rr6984r4.js → app-cvgzt2jg.js} +12 -12
  115. package/dist/chunks/{git-g0mmemcf.js → app-cw2mjhhm.js} +12 -12
  116. package/dist/chunks/{git-2sejkfem.js → app-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{git-rny04ytj.js → app-d1v55qp5.js} +10 -10
  118. package/dist/chunks/{git-zv3zq7g4.js → app-d3ybp0kx.js} +5 -5
  119. package/dist/chunks/{git-kjwmhxpf.js → app-d60vjyrj.js} +12 -12
  120. package/dist/chunks/{git-fpmq6gma.js → app-d87ppnb3.js} +5 -5
  121. package/dist/chunks/{git-sr6b03ft.js → app-dcngajy7.js} +23 -23
  122. package/dist/chunks/{git-30m7dzgk.js → app-dn5wevn0.js} +15 -15
  123. package/dist/chunks/{git-cytt16d4.js → app-dppfft2v.js} +13 -13
  124. package/dist/chunks/{git-xfkkasph.js → app-drwq78ky.js} +4 -4
  125. package/dist/chunks/{git-mx3acdr1.js → app-dwae9e5x.js} +3 -3
  126. package/dist/chunks/{git-v2qc2ynm.js → app-dy5f8vtz.js} +23 -23
  127. package/dist/chunks/{git-7gvwkz6m.js → app-ead3g9p8.js} +5 -5
  128. package/dist/chunks/{git-4yeg4r3m.js → app-eb1vd11r.js} +15 -15
  129. package/dist/chunks/{git-ecfe7b91.js → app-ecfe7b91.js} +2 -2
  130. package/dist/chunks/{git-6sjtj90m.js → app-ed0vge4d.js} +6 -6
  131. package/dist/chunks/{git-w7y24cr5.js → app-een8gttx.js} +30 -30
  132. package/dist/chunks/{git-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{git-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{git-4h80zy7w.js → app-f11fm5rt.js} +8 -8
  135. package/dist/chunks/{git-5rqt673j.js → app-f4821swv.js} +58 -58
  136. package/dist/chunks/{git-bh499fqr.js → app-f6fxmw8k.js} +9 -9
  137. package/dist/chunks/{git-d3mxekym.js → app-f7a7fxkf.js} +14 -14
  138. package/dist/chunks/{git-g1sxm558.js → app-fgktf29t.js} +8 -8
  139. package/dist/chunks/{git-fjvydvzm.js → app-fjvydvzm.js} +1 -1
  140. package/dist/chunks/{git-5frpgbe6.js → app-fp8f3fwd.js} +24 -24
  141. package/dist/chunks/{git-94tqfv3g.js → app-fvvvn3xt.js} +12 -12
  142. package/dist/chunks/{git-fm5zmhxr.js → app-fx7nf9wq.js} +17 -17
  143. package/dist/chunks/{git-pa8pe2x7.js → app-g0445xdp.js} +8 -8
  144. package/dist/chunks/{git-t9kh7ffs.js → app-g0mqs9ke.js} +11 -11
  145. package/dist/chunks/{git-rgs1nxgt.js → app-g3fwpptv.js} +21 -21
  146. package/dist/chunks/{git-kenzbab6.js → app-g6kd9wnb.js} +27 -27
  147. package/dist/chunks/{git-tej6vbjz.js → app-g6y5eke2.js} +16 -16
  148. package/dist/chunks/{git-thnfwydy.js → app-g751tqet.js} +46 -46
  149. package/dist/chunks/{git-nqpk6sgc.js → app-g9k4z160.js} +7 -7
  150. package/dist/chunks/{git-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{git-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  152. package/dist/chunks/{git-80qyyxzp.js → app-gwtnskww.js} +21 -21
  153. package/dist/chunks/app-gyce5qg1.js +18 -0
  154. package/dist/chunks/{git-m4gdtjrg.js → app-h3beccv2.js} +20 -20
  155. package/dist/chunks/{git-h6r3nrb9.js → app-h6r3nrb9.js} +1 -1
  156. package/dist/chunks/{git-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{git-xnxs98wq.js → app-hbaf146g.js} +32 -32
  158. package/dist/chunks/{git-d93m8bwv.js → app-hsfpjhe3.js} +22 -22
  159. package/dist/chunks/{git-0n6mwmv5.js → app-j34tctwe.js} +6 -6
  160. package/dist/chunks/{git-j56e64zr.js → app-j56e64zr.js} +1 -1
  161. package/dist/chunks/{git-dcb4ftaw.js → app-j6c2947d.js} +1 -1
  162. package/dist/chunks/{git-bgc5ggmx.js → app-j8m1p4p1.js} +4 -4
  163. package/dist/chunks/{git-tbmac1c7.js → app-jewzahs7.js} +4 -4
  164. package/dist/chunks/{git-g92xzkhq.js → app-jfgzrkfd.js} +3 -3
  165. package/dist/chunks/{git-mmwan2gk.js → app-jjh1kqak.js} +15 -15
  166. package/dist/chunks/{git-m9mm3axp.js → app-jmafhyzf.js} +23 -23
  167. package/dist/chunks/{git-8p4z7qek.js → app-jnjzrgfb.js} +4 -4
  168. package/dist/chunks/{git-e89z02f5.js → app-jpn3snb8.js} +42 -42
  169. package/dist/chunks/{git-30pwp36g.js → app-jq4a9y4s.js} +10 -10
  170. package/dist/chunks/{git-8awf735n.js → app-jvhw5feb.js} +9 -9
  171. package/dist/chunks/{git-6zpczexw.js → app-jwmy08gh.js} +10 -10
  172. package/dist/chunks/{git-e4mdbxmf.js → app-jzm3dw47.js} +3 -3
  173. package/dist/chunks/{git-mt57nh0v.js → app-k0vfxb4k.js} +23 -23
  174. package/dist/chunks/{git-qk0gpxf2.js → app-k18ytf7m.js} +8 -8
  175. package/dist/chunks/{git-k3c624dm.js → app-k3c624dm.js} +3 -3
  176. package/dist/chunks/{git-wk5z6jzv.js → app-kp8q1t60.js} +9 -9
  177. package/dist/chunks/{git-cyhp5vj1.js → app-kpz2hpxg.js} +3 -3
  178. package/dist/chunks/{git-thq55e10.js → app-ktc86f7m.js} +23 -23
  179. package/dist/chunks/{git-2h9n59sv.js → app-ktmxpr9b.js} +6 -6
  180. package/dist/chunks/{git-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{git-4q3nzy60.js → app-m8e7ztd5.js} +3 -3
  182. package/dist/chunks/{git-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{git-e21mpqmm.js → app-msede844.js} +16 -16
  184. package/dist/chunks/{git-hehaxqkv.js → app-mwwxnxty.js} +4 -4
  185. package/dist/chunks/{git-zw6dw17q.js → app-myd3b094.js} +17 -17
  186. package/dist/chunks/{git-qg0jgkcp.js → app-n35d2xk4.js} +9 -9
  187. package/dist/chunks/{git-8ehf9qx8.js → app-nc7x9c24.js} +2 -2
  188. package/dist/chunks/{git-92a4ap4w.js → app-p1nm93x7.js} +5 -5
  189. package/dist/chunks/{git-84073t5h.js → app-p6m2jw0c.js} +31 -31
  190. package/dist/chunks/{git-j67w5na4.js → app-pa5fajgc.js} +10 -10
  191. package/dist/chunks/{git-zw786g3k.js → app-pa6tn4dn.js} +24 -24
  192. package/dist/chunks/{git-hh3jtzcy.js → app-pany3nnr.js} +14 -14
  193. package/dist/chunks/{git-s0d28j9p.js → app-pax4wwbn.js} +26 -26
  194. package/dist/chunks/{git-09d8031r.js → app-pb4k0zyb.js} +32 -32
  195. package/dist/chunks/{git-0pr3hkd7.js → app-pf9pgydg.js} +4 -4
  196. package/dist/chunks/{git-2wj8n25z.js → app-phjaars8.js} +6 -6
  197. package/dist/chunks/{git-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{git-pknna89w.js → app-pknna89w.js} +1 -1
  199. package/dist/chunks/{git-ets61prm.js → app-q132mq55.js} +22 -22
  200. package/dist/chunks/{git-3vrh6sd1.js → app-q20b9c35.js} +11 -11
  201. package/dist/chunks/{git-11nfjzd7.js → app-q7ar3ry6.js} +18 -18
  202. package/dist/chunks/{git-rd143bxj.js → app-qatg2v12.js} +3 -3
  203. package/dist/chunks/{git-tbv16z2n.js → app-qersht4q.js} +4 -4
  204. package/dist/chunks/{git-7dqw4kz8.js → app-qgn6gcr1.js} +5 -5
  205. package/dist/chunks/{git-mgmaefw5.js → app-qhfx9m4p.js} +8 -8
  206. package/dist/chunks/{git-qf43y6bq.js → app-qj0e4t2j.js} +13 -13
  207. package/dist/chunks/{git-fcbfm0sn.js → app-qjkadte7.js} +18 -18
  208. package/dist/chunks/{git-yw133b83.js → app-qk25y3ed.js} +10 -10
  209. package/dist/chunks/{git-rtathh62.js → app-qpbc7zwf.js} +8 -8
  210. package/dist/chunks/{git-h4z1mxff.js → app-qrds72pd.js} +5 -5
  211. package/dist/chunks/{git-qsdy395h.js → app-qsdy395h.js} +1 -1
  212. package/dist/chunks/{git-3jt824p6.js → app-qz2fsytq.js} +21 -21
  213. package/dist/chunks/{git-bemvq2t2.js → app-r2bcgb1d.js} +35 -35
  214. package/dist/chunks/{git-ff2gveh4.js → app-r7qvzhps.js} +16 -16
  215. package/dist/chunks/{git-end0w5gf.js → app-r8wf6j98.js} +13 -13
  216. package/dist/chunks/{git-d9v0jgcb.js → app-rczr7grn.js} +24 -24
  217. package/dist/chunks/{git-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{git-8sze2n9a.js → app-rkprpv83.js} +6 -6
  219. package/dist/chunks/{git-4d3460jv.js → app-rks7y0xb.js} +11 -11
  220. package/dist/chunks/{git-ss7d1vek.js → app-rqr024yb.js} +11 -11
  221. package/dist/chunks/{git-nkbv9bpr.js → app-rs4pcg3z.js} +334 -334
  222. package/dist/chunks/{git-2hd68st2.js → app-rxmg1584.js} +73 -73
  223. package/dist/chunks/{git-3heg1ssy.js → app-rzs3gq0x.js} +8 -8
  224. package/dist/chunks/{git-s4enseaf.js → app-s4enseaf.js} +2 -2
  225. package/dist/chunks/{git-gjc5er36.js → app-s7y4804s.js} +9 -9
  226. package/dist/chunks/{git-t550f9t1.js → app-s8d7rejh.js} +4 -4
  227. package/dist/chunks/{git-frtx2nz8.js → app-spgs379g.js} +13 -13
  228. package/dist/chunks/{git-n9esk63t.js → app-ss7gbv6r.js} +20 -20
  229. package/dist/chunks/{git-nhf6180g.js → app-t2w908bg.js} +11 -11
  230. package/dist/chunks/{git-hazy572e.js → app-t9tb71he.js} +14 -14
  231. package/dist/chunks/{git-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{git-xy26ekgv.js → app-tb3b9sw6.js} +12 -12
  233. package/dist/chunks/{git-vjmtwjf8.js → app-tbcsea09.js} +94 -94
  234. package/dist/chunks/{git-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{git-n7d88tpn.js → app-tdhfktd2.js} +3 -3
  236. package/dist/chunks/{git-tdstcens.js → app-tdstcens.js} +1 -1
  237. package/dist/chunks/{git-j5cwm3bm.js → app-tmg40ghk.js} +1 -1
  238. package/dist/chunks/{git-tvtrv512.js → app-tvtrv512.js} +1 -1
  239. package/dist/chunks/{git-0jw0xscs.js → app-v1gkvhxg.js} +21 -21
  240. package/dist/chunks/{git-y9ddfctt.js → app-v4tbcz23.js} +35 -35
  241. package/dist/chunks/{git-z4eg18an.js → app-v96s264c.js} +18 -18
  242. package/dist/chunks/{git-h7fdnx8v.js → app-vb4g9dae.js} +4 -4
  243. package/dist/chunks/{git-aamttb2x.js → app-vbxncmzn.js} +10 -10
  244. package/dist/chunks/{git-114q0qvg.js → app-vc7vckp8.js} +14 -14
  245. package/dist/chunks/{git-veqvce7d.js → app-veqvce7d.js} +1 -1
  246. package/dist/chunks/{git-wtznwfdr.js → app-vhe5gjfh.js} +1 -1
  247. package/dist/chunks/{git-cy9wafaf.js → app-vnqd9frj.js} +21 -21
  248. package/dist/chunks/{git-hdab2k61.js → app-vqfzq50h.js} +6 -6
  249. package/dist/chunks/{git-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{git-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{git-zvwz45r0.js → app-w3nq1sqw.js} +9 -9
  252. package/dist/chunks/{git-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{git-brpwvc6v.js → app-w97pdczc.js} +9 -9
  254. package/dist/chunks/{git-zmn0srxy.js → app-wcda6taw.js} +18 -18
  255. package/dist/chunks/{git-wd3x2cqz.js → app-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{git-wd87259q.js → app-wd87259q.js} +1 -1
  257. package/dist/chunks/{git-99x4at9v.js → app-wd8qy4jf.js} +11 -11
  258. package/dist/chunks/{git-5ab0pca5.js → app-ws59qfe7.js} +15 -15
  259. package/dist/chunks/{git-1q898j1r.js → app-wsvzkehx.js} +17 -17
  260. package/dist/chunks/{git-89dkfx8j.js → app-wx4a3jh4.js} +28 -28
  261. package/dist/chunks/{git-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{git-4atcys8t.js → app-x2cmdckx.js} +27 -27
  263. package/dist/chunks/{git-p7e63y9d.js → app-x37dysgs.js} +28 -28
  264. package/dist/chunks/{git-b8kjk650.js → app-x5vahk43.js} +8 -8
  265. package/dist/chunks/{git-dmqcgk4z.js → app-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{git-1ydncxvh.js → app-xq5ct9qr.js} +4 -4
  267. package/dist/chunks/{git-nth02yt4.js → app-xtnpp68a.js} +12 -12
  268. package/dist/chunks/{git-dtnr7rkm.js → app-xw0zhdsg.js} +22 -22
  269. package/dist/chunks/{git-sj9kkzcn.js → app-xy4s0ftx.js} +28 -28
  270. package/dist/chunks/{git-e9sbwmmk.js → app-y0sv1x8h.js} +33 -33
  271. package/dist/chunks/{git-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{git-4cey7m6q.js → app-y4egsfsk.js} +7 -7
  273. package/dist/chunks/{git-cvjw7wsr.js → app-y4jwevgg.js} +8 -8
  274. package/dist/chunks/{git-y71avatq.js → app-y71avatq.js} +1 -1
  275. package/dist/chunks/{git-rke4besn.js → app-ya9fx2vp.js} +6 -6
  276. package/dist/chunks/{git-cy4fed9j.js → app-yb8taw9s.js} +26 -26
  277. package/dist/chunks/{git-yp2x3t23.js → app-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{git-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{git-pd1ntcfr.js → app-yxwncw5d.js} +29 -29
  280. package/dist/chunks/{git-z07pqspn.js → app-z07pqspn.js} +3 -3
  281. package/dist/chunks/{git-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{git-f80p04w6.js → app-z5a3g3fm.js} +8 -8
  283. package/dist/chunks/{git-pb6cen25.js → app-z895wpav.js} +7 -7
  284. package/dist/chunks/{git-smrz51yc.js → app-zbc4823q.js} +2 -2
  285. package/dist/chunks/{git-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{git-fss1wqpp.js → app-zfeqee33.js} +13 -13
  287. package/dist/chunks/{git-77ev5h06.js → app-zgq7793f.js} +22 -22
  288. package/dist/chunks/{git-kbegyq1c.js → app-zjx5ttkw.js} +2 -2
  289. package/dist/chunks/{git-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{git-67str9pe.js → app-zsv6wfhn.js} +25 -25
  291. package/dist/chunks/{git-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{git-pfm9gbeb.js → app-zy8mqy84.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +80 -80
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +80 -80
  467. package/dist/job.js +77 -77
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +85 -85
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +108 -108
  479. package/dist/mcp/instructions.js +126 -126
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +96 -96
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +105 -105
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +120 -120
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +2 -2
  560. package/dist/plugin/websearch/parallel.js +8 -8
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +6 -6
  563. package/dist/plugin.js +227 -227
  564. package/dist/project/schema.js +2 -2
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +84 -84
  567. package/dist/provider.js +93 -93
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +98 -98
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +91 -91
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +3 -3
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +132 -132
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +224 -224
  588. package/dist/session/execution.js +126 -126
  589. package/dist/session/generate.js +153 -153
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +86 -86
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +79 -79
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +4 -4
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +1 -1
  606. package/dist/session/runner/index.js +3 -3
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +172 -172
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +3 -3
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +219 -219
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +220 -220
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +13 -13
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +105 -105
  636. package/dist/skill.js +110 -110
  637. package/dist/snapshot.js +91 -91
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +127 -127
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +116 -116
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +105 -105
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +217 -217
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +217 -217
  654. package/dist/tool/plugin/webfetch.js +106 -106
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +4 -4
  672. package/dist/v1/config/command.js +3 -3
  673. package/dist/v1/config/config.js +14 -14
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +1 -1
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +3 -3
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +4 -4
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +93 -93
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +89 -89
  690. package/dist/websearch.js +84 -84
  691. package/dist/wellknown/plugin.js +76 -76
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +7 -7
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +78 -78
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +10 -10
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/git-6kdq0pjd.js +0 -4
  703. package/dist/chunks/git-ctefx7dc.js +0 -18
  704. package/dist/chunks/git-d62r6e8r.js +0 -252
  705. /package/dist/chunks/{git-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{git-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{git-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{git-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{git-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{git-24dcb14g.js → app-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{git-2710q6r3.js → app-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{git-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{git-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{git-34c7v6d4.js → app-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{git-359p4xyc.js → app-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{git-3asan66x.js → app-3asan66x.js} +0 -0
  717. /package/dist/chunks/{git-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{git-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{git-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{git-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{git-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{git-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{git-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{git-53557ph1.js → app-53557ph1.js} +0 -0
  725. /package/dist/chunks/{git-550bvhaj.js → app-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{git-6prwharc.js → app-6prwharc.js} +0 -0
  727. /package/dist/chunks/{git-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{git-7m9af43g.js → app-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{git-822emrt2.js → app-822emrt2.js} +0 -0
  730. /package/dist/chunks/{git-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{git-8n3pysct.js → app-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{git-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{git-922hggd3.js → app-922hggd3.js} +0 -0
  734. /package/dist/chunks/{git-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{git-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{git-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{git-af5trqkr.js → app-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{git-afrmfg78.js → app-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{git-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{git-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{git-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{git-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{git-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{git-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{git-d9fn303g.js → app-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{git-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{git-dajrwvna.js → app-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{git-dap0rakb.js → app-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{git-df08tz66.js → app-df08tz66.js} +0 -0
  750. /package/dist/chunks/{git-dy18nga0.js → app-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{git-e3qxr5gk.js → app-e3qxr5gk.js} +0 -0
  752. /package/dist/chunks/{git-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{git-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{git-ec1grn59.js → app-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{git-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{git-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{git-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{git-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{git-faypxj3z.js → app-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{git-fd410y7t.js → app-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{git-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{git-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{git-g86h250q.js → app-g86h250q.js} +0 -0
  764. /package/dist/chunks/{git-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{git-gftt206x.js → app-gftt206x.js} +0 -0
  766. /package/dist/chunks/{git-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{git-hk9envan.js → app-hk9envan.js} +0 -0
  768. /package/dist/chunks/{git-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{git-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{git-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{git-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{git-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{git-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{git-mp448xyj.js → app-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{git-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{git-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{git-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{git-njntx4h6.js → app-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{git-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{git-q74kybfr.js → app-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{git-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{git-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{git-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{git-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{git-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{git-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{git-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{git-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{git-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{git-w803qqfp.js → app-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{git-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{git-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{git-wtztk69x.js → app-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{git-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{git-x61499pn.js → app-x61499pn.js} +0 -0
  796. /package/dist/chunks/{git-y44na4kk.js → app-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{git-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{git-y8f7s663.js → app-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{git-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{git-ym463w8f.js → app-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{git-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./git-922hggd3.js";
4
+ } from "./app-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./git-afed7ext.js";
8
+ Service83,
9
+ node87
10
+ } from "./app-adk9my66.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./git-d3mxekym.js";
12
+ Service78,
13
+ node82
14
+ } from "./app-f7a7fxkf.js";
15
15
  import {
16
16
  create3
17
- } from "./git-rdw6cm16.js";
17
+ } from "./app-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./git-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID6,
27
- Service: () => Service44,
25
+ Error: () => Error2,
26
+ ID: () => ID5,
27
+ Service: () => Service29,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node47,
29
+ node: () => node32,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service44 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service29 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service44, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service83;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID5.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node47 = makeLocationNode({
144
- service: Service44,
143
+ var node32 = makeLocationNode({
144
+ service: Service29,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node87, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
148
+ var noopLayer2 = Layer.succeed(Service29, Service29.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
166
+ export { ID5, Error2, Service29, node32, noopLayer2, exports_snapshot2 };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-q35enfgt.js";
4
+ } from "./app-21qee8pd.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./git-kjwmhxpf.js";
6
+ Service80,
7
+ node84
8
+ } from "./app-d60vjyrj.js";
9
9
  import {
10
- Service55,
11
- node57
12
- } from "./git-62600c50.js";
10
+ Service43,
11
+ node45
12
+ } from "./app-3cc30kq4.js";
13
13
  import {
14
- Service51,
15
- node53
16
- } from "./git-hdab2k61.js";
14
+ Service41,
15
+ node43
16
+ } from "./app-vqfzq50h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./git-ec1grn59.js";
19
+ } from "./app-ec1grn59.js";
20
20
  import {
21
21
  make16
22
- } from "./git-yp2x3t23.js";
22
+ } from "./app-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service50
26
- } from "./git-baaqp4zd.js";
25
+ Service39
26
+ } from "./app-06x8he3q.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./git-x79d2r0k.js";
29
+ } from "./app-a5gqm4c9.js";
30
30
  import {
31
- Service57,
32
- node59
33
- } from "./git-hazy572e.js";
31
+ Service45,
32
+ node47
33
+ } from "./app-t9tb71he.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./git-mscdvfrd.js";
36
+ } from "./app-ahsg504y.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./git-3jt824p6.js";
39
+ } from "./app-qz2fsytq.js";
40
40
  import {
41
41
  __export
42
- } from "./git-9rqn6x4v.js";
42
+ } from "./app-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service49,
47
+ Service: () => Service38,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer19,
50
- node: () => node52,
49
+ layer: () => layer14,
50
+ node: () => node41,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service49 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service38 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer19 = Layer.effect(Service49, Effect.gen(function* () {
69
- const store = yield* Service57;
70
- const instances = yield* Service51;
71
- const bus = yield* Service83;
72
- const jobs = yield* Service55;
68
+ var layer14 = Layer.effect(Service38, Effect.gen(function* () {
69
+ const store = yield* Service45;
70
+ const instances = yield* Service41;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service43;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,7 +82,7 @@ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service39.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -110,7 +110,7 @@ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service49.of({
113
+ return Service38.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer19 = Layer.effect(Service49, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node52 = makeGlobalNode({
133
- service: Service49,
134
- layer: layer19,
135
- deps: [node59, node53, node87, node88, node57]
132
+ var node41 = makeGlobalNode({
133
+ service: Service38,
134
+ layer: layer14,
135
+ deps: [node47, node43, node84, node88, node45]
136
136
  });
137
- var noopLayer3 = Layer.succeed(Service49, Service49.of({
137
+ var noopLayer3 = Layer.succeed(Service38, Service38.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service49, Service49.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service49, terminal2, layer19, node52, noopLayer3, exports_execution };
146
+ export { Service38, terminal2, layer14, node41, noopLayer3, exports_execution };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./git-rdw6cm16.js";
3
+ } from "./app-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./git-qaymkmh1.js";
6
+ } from "./app-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service69,
14
+ Options: () => Options10,
15
+ Service: () => Service73,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured9,
18
+ configured: () => configured11,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node73,
24
+ node: () => node77,
25
25
  ps: () => ps2,
26
- resolve: () => resolve2
26
+ resolve: () => resolve4
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service69 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service73 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve2(input, configShell, options, bin) {
167
+ function resolve4(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve2.reset = () => {
183
+ resolve4.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service69.of({
202
+ return Service73.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured9(options) {
210
- return makeLocationNode({ service: Service69, layer: layer(options), deps: [Global.node] });
209
+ function configured11(options) {
210
+ return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node73 = configured9();
212
+ var node77 = configured11();
213
213
 
214
- export { Options7, Service69, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured9, node73, exports_select };
214
+ export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured11, node77, exports_select };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./git-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
- Info23
6
- } from "./git-t51qk8jz.js";
5
+ Info19
6
+ } from "./app-6sr3ve8g.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent4 = {};
13
13
  __export(exports_agent4, {
14
14
  ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info22
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(Info23)
47
+ permission: Schema.optional(Info19)
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 Info22 = 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 { Info22, exports_agent4 };
74
+ export { Info18, exports_agent4 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./git-qaymkmh1.js";
3
+ } from "./app-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make10(input) {
8
+ function make7(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make10 };
264
+ export { make7 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./git-2a5m3afh.js";
5
+ } from "./app-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./git-9rqn6x4v.js";
8
+ } from "./app-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
@@ -8,7 +8,7 @@ __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
10
  Entry: () => Entry4,
11
- Info: () => Info20,
11
+ Info: () => Info25,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info20 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info25 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info20, exports_lsp };
84
+ export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info25, exports_lsp };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78
3
- } from "./git-v2qc2ynm.js";
2
+ Service77
3
+ } from "./app-dy5f8vtz.js";
4
4
  import {
5
- Service56
6
- } from "./git-8x95hpt8.js";
5
+ Service44
6
+ } from "./app-4w6pnabk.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin51,
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";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/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
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service78;
57
- const permission = yield* Service56;
56
+ const forms = yield* Service77;
57
+ const permission = yield* Service44;
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
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin51, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./git-cyhp5vj1.js";
3
+ } from "./app-kpz2hpxg.js";
4
4
  import {
5
5
  apply3
6
- } from "./git-mx3acdr1.js";
6
+ } from "./app-dwae9e5x.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./git-2axfhc9x.js";
3
+ } from "./app-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};