@opencode/core 0.0.0-dev-21362 → 0.0.0-dev-21368

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{tool-dnt051dx.js → schema-0dzgkxam.js} +38 -38
  8. package/dist/chunks/{tool-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
  9. package/dist/chunks/{tool-jv204pn8.js → schema-0vfyfqrd.js} +6 -6
  10. package/dist/chunks/{tool-37nhdnh0.js → schema-1323fv79.js} +4 -4
  11. package/dist/chunks/{tool-ehkcedfy.js → schema-1bs8104e.js} +8 -8
  12. package/dist/chunks/{tool-fxyrfkeq.js → schema-1f1kaem6.js} +8 -8
  13. package/dist/chunks/{tool-3eneve4b.js → schema-1ffg5m5z.js} +46 -46
  14. package/dist/chunks/{tool-cn8yddnn.js → schema-1knv165j.js} +26 -26
  15. package/dist/chunks/{tool-0nyyp0wg.js → schema-1rmqtx3n.js} +12 -12
  16. package/dist/chunks/{tool-f8fhdr9r.js → schema-1skh4z6z.js} +29 -29
  17. package/dist/chunks/{tool-713g62m8.js → schema-1xy3bbfj.js} +330 -330
  18. package/dist/chunks/{tool-2ae0q92z.js → schema-2ae0q92z.js} +3 -3
  19. package/dist/chunks/{tool-2s6t35ks.js → schema-2bep3sk1.js} +4 -4
  20. package/dist/chunks/{tool-ft3hqk2c.js → schema-2sejkfem.js} +9 -9
  21. package/dist/chunks/{tool-zc68hza3.js → schema-2yjh3x6q.js} +18 -18
  22. package/dist/chunks/{tool-mchgfn78.js → schema-2znnk454.js} +14 -14
  23. package/dist/chunks/{tool-4e8vs6eh.js → schema-30846h32.js} +8 -8
  24. package/dist/chunks/{tool-z629hdve.js → schema-33srfa0b.js} +10 -10
  25. package/dist/chunks/{tool-xag3qx04.js → schema-36gdk6sm.js} +17 -17
  26. package/dist/chunks/{tool-9ay43wn2.js → schema-3cn8netw.js} +21 -21
  27. package/dist/chunks/{tool-f5ct3k6s.js → schema-3f75xvkg.js} +18 -18
  28. package/dist/chunks/{tool-wjapg7ww.js → schema-3gasgs0k.js} +5 -5
  29. package/dist/chunks/{tool-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{tool-3hwn7j4h.js → schema-3hwn7j4h.js} +2 -2
  31. package/dist/chunks/{tool-nj4kxd9v.js → schema-3q4zrqsz.js} +45 -45
  32. package/dist/chunks/{tool-yvvvp4gn.js → schema-3rtxz4nr.js} +8 -8
  33. package/dist/chunks/{tool-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{tool-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  35. package/dist/chunks/{tool-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{tool-zpfaeg84.js → schema-4176b2yk.js} +30 -30
  37. package/dist/chunks/{tool-6mbm070j.js → schema-42kfqa6a.js} +30 -30
  38. package/dist/chunks/{tool-6kfemk62.js → schema-4459cj4r.js} +28 -28
  39. package/dist/chunks/{tool-v7z2bvyd.js → schema-44ak30pa.js} +4 -4
  40. package/dist/chunks/{tool-0r3c1bmw.js → schema-47jkzegy.js} +5 -5
  41. package/dist/chunks/{tool-arz7hw7x.js → schema-48kw51zw.js} +3 -3
  42. package/dist/chunks/{tool-8d5fwhns.js → schema-4a32pvx7.js} +1 -1
  43. package/dist/chunks/{tool-b14jzmzs.js → schema-4bgsdwgm.js} +31 -31
  44. package/dist/chunks/{tool-0413hwj4.js → schema-4c7g6ymp.js} +40 -40
  45. package/dist/chunks/{tool-xr8wmf3z.js → schema-4d3127hb.js} +19 -19
  46. package/dist/chunks/{tool-rdsy7yvm.js → schema-4j4wwavy.js} +12 -12
  47. package/dist/chunks/{tool-djw0pnbs.js → schema-4j8ys442.js} +92 -92
  48. package/dist/chunks/{tool-xsft43nm.js → schema-4teq5az6.js} +54 -54
  49. package/dist/chunks/{tool-wh6zw745.js → schema-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{tool-54ma36ye.js → schema-54ma36ye.js} +1 -1
  51. package/dist/chunks/{tool-5g57z1ma.js → schema-5g57z1ma.js} +1 -1
  52. package/dist/chunks/{tool-dt8v8cc6.js → schema-5gydnkt7.js} +16 -16
  53. package/dist/chunks/{tool-zr0b5yc7.js → schema-5j21s5mr.js} +25 -25
  54. package/dist/chunks/{tool-5m9w47nd.js → schema-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{tool-q8nrjm55.js → schema-5mbpffke.js} +10 -10
  56. package/dist/chunks/{tool-9jtmtwne.js → schema-5t1axb3v.js} +13 -13
  57. package/dist/chunks/{tool-trj535fm.js → schema-5zscwwge.js} +3 -3
  58. package/dist/chunks/{tool-vmdagwb0.js → schema-66fgvbn3.js} +19 -19
  59. package/dist/chunks/{tool-6827pfxn.js → schema-6827pfxn.js} +1 -1
  60. package/dist/chunks/{tool-4kjbsxnw.js → schema-6fkw3p3r.js} +4 -4
  61. package/dist/chunks/{tool-w73xcbgf.js → schema-6fyhx42r.js} +17 -17
  62. package/dist/chunks/{tool-455yydvh.js → schema-6kp05j0h.js} +20 -20
  63. package/dist/chunks/{tool-6pc27hjz.js → schema-6pc27hjz.js} +2 -2
  64. package/dist/chunks/{tool-n4rwe75z.js → schema-6pxm0met.js} +47 -47
  65. package/dist/chunks/{tool-3nmfsz90.js → schema-6w7d1qme.js} +14 -14
  66. package/dist/chunks/{tool-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{tool-ctd2f7xq.js → schema-6xkcg1y6.js} +27 -27
  68. package/dist/chunks/{tool-hbq1mjfv.js → schema-74mhpw3w.js} +25 -25
  69. package/dist/chunks/{tool-q846csbm.js → schema-75ytgrqn.js} +21 -21
  70. package/dist/chunks/{tool-775gj3j1.js → schema-775gj3j1.js} +2 -2
  71. package/dist/chunks/{tool-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{tool-7dqw4kz8.js → schema-7dqw4kz8.js} +1 -1
  73. package/dist/chunks/{tool-atsf9aqe.js → schema-7erbtyx3.js} +11 -11
  74. package/dist/chunks/{tool-zkaac646.js → schema-7pest08f.js} +9 -9
  75. package/dist/chunks/{tool-asd51m7s.js → schema-7vx8fxzm.js} +87 -87
  76. package/dist/chunks/{tool-mn1waazh.js → schema-80jay3zv.js} +32 -32
  77. package/dist/chunks/{tool-81f7vt2z.js → schema-81f7vt2z.js} +1 -1
  78. package/dist/chunks/{tool-jr4tj8tx.js → schema-825jjjdc.js} +25 -25
  79. package/dist/chunks/{tool-88jzmhd2.js → schema-84kr3hab.js} +8 -8
  80. package/dist/chunks/{tool-84txncab.js → schema-84txncab.js} +1 -1
  81. package/dist/chunks/{tool-t5pnv4sj.js → schema-87n3rrnw.js} +32 -32
  82. package/dist/chunks/{tool-tcezcvh9.js → schema-89znhe33.js} +4 -4
  83. package/dist/chunks/{tool-wpj6vp23.js → schema-8m22mfav.js} +32 -32
  84. package/dist/chunks/{tool-8m6m0r52.js → schema-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{tool-8mywswrd.js → schema-8mywswrd.js} +1 -1
  86. package/dist/chunks/{tool-ja6ama36.js → schema-8ngzfdb0.js} +15 -15
  87. package/dist/chunks/{tool-8x9ys1f9.js → schema-8td2p5q2.js} +34 -34
  88. package/dist/chunks/{tool-v5e4b0wx.js → schema-92zywa0s.js} +14 -14
  89. package/dist/chunks/{tool-hqd7seh4.js → schema-9hhtrjbb.js} +14 -14
  90. package/dist/chunks/{tool-7k4nsz29.js → schema-9n0pq0p1.js} +8 -8
  91. package/dist/chunks/{tool-vnn07649.js → schema-9nexcd99.js} +6 -6
  92. package/dist/chunks/{tool-mhrn1b6p.js → schema-9zj7wbnh.js} +48 -48
  93. package/dist/chunks/{tool-7t04q73r.js → schema-a110k9h9.js} +23 -23
  94. package/dist/chunks/{tool-a20pjse5.js → schema-a20pjse5.js} +3 -3
  95. package/dist/chunks/{tool-6efjf592.js → schema-a7scjn5s.js} +15 -15
  96. package/dist/chunks/{tool-yb5r4v0q.js → schema-ahdc3t4z.js} +10 -10
  97. package/dist/chunks/{tool-61b1kan1.js → schema-arypdymn.js} +21 -21
  98. package/dist/chunks/{tool-xypd4wdp.js → schema-at94sxth.js} +9 -9
  99. package/dist/chunks/{tool-bacj9t34.js → schema-bacj9t34.js} +2 -2
  100. package/dist/chunks/{tool-ck0e8gek.js → schema-bbcbabsp.js} +25 -25
  101. package/dist/chunks/{tool-bjx1sjef.js → schema-bjx1sjef.js} +2 -2
  102. package/dist/chunks/{tool-9wjqfw83.js → schema-bnn3p74r.js} +4 -4
  103. package/dist/chunks/{tool-myq527w7.js → schema-brgccpge.js} +25 -25
  104. package/dist/chunks/{tool-dnc7w57r.js → schema-bygmh04z.js} +14 -14
  105. package/dist/chunks/{tool-bzeyqsqd.js → schema-bzeyqsqd.js} +1 -1
  106. package/dist/chunks/{tool-v56xwjn6.js → schema-bzwj8dcr.js} +36 -36
  107. package/dist/chunks/{tool-es1vcfrp.js → schema-c1fqxshp.js} +3 -3
  108. package/dist/chunks/{tool-52hb404k.js → schema-c8bydgjz.js} +6 -6
  109. package/dist/chunks/{tool-mzrjd0cd.js → schema-cc9fn44q.js} +11 -11
  110. package/dist/chunks/{tool-ypcn87gg.js → schema-ccz6qt78.js} +13 -13
  111. package/dist/chunks/{tool-s8n8peb1.js → schema-cefkz2r6.js} +4 -4
  112. package/dist/chunks/{tool-twben05b.js → schema-chsnhwb3.js} +13 -13
  113. package/dist/chunks/{tool-073332rd.js → schema-csndn1v6.js} +20 -20
  114. package/dist/chunks/{tool-q2dz4afa.js → schema-d0vc93hk.js} +28 -28
  115. package/dist/chunks/{tool-7shzd1td.js → schema-d5t26v95.js} +26 -26
  116. package/dist/chunks/{tool-3p3jney2.js → schema-d75x1326.js} +29 -29
  117. package/dist/chunks/{tool-ph842b28.js → schema-d858xzj7.js} +4 -4
  118. package/dist/chunks/{tool-tehwna3t.js → schema-d8j0mxkc.js} +7 -7
  119. package/dist/chunks/{tool-mhe84b87.js → schema-dhsdmd8f.js} +41 -41
  120. package/dist/chunks/{tool-9eyh9j7p.js → schema-dk1ym1bf.js} +33 -33
  121. package/dist/chunks/{tool-drwq78ky.js → schema-drwq78ky.js} +1 -1
  122. package/dist/chunks/{tool-7cnnqjpd.js → schema-dzyrc88t.js} +6 -6
  123. package/dist/chunks/{tool-f872t808.js → schema-e4771dax.js} +16 -16
  124. package/dist/chunks/{tool-p56jdh79.js → schema-e5cghe60.js} +1 -1
  125. package/dist/chunks/{tool-cg9p582w.js → schema-e9vvnvyx.js} +9 -9
  126. package/dist/chunks/schema-ebe1aw40.js +257 -0
  127. package/dist/chunks/{tool-txssyqt7.js → schema-ec5r24jz.js} +3 -3
  128. package/dist/chunks/{tool-eej6y6fw.js → schema-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{tool-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{tool-a5rre0n2.js → schema-ejvnp2ks.js} +11 -11
  131. package/dist/chunks/{tool-rns4py0f.js → schema-ek59gnbm.js} +77 -77
  132. package/dist/chunks/{tool-e2hjzebn.js → schema-embw8kgh.js} +4 -4
  133. package/dist/chunks/{tool-yh238p43.js → schema-exevrqmg.js} +19 -19
  134. package/dist/chunks/{tool-6tz1jnny.js → schema-ezc52dw2.js} +16 -7
  135. package/dist/chunks/{tool-pc58ekcv.js → schema-f4g83bm7.js} +11 -11
  136. package/dist/chunks/{tool-fcy631f0.js → schema-fcy631f0.js} +1 -1
  137. package/dist/chunks/{tool-n37c4crj.js → schema-fdms3n6w.js} +9 -9
  138. package/dist/chunks/{tool-r1rfp8t8.js → schema-fvgp290g.js} +8 -8
  139. package/dist/chunks/{tool-cw1n2y8y.js → schema-fw9jjgyr.js} +19 -19
  140. package/dist/chunks/{tool-2fpns0sv.js → schema-fyzv33qs.js} +45 -45
  141. package/dist/chunks/{tool-esfwjqg1.js → schema-fzz4ftgm.js} +13 -13
  142. package/dist/chunks/{tool-01rpkdw6.js → schema-g4wty43c.js} +5 -5
  143. package/dist/chunks/{tool-bec822vs.js → schema-g754c8fk.js} +6 -6
  144. package/dist/chunks/{tool-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{tool-vx00tebk.js → schema-ghrfrbg4.js} +4 -4
  146. package/dist/chunks/{tool-4xcz4xpr.js → schema-gjgye92n.js} +17 -17
  147. package/dist/chunks/{tool-p9e5fkyj.js → schema-gjkbr6zc.js} +18 -18
  148. package/dist/chunks/{tool-2d2h4qhb.js → schema-gp3kkx05.js} +34 -34
  149. package/dist/chunks/{tool-aawdsyze.js → schema-gwaz9r47.js} +4 -4
  150. package/dist/chunks/{tool-3jt1eddq.js → schema-gwj3kssr.js} +59 -59
  151. package/dist/chunks/{tool-1fqwyhye.js → schema-h6cpwytq.js} +49 -49
  152. package/dist/chunks/{tool-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{tool-rf0v5n98.js → schema-h9r6r1hy.js} +32 -32
  154. package/dist/chunks/{tool-7kkywtdn.js → schema-hcgx9r92.js} +14 -14
  155. package/dist/chunks/{tool-hgz4x7wa.js → schema-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{tool-2tny0edy.js → schema-hh0a7fvf.js} +190 -190
  157. package/dist/chunks/{tool-vbrars45.js → schema-hhyv66vq.js} +8 -8
  158. package/dist/chunks/schema-hktg20kd.js +26 -0
  159. package/dist/chunks/{tool-rmc73zzm.js → schema-hp36aydz.js} +24 -24
  160. package/dist/chunks/{tool-zyx4ag0r.js → schema-hq279geq.js} +29 -29
  161. package/dist/chunks/{tool-fxaymqdw.js → schema-hq3c8me3.js} +4 -4
  162. package/dist/chunks/{tool-7vjhz70e.js → schema-htvezcsh.js} +5 -5
  163. package/dist/chunks/{tool-gftpqfcq.js → schema-hwq6p19n.js} +4 -4
  164. package/dist/chunks/{tool-7hrceg3g.js → schema-hz7aezfr.js} +35 -35
  165. package/dist/chunks/{tool-c7hvxrkm.js → schema-j05q090x.js} +25 -25
  166. package/dist/chunks/{tool-cg54xxwj.js → schema-j6ktnsbj.js} +12 -12
  167. package/dist/chunks/{tool-he8dq86x.js → schema-j73na0aw.js} +18 -18
  168. package/dist/chunks/{tool-3493q4kq.js → schema-j9w080ad.js} +14 -14
  169. package/dist/chunks/{tool-z9hatdac.js → schema-jm1wa9nf.js} +15 -15
  170. package/dist/chunks/{tool-stcs9p48.js → schema-js1t3555.js} +6 -6
  171. package/dist/chunks/{tool-1rgsmk43.js → schema-jxda656q.js} +10 -10
  172. package/dist/chunks/{tool-1pwk8kcs.js → schema-kcfh4jp8.js} +14 -14
  173. package/dist/chunks/{tool-58vmr7wj.js → schema-ke8th4a0.js} +16 -16
  174. package/dist/chunks/{tool-b4nzaj04.js → schema-kecqjjhm.js} +5 -5
  175. package/dist/chunks/{tool-6ysb8vkt.js → schema-kp7tszm4.js} +21 -21
  176. package/dist/chunks/{tool-kwb1v3vj.js → schema-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{tool-w9sgbs7k.js → schema-kwr2em0p.js} +20 -20
  178. package/dist/chunks/{tool-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{tool-9w4ppqge.js → schema-ma48de29.js} +5 -5
  180. package/dist/chunks/{tool-5ee0ck5t.js → schema-man2x1hw.js} +24 -24
  181. package/dist/chunks/{tool-maspj1v3.js → schema-maspj1v3.js} +1 -1
  182. package/dist/chunks/{tool-hjhxarjg.js → schema-mccws065.js} +2 -2
  183. package/dist/chunks/{tool-5ehgcgpr.js → schema-mcxxahwh.js} +44 -44
  184. package/dist/chunks/{tool-tzs5ptya.js → schema-mvg2napp.js} +20 -20
  185. package/dist/chunks/{tool-addxnjmp.js → schema-mxvxcxwy.js} +4 -4
  186. package/dist/chunks/{tool-dv6fhex8.js → schema-n46s7c5f.js} +5 -5
  187. package/dist/chunks/{tool-rwasyrp5.js → schema-n4s909p2.js} +51 -51
  188. package/dist/chunks/{tool-82ep1r6s.js → schema-nf3p155y.js} +5 -5
  189. package/dist/chunks/{tool-nd7csjtk.js → schema-nqcscwec.js} +13 -13
  190. package/dist/chunks/{tool-vw63prre.js → schema-nwwgs0kh.js} +10 -10
  191. package/dist/chunks/{tool-4k7jacjp.js → schema-nysxgq6d.js} +11 -11
  192. package/dist/chunks/{tool-0zprb6es.js → schema-p1p7f544.js} +25 -25
  193. package/dist/chunks/{tool-cmwkp3r5.js → schema-p37cw4rj.js} +8 -8
  194. package/dist/chunks/{tool-byq8e8jd.js → schema-p4p2ts1j.js} +11 -11
  195. package/dist/chunks/{tool-86kfezyq.js → schema-pcb8yjd0.js} +7 -7
  196. package/dist/chunks/{tool-qnw1j25x.js → schema-phq9g6aj.js} +22 -22
  197. package/dist/chunks/{tool-ztyv0636.js → schema-phse5vhf.js} +27 -27
  198. package/dist/chunks/{tool-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{tool-pknna89w.js → schema-pknna89w.js} +1 -1
  200. package/dist/chunks/{tool-rk2kcxcc.js → schema-pv4s4nxr.js} +12 -12
  201. package/dist/chunks/{tool-b762m4xg.js → schema-pwjp0qa3.js} +26 -26
  202. package/dist/chunks/{tool-wpafx981.js → schema-q6chj63a.js} +30 -30
  203. package/dist/chunks/{tool-wy45m17f.js → schema-q9cqhrsb.js} +2 -2
  204. package/dist/chunks/{tool-m5wnc3h6.js → schema-qa1bwf9y.js} +17 -17
  205. package/dist/chunks/{tool-fxs30z0y.js → schema-qhfwh6dg.js} +37 -37
  206. package/dist/chunks/{tool-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{tool-qsdy395h.js → schema-qsdy395h.js} +1 -1
  208. package/dist/chunks/{tool-ckjpj2pw.js → schema-qt44r66w.js} +3 -3
  209. package/dist/chunks/{tool-gybdh0a0.js → schema-qx53j35n.js} +22 -22
  210. package/dist/chunks/{tool-e80seqcp.js → schema-r2z489rp.js} +3 -3
  211. package/dist/chunks/{tool-s1d318ea.js → schema-r4mzk1xx.js} +3 -3
  212. package/dist/chunks/{tool-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{tool-zwevc33g.js → schema-remtvbha.js} +11 -11
  214. package/dist/chunks/{tool-tkb22qbm.js → schema-rert0e01.js} +2 -2
  215. package/dist/chunks/{tool-bdx6mn17.js → schema-rhrxssrh.js} +9 -9
  216. package/dist/chunks/{tool-c41wscbt.js → schema-rj3eygr5.js} +2 -2
  217. package/dist/chunks/{tool-g44aby64.js → schema-rk5y8ke4.js} +17 -17
  218. package/dist/chunks/{tool-mmwmp5se.js → schema-rkpm4y6y.js} +11 -11
  219. package/dist/chunks/{tool-2t1tfy87.js → schema-rp73s9pz.js} +16 -16
  220. package/dist/chunks/{tool-pd6tx8e2.js → schema-rqkmn7me.js} +21 -21
  221. package/dist/chunks/{tool-bz29cs86.js → schema-rt2zj1s0.js} +27 -27
  222. package/dist/chunks/{tool-0mcdt3xm.js → schema-rtka9wvf.js} +22 -22
  223. package/dist/chunks/{tool-zkkgz3mx.js → schema-rvbf7bre.js} +12 -12
  224. package/dist/chunks/{tool-x3jgdmpg.js → schema-rw5jw54j.js} +5 -5
  225. package/dist/chunks/{tool-vymc59vb.js → schema-rz6yywgf.js} +33 -33
  226. package/dist/chunks/{tool-8yapk0fv.js → schema-s15d9z4p.js} +29 -29
  227. package/dist/chunks/{tool-76ejvhhr.js → schema-s1y79ssk.js} +15 -15
  228. package/dist/chunks/{tool-c8ax2afj.js → schema-sa8ekw3f.js} +2 -2
  229. package/dist/chunks/{tool-mhbktqx9.js → schema-scvzwabm.js} +11 -11
  230. package/dist/chunks/{tool-ry6831an.js → schema-sqmzwr9m.js} +9 -9
  231. package/dist/chunks/{tool-zgha0hsw.js → schema-st4zt39s.js} +22 -22
  232. package/dist/chunks/{tool-syv4x271.js → schema-syv4x271.js} +1 -1
  233. package/dist/chunks/{tool-rhjbct0v.js → schema-t550f9t1.js} +4 -4
  234. package/dist/chunks/{tool-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{tool-tdstcens.js → schema-tdstcens.js} +1 -1
  236. package/dist/chunks/{tool-c3j8ne37.js → schema-tej7bjmy.js} +18 -18
  237. package/dist/chunks/{tool-tm0kqsz3.js → schema-tm0kqsz3.js} +1 -1
  238. package/dist/chunks/{tool-zz29nx1c.js → schema-tsftnbvm.js} +11 -11
  239. package/dist/chunks/{tool-hbb7npd7.js → schema-tt8gc4fv.js} +6 -6
  240. package/dist/chunks/{tool-cmcz3sb1.js → schema-ttacmzh5.js} +20 -20
  241. package/dist/chunks/{tool-5bnha4a9.js → schema-txyw6bh0.js} +2 -2
  242. package/dist/chunks/{tool-tyytaxap.js → schema-tyytaxap.js} +1 -1
  243. package/dist/chunks/{tool-nz56sr1f.js → schema-v13b12ef.js} +5 -5
  244. package/dist/chunks/{tool-7def0ggy.js → schema-v20v5pjv.js} +40 -40
  245. package/dist/chunks/{tool-v210v162.js → schema-v210v162.js} +2 -2
  246. package/dist/chunks/{tool-pz07xgh4.js → schema-v4b1xa27.js} +11 -11
  247. package/dist/chunks/{tool-qa3qhgw8.js → schema-v5dkyp31.js} +4 -4
  248. package/dist/chunks/{tool-v7p4zvkq.js → schema-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{tool-hb7c6vf9.js → schema-vag86jwj.js} +13 -13
  250. package/dist/chunks/{tool-veqvce7d.js → schema-veqvce7d.js} +1 -1
  251. package/dist/chunks/{tool-0976wqw8.js → schema-vh1fw6yt.js} +25 -25
  252. package/dist/chunks/schema-vnkjks7b.js +18 -0
  253. package/dist/chunks/{tool-2nhcazd0.js → schema-vwssb2rn.js} +16 -16
  254. package/dist/chunks/{tool-6zt8z75t.js → schema-vz2w9rtp.js} +28 -28
  255. package/dist/chunks/{tool-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{tool-s23kegdt.js → schema-w1ej9fkt.js} +9 -9
  257. package/dist/chunks/{tool-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{tool-d2ms787s.js → schema-w4q7m0eq.js} +20 -20
  259. package/dist/chunks/{tool-08vgyj7k.js → schema-wcp8qb9k.js} +18 -18
  260. package/dist/chunks/{tool-wd87259q.js → schema-wd87259q.js} +1 -1
  261. package/dist/chunks/{tool-793g28qj.js → schema-wg91gmf4.js} +34 -34
  262. package/dist/chunks/{tool-stf95kdk.js → schema-wp1sg2es.js} +4 -4
  263. package/dist/chunks/{tool-p1ayhfez.js → schema-xekvc3d8.js} +13 -13
  264. package/dist/chunks/{tool-krhn2nch.js → schema-xgmhetns.js} +12 -12
  265. package/dist/chunks/{tool-p19xwqz2.js → schema-xqj10vmz.js} +9 -9
  266. package/dist/chunks/{tool-kq8anxe4.js → schema-xtpd89cm.js} +11 -11
  267. package/dist/chunks/{tool-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{tool-dpkg50ah.js → schema-y71avatq.js} +4 -4
  269. package/dist/chunks/{tool-rpvr12zk.js → schema-y89gydzy.js} +19 -19
  270. package/dist/chunks/{tool-vvzbhhck.js → schema-ycc3121e.js} +4 -4
  271. package/dist/chunks/{tool-3f43s8b4.js → schema-ydbf29gx.js} +51 -51
  272. package/dist/chunks/{tool-cthpwpgv.js → schema-yhc4wv29.js} +50 -50
  273. package/dist/chunks/{tool-8mv6xfqh.js → schema-yr2aghkb.js} +2 -2
  274. package/dist/chunks/{tool-g50kefr8.js → schema-yr7e010d.js} +10 -10
  275. package/dist/chunks/{tool-w4sgd07z.js → schema-yw7v3j12.js} +27 -27
  276. package/dist/chunks/{tool-hxtet8kv.js → schema-yx0rmv9r.js} +8 -8
  277. package/dist/chunks/{tool-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{tool-z18fegx4.js → schema-z18fegx4.js} +1 -1
  279. package/dist/chunks/{tool-0j3c2sb1.js → schema-z41ahr7v.js} +11 -11
  280. package/dist/chunks/{tool-qdqb97nm.js → schema-z9c610pw.js} +13 -13
  281. package/dist/chunks/{tool-2kjm689e.js → schema-zdtbn3v6.js} +22 -22
  282. package/dist/chunks/{tool-x4c1mtyt.js → schema-zqr7hr21.js} +15 -15
  283. package/dist/chunks/{tool-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{tool-wss5z80w.js → schema-zsep494j.js} +5 -5
  285. package/dist/chunks/{tool-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{tool-r7epa8w9.js → schema-zzmpqpc3.js} +10 -10
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +72 -72
  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/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +102 -102
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +104 -104
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +82 -82
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +158 -158
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +129 -129
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +98 -98
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +74 -74
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +102 -102
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +4 -4
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +2 -2
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +122 -122
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/types/session/error.d.ts +1 -0
  658. package/dist/types/session/history.d.ts +10 -0
  659. package/dist/types/session/transfer.d.ts +8 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +3 -3
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +94 -94
  674. package/dist/v1/config/permission.js +1 -1
  675. package/dist/v1/config/plugin.js +1 -1
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/variant.js +95 -95
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +91 -91
  681. package/dist/voice.js +88 -88
  682. package/dist/websearch.js +86 -86
  683. package/dist/wellknown/plugin.js +78 -78
  684. package/dist/wellknown.js +79 -79
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +84 -84
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +91 -91
  692. package/dist/worktree.js +100 -100
  693. package/package.json +8 -8
  694. package/dist/chunks/tool-4vgve9x2.js +0 -26
  695. package/dist/chunks/tool-dxj72tfx.js +0 -18
  696. package/dist/chunks/tool-xrbvcvxz.js +0 -257
  697. /package/dist/chunks/{tool-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{tool-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{tool-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{tool-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{tool-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{tool-24dcb14g.js → schema-24dcb14g.js} +0 -0
  703. /package/dist/chunks/{tool-2710q6r3.js → schema-2710q6r3.js} +0 -0
  704. /package/dist/chunks/{tool-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  705. /package/dist/chunks/{tool-2bv980vf.js → schema-2bv980vf.js} +0 -0
  706. /package/dist/chunks/{tool-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{tool-359p4xyc.js → schema-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{tool-3asan66x.js → schema-3asan66x.js} +0 -0
  709. /package/dist/chunks/{tool-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
  710. /package/dist/chunks/{tool-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{tool-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{tool-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{tool-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{tool-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{tool-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{tool-53557ph1.js → schema-53557ph1.js} +0 -0
  717. /package/dist/chunks/{tool-550bvhaj.js → schema-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{tool-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  719. /package/dist/chunks/{tool-6prwharc.js → schema-6prwharc.js} +0 -0
  720. /package/dist/chunks/{tool-6q2bdcd1.js → schema-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{tool-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{tool-7m9af43g.js → schema-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{tool-822emrt2.js → schema-822emrt2.js} +0 -0
  724. /package/dist/chunks/{tool-84wd9syh.js → schema-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{tool-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{tool-8n3pysct.js → schema-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{tool-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{tool-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{tool-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{tool-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{tool-af5trqkr.js → schema-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{tool-afrmfg78.js → schema-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{tool-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{tool-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{tool-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{tool-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{tool-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{tool-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{tool-d9fn303g.js → schema-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{tool-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{tool-dajrwvna.js → schema-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{tool-dap0rakb.js → schema-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{tool-df08tz66.js → schema-df08tz66.js} +0 -0
  744. /package/dist/chunks/{tool-dy18nga0.js → schema-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{tool-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{tool-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{tool-ec1grn59.js → schema-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{tool-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{tool-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{tool-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{tool-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{tool-faypxj3z.js → schema-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{tool-fd410y7t.js → schema-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{tool-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{tool-g86h250q.js → schema-g86h250q.js} +0 -0
  756. /package/dist/chunks/{tool-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{tool-gftt206x.js → schema-gftt206x.js} +0 -0
  758. /package/dist/chunks/{tool-hcxmzztb.js → schema-hcxmzztb.js} +0 -0
  759. /package/dist/chunks/{tool-hk9envan.js → schema-hk9envan.js} +0 -0
  760. /package/dist/chunks/{tool-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{tool-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{tool-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{tool-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{tool-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{tool-jze0r7bz.js → schema-jze0r7bz.js} +0 -0
  766. /package/dist/chunks/{tool-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{tool-m18g726c.js → schema-m18g726c.js} +0 -0
  768. /package/dist/chunks/{tool-mp448xyj.js → schema-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{tool-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{tool-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{tool-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{tool-njntx4h6.js → schema-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{tool-pkyv6v7h.js → schema-pkyv6v7h.js} +0 -0
  774. /package/dist/chunks/{tool-pyv0edze.js → schema-pyv0edze.js} +0 -0
  775. /package/dist/chunks/{tool-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{tool-q74kybfr.js → schema-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{tool-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{tool-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{tool-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{tool-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{tool-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{tool-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{tool-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{tool-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{tool-ve7vex1e.js → schema-ve7vex1e.js} +0 -0
  786. /package/dist/chunks/{tool-w803qqfp.js → schema-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{tool-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{tool-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{tool-wjj7prxr.js → schema-wjj7prxr.js} +0 -0
  790. /package/dist/chunks/{tool-wtztk69x.js → schema-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{tool-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{tool-x61499pn.js → schema-x61499pn.js} +0 -0
  793. /package/dist/chunks/{tool-y44na4kk.js → schema-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{tool-y8f7s663.js → schema-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{tool-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{tool-ym463w8f.js → schema-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{tool-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
  798. /package/dist/chunks/{tool-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./schema-z5v4ffb3.js";
4
4
  import {
5
- Service86,
6
- node90
7
- } from "./tool-cg54xxwj.js";
5
+ Service84,
6
+ node88
7
+ } from "./schema-j6ktnsbj.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./tool-84txncab.js";
13
+ } from "./schema-84txncab.js";
14
14
  import {
15
- Service64,
16
- node68
17
- } from "./tool-hb7c6vf9.js";
15
+ Service76,
16
+ node79
17
+ } from "./schema-vag86jwj.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service47,
33
+ Service: () => Service54,
34
34
  isError: () => isError2,
35
- node: () => node51,
35
+ node: () => node56,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service47 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service54 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service47, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service86;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service64;
110
- return Service47.of({
109
+ const kv = yield* Service76;
110
+ return Service54.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node51 = makeGlobalNode({
171
- service: Service47,
170
+ var node56 = makeGlobalNode({
171
+ service: Service54,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node68]
173
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node79]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node51, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service54, isError2, validateBranch2, node56, exports_repository_cache };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./tool-2nhcazd0.js";
2
+ Service85,
3
+ node89
4
+ } from "./schema-vwssb2rn.js";
5
5
  import {
6
- Service36,
7
- node39
8
- } from "./tool-xsft43nm.js";
6
+ Service32,
7
+ node35
8
+ } from "./schema-4teq5az6.js";
9
9
  import {
10
- Service68,
11
- node72
12
- } from "./tool-1fqwyhye.js";
10
+ Service64,
11
+ node67
12
+ } from "./schema-h6cpwytq.js";
13
13
  import {
14
- Service72,
15
- node76
16
- } from "./tool-myq527w7.js";
14
+ Service34,
15
+ node37
16
+ } from "./schema-brgccpge.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service35,
26
- layer: () => layer16,
25
+ Service: () => Service27,
26
+ layer: () => layer12,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node38
29
+ node: () => node30
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service35 extends Context.Service()("@opencode/McpTool") {
38
+ class Service27 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
41
- const mcp = yield* Service36;
42
- const tools = yield* Service72;
43
- const bus = yield* Service83;
44
- const permission = yield* Service68;
40
+ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
41
+ const mcp = yield* Service32;
42
+ const tools = yield* Service34;
43
+ const bus = yield* Service85;
44
+ const permission = yield* Service64;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node38 = makeLocationNode({
124
- service: Service35,
125
- layer: layer16,
126
- deps: [node76, node39, node87, node72]
123
+ var node30 = makeLocationNode({
124
+ service: Service27,
125
+ layer: layer12,
126
+ deps: [node37, node35, node89, node67]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service35, layer16, node38, exports_mcp3 };
129
+ export { namespace2, name14, Service27, layer12, node30, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./tool-2nhcazd0.js";
2
+ Service85,
3
+ node89
4
+ } from "./schema-vwssb2rn.js";
5
5
  import {
6
6
  environment2
7
- } from "./tool-yh238p43.js";
7
+ } from "./schema-exevrqmg.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./tool-3t0ybcrp.js";
10
+ } from "./schema-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./tool-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service24,
22
+ Service: () => Service19,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured4,
26
- layer: () => layer12,
27
- node: () => node27
25
+ configured: () => configured2,
26
+ layer: () => layer10,
27
+ node: () => node22
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options4 = Schema.Struct({
39
+ var Options2 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
@@ -46,15 +46,15 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service24 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service19 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
57
- const bus = yield* Service83;
56
+ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
57
+ const bus = yield* Service85;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError4({ ptyID: id });
79
+ return yield* new NotFoundError2({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service24.of({
246
+ return Service19.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer12 = makeLayer();
263
- var configured4 = (options) => makeGlobalNode({
264
- service: Service24,
265
- layer: options === undefined ? layer12 : makeLayer(options),
266
- deps: [node87, Global.node]
262
+ var layer10 = makeLayer();
263
+ var configured2 = (options) => makeGlobalNode({
264
+ service: Service19,
265
+ layer: options === undefined ? layer10 : makeLayer(options),
266
+ deps: [node89, Global.node]
267
267
  });
268
- var node27 = configured4();
268
+ var node22 = configured2();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
271
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError4, Service24, layer12, configured4, node27, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options2, UnavailableError3, NotFoundError2, Service19, layer10, configured2, node22, exports_persistent_pty, Handoff2, available2 };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service80
3
- } from "./tool-bz29cs86.js";
2
+ Service74
3
+ } from "./schema-rt2zj1s0.js";
4
4
  import {
5
- Service68
6
- } from "./tool-1fqwyhye.js";
5
+ Service64
6
+ } from "./schema-h6cpwytq.js";
7
7
  import {
8
- ID6,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service48
14
- } from "./tool-6zt8z75t.js";
13
+ Service18
14
+ } from "./schema-vz2w9rtp.js";
15
15
  import {
16
16
  __export
17
- } from "./tool-9rqn6x4v.js";
17
+ } from "./schema-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch2 = {};
21
- __export(exports_websearch2, {
22
- Input: () => Input13,
20
+ var exports_websearch = {};
21
+ __export(exports_websearch, {
22
+ Input: () => Input7,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin49,
25
- WebSearchTool: () => exports_websearch2,
26
- description: () => description5,
27
- name: () => name13
24
+ Plugin: () => Plugin24,
25
+ WebSearchTool: () => exports_websearch,
26
+ description: () => description4,
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name13 = "websearch";
32
+ var name7 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input13 = Schema.Struct({
42
+ var Input7 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID6,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin49 = {
49
+ var Plugin24 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service68;
53
- const forms = yield* Service80;
54
- const websearch = yield* Service48;
52
+ const permission = yield* Service64;
53
+ const forms = yield* Service74;
54
+ const websearch = yield* Service18;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name13,
56
+ name: name7,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input13,
58
+ description: description4,
59
+ input: Input7,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name13,
63
+ action: name7,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name13];
179
+ delete event.tools[name7];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name13, NO_RESULTS2, description5, Input13, Plugin49, exports_websearch2 };
187
+ export { name7, NO_RESULTS2, description4, Input7, Plugin24, exports_websearch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin12,
9
+ Plugin: () => Plugin14,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin12 = define({
25
+ var Plugin14 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin12 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin12, exports_identity };
38
+ export { identity2, Plugin14, exports_identity };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./tool-f0mxakyp.js";
3
+ } from "./schema-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./tool-w3wsvvr9.js";
6
+ } from "./schema-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./tool-7bmhse3q.js";
9
+ } from "./schema-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./tool-cf4snx6d.js";
12
+ } from "./schema-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./tool-822emrt2.js";
15
+ } from "./schema-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./tool-wd87259q.js";
18
+ } from "./schema-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./tool-m9w0rfyh.js";
21
+ } from "./schema-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./tool-zwevc33g.js";
2
+ Service86,
3
+ node90
4
+ } from "./schema-remtvbha.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./tool-2nhcazd0.js";
6
+ Service85,
7
+ node89
8
+ } from "./schema-vwssb2rn.js";
9
9
  import {
10
- Service60,
11
- node64
12
- } from "./tool-2t1tfy87.js";
10
+ Service75,
11
+ node78
12
+ } from "./schema-rp73s9pz.js";
13
13
  import {
14
- Service58,
15
- node62
16
- } from "./tool-52hb404k.js";
14
+ Service49,
15
+ node51
16
+ } from "./schema-c8bydgjz.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./tool-ec1grn59.js";
19
+ } from "./schema-ec1grn59.js";
20
20
  import {
21
21
  make17
22
- } from "./tool-5g57z1ma.js";
22
+ } from "./schema-5g57z1ma.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service56
26
- } from "./tool-e2hjzebn.js";
25
+ Service47
26
+ } from "./schema-embw8kgh.js";
27
27
  import {
28
- Service69,
29
- node73
30
- } from "./tool-6efjf592.js";
28
+ Service66,
29
+ node69
30
+ } from "./schema-a7scjn5s.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./tool-6tz1jnny.js";
33
+ } from "./schema-ezc52dw2.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./tool-ctd2f7xq.js";
36
+ } from "./schema-6xkcg1y6.js";
37
37
  import {
38
38
  __export
39
- } from "./tool-9rqn6x4v.js";
39
+ } from "./schema-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service55,
44
+ Service: () => Service46,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer23,
47
- node: () => node60,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer19,
47
+ node: () => node49,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service55 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer23 = Layer.effect(Service55, Effect.gen(function* () {
63
- const store = yield* Service69;
64
- const instances = yield* Service58;
65
- const bus = yield* Service83;
66
- const jobs = yield* Service60;
67
- const db = (yield* Service84).db;
62
+ var layer19 = Layer.effect(Service46, Effect.gen(function* () {
63
+ const store = yield* Service66;
64
+ const instances = yield* Service49;
65
+ const bus = yield* Service85;
66
+ const jobs = yield* Service75;
67
+ const db = (yield* Service86).db;
68
68
  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);
69
69
  const claimOnCommit = (sessionID) => ({
70
70
  commit: () => store.claim(sessionID)
@@ -76,7 +76,7 @@ var layer23 = Layer.effect(Service55, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service56.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 }))));
79
+ const result = yield* Service47.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 }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer23 = Layer.effect(Service55, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service55.of({
107
+ return Service46.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer23 = Layer.effect(Service55, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node60 = makeGlobalNode({
127
- service: Service55,
128
- layer: layer23,
129
- deps: [node73, node62, node87, node88, node64]
126
+ var node49 = makeGlobalNode({
127
+ service: Service46,
128
+ layer: layer19,
129
+ deps: [node69, node51, node89, node90, node78]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service55, Service55.of({
131
+ var noopLayer2 = Layer.succeed(Service46, Service46.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service55, terminal2, layer23, node60, noopLayer3, exports_execution };
140
+ export { Service46, terminal2, layer19, node49, noopLayer2, exports_execution };