@opencode/core 0.0.0-dev-21344 → 0.0.0-dev-21351

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-5zh9a8yb.js → command-05095fa7.js} +14 -14
  8. package/dist/chunks/{form-we3w1333.js → command-09kr4fhv.js} +7 -7
  9. package/dist/chunks/{form-qh43smsn.js → command-0c8wkbnb.js} +12 -12
  10. package/dist/chunks/{form-03hw1891.js → command-0cz7970t.js} +6 -6
  11. package/dist/chunks/{form-qy0p29jn.js → command-0grvjp2e.js} +15 -15
  12. package/dist/chunks/{form-1rh4e964.js → command-0n4gbw3s.js} +11 -11
  13. package/dist/chunks/{form-t89fqycx.js → command-0t9wd588.js} +8 -8
  14. package/dist/chunks/{form-g6smwwgg.js → command-0vb0cg2n.js} +14 -14
  15. package/dist/chunks/{form-0vbcp93d.js → command-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{form-f88m6yqb.js → command-0x8wbs59.js} +11 -11
  17. package/dist/chunks/{form-zdha7q0e.js → command-0xg0skbm.js} +4 -4
  18. package/dist/chunks/{form-16jfehqd.js → command-0xgt1t5f.js} +30 -30
  19. package/dist/chunks/{form-cjd6ew82.js → command-0yfyxnbj.js} +11 -11
  20. package/dist/chunks/{form-yef9qky4.js → command-0z7w8q86.js} +8 -8
  21. package/dist/chunks/{form-7eh5v8ez.js → command-1387w9ct.js} +18 -18
  22. package/dist/chunks/{form-kj0herga.js → command-15zv62fh.js} +15 -15
  23. package/dist/chunks/{form-g686f6pq.js → command-1jdt266a.js} +9 -9
  24. package/dist/chunks/{form-fww2ha2b.js → command-1ks1qykk.js} +10 -10
  25. package/dist/chunks/{form-3n01zwdf.js → command-1xcqb8y9.js} +46 -46
  26. package/dist/chunks/{form-d04ep358.js → command-1yd7h3h8.js} +11 -11
  27. package/dist/chunks/{form-xyxs5dm1.js → command-220na3xh.js} +2 -2
  28. package/dist/chunks/{form-251hxpd6.js → command-251hxpd6.js} +2 -2
  29. package/dist/chunks/{form-517dcg1a.js → command-27mk30s9.js} +11 -11
  30. package/dist/chunks/{form-q82c1dje.js → command-27qsxf2d.js} +77 -77
  31. package/dist/chunks/{form-gp275c3d.js → command-2a4xmc3t.js} +72 -72
  32. package/dist/chunks/{form-861n07f3.js → command-2a88t129.js} +17 -17
  33. package/dist/chunks/{form-hzt320k7.js → command-2gcctbpp.js} +18 -18
  34. package/dist/chunks/{form-sacfpxxw.js → command-2gdhf4ep.js} +2 -2
  35. package/dist/chunks/{form-3mgq9tn8.js → command-2ht9mx02.js} +15 -15
  36. package/dist/chunks/{form-hw9vqzfw.js → command-2qmdv9pq.js} +42 -42
  37. package/dist/chunks/{form-nnatg56w.js → command-2xgs0rjp.js} +22 -22
  38. package/dist/chunks/{form-ggd4e67m.js → command-37eaq4pg.js} +17 -17
  39. package/dist/chunks/{form-t3dbhzng.js → command-385fh67q.js} +7 -7
  40. package/dist/chunks/{form-3gc7db2q.js → command-3gaxmgjd.js} +5 -5
  41. package/dist/chunks/{form-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{form-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
  43. package/dist/chunks/{form-rzqnmzcf.js → command-3k0bgyc5.js} +26 -26
  44. package/dist/chunks/{form-znjyvqyt.js → command-3r1d6b2h.js} +30 -30
  45. package/dist/chunks/{form-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{form-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{form-svz1p6c6.js → command-3yqrkyy4.js} +25 -25
  48. package/dist/chunks/{form-3zsf4n22.js → command-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{form-j5897gd2.js → command-48jj4jxg.js} +23 -23
  50. package/dist/chunks/command-4v7qdvcn.js +18 -0
  51. package/dist/chunks/{form-22sd1qqc.js → command-4w5f3qm5.js} +8 -8
  52. package/dist/chunks/{form-1f0rm155.js → command-4xfaac4p.js} +13 -13
  53. package/dist/chunks/{form-k3qrda5j.js → command-4zhk6gck.js} +16 -16
  54. package/dist/chunks/{form-v4v0g7kw.js → command-53216tw9.js} +6 -6
  55. package/dist/chunks/{form-prv28kd3.js → command-56y3az4a.js} +14 -14
  56. package/dist/chunks/{form-gkn1t7a9.js → command-5c7wq0sw.js} +7 -7
  57. package/dist/chunks/{form-gv897vmw.js → command-5fp6vwb6.js} +11 -11
  58. package/dist/chunks/{form-5m9w47nd.js → command-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{form-tdvmxvqx.js → command-5mh3tc9m.js} +1 -1
  60. package/dist/chunks/{form-e17kez53.js → command-5s6h66r9.js} +14 -14
  61. package/dist/chunks/{form-kx5nz21w.js → command-5xnwhm0z.js} +2 -2
  62. package/dist/chunks/{form-nkc1tx59.js → command-604rtc6f.js} +26 -26
  63. package/dist/chunks/{form-ve45bn9x.js → command-622w9434.js} +6 -6
  64. package/dist/chunks/{form-h3jggzk4.js → command-67kdra4q.js} +3 -3
  65. package/dist/chunks/{form-6827pfxn.js → command-6827pfxn.js} +1 -1
  66. package/dist/chunks/{form-crj8jj8v.js → command-6c31gg04.js} +34 -34
  67. package/dist/chunks/{form-c6jrq38e.js → command-6jtaxcks.js} +11 -11
  68. package/dist/chunks/{form-rkprpv83.js → command-6pc27hjz.js} +6 -6
  69. package/dist/chunks/{form-es3vcbkv.js → command-6qjch3xb.js} +1 -1
  70. package/dist/chunks/{form-gvj76kbm.js → command-6rm67adk.js} +9 -9
  71. package/dist/chunks/{form-pkywgpj6.js → command-6tphwxvp.js} +25 -25
  72. package/dist/chunks/{form-6xb47vfp.js → command-6xb47vfp.js} +1 -1
  73. package/dist/chunks/{form-49xamyg9.js → command-6ydndmq1.js} +151 -151
  74. package/dist/chunks/{form-775gj3j1.js → command-775gj3j1.js} +2 -2
  75. package/dist/chunks/{form-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{form-ra3vfzv1.js → command-7fydwwh4.js} +8 -8
  77. package/dist/chunks/{form-awg6j8k5.js → command-7hw33090.js} +24 -24
  78. package/dist/chunks/{form-g2t9s127.js → command-7wkzvct8.js} +3 -3
  79. package/dist/chunks/{form-84txncab.js → command-84txncab.js} +1 -1
  80. package/dist/chunks/{form-7g9ka3b7.js → command-84ze4qhs.js} +15 -15
  81. package/dist/chunks/{form-mjagy123.js → command-8dff8bqa.js} +5 -5
  82. package/dist/chunks/{form-8m6m0r52.js → command-8m6m0r52.js} +1 -1
  83. package/dist/chunks/{form-8mywswrd.js → command-8mywswrd.js} +1 -1
  84. package/dist/chunks/{form-e03vnsya.js → command-8rzhxpaa.js} +3 -3
  85. package/dist/chunks/{form-ejrgmtaq.js → command-93fzsdqz.js} +12 -12
  86. package/dist/chunks/{form-qm4y2xbd.js → command-94hhby22.js} +15 -15
  87. package/dist/chunks/{form-eps22w94.js → command-98mtcx2z.js} +10 -10
  88. package/dist/chunks/{form-wa3r9qa9.js → command-9fyafw4g.js} +10 -10
  89. package/dist/chunks/{form-ggkcxy96.js → command-9mfdrtvq.js} +6 -6
  90. package/dist/chunks/{form-ct33827a.js → command-9rwhmys3.js} +38 -38
  91. package/dist/chunks/{form-06qmw05c.js → command-9tpen41z.js} +33 -33
  92. package/dist/chunks/{form-a20pjse5.js → command-a20pjse5.js} +3 -3
  93. package/dist/chunks/{form-whvnf6b4.js → command-a8hjw2pw.js} +27 -27
  94. package/dist/chunks/{form-zjndanvv.js → command-an728vdg.js} +12 -12
  95. package/dist/chunks/{form-njd51qxm.js → command-an9279zr.js} +16 -16
  96. package/dist/chunks/{form-e6b459zv.js → command-aphfpn53.js} +12 -12
  97. package/dist/chunks/{form-z0p92055.js → command-asa9eaah.js} +12 -12
  98. package/dist/chunks/{form-g97htqd3.js → command-avssq4vf.js} +19 -19
  99. package/dist/chunks/{form-wryv9aq9.js → command-b32ay7gd.js} +8 -8
  100. package/dist/chunks/{form-cefkz2r6.js → command-baqyxak2.js} +4 -4
  101. package/dist/chunks/command-bb572888.js +26 -0
  102. package/dist/chunks/{form-d45h4px0.js → command-bb705aa1.js} +62 -62
  103. package/dist/chunks/{form-qfv36mrb.js → command-bg0682zv.js} +5 -5
  104. package/dist/chunks/{form-1xag7s0d.js → command-bgvrfqm6.js} +11 -11
  105. package/dist/chunks/{form-1ffvrpkg.js → command-bjx1sjef.js} +6 -6
  106. package/dist/chunks/{form-43pfpj47.js → command-bmgh3q8m.js} +4 -4
  107. package/dist/chunks/{form-eba4qtm8.js → command-brds95yc.js} +32 -32
  108. package/dist/chunks/{form-nvb1bc80.js → command-bsksjwvt.js} +17 -17
  109. package/dist/chunks/{form-yvgq1qte.js → command-bx3v92m9.js} +11 -11
  110. package/dist/chunks/{form-mbtcjnsj.js → command-bxcc14q9.js} +9 -9
  111. package/dist/chunks/{form-1ep4rre3.js → command-bzeyqsqd.js} +4 -4
  112. package/dist/chunks/{form-sqph2rem.js → command-c198g0h1.js} +6 -6
  113. package/dist/chunks/{form-c1fqxshp.js → command-c1fqxshp.js} +3 -3
  114. package/dist/chunks/{form-w3qw7gwn.js → command-ce60aw2j.js} +11 -11
  115. package/dist/chunks/{form-djszqvmq.js → command-cpneeje0.js} +9 -9
  116. package/dist/chunks/{form-j1mj860n.js → command-d43tgzm4.js} +9 -9
  117. package/dist/chunks/{form-ft0vqakg.js → command-d7ndwx9z.js} +37 -37
  118. package/dist/chunks/{form-3snckwy5.js → command-da69ngs0.js} +17 -17
  119. package/dist/chunks/{form-1851grx7.js → command-db5a3xpd.js} +8 -8
  120. package/dist/chunks/{form-zx383xpj.js → command-djc2hdbm.js} +8 -8
  121. package/dist/chunks/{form-ntwbnv8p.js → command-dpsmw30v.js} +8 -8
  122. package/dist/chunks/{form-drwq78ky.js → command-drwq78ky.js} +1 -1
  123. package/dist/chunks/{form-4xf1jpfm.js → command-dsmb6j4j.js} +4 -4
  124. package/dist/chunks/{form-6cw2sbjh.js → command-e234ef09.js} +10 -10
  125. package/dist/chunks/{form-e7gxy7fd.js → command-e7gxy7fd.js} +1 -1
  126. package/dist/chunks/{form-e80seqcp.js → command-e80seqcp.js} +1 -1
  127. package/dist/chunks/{form-0nwnefwx.js → command-ed65y2xt.js} +21 -21
  128. package/dist/chunks/{form-eej6y6fw.js → command-eej6y6fw.js} +2 -2
  129. package/dist/chunks/{form-d31hr9cr.js → command-ef4pq4rq.js} +13 -13
  130. package/dist/chunks/{form-ef5x83kb.js → command-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{form-e0vw22bh.js → command-exg57wy8.js} +13 -13
  132. package/dist/chunks/{form-9yd6k3gs.js → command-f4b1a4m9.js} +23 -23
  133. package/dist/chunks/{form-64vmcaw9.js → command-f4j6r664.js} +43 -43
  134. package/dist/chunks/{form-wz5ft07p.js → command-fb1vsn26.js} +4 -4
  135. package/dist/chunks/{form-fcy631f0.js → command-fcy631f0.js} +1 -1
  136. package/dist/chunks/{form-y56ehv6b.js → command-fdms3n6w.js} +9 -9
  137. package/dist/chunks/{form-fz4d0gag.js → command-fgvq5ykp.js} +30 -30
  138. package/dist/chunks/{form-ctf2yk4c.js → command-fhnqh9t2.js} +31 -31
  139. package/dist/chunks/{form-fn9t717r.js → command-fn9t717r.js} +3 -3
  140. package/dist/chunks/{form-hg8tkm75.js → command-fvgp290g.js} +6 -6
  141. package/dist/chunks/{form-s031wkkr.js → command-g2eyzg35.js} +18 -18
  142. package/dist/chunks/{form-dgp61zeh.js → command-g3kxpvs4.js} +10 -10
  143. package/dist/chunks/{form-vgcrqvce.js → command-g54sgenx.js} +19 -19
  144. package/dist/chunks/{form-pypvpsrm.js → command-g5wn2q2s.js} +11 -11
  145. package/dist/chunks/{form-fhvqd07r.js → command-g73w5qej.js} +16 -16
  146. package/dist/chunks/{form-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{form-cdyfjk22.js → command-gd86bjwa.js} +7 -7
  148. package/dist/chunks/{form-k60xj1t7.js → command-gj65pq0y.js} +2 -2
  149. package/dist/chunks/{form-p0ztmah6.js → command-gt2z1exm.js} +24 -24
  150. package/dist/chunks/{form-jtf29y2t.js → command-gzwfafjp.js} +7 -7
  151. package/dist/chunks/{form-zy43x3f1.js → command-h6310vsd.js} +4 -4
  152. package/dist/chunks/{form-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{form-y0samtkt.js → command-haej02k4.js} +8 -8
  154. package/dist/chunks/{form-ck9mnxsy.js → command-hey9g07n.js} +13 -13
  155. package/dist/chunks/{form-y5fzqhne.js → command-hfdh5dc7.js} +13 -13
  156. package/dist/chunks/{form-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{form-jpatghfr.js → command-hhhc48xm.js} +8 -8
  158. package/dist/chunks/{form-hq3c8me3.js → command-hq3c8me3.js} +1 -1
  159. package/dist/chunks/{form-tre5yt63.js → command-hsjvmpjh.js} +5 -5
  160. package/dist/chunks/{form-38cy47c3.js → command-hsn4nmqy.js} +7 -7
  161. package/dist/chunks/{form-7xhhy66q.js → command-hxz3bp73.js} +13 -13
  162. package/dist/chunks/{form-rcmz3p1d.js → command-j03zn41z.js} +16 -16
  163. package/dist/chunks/{form-90gj6ab4.js → command-j1ps5swj.js} +20 -20
  164. package/dist/chunks/{form-sgphrwae.js → command-j36hwdkw.js} +39 -39
  165. package/dist/chunks/{form-nj7hqrdc.js → command-j6ktnsbj.js} +5 -5
  166. package/dist/chunks/{form-xvb5x7q0.js → command-jb04bhbq.js} +13 -13
  167. package/dist/chunks/{form-12ceq3sd.js → command-jkndgnpn.js} +15 -15
  168. package/dist/chunks/{form-h2r6cra7.js → command-jq52wte9.js} +28 -28
  169. package/dist/chunks/{form-znm2wwgf.js → command-k253d0v5.js} +3 -3
  170. package/dist/chunks/{form-2vs2nh1n.js → command-k76fn4kw.js} +4 -4
  171. package/dist/chunks/{form-3xh7hkzg.js → command-kb1k1n05.js} +16 -16
  172. package/dist/chunks/{form-n3gv7a1h.js → command-kg4apzy2.js} +26 -26
  173. package/dist/chunks/{form-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
  174. package/dist/chunks/{form-9f3m9enf.js → command-m7etpe19.js} +28 -28
  175. package/dist/chunks/{form-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{form-maspj1v3.js → command-maspj1v3.js} +1 -1
  177. package/dist/chunks/{form-vcxbe612.js → command-mc8h1syp.js} +3 -3
  178. package/dist/chunks/{form-p9z0zkdt.js → command-mh22khwx.js} +10 -10
  179. package/dist/chunks/{form-pgty7w5v.js → command-mn47nv5k.js} +35 -35
  180. package/dist/chunks/{form-bmkdxg01.js → command-mnrpn436.js} +328 -328
  181. package/dist/chunks/{form-a9fy9mxz.js → command-mswa6128.js} +4 -4
  182. package/dist/chunks/{form-65mr19er.js → command-mw6y76xd.js} +14 -14
  183. package/dist/chunks/{form-9vkgtp31.js → command-n07afgf2.js} +9 -9
  184. package/dist/chunks/{form-m3s3xc92.js → command-n135qwgn.js} +12 -12
  185. package/dist/chunks/{form-86d0rtkg.js → command-n21ct7b2.js} +10 -10
  186. package/dist/chunks/{form-fj60yz2g.js → command-n7t3y450.js} +14 -14
  187. package/dist/chunks/{form-x86nz4fc.js → command-n88bvnwb.js} +10 -10
  188. package/dist/chunks/{form-t3afeeqz.js → command-naw4xxfq.js} +17 -17
  189. package/dist/chunks/{form-rnwvn009.js → command-nbpkwy47.js} +14 -14
  190. package/dist/chunks/{form-1a8kzx3z.js → command-njn2n5jy.js} +9 -9
  191. package/dist/chunks/{form-4kpsjb1s.js → command-p26dmfsa.js} +5 -5
  192. package/dist/chunks/{form-tpw6cwsb.js → command-p37cw4rj.js} +8 -8
  193. package/dist/chunks/{form-s26hbv8p.js → command-pct1c8gm.js} +4 -4
  194. package/dist/chunks/{form-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{form-pknna89w.js → command-pknna89w.js} +1 -1
  196. package/dist/chunks/{form-sz15zhhw.js → command-pp79t3cy.js} +4 -4
  197. package/dist/chunks/{form-gwc3z95n.js → command-pp9jn5kx.js} +23 -23
  198. package/dist/chunks/{form-pxp0janp.js → command-pvzb71g5.js} +19 -19
  199. package/dist/chunks/{form-w4mkebwp.js → command-qggje9jn.js} +30 -30
  200. package/dist/chunks/{form-qgn6gcr1.js → command-qgn6gcr1.js} +1 -1
  201. package/dist/chunks/{form-spvhq4rn.js → command-qjk7pmd1.js} +1 -1
  202. package/dist/chunks/{form-ryr25ayn.js → command-qm0v3jhh.js} +7 -7
  203. package/dist/chunks/{form-qnc92qwc.js → command-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{form-9hhx5af9.js → command-qr7b2z7s.js} +4 -4
  205. package/dist/chunks/{form-qsdy395h.js → command-qsdy395h.js} +1 -1
  206. package/dist/chunks/{form-54ma36ye.js → command-r94pvvab.js} +4 -4
  207. package/dist/chunks/{form-1v56txv5.js → command-rdtz8wvy.js} +31 -31
  208. package/dist/chunks/{form-rdw6cm16.js → command-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{form-rert0e01.js → command-rert0e01.js} +2 -2
  210. package/dist/chunks/{form-rc6vcpxp.js → command-rhyqmwwc.js} +29 -29
  211. package/dist/chunks/{form-rj3eygr5.js → command-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{form-gpmesn0v.js → command-rmf492z6.js} +43 -43
  213. package/dist/chunks/{form-npw39rc8.js → command-rmh16r2t.js} +8 -8
  214. package/dist/chunks/{form-cyj5tmxp.js → command-rtjf12cr.js} +24 -24
  215. package/dist/chunks/{form-1zvfhj0e.js → command-rwpvq48k.js} +24 -24
  216. package/dist/chunks/{form-km5g435h.js → command-rx89xx9n.js} +5 -5
  217. package/dist/chunks/{form-gnbbadj4.js → command-s10de7sg.js} +39 -39
  218. package/dist/chunks/{form-268xe8g9.js → command-s4nj2b0b.js} +8 -8
  219. package/dist/chunks/{form-t550f9t1.js → command-s8d7rejh.js} +4 -4
  220. package/dist/chunks/{form-sa8ekw3f.js → command-sa8ekw3f.js} +2 -2
  221. package/dist/chunks/{form-mjb8sty1.js → command-sjq0w1dy.js} +14 -14
  222. package/dist/chunks/{form-syv4x271.js → command-syv4x271.js} +1 -1
  223. package/dist/chunks/{form-sxcwrkvg.js → command-sz18dr9d.js} +3 -3
  224. package/dist/chunks/{form-5h12h0cy.js → command-t1nb18tz.js} +18 -18
  225. package/dist/chunks/{form-7217af1g.js → command-t62r8r49.js} +10 -10
  226. package/dist/chunks/{form-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{form-89znhe33.js → command-tcezcvh9.js} +4 -4
  228. package/dist/chunks/{form-tdstcens.js → command-tdstcens.js} +1 -1
  229. package/dist/chunks/{form-8pdcb37s.js → command-tjdqweme.js} +114 -114
  230. package/dist/chunks/{form-wwvmde0v.js → command-tkq9v61v.js} +7 -7
  231. package/dist/chunks/{form-tm0kqsz3.js → command-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{form-4q08mgzs.js → command-tw95hwns.js} +50 -50
  233. package/dist/chunks/{form-tyytaxap.js → command-tyytaxap.js} +1 -1
  234. package/dist/chunks/{form-46tcmqje.js → command-v0t8kgzm.js} +18 -18
  235. package/dist/chunks/{form-nz56sr1f.js → command-v13b12ef.js} +5 -5
  236. package/dist/chunks/{form-v210v162.js → command-v210v162.js} +2 -2
  237. package/dist/chunks/{form-8myr7ban.js → command-v2ns1dvt.js} +4 -4
  238. package/dist/chunks/{form-caz0srpv.js → command-v2xqde73.js} +11 -11
  239. package/dist/chunks/{form-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{form-brndm0ne.js → command-v9tzeyfp.js} +18 -18
  241. package/dist/chunks/{form-48sw23k9.js → command-vb39zxh1.js} +20 -20
  242. package/dist/chunks/{form-veqvce7d.js → command-veqvce7d.js} +1 -1
  243. package/dist/chunks/{form-7n556vnp.js → command-vgye044z.js} +31 -31
  244. package/dist/chunks/{form-exh5eq2b.js → command-vjtq7ejx.js} +11 -11
  245. package/dist/chunks/{form-h1vf0xqq.js → command-vjtswx8y.js} +24 -24
  246. package/dist/chunks/{form-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{form-tdqj5rj9.js → command-w1ba7bfx.js} +5 -5
  248. package/dist/chunks/{form-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{form-qq5nsf62.js → command-w7sew22p.js} +18 -18
  250. package/dist/chunks/{form-xc1f0rvb.js → command-wa1x5gqd.js} +27 -27
  251. package/dist/chunks/{form-wd87259q.js → command-wd87259q.js} +1 -1
  252. package/dist/chunks/{form-g7cb5dsr.js → command-wktdpkdp.js} +16 -16
  253. package/dist/chunks/{form-3kmbmqbb.js → command-wn1z5f4t.js} +1 -1
  254. package/dist/chunks/{form-tag4a24h.js → command-wzmp8b6n.js} +2 -2
  255. package/dist/chunks/{form-ghxkdvab.js → command-x2h8bnd2.js} +28 -28
  256. package/dist/chunks/{form-7je7e60q.js → command-x3568k2f.js} +21 -21
  257. package/dist/chunks/{form-t179r25m.js → command-x4t6fkjq.js} +16 -16
  258. package/dist/chunks/{form-x661k3y3.js → command-x661k3y3.js} +1 -1
  259. package/dist/chunks/{form-4r8b378w.js → command-xfyaaxy5.js} +8 -8
  260. package/dist/chunks/{form-c61xra83.js → command-xq96cc1n.js} +15 -15
  261. package/dist/chunks/{form-1mn6fryd.js → command-xw5dbgmb.js} +30 -30
  262. package/dist/chunks/{form-1pxz8ven.js → command-y0jhh126.js} +5 -5
  263. package/dist/chunks/{form-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{form-dpkg50ah.js → command-y71avatq.js} +4 -4
  265. package/dist/chunks/{form-05praa0f.js → command-ye5e9ygh.js} +12 -12
  266. package/dist/chunks/{form-sxzvkvgj.js → command-yf4jcbx9.js} +6 -6
  267. package/dist/chunks/{form-ygdna4kr.js → command-ygdna4kr.js} +2 -2
  268. package/dist/chunks/{form-yj7k2rcj.js → command-yj7k2rcj.js} +3 -3
  269. package/dist/chunks/{form-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
  270. package/dist/chunks/{form-z18fegx4.js → command-z18fegx4.js} +1 -1
  271. package/dist/chunks/{form-24whbny8.js → command-z1q23cxf.js} +14 -14
  272. package/dist/chunks/{form-yx0rmv9r.js → command-z2qvtray.js} +6 -6
  273. package/dist/chunks/{form-g4m4kdwx.js → command-z71zmefb.js} +16 -16
  274. package/dist/chunks/{form-mze36jyg.js → command-z8bsayw1.js} +21 -21
  275. package/dist/chunks/{form-45ptwq2c.js → command-z8gf1a03.js} +4 -4
  276. package/dist/chunks/{form-a5wmqwpc.js → command-zj1ec9ty.js} +3 -3
  277. package/dist/chunks/{form-3jqnp5e1.js → command-zpavnpw0.js} +21 -21
  278. package/dist/chunks/{form-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
  279. package/dist/chunks/{form-y3446w5g.js → command-zr2ps911.js} +8 -8
  280. package/dist/chunks/{form-x3fa5db0.js → command-zrqhmf6p.js} +11 -11
  281. package/dist/chunks/{form-rsm4htgs.js → command-zrw8628a.js} +15 -15
  282. package/dist/chunks/{form-d7j2b6b5.js → command-zs18rbfx.js} +5 -5
  283. package/dist/chunks/{form-2z0hcvmw.js → command-zvsvprng.js} +6 -6
  284. package/dist/chunks/{form-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  285. package/dist/chunks/{form-q3nahge5.js → command-zydxjw4b.js} +24 -24
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +87 -87
  291. package/dist/config/discovery.js +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +206 -206
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +79 -79
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +97 -97
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +108 -108
  427. package/dist/form.js +78 -78
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +101 -101
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.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 +361 -361
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +83 -83
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-lifecycle.js +105 -105
  465. package/dist/location-service-map.js +86 -86
  466. package/dist/location-services.js +358 -358
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +107 -107
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +101 -101
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +96 -96
  479. package/dist/models-dev.js +109 -109
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +82 -82
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +105 -105
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +90 -90
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +102 -102
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +332 -332
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +118 -118
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +125 -125
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +351 -351
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +219 -219
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +95 -95
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +101 -101
  565. package/dist/reference/instructions.js +89 -89
  566. package/dist/reference.js +91 -91
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +99 -99
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +3 -3
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +136 -136
  576. package/dist/session/context.js +153 -153
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +129 -129
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +95 -95
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +91 -91
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/recent-text.js +1 -1
  598. package/dist/session/revert.js +96 -96
  599. package/dist/session/run-coordinator.js +1 -1
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +14 -14
  608. package/dist/session/schema.js +1 -1
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +107 -107
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +89 -89
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +206 -206
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +208 -208
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +130 -130
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +107 -107
  630. package/dist/skill.js +106 -106
  631. package/dist/snapshot.js +95 -95
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +130 -130
  636. package/dist/tool/plugin/edit.js +122 -122
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +126 -126
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +107 -107
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +209 -209
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +213 -213
  648. package/dist/tool/plugin/todo.js +138 -138
  649. package/dist/tool/plugin/webfetch.js +114 -114
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +3 -3
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +2 -2
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +90 -90
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +5 -5
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +98 -98
  689. package/package.json +8 -8
  690. package/dist/chunks/form-1x11rq2a.js +0 -18
  691. package/dist/chunks/form-8dempt9d.js +0 -26
  692. /package/dist/chunks/{form-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{form-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{form-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{form-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{form-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{form-24dcb14g.js → command-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{form-2710q6r3.js → command-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{form-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{form-2bv980vf.js → command-2bv980vf.js} +0 -0
  701. /package/dist/chunks/{form-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{form-359p4xyc.js → command-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{form-3asan66x.js → command-3asan66x.js} +0 -0
  704. /package/dist/chunks/{form-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
  705. /package/dist/chunks/{form-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{form-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{form-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{form-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{form-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{form-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{form-53557ph1.js → command-53557ph1.js} +0 -0
  712. /package/dist/chunks/{form-550bvhaj.js → command-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{form-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{form-6prwharc.js → command-6prwharc.js} +0 -0
  715. /package/dist/chunks/{form-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{form-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{form-7m9af43g.js → command-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{form-822emrt2.js → command-822emrt2.js} +0 -0
  719. /package/dist/chunks/{form-84wd9syh.js → command-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{form-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{form-8n3pysct.js → command-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{form-8wj87zfr.js → command-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{form-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{form-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{form-a6k6eb26.js → command-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{form-af5trqkr.js → command-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{form-afrmfg78.js → command-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{form-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{form-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{form-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{form-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{form-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{form-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{form-d9fn303g.js → command-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{form-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{form-dajrwvna.js → command-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{form-dap0rakb.js → command-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{form-df08tz66.js → command-df08tz66.js} +0 -0
  739. /package/dist/chunks/{form-dy18nga0.js → command-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{form-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{form-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{form-ec1grn59.js → command-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{form-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{form-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{form-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{form-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{form-faypxj3z.js → command-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{form-fd410y7t.js → command-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{form-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{form-g86h250q.js → command-g86h250q.js} +0 -0
  751. /package/dist/chunks/{form-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{form-gftt206x.js → command-gftt206x.js} +0 -0
  753. /package/dist/chunks/{form-hcxmzztb.js → command-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{form-hk9envan.js → command-hk9envan.js} +0 -0
  755. /package/dist/chunks/{form-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{form-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{form-jjkms2e6.js → command-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{form-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{form-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{form-jze0r7bz.js → command-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{form-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{form-m18g726c.js → command-m18g726c.js} +0 -0
  763. /package/dist/chunks/{form-mp448xyj.js → command-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{form-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{form-my4zabxr.js → command-my4zabxr.js} +0 -0
  766. /package/dist/chunks/{form-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{form-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{form-njntx4h6.js → command-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{form-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{form-pyv0edze.js → command-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{form-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{form-q74kybfr.js → command-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{form-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{form-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{form-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{form-qg3g05ea.js → command-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{form-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{form-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{form-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{form-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{form-ve7vex1e.js → command-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{form-w803qqfp.js → command-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{form-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{form-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{form-wjj7prxr.js → command-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{form-wtztk69x.js → command-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{form-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{form-x61499pn.js → command-x61499pn.js} +0 -0
  789. /package/dist/chunks/{form-y44na4kk.js → command-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{form-y8f7s663.js → command-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{form-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{form-ym463w8f.js → command-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{form-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{form-z9919s4g.js → command-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service42
3
- } from "./form-sxzvkvgj.js";
2
+ Service54
3
+ } from "./command-yf4jcbx9.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./form-1x11rq2a.js";
6
+ } from "./command-4v7qdvcn.js";
7
7
  import {
8
- Service49
9
- } from "./form-sgphrwae.js";
8
+ Service33
9
+ } from "./command-j36hwdkw.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./form-vzs5sf6e.js";
12
+ } from "./command-vzs5sf6e.js";
13
13
  import {
14
14
  __export
15
- } from "./form-9rqn6x4v.js";
15
+ } from "./command-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service42;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
25
+ const instances = yield* Service54;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service33), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
7
7
  __export(exports_skill_scan, {
8
8
  SkillScan: () => exports_skill_scan,
9
9
  ignore: () => ignore2,
10
- scan: () => scan3
10
+ scan: () => scan2
11
11
  });
12
12
  import { FSUtil } from "@opencode/util/fs-util";
13
13
  import path from "path";
14
14
  import { Effect } from "effect";
15
15
  var MAX_DEPTH = 6;
16
16
  var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
17
- var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
17
+ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
18
18
  const fs = yield* FSUtil.Service;
19
19
  const files = [];
20
20
  const queue = [{ directory: root, depth: 0 }];
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
39
39
  return files.toSorted();
40
40
  });
41
41
 
42
- export { ignore2, scan3, exports_skill_scan };
42
+ export { ignore2, scan2, exports_skill_scan };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./form-emrn6kk6.js";
3
+ } from "./command-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./form-gkn1t7a9.js";
6
+ } from "./command-5c7wq0sw.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./form-tdvmxvqx.js";
9
+ } from "./command-5mh3tc9m.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./form-qnc92qwc.js";
4
+ } from "./command-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./form-qfa1cgps.js";
7
+ } from "./command-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./form-rj3eygr5.js";
10
+ } from "./command-rj3eygr5.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./form-775gj3j1.js";
3
+ } from "./command-775gj3j1.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./command-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: () => Service29,
11
+ Service: () => Service26,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer14,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node32
15
+ node: () => node30
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service29.of({ bind, close, closeAll });
370
+ return Service26.of({ bind, close, closeAll });
371
371
  }));
372
- var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node32 = makeGlobalNode({ service: Service29, layer: layer14, deps: [webSocketConstructor2] });
375
+ var node30 = makeGlobalNode({ service: Service26, layer: layer13, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service29, makeLayer2, layer14, node32, exports_model_transport };
377
+ export { Service26, makeLayer2, layer13, node30, exports_model_transport };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./form-rdw6cm16.js";
3
+ } from "./command-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service10,
13
- node: () => node12
12
+ Service: () => Service8,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service10, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service10.of({
44
+ return Service8.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
52
52
 
53
- export { Service10, node12, exports_location_watcher_policy };
53
+ export { Service8, node9, exports_location_watcher_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./form-rdw6cm16.js";
3
+ } from "./command-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./command-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service57,
14
+ Service: () => Service61,
15
15
  SizeError: () => SizeError2,
16
- node: () => node59
16
+ node: () => node64
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service57 extends Context.Service()("@opencode/Image") {
45
+ class Service61 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service57, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service57.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service61.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node59 = makeLocationNode({ service: Service57, layer, deps: [] });
79
+ var node64 = makeLocationNode({ service: Service61, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service57, node59, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service61, node64, exports_image2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-dpkg50ah.js";
3
+ } from "./command-y71avatq.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./form-43pfpj47.js";
7
+ } from "./command-bmgh3q8m.js";
8
8
  import {
9
9
  Event18,
10
- Service75,
11
- node77
12
- } from "./form-m3s3xc92.js";
10
+ Service78,
11
+ node82
12
+ } from "./command-n135qwgn.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./form-kx5nz21w.js";
16
+ } from "./command-5xnwhm0z.js";
17
17
  import {
18
- Service80,
19
- node83
20
- } from "./form-7je7e60q.js";
18
+ Service45,
19
+ node48
20
+ } from "./command-x3568k2f.js";
21
21
  import {
22
22
  ID15,
23
- Service76,
24
- node78
25
- } from "./form-7217af1g.js";
23
+ Service79,
24
+ node83
25
+ } from "./command-t62r8r49.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./form-rdw6cm16.js";
29
+ } from "./command-rdw6cm16.js";
30
30
  import {
31
31
  ID13,
32
32
  MethodID2,
33
- Service74,
34
- node76
35
- } from "./form-qq5nsf62.js";
33
+ Service77,
34
+ node81
35
+ } from "./command-w7sew22p.js";
36
36
  import {
37
37
  __export
38
- } from "./form-9rqn6x4v.js";
38
+ } from "./command-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -52,8 +52,8 @@ __export(exports_mcp4, {
52
52
  Service: () => Service30,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured3,
56
- layer: () => layer15,
55
+ configured: () => configured4,
56
+ layer: () => layer16,
57
57
  node: () => node33
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -105,19 +105,19 @@ var cloneConfig = (config) => structuredClone(config);
105
105
 
106
106
  class Service30 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options3 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
114
+ var layer16 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
115
  const location = yield* Service82;
116
- const environment = yield* Service80;
116
+ const environment = yield* Service45;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service76;
119
- const integration = yield* Service74;
120
- const credentials = yield* Service75;
118
+ const forms = yield* Service79;
119
+ const integration = yield* Service77;
120
+ const credentials = yield* Service78;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,14 +154,14 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured3(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
535
  service: Service30,
536
- layer: layer15(options),
537
- deps: [node86, node83, node89, node78, node76, node77]
536
+ layer: layer16(options),
537
+ deps: [node86, node48, node89, node83, node81, node82]
538
538
  });
539
539
  }
540
- var node33 = configured3();
540
+ var node33 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options3, layer15, configured3, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service30, Options4, layer16, configured4, node33, exports_mcp4 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-43pfpj47.js";
4
+ } from "./command-bmgh3q8m.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./form-tazgh4e4.js";
9
+ } from "./command-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./form-yef9qky4.js";
12
+ } from "./command-0z7w8q86.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./form-kx5nz21w.js";
16
+ } from "./command-5xnwhm0z.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./form-rdw6cm16.js";
20
+ } from "./command-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./form-9rqn6x4v.js";
23
+ } from "./command-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info4,
32
+ Info: () => Info10,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service18,
35
+ Service: () => Service39,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node21
37
+ node: () => node42
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service18 extends Context.Service()("@opencode/Vcs") {
57
+ class Service39 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service18, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service82;
62
62
  const bus = yield* Service85;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service18.of({
132
+ return Service39.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node21 = makeLocationNode({
191
- service: Service18,
190
+ var node42 = makeLocationNode({
191
+ service: Service39,
192
192
  layer,
193
193
  deps: [FSUtil.node, node86, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, InitializeError2, Service39, node42, exports_vcs };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service52
3
- } from "./form-gnbbadj4.js";
2
+ Service35
3
+ } from "./command-s10de7sg.js";
4
4
  import {
5
5
  Service30
6
- } from "./form-ft0vqakg.js";
6
+ } from "./command-d7ndwx9z.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./command-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin50,
15
+ Plugin: () => Plugin38,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin50 = define({
20
+ var Plugin38 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service52;
27
+ const config = yield* Service35;
28
28
  const mcp = yield* Service30;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin50, register2, exports_mcp2 };
49
+ export { Plugin38, register2, exports_mcp2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service52
4
- } from "./form-gnbbadj4.js";
3
+ Service35
4
+ } from "./command-s10de7sg.js";
5
5
  import {
6
6
  observe2
7
- } from "./form-qsdy395h.js";
7
+ } from "./command-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./command-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin39
16
+ Plugin: () => Plugin42
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin39 = define({
20
+ var Plugin42 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service52;
23
+ const config = yield* Service35;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin39 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin39, exports_websearch2 };
35
+ export { Plugin42, exports_websearch2 };