@opencode/core 0.0.0-dev-19438 → 0.0.0-dev-19439

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 (783) 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 +3 -3
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +81 -81
  8. package/dist/chunks/{file-td1bwv9m.js → formatter-00nm36c8.js} +9 -9
  9. package/dist/chunks/{file-4qbtf2xm.js → formatter-021h0nrt.js} +5 -5
  10. package/dist/chunks/{file-5trk58xb.js → formatter-095yekjx.js} +4 -4
  11. package/dist/chunks/{file-b8n110tt.js → formatter-0ghbvpbq.js} +5 -5
  12. package/dist/chunks/{file-z2maercm.js → formatter-0mckgfc3.js} +32 -32
  13. package/dist/chunks/{file-4rpd5z62.js → formatter-0nm12y21.js} +2 -2
  14. package/dist/chunks/{file-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-99tcg3bm.js → formatter-0ped3br2.js} +11 -11
  16. package/dist/chunks/{file-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{file-d86az2qg.js → formatter-0sz3434e.js} +20 -20
  18. package/dist/chunks/{file-tfg00z1r.js → formatter-0t1gcbnc.js} +16 -16
  19. package/dist/chunks/{file-e6g776ht.js → formatter-0t42w751.js} +18 -18
  20. package/dist/chunks/{file-s3h59be2.js → formatter-0vb1f5pm.js} +22 -22
  21. package/dist/chunks/{file-qbka3964.js → formatter-0vr1v3xt.js} +24 -24
  22. package/dist/chunks/{file-fq1h1v14.js → formatter-18cztcj7.js} +3 -3
  23. package/dist/chunks/{file-yp2x3t23.js → formatter-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{file-mrw4weg4.js → formatter-1ah30sey.js} +5 -5
  25. package/dist/chunks/{file-f3kdsvs6.js → formatter-1cf11pks.js} +26 -26
  26. package/dist/chunks/{file-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{file-fzsrmebp.js → formatter-1j6vcx8p.js} +24 -24
  28. package/dist/chunks/{file-6bg31a94.js → formatter-1trm2ftq.js} +13 -13
  29. package/dist/chunks/{file-21r38tys.js → formatter-21r38tys.js} +1 -1
  30. package/dist/chunks/{file-6h73sxmp.js → formatter-2402vzrj.js} +5 -5
  31. package/dist/chunks/{file-azec8exe.js → formatter-285areat.js} +7 -7
  32. package/dist/chunks/{file-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{file-84tssp1s.js → formatter-2d6j2h4j.js} +6 -6
  34. package/dist/chunks/{file-195b9hkp.js → formatter-2d97fjv4.js} +26 -26
  35. package/dist/chunks/{file-pd9nar43.js → formatter-2dcw9sq7.js} +18 -18
  36. package/dist/chunks/{file-rywfhtnt.js → formatter-2jvn1219.js} +19 -19
  37. package/dist/chunks/{file-7dqw4kz8.js → formatter-2k8khapm.js} +5 -5
  38. package/dist/chunks/{file-9ay0erd8.js → formatter-2msj1ncg.js} +173 -173
  39. package/dist/chunks/{file-5z7h86dp.js → formatter-2pm4epw0.js} +5 -5
  40. package/dist/chunks/{file-3kt1zrpp.js → formatter-2qnv7z47.js} +85 -85
  41. package/dist/chunks/{file-egqspz5t.js → formatter-2syw43ez.js} +9 -9
  42. package/dist/chunks/{file-embw8kgh.js → formatter-2vs2nh1n.js} +4 -4
  43. package/dist/chunks/{file-2sgjhdq8.js → formatter-30txw56n.js} +26 -26
  44. package/dist/chunks/{file-esdnemd6.js → formatter-31dz7cp4.js} +1 -1
  45. package/dist/chunks/{file-56gdpj1q.js → formatter-33w4ejhs.js} +6 -6
  46. package/dist/chunks/formatter-35kzsz4m.js +22 -0
  47. package/dist/chunks/{file-3w2b2yj4.js → formatter-3cfzdc8e.js} +5 -5
  48. package/dist/chunks/{file-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{file-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{file-q043d12m.js → formatter-3hf7z3yq.js} +4 -4
  51. package/dist/chunks/{file-69q31xtv.js → formatter-3pb5g2zf.js} +4 -4
  52. package/dist/chunks/{file-kcvfr73y.js → formatter-3pkm5zsv.js} +46 -46
  53. package/dist/chunks/{file-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  54. package/dist/chunks/{file-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  55. package/dist/chunks/{file-rn18s34v.js → formatter-3vd6qc07.js} +9 -9
  56. package/dist/chunks/{file-z2rxccdg.js → formatter-4b0yvbnv.js} +9 -9
  57. package/dist/chunks/{file-jhtsdbae.js → formatter-4c2c4z0k.js} +34 -34
  58. package/dist/chunks/{file-9v3118pd.js → formatter-4e4zhwn8.js} +26 -26
  59. package/dist/chunks/{file-gj4x8zz6.js → formatter-4j6h5n25.js} +15 -15
  60. package/dist/chunks/{file-1vd4786e.js → formatter-4jwp497k.js} +9 -9
  61. package/dist/chunks/{file-bxxxhdn8.js → formatter-4mxshjsa.js} +21 -21
  62. package/dist/chunks/{file-416qpt5q.js → formatter-4swyx596.js} +30 -30
  63. package/dist/chunks/{file-11h1hnb3.js → formatter-4yg7xpeb.js} +2 -2
  64. package/dist/chunks/{file-fec1vscd.js → formatter-5507e9e8.js} +39 -39
  65. package/dist/chunks/{file-nmpjh5tr.js → formatter-5afqb7wg.js} +30 -30
  66. package/dist/chunks/{file-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  67. package/dist/chunks/{file-j2j5pzjs.js → formatter-5jgkwf9z.js} +5 -5
  68. package/dist/chunks/{file-vabb23s0.js → formatter-5jtdmvnp.js} +1 -1
  69. package/dist/chunks/{file-0cq9sm51.js → formatter-5mbh52c5.js} +34 -34
  70. package/dist/chunks/{file-e7n26ax2.js → formatter-5n6j4vsj.js} +8 -8
  71. package/dist/chunks/{file-xnn90w67.js → formatter-5syt3tya.js} +24 -24
  72. package/dist/chunks/{file-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{file-8qqdnwax.js → formatter-5w7tckb9.js} +15 -15
  74. package/dist/chunks/{file-rbb6h0rd.js → formatter-5yjc0kdb.js} +11 -11
  75. package/dist/chunks/{file-ypy1tgyh.js → formatter-5ztyb0s9.js} +13 -13
  76. package/dist/chunks/{file-206fxkvm.js → formatter-617j0ppb.js} +20 -20
  77. package/dist/chunks/formatter-619r8v3y.js +18 -0
  78. package/dist/chunks/{file-q5sxxe7s.js → formatter-668nd1zd.js} +19 -19
  79. package/dist/chunks/{file-669tq793.js → formatter-669tq793.js} +1 -1
  80. package/dist/chunks/{file-kkmk6wev.js → formatter-66g4p5h5.js} +11 -11
  81. package/dist/chunks/{file-n2egqj3k.js → formatter-68yeam9s.js} +10 -10
  82. package/dist/chunks/{file-g713qgch.js → formatter-6ad8zjmg.js} +22 -22
  83. package/dist/chunks/{file-6jnybvqn.js → formatter-6jnybvqn.js} +2 -2
  84. package/dist/chunks/{file-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{file-gj7pn1ka.js → formatter-6rdehx4s.js} +11 -11
  86. package/dist/chunks/{file-t9qhnrv6.js → formatter-6zjp47af.js} +6 -6
  87. package/dist/chunks/{file-71q4at8m.js → formatter-71q4at8m.js} +1 -1
  88. package/dist/chunks/{file-befft0k5.js → formatter-72yrt324.js} +18 -18
  89. package/dist/chunks/{file-8kpa3sfw.js → formatter-7azxt0pz.js} +25 -25
  90. package/dist/chunks/{file-9vqmh8rd.js → formatter-7be57pfy.js} +25 -25
  91. package/dist/chunks/{file-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  92. package/dist/chunks/{file-91p1v22t.js → formatter-7j2qha59.js} +8 -8
  93. package/dist/chunks/{file-p7r5e3re.js → formatter-7s0w6q3c.js} +27 -27
  94. package/dist/chunks/{file-34202413.js → formatter-7swy916s.js} +25 -25
  95. package/dist/chunks/{file-g5twr0sp.js → formatter-80e0yyk8.js} +14 -14
  96. package/dist/chunks/{file-8s0m5yrh.js → formatter-81k6gtxt.js} +20 -20
  97. package/dist/chunks/{file-zfv8a0ht.js → formatter-85rv8zbb.js} +14 -14
  98. package/dist/chunks/{file-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{file-qefhz522.js → formatter-8dnxqjce.js} +11 -11
  100. package/dist/chunks/{file-8s84r2ab.js → formatter-8g8qrqs2.js} +19 -19
  101. package/dist/chunks/{file-0tqgm7xh.js → formatter-8kpvhf1n.js} +33 -33
  102. package/dist/chunks/{file-nrj82zgb.js → formatter-8n2resjc.js} +28 -28
  103. package/dist/chunks/{file-8p4f9s12.js → formatter-8p4f9s12.js} +2 -2
  104. package/dist/chunks/{file-3kff94q5.js → formatter-8t5w0ytw.js} +6 -6
  105. package/dist/chunks/{file-kyrbgmgz.js → formatter-8z17e00v.js} +2 -2
  106. package/dist/chunks/{file-79rym0vx.js → formatter-8z52dtec.js} +18 -18
  107. package/dist/chunks/{file-t33aqq77.js → formatter-90p59b3a.js} +8 -8
  108. package/dist/chunks/{file-t3ejw313.js → formatter-9adx019p.js} +41 -41
  109. package/dist/chunks/{file-ngx16gc5.js → formatter-9bzc32ne.js} +12 -12
  110. package/dist/chunks/{file-ja6srv6s.js → formatter-9dafp5sw.js} +29 -29
  111. package/dist/chunks/{file-75v5avbv.js → formatter-9gk1gqp3.js} +6 -6
  112. package/dist/chunks/formatter-9hmhmwp5.js +462 -0
  113. package/dist/chunks/{file-x5df1stp.js → formatter-9ht5y0bp.js} +58 -58
  114. package/dist/chunks/{file-n92g5px8.js → formatter-9mxd4efq.js} +17 -17
  115. package/dist/chunks/{file-81swgkk7.js → formatter-9pv0dm11.js} +9 -9
  116. package/dist/chunks/{file-xp2ajnz8.js → formatter-9rzgchqg.js} +24 -24
  117. package/dist/chunks/{file-wc01vwq2.js → formatter-9z5mp38j.js} +19 -19
  118. package/dist/chunks/{file-0p4j4cv0.js → formatter-9zswys26.js} +9 -9
  119. package/dist/chunks/{file-a1bz86dw.js → formatter-a1bz86dw.js} +3 -3
  120. package/dist/chunks/{file-awz7xhfp.js → formatter-a4exdnt3.js} +4 -4
  121. package/dist/chunks/{file-tsdrwk88.js → formatter-a5mbhza4.js} +11 -11
  122. package/dist/chunks/{file-v3smhzc7.js → formatter-a7xpxmvw.js} +23 -23
  123. package/dist/chunks/{file-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  124. package/dist/chunks/{file-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  125. package/dist/chunks/{file-szgy4byf.js → formatter-bajakh74.js} +4 -4
  126. package/dist/chunks/{file-wb1yzg53.js → formatter-bdhtzght.js} +20 -20
  127. package/dist/chunks/{file-reygygas.js → formatter-bkqv14q1.js} +6 -6
  128. package/dist/chunks/{file-0bc9xa41.js → formatter-bpvz3mp1.js} +15 -15
  129. package/dist/chunks/{file-5cvqq58e.js → formatter-bz38aey9.js} +3 -3
  130. package/dist/chunks/{file-verq85zk.js → formatter-c3w3adeh.js} +4 -4
  131. package/dist/chunks/{file-67mjd9te.js → formatter-c92gkee6.js} +9 -9
  132. package/dist/chunks/{file-vsp1fds9.js → formatter-cavr175a.js} +21 -21
  133. package/dist/chunks/{file-614n5vxr.js → formatter-cbf23dhs.js} +14 -14
  134. package/dist/chunks/{file-gqzswqpg.js → formatter-cct3q0a5.js} +32 -32
  135. package/dist/chunks/{file-cfpkc3c9.js → formatter-cfpkc3c9.js} +2 -2
  136. package/dist/chunks/{file-n3ehebhz.js → formatter-crc3g98t.js} +12 -12
  137. package/dist/chunks/{file-ntp00jbn.js → formatter-ctck25gh.js} +51 -51
  138. package/dist/chunks/{file-3yknbgq7.js → formatter-d3cg80ds.js} +11 -11
  139. package/dist/chunks/{file-qaeybh9m.js → formatter-d7r387ef.js} +6 -6
  140. package/dist/chunks/{file-nmwa5e32.js → formatter-dam1xtkf.js} +13 -13
  141. package/dist/chunks/{file-pvp2wc9z.js → formatter-dbmntw5q.js} +11 -11
  142. package/dist/chunks/{file-2cmcktmr.js → formatter-dh76dsr9.js} +10 -10
  143. package/dist/chunks/{file-xr2q0tqq.js → formatter-dtqv72tr.js} +23 -23
  144. package/dist/chunks/{file-31hyewty.js → formatter-dv1d3m2q.js} +40 -40
  145. package/dist/chunks/{file-xck56rmx.js → formatter-dyrkrqpz.js} +37 -37
  146. package/dist/chunks/{file-ms6rwfbv.js → formatter-e07ezkqg.js} +31 -31
  147. package/dist/chunks/{file-mdcc0ar8.js → formatter-ea17m5x7.js} +28 -28
  148. package/dist/chunks/{file-jh9jg79a.js → formatter-edqrezaz.js} +11 -11
  149. package/dist/chunks/{file-8x96bj0m.js → formatter-edrmdtr5.js} +4 -4
  150. package/dist/chunks/{file-87deq66t.js → formatter-eq20ba7x.js} +4 -4
  151. package/dist/chunks/{file-rbwxp75v.js → formatter-esv2341e.js} +36 -36
  152. package/dist/chunks/{file-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  153. package/dist/chunks/{file-he3a9kdv.js → formatter-f1yt1w90.js} +27 -27
  154. package/dist/chunks/{file-6jekb6p7.js → formatter-f3bjm0g3.js} +18 -18
  155. package/dist/chunks/{file-s7vx81dz.js → formatter-f81hbz6h.js} +9 -9
  156. package/dist/chunks/{file-f828m53h.js → formatter-f828m53h.js} +2 -2
  157. package/dist/chunks/{file-h2gyv3sg.js → formatter-f9bavhm2.js} +1 -1
  158. package/dist/chunks/{file-2ff89mrc.js → formatter-fbb40q07.js} +4 -4
  159. package/dist/chunks/{file-agmzfzv5.js → formatter-fbj83e1y.js} +16 -16
  160. package/dist/chunks/{file-dx6t03ys.js → formatter-fghqpq1c.js} +2 -2
  161. package/dist/chunks/{file-8pnwjqbd.js → formatter-fp08gjcx.js} +21 -21
  162. package/dist/chunks/{file-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
  163. package/dist/chunks/{file-zts5fb25.js → formatter-g8jasmdt.js} +11 -11
  164. package/dist/chunks/{file-vjjshyym.js → formatter-g9yjs11r.js} +22 -22
  165. package/dist/chunks/{file-ew6y6y1a.js → formatter-gab2tx2v.js} +30 -30
  166. package/dist/chunks/{file-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{file-9yb9755z.js → formatter-ggdbhyt9.js} +13 -13
  168. package/dist/chunks/{file-1enyjv7v.js → formatter-gkx770bk.js} +13 -13
  169. package/dist/chunks/{file-jvdqbckk.js → formatter-gmwb692f.js} +13 -13
  170. package/dist/chunks/{file-jjwvsmw4.js → formatter-gp9htv6t.js} +6 -6
  171. package/dist/chunks/{file-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
  172. package/dist/chunks/{file-v9n7g2jp.js → formatter-gw0b7z6j.js} +48 -48
  173. package/dist/chunks/{file-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
  174. package/dist/chunks/{file-52az7e5h.js → formatter-h2zbnnby.js} +16 -16
  175. package/dist/chunks/{file-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  176. package/dist/chunks/{file-qacd23e2.js → formatter-hatqt65p.js} +4 -4
  177. package/dist/chunks/{file-c4vq1gr4.js → formatter-hdbh06sf.js} +27 -27
  178. package/dist/chunks/{file-nrrb2a3e.js → formatter-hjny2139.js} +25 -25
  179. package/dist/chunks/{file-nhy5jxhy.js → formatter-hjt4xg1x.js} +4 -4
  180. package/dist/chunks/{file-3n1sj9mp.js → formatter-hk4vbwmw.js} +1 -1
  181. package/dist/chunks/{file-zn15gz72.js → formatter-hvdm4zjc.js} +9 -9
  182. package/dist/chunks/{file-b3xk0srv.js → formatter-j06bdbff.js} +38 -38
  183. package/dist/chunks/{file-m4w483hc.js → formatter-j0bxhyf1.js} +6 -6
  184. package/dist/chunks/{file-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  185. package/dist/chunks/{file-gzbkpp9m.js → formatter-j8zzr2am.js} +6 -6
  186. package/dist/chunks/{file-3yjg5mh2.js → formatter-jexxy024.js} +3 -3
  187. package/dist/chunks/{file-vypqtakx.js → formatter-jy16bfac.js} +1 -1
  188. package/dist/chunks/{file-e3qzfmye.js → formatter-kabm8qet.js} +18 -18
  189. package/dist/chunks/{file-kg06axw8.js → formatter-kg06axw8.js} +1 -1
  190. package/dist/chunks/{file-bv5t9bgg.js → formatter-krdddzze.js} +10 -10
  191. package/dist/chunks/{file-rb7pkpgx.js → formatter-m4b8n7qx.js} +27 -27
  192. package/dist/chunks/{file-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{file-b3ab3ctg.js → formatter-mdjvh03d.js} +6 -6
  194. package/dist/chunks/{file-7yh4e7ss.js → formatter-mhkvc446.js} +3 -3
  195. package/dist/chunks/{file-mkcjrzeh.js → formatter-mkcjrzeh.js} +1 -1
  196. package/dist/chunks/{file-ck83t0ny.js → formatter-mmwejawh.js} +25 -25
  197. package/dist/chunks/{file-famamp43.js → formatter-mssymtw4.js} +22 -22
  198. package/dist/chunks/{file-vq3dh784.js → formatter-n5d2spsf.js} +20 -20
  199. package/dist/chunks/{file-rctdwqm8.js → formatter-nbqjn8b8.js} +13 -13
  200. package/dist/chunks/{file-k2cps1w2.js → formatter-ndn3zy2s.js} +16 -16
  201. package/dist/chunks/{file-xbet31bz.js → formatter-nszmkgp8.js} +35 -35
  202. package/dist/chunks/{file-cqyrr4jp.js → formatter-nx7dmtbq.js} +91 -91
  203. package/dist/chunks/{file-sb15f9kd.js → formatter-p1kh2k2v.js} +22 -22
  204. package/dist/chunks/{file-fjmrr6sh.js → formatter-p1wf2k30.js} +9 -9
  205. package/dist/chunks/{file-j935v87r.js → formatter-paphc93g.js} +2 -2
  206. package/dist/chunks/{file-sqmt1xrx.js → formatter-pcfzsj1n.js} +32 -32
  207. package/dist/chunks/{file-2r4xr41j.js → formatter-pd5ra043.js} +23 -23
  208. package/dist/chunks/{file-fydnx5fx.js → formatter-pf1rkfgd.js} +41 -41
  209. package/dist/chunks/{file-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{file-pknna89w.js → formatter-pknna89w.js} +1 -1
  211. package/dist/chunks/{file-xncegbyh.js → formatter-ptaftxqm.js} +6 -6
  212. package/dist/chunks/{file-2rk3das1.js → formatter-py4eyt8z.js} +22 -22
  213. package/dist/chunks/{file-xe3tttza.js → formatter-q0b5npqy.js} +10 -10
  214. package/dist/chunks/{file-56j57pys.js → formatter-qa1nr178.js} +15 -15
  215. package/dist/chunks/{file-ff8vf18q.js → formatter-qa5ynrpv.js} +7 -7
  216. package/dist/chunks/formatter-qapv375x.js +4 -0
  217. package/dist/chunks/{file-3trbxeqx.js → formatter-qmr73083.js} +1 -1
  218. package/dist/chunks/{file-11tcp5y8.js → formatter-qpxqmgt2.js} +4 -4
  219. package/dist/chunks/{file-wkwfxgj3.js → formatter-qr27hz8v.js} +4 -4
  220. package/dist/chunks/{file-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  221. package/dist/chunks/{file-wh05710z.js → formatter-r6mys28c.js} +45 -45
  222. package/dist/chunks/{file-664j63h8.js → formatter-r94jn7mf.js} +20 -20
  223. package/dist/chunks/{file-r9mregkx.js → formatter-r9mregkx.js} +2 -2
  224. package/dist/chunks/{file-zh30k3px.js → formatter-re8aperj.js} +9 -9
  225. package/dist/chunks/{file-d5n4bh35.js → formatter-reya8m0q.js} +26 -26
  226. package/dist/chunks/{file-ce5fknq2.js → formatter-rmk2c50f.js} +5 -5
  227. package/dist/chunks/{file-88sz8qcd.js → formatter-rsdf2nvv.js} +4 -4
  228. package/dist/chunks/{file-ec8389mk.js → formatter-s0esgemt.js} +4 -4
  229. package/dist/chunks/{file-d1xvm4af.js → formatter-s0sr0rvp.js} +11 -11
  230. package/dist/chunks/{file-0kzzmtkd.js → formatter-s3fk1mhb.js} +16 -16
  231. package/dist/chunks/{file-0z8fjeev.js → formatter-s54pw8rz.js} +17 -17
  232. package/dist/chunks/{file-3fj0ehej.js → formatter-skxg4786.js} +41 -41
  233. package/dist/chunks/{file-rs226bz6.js → formatter-sv9bpgvh.js} +5 -5
  234. package/dist/chunks/{file-37y0x4sa.js → formatter-t1vfcksq.js} +15 -15
  235. package/dist/chunks/{file-jxj1g7d6.js → formatter-t3ev4bbs.js} +5 -5
  236. package/dist/chunks/{file-t550f9t1.js → formatter-t550f9t1.js} +1 -1
  237. package/dist/chunks/{file-qcv4hsrb.js → formatter-t56rre3z.js} +13 -13
  238. package/dist/chunks/{file-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{file-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-a28msnrx.js → formatter-tcgf8zsh.js} +4 -4
  241. package/dist/chunks/{file-tdstcens.js → formatter-tdstcens.js} +1 -1
  242. package/dist/chunks/formatter-tkmn4y3s.js +247 -0
  243. package/dist/chunks/{file-w6vgwbtw.js → formatter-ts6jc9rr.js} +33 -33
  244. package/dist/chunks/{file-ashvqh0k.js → formatter-ttgj08hp.js} +8 -8
  245. package/dist/chunks/{file-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  246. package/dist/chunks/{file-844ef7ks.js → formatter-v4hmzr0r.js} +8 -8
  247. package/dist/chunks/{file-9k2v62xn.js → formatter-v8ch97zc.js} +1 -1
  248. package/dist/chunks/{file-b3c6xmwh.js → formatter-vadmf725.js} +18 -18
  249. package/dist/chunks/{file-9ch41db7.js → formatter-vcx64ysh.js} +35 -35
  250. package/dist/chunks/{file-9bj2cvf7.js → formatter-vdnmb5h5.js} +9 -9
  251. package/dist/chunks/{file-hq8zt1th.js → formatter-ve6nm2s5.js} +6 -6
  252. package/dist/chunks/{file-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  253. package/dist/chunks/{file-an7cqtb7.js → formatter-vncycja5.js} +4 -4
  254. package/dist/chunks/{file-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{file-eykg37vx.js → formatter-w0psxf7y.js} +15 -15
  256. package/dist/chunks/{file-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{file-7ebn0nc0.js → formatter-w4arg62q.js} +6 -6
  258. package/dist/chunks/{file-03zt5v0h.js → formatter-w4vfbj5y.js} +11 -11
  259. package/dist/chunks/{file-dgbe4bt1.js → formatter-w6jjpet8.js} +18 -18
  260. package/dist/chunks/{file-wd87259q.js → formatter-wd87259q.js} +1 -1
  261. package/dist/chunks/{file-pnfpsavj.js → formatter-wmpm68aq.js} +5 -5
  262. package/dist/chunks/{file-e7c5hh0v.js → formatter-wmsepf1h.js} +7 -7
  263. package/dist/chunks/{file-yc3z3e63.js → formatter-wnhwz1p5.js} +13 -13
  264. package/dist/chunks/{file-b3wkxfg9.js → formatter-wx9wy1qm.js} +1 -1
  265. package/dist/chunks/{file-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{file-k4t1n3ds.js → formatter-x1msyfgj.js} +8 -8
  267. package/dist/chunks/{file-kk4kf303.js → formatter-x4hnyy7a.js} +11 -11
  268. package/dist/chunks/{file-1wv7z5mx.js → formatter-xbtmma79.js} +32 -32
  269. package/dist/chunks/{file-1302kqpv.js → formatter-y0m5vzhp.js} +57 -57
  270. package/dist/chunks/{file-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{file-xacpwbjs.js → formatter-y5eyw352.js} +9 -9
  272. package/dist/chunks/{file-jwcy2c2z.js → formatter-y71avatq.js} +4 -4
  273. package/dist/chunks/{file-y2vrj84a.js → formatter-y74fwv73.js} +3 -3
  274. package/dist/chunks/{file-8n8qbvvf.js → formatter-y88dd9am.js} +32 -32
  275. package/dist/chunks/{file-m20ewzpv.js → formatter-y9nhn27x.js} +30 -30
  276. package/dist/chunks/{file-b4ssmz4r.js → formatter-ybhbtxjg.js} +9 -9
  277. package/dist/chunks/{file-yddgxcp4.js → formatter-yddgxcp4.js} +2 -2
  278. package/dist/chunks/{file-p1nm93x7.js → formatter-yjptyezs.js} +5 -5
  279. package/dist/chunks/{file-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{file-s4enseaf.js → formatter-yrznvahk.js} +2 -2
  281. package/dist/chunks/{file-yt0fqk68.js → formatter-yt0fqk68.js} +2 -2
  282. package/dist/chunks/{file-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-29x78va6.js → formatter-z63w68vq.js} +6 -6
  284. package/dist/chunks/{file-1tx98gn3.js → formatter-zc49taxq.js} +14 -14
  285. package/dist/chunks/{file-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{file-wxg97684.js → formatter-zemgttac.js} +25 -25
  287. package/dist/chunks/{file-gtwpvwn0.js → formatter-zkae56be.js} +68 -68
  288. package/dist/chunks/{file-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{file-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +115 -115
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +361 -361
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +216 -216
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +98 -98
  426. package/dist/form.js +80 -80
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +82 -82
  429. package/dist/generate.js +93 -93
  430. package/dist/git.js +3 -3
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +83 -83
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +1 -1
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +82 -82
  460. package/dist/job.js +71 -71
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +80 -80
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +110 -110
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +3 -3
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +339 -339
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +92 -92
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +124 -124
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +119 -119
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +147 -147
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +214 -214
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +7 -7
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +114 -114
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +105 -105
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +2 -2
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +77 -77
  679. package/dist/workspace/driver.js +3 -3
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +76 -76
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/file-0mesazry.js +0 -4
  689. package/dist/chunks/file-bxsmgxt8.js +0 -22
  690. package/dist/chunks/file-dk9ef0gz.js +0 -247
  691. package/dist/chunks/file-ht5y0zrb.js +0 -18
  692. package/dist/chunks/file-m2eczmet.js +0 -462
  693. /package/dist/chunks/{file-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{file-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{file-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{file-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{file-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{file-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{file-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{file-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{file-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{file-3asan66x.js → formatter-3asan66x.js} +0 -0
  703. /package/dist/chunks/{file-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{file-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{file-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{file-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{file-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{file-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{file-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{file-53557ph1.js → formatter-53557ph1.js} +0 -0
  711. /package/dist/chunks/{file-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{file-6prwharc.js → formatter-6prwharc.js} +0 -0
  713. /package/dist/chunks/{file-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-822emrt2.js → formatter-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-922hggd3.js → formatter-922hggd3.js} +0 -0
  719. /package/dist/chunks/{file-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-df08tz66.js → formatter-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{file-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{file-g86h250q.js → formatter-g86h250q.js} +0 -0
  748. /package/dist/chunks/{file-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{file-gftt206x.js → formatter-gftt206x.js} +0 -0
  750. /package/dist/chunks/{file-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{file-hk9envan.js → formatter-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-hrnqkpcd.js → formatter-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{file-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{file-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{file-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{file-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{file-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{file-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{file-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{file-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{file-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{file-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{file-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{file-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{file-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{file-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{file-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{file-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{file-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{file-twg0f83k.js → formatter-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{file-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{file-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{file-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{file-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{file-x61499pn.js → formatter-x61499pn.js} +0 -0
  779. /package/dist/chunks/{file-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{file-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{file-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{file-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{file-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-5t3nmthw.js";
3
+ } from "./formatter-5t3nmthw.js";
4
4
  import {
5
- Service52,
6
- node55
7
- } from "./file-t3ejw313.js";
5
+ Service60,
6
+ node63
7
+ } from "./formatter-9adx019p.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate2 = {};
14
- __export(exports_generate2, {
15
- Generate: () => exports_generate2,
13
+ var exports_generate = {};
14
+ __export(exports_generate, {
15
+ Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service31,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer15,
20
- node: () => node35
17
+ Service: () => Service23,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer11,
20
+ node: () => node27
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service31 extends Context.Service()("@opencode/Generate") {
36
+ class Service23 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer15 = Layer.effect(Service31, Effect.gen(function* () {
38
+ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service52;
40
+ const resolver = yield* Service60;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -45,28 +45,28 @@ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError",
46
46
  "SessionRunnerModel.UnsupportedCompactionError"
47
47
  ], (error) => {
48
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
48
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
49
49
  return Effect.fail(mapped);
50
50
  }));
51
51
  if (!resolved)
52
52
  return yield* new ModelSelectionError2({
53
53
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
54
54
  });
55
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
55
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
56
56
  message: error.message,
57
57
  service: resolved.ref.providerID
58
58
  })));
59
59
  return response.text;
60
60
  });
61
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service31.of({ text });
64
+ return Service23.of({ text });
65
65
  }));
66
- var node35 = makeLocationNode({
67
- service: Service31,
68
- layer: layer15,
69
- deps: [node55, llmClient2]
66
+ var node27 = makeLocationNode({
67
+ service: Service23,
68
+ layer: layer11,
69
+ deps: [node63, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError2, Service31, layer15, node35, exports_generate2 };
72
+ export { ModelSelectionError2, UnavailableError3, Service23, layer11, node27, exports_generate };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID16
3
- } from "./file-84tssp1s.js";
2
+ ID15
3
+ } from "./formatter-2d6j2h4j.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID15,
16
- Info: () => Info29,
15
+ ID: () => ID14,
16
+ Info: () => Info28,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref4,
19
+ Ref: () => Ref3,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
- parse: () => parse4
22
+ parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID15 = Model.ID;
25
+ var ID14 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref4 = Model.Ref;
33
- var Info29 = Model.Info;
32
+ var Ref3 = Model.Ref;
33
+ var Info28 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -38,12 +38,12 @@ function compatibility2(input) {
38
38
  return;
39
39
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
40
40
  }
41
- function parse4(input) {
41
+ function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID15.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info29, compatibility2, parse4, exports_model2 };
49
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node84
4
+ } from "./formatter-s0sr0rvp.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./file-f828m53h.js";
7
+ } from "./formatter-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info11,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID10,
17
+ Info: () => Info23,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service57,
21
- node: () => node60
20
+ Service: () => Service68,
21
+ node: () => node71
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info11 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID10 = PermissionSaved.ID;
29
+ var Info23 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service57 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service68 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service57, Effect.gen(function* () {
42
- const db = (yield* Service79).db;
41
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
42
+ const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID8.create(),
56
+ id: ID10.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service57.of({ list, add, remove });
65
+ return Service68.of({ list, add, remove });
66
66
  }));
67
- var node60 = makeGlobalNode({ service: Service57, layer, deps: [node83] });
67
+ var node71 = makeGlobalNode({ service: Service68, layer, deps: [node84] });
68
68
 
69
- export { ID8, Info11, ListInput5, AddInput2, Service57, node60, exports_saved };
69
+ export { ID10, Info23, ListInput4, AddInput2, Service68, node71, exports_saved };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service61
3
- } from "./file-xnn90w67.js";
2
+ Service63
3
+ } from "./formatter-5syt3tya.js";
4
4
  import {
5
- Service55
6
- } from "./file-x5df1stp.js";
5
+ Service67
6
+ } from "./formatter-9ht5y0bp.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./formatter-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: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
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 name13 = "question";
26
+ var name14 = "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 Input13 = Schema.Struct({
37
+ var Input14 = 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 Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service61;
57
- const permission = yield* Service55;
56
+ const forms = yield* Service63;
57
+ const permission = yield* Service67;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
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 { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-qaymkmh1.js";
3
+ } from "./formatter-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./file-5t3nmthw.js";
3
+ } from "./formatter-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service22,
11
+ Service: () => Service38,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer10,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node27
15
+ node: () => node42
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service22 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service22.of({ bind, close, closeAll });
359
+ return Service38.of({ bind, close, closeAll });
360
360
  }));
361
- var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node27 = makeGlobalNode({ service: Service22, layer: layer10, deps: [webSocketConstructor2] });
364
+ var node42 = makeGlobalNode({ service: Service38, layer: layer16, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service22, makeLayer2, layer10, node27, exports_model_transport };
366
+ export { Service38, makeLayer2, layer16, node42, exports_model_transport };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./file-d1xvm4af.js";
2
+ Service80,
3
+ node84
4
+ } from "./formatter-s0sr0rvp.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./file-a1bz86dw.js";
8
+ } from "./formatter-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load2
12
- } from "./file-jh9jg79a.js";
11
+ load3
12
+ } from "./formatter-edqrezaz.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./file-4rpd5z62.js";
15
+ } from "./formatter-0nm12y21.js";
16
16
  import {
17
17
  __export
18
- } from "./file-9rqn6x4v.js";
18
+ } from "./formatter-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service56,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service69,
25
25
  SessionStore: () => exports_store,
26
- node: () => node59
26
+ node: () => node72
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service56 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service69 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service56, Effect.gen(function* () {
58
- const { db } = yield* Service79;
59
- return Service56.of({
57
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
58
+ const { db } = yield* Service80;
59
+ return Service69.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node59 = makeGlobalNode({ service: Service56, layer, deps: [node83] });
128
+ var node72 = makeGlobalNode({ service: Service69, layer, deps: [node84] });
129
129
 
130
- export { ListInput4, Service56, node59, exports_store };
130
+ export { ListInput5, Service69, node72, exports_store };
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node84
4
+ } from "./formatter-s0sr0rvp.js";
1
5
  import {
2
6
  Service79,
3
7
  node83
4
- } from "./file-d1xvm4af.js";
5
- import {
6
- Service78,
7
- node82
8
- } from "./file-0kzzmtkd.js";
8
+ } from "./formatter-s3fk1mhb.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./file-pknna89w.js";
11
+ } from "./formatter-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-0q0f95c6.js";
14
+ } from "./formatter-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event18,
24
- ID: () => ID14,
25
- Info: () => Info28,
23
+ Event: () => Event20,
24
+ ID: () => ID18,
25
+ Info: () => Info33,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service74,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node78
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID18 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event18 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info33 extends Schema.Class("Credential.Info")({
44
+ id: ID18,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service74 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service74, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info33({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service74.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: ID14.create(),
79
+ const credential = new Info33({
80
+ id: ID18.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event18.Updated, {}, { global: true });
105
- yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event18.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event18.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node78 = makeGlobalNode({ service: Service74, layer, deps: [node83, node82] });
196
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node84, node83] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event18, Info28, Service74, node78, exports_credential };
198
+ export { ID18, OAuth3, Key4, Value2, Event20, Info33, Service78, node82, exports_credential };