@opencode/core 0.0.0-dev-21011 → 0.0.0-dev-21013

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 (788) 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/{form-spj3rs7w.js → formatter-015f3c81.js} +14 -14
  8. package/dist/chunks/{form-eaj1djv9.js → formatter-02nrjc1r.js} +4 -4
  9. package/dist/chunks/{form-gzw0vxys.js → formatter-04frbxpp.js} +73 -73
  10. package/dist/chunks/{form-cr28v8hb.js → formatter-08035mxz.js} +9 -9
  11. package/dist/chunks/{form-wf3aqgd2.js → formatter-0d2vgyq6.js} +20 -20
  12. package/dist/chunks/{form-eq8t53aj.js → formatter-0h27695m.js} +14 -14
  13. package/dist/chunks/{form-9rxh9vc4.js → formatter-0nfx68vs.js} +8 -8
  14. package/dist/chunks/{form-0vbcp93d.js → formatter-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{form-3hy6f8c4.js → formatter-0x81qgcv.js} +26 -26
  16. package/dist/chunks/{form-25cgwp6q.js → formatter-19nx87eh.js} +16 -16
  17. package/dist/chunks/{form-e02eq8f5.js → formatter-1edxb1vv.js} +15 -15
  18. package/dist/chunks/{form-8xy5369n.js → formatter-1h867pj6.js} +15 -15
  19. package/dist/chunks/{form-f7g8hjtk.js → formatter-1qh5f7t0.js} +3 -3
  20. package/dist/chunks/{form-dmm39yex.js → formatter-2353axak.js} +18 -18
  21. package/dist/chunks/{form-fhrn9ry2.js → formatter-283jaw88.js} +14 -14
  22. package/dist/chunks/formatter-2tm8sjbk.js +253 -0
  23. package/dist/chunks/{form-baaqp4zd.js → formatter-2vs2nh1n.js} +4 -4
  24. package/dist/chunks/{form-7t3g9e2b.js → formatter-2wh84egx.js} +3 -3
  25. package/dist/chunks/{form-h7s7r6s9.js → formatter-31xfzrxg.js} +5 -5
  26. package/dist/chunks/{form-3p3rsvqq.js → formatter-332njvv8.js} +12 -12
  27. package/dist/chunks/{form-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  28. package/dist/chunks/{form-1yvx7ymw.js → formatter-3frqz641.js} +30 -30
  29. package/dist/chunks/{form-j08649s7.js → formatter-3hdbdc9p.js} +26 -26
  30. package/dist/chunks/{form-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{form-jqrcj8vr.js → formatter-3hnj3vj9.js} +50 -50
  32. package/dist/chunks/{form-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/{form-xq6mgr11.js → formatter-3m9w5d4q.js} +4 -4
  34. package/dist/chunks/{form-e29c15sd.js → formatter-3n40wvxh.js} +5 -5
  35. package/dist/chunks/{form-8svajzjj.js → formatter-3p7s2r2p.js} +85 -85
  36. package/dist/chunks/{form-z5w0btk4.js → formatter-3rj6f3np.js} +18 -18
  37. package/dist/chunks/{form-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{form-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{form-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{form-143qq2q9.js → formatter-48kw51zw.js} +3 -3
  41. package/dist/chunks/{form-hdab2k61.js → formatter-4mwpykj0.js} +6 -6
  42. package/dist/chunks/{form-tv3tk5e7.js → formatter-4s59bs54.js} +40 -40
  43. package/dist/chunks/{form-ezs570a8.js → formatter-4sfwg2ck.js} +17 -17
  44. package/dist/chunks/{form-w39jehkq.js → formatter-4xpgt2w9.js} +5 -5
  45. package/dist/chunks/{form-4rgwa650.js → formatter-50gtqem5.js} +9 -9
  46. package/dist/chunks/{form-br1rk1d8.js → formatter-55t91gwp.js} +2 -2
  47. package/dist/chunks/{form-93prh51k.js → formatter-56hry5jr.js} +1 -1
  48. package/dist/chunks/{form-hb26dn5q.js → formatter-5aj6czy3.js} +11 -11
  49. package/dist/chunks/{form-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{form-c9mm3yn7.js → formatter-5z5kbpps.js} +21 -21
  51. package/dist/chunks/{form-nepa0w8v.js → formatter-662wwg4x.js} +16 -16
  52. package/dist/chunks/{form-aryc3stw.js → formatter-6kskhkf1.js} +5 -5
  53. package/dist/chunks/{form-14cdk0s6.js → formatter-6p31tnqt.js} +41 -41
  54. package/dist/chunks/{form-6q3g8xg3.js → formatter-6t4hr8r6.js} +4 -4
  55. package/dist/chunks/{form-9vhba5v5.js → formatter-6vyn749n.js} +36 -36
  56. package/dist/chunks/{form-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
  57. package/dist/chunks/{form-8hcfczpt.js → formatter-6xhm7n2c.js} +13 -13
  58. package/dist/chunks/{form-ss7kc155.js → formatter-6zddjdst.js} +15 -15
  59. package/dist/chunks/{form-775gj3j1.js → formatter-775gj3j1.js} +2 -2
  60. package/dist/chunks/{form-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{form-n3f8xpja.js → formatter-7c576772.js} +17 -17
  62. package/dist/chunks/{form-er5phavy.js → formatter-7ccd9sgx.js} +17 -17
  63. package/dist/chunks/{form-bn0s77k4.js → formatter-7ejdeqms.js} +18 -18
  64. package/dist/chunks/{form-n7937mg5.js → formatter-7f82f210.js} +47 -47
  65. package/dist/chunks/{form-be9ztc22.js → formatter-7g29pkaf.js} +21 -21
  66. package/dist/chunks/{form-ffwe724q.js → formatter-7qbbv60v.js} +24 -24
  67. package/dist/chunks/{form-pps52h15.js → formatter-7wnqvywx.js} +20 -20
  68. package/dist/chunks/{form-84txncab.js → formatter-84txncab.js} +1 -1
  69. package/dist/chunks/{form-g2hp3vqx.js → formatter-899eqk77.js} +18 -18
  70. package/dist/chunks/{form-tsn8bsdq.js → formatter-8c2qsf3t.js} +12 -12
  71. package/dist/chunks/{form-hxhp7dtd.js → formatter-8hac7c6g.js} +11 -11
  72. package/dist/chunks/{form-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
  73. package/dist/chunks/{form-fnf227f0.js → formatter-8svxbds8.js} +10 -10
  74. package/dist/chunks/{form-91qna3x0.js → formatter-91qna3x0.js} +3 -3
  75. package/dist/chunks/{form-wxa4kc3h.js → formatter-9ddcqjst.js} +1 -1
  76. package/dist/chunks/{form-9sh4wc5j.js → formatter-9sh4wc5j.js} +1 -1
  77. package/dist/chunks/{form-ey95qdp6.js → formatter-a346vg2z.js} +7 -7
  78. package/dist/chunks/{form-dqn38spn.js → formatter-a6rx491g.js} +2 -2
  79. package/dist/chunks/{form-n3pmav1h.js → formatter-ab3n2c3a.js} +29 -29
  80. package/dist/chunks/{form-7xj9awyf.js → formatter-ad7qy436.js} +9 -9
  81. package/dist/chunks/{form-hf9tj6qr.js → formatter-adfh29v0.js} +8 -8
  82. package/dist/chunks/{form-5yr40zeg.js → formatter-afe0v1cd.js} +11 -11
  83. package/dist/chunks/{form-82rhge12.js → formatter-ajdjch6h.js} +9 -9
  84. package/dist/chunks/{form-9sgsjpgv.js → formatter-ajp2d162.js} +11 -11
  85. package/dist/chunks/{form-h2w3qysh.js → formatter-akvc5q3a.js} +5 -5
  86. package/dist/chunks/{form-vkg9we9y.js → formatter-aqbj56nq.js} +7 -7
  87. package/dist/chunks/{form-52s9q06w.js → formatter-av61pe84.js} +16 -16
  88. package/dist/chunks/{form-kngtgbps.js → formatter-b0f1bdm2.js} +36 -36
  89. package/dist/chunks/{form-qbr3qg4y.js → formatter-b0w5rcd3.js} +9 -9
  90. package/dist/chunks/{form-skzmvm4j.js → formatter-b72rtwfy.js} +40 -40
  91. package/dist/chunks/{form-6v79zamc.js → formatter-bc2z15ca.js} +88 -88
  92. package/dist/chunks/{form-9c3np669.js → formatter-be7qvw84.js} +8 -8
  93. package/dist/chunks/{form-crapqw80.js → formatter-bgmkc152.js} +28 -28
  94. package/dist/chunks/{form-pwmmzb0q.js → formatter-bs1j93w2.js} +51 -14
  95. package/dist/chunks/{form-avwt2xsz.js → formatter-bsysq0ez.js} +20 -20
  96. package/dist/chunks/{form-c1fqxshp.js → formatter-c1fqxshp.js} +3 -3
  97. package/dist/chunks/{form-ehgrgyqj.js → formatter-c1kp7gpd.js} +38 -38
  98. package/dist/chunks/{form-n3vpxe9e.js → formatter-c2gyfhkp.js} +17 -17
  99. package/dist/chunks/{form-wg81ww38.js → formatter-c9wbyant.js} +4 -4
  100. package/dist/chunks/{form-25vxs7my.js → formatter-cb1kb5zz.js} +12 -12
  101. package/dist/chunks/{form-bn5ewp0w.js → formatter-cc6b32k2.js} +1 -1
  102. package/dist/chunks/{form-hcg8wwt0.js → formatter-ccr708e6.js} +12 -12
  103. package/dist/chunks/{form-0ytnbz4y.js → formatter-cd6h4nzs.js} +11 -11
  104. package/dist/chunks/{form-j4nkbaz2.js → formatter-cp57n86a.js} +36 -36
  105. package/dist/chunks/{form-vdvkw4gf.js → formatter-crrxh0px.js} +45 -45
  106. package/dist/chunks/{form-m84184k4.js → formatter-cz2py90e.js} +3 -3
  107. package/dist/chunks/{form-0v34zmgv.js → formatter-d6h3yzf0.js} +8 -8
  108. package/dist/chunks/{form-xhtqqe1m.js → formatter-d796kbef.js} +32 -32
  109. package/dist/chunks/{form-g1s6c47t.js → formatter-d9b0f5kc.js} +7 -7
  110. package/dist/chunks/{form-x8knmkzv.js → formatter-dqgx37xb.js} +8 -8
  111. package/dist/chunks/{form-dqxsqydv.js → formatter-dqxsqydv.js} +1 -1
  112. package/dist/chunks/{form-qqeeq2t9.js → formatter-drwq78ky.js} +7 -7
  113. package/dist/chunks/{form-zv4abm7d.js → formatter-dsdg21fa.js} +14 -14
  114. package/dist/chunks/{form-fww2ha2b.js → formatter-dwf3tdgd.js} +10 -10
  115. package/dist/chunks/{form-erv1nza1.js → formatter-dxxkxqr1.js} +33 -33
  116. package/dist/chunks/{form-a7bcxdzj.js → formatter-dzw83ac5.js} +9 -9
  117. package/dist/chunks/{form-g69jfcfp.js → formatter-e4kb0nq8.js} +4 -4
  118. package/dist/chunks/{form-r2z489rp.js → formatter-e80seqcp.js} +3 -3
  119. package/dist/chunks/{form-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
  120. package/dist/chunks/{form-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{form-edrqqpmw.js → formatter-es3cq489.js} +20 -20
  122. package/dist/chunks/{form-p658ffzv.js → formatter-ev42yzt1.js} +8 -8
  123. package/dist/chunks/{form-jah5evhf.js → formatter-ex4y3cq4.js} +8 -8
  124. package/dist/chunks/{form-3r77nd71.js → formatter-f0bxardp.js} +22 -22
  125. package/dist/chunks/{form-h95dhd2e.js → formatter-f224v0b1.js} +22 -22
  126. package/dist/chunks/{form-bn590nze.js → formatter-f26e9619.js} +1 -1
  127. package/dist/chunks/{form-f29mbr7f.js → formatter-f29mbr7f.js} +1 -1
  128. package/dist/chunks/{form-eh003p28.js → formatter-f3cxnthp.js} +139 -139
  129. package/dist/chunks/{form-2k8khapm.js → formatter-fcrkznn8.js} +5 -5
  130. package/dist/chunks/{form-m4m6ddy0.js → formatter-fg1z6pp1.js} +35 -35
  131. package/dist/chunks/{form-4aqqpnpa.js → formatter-fjgg99jy.js} +12 -12
  132. package/dist/chunks/{form-y38hkvdm.js → formatter-fmzzfcx7.js} +15 -15
  133. package/dist/chunks/{form-gebfq3xb.js → formatter-fqbxrgf0.js} +12 -12
  134. package/dist/chunks/{form-g6q9qykm.js → formatter-ft3hqk2c.js} +9 -9
  135. package/dist/chunks/{form-mqz80whq.js → formatter-g1qebd0t.js} +18 -18
  136. package/dist/chunks/{form-fgywf1sk.js → formatter-g33e3t29.js} +14 -14
  137. package/dist/chunks/{form-e60rwd5s.js → formatter-g4t5e3me.js} +15 -15
  138. package/dist/chunks/{form-vgpxhj99.js → formatter-gbc8mqyx.js} +6 -6
  139. package/dist/chunks/{form-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{form-p0kcevce.js → formatter-gg15nyhh.js} +66 -44
  141. package/dist/chunks/{form-gqtdsdt7.js → formatter-gqtdsdt7.js} +1 -1
  142. package/dist/chunks/{form-gztk07db.js → formatter-gs412db5.js} +13 -13
  143. package/dist/chunks/{form-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  144. package/dist/chunks/{form-3cqwnyj9.js → formatter-hcv80w8f.js} +8 -8
  145. package/dist/chunks/{form-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
  146. package/dist/chunks/{form-hdysr67s.js → formatter-hjkq67zn.js} +3 -3
  147. package/dist/chunks/{form-t24pbkgt.js → formatter-hkczk8bw.js} +3 -3
  148. package/dist/chunks/{form-hq3c8me3.js → formatter-hq3c8me3.js} +1 -1
  149. package/dist/chunks/{form-rwe7g98w.js → formatter-hvzrs0xr.js} +54 -54
  150. package/dist/chunks/{form-4bmbsd4v.js → formatter-hxrpfe82.js} +1 -1
  151. package/dist/chunks/{form-r3qasar1.js → formatter-j26nqjmz.js} +22 -22
  152. package/dist/chunks/{form-wnvgq5rs.js → formatter-j7mctfem.js} +3 -3
  153. package/dist/chunks/{form-505c55rd.js → formatter-ja2emt1d.js} +6 -6
  154. package/dist/chunks/{form-y8j1d83x.js → formatter-je4aj9kh.js} +24 -24
  155. package/dist/chunks/{form-gq6ff74y.js → formatter-jfqkz3as.js} +11 -11
  156. package/dist/chunks/{form-3wy3xfhq.js → formatter-jh6atg41.js} +8 -8
  157. package/dist/chunks/{form-jk540des.js → formatter-jk540des.js} +2 -2
  158. package/dist/chunks/{form-vkbhjkd5.js → formatter-jkfbaykb.js} +32 -32
  159. package/dist/chunks/{form-y71avatq.js → formatter-jwcy2c2z.js} +4 -4
  160. package/dist/chunks/{form-s5fj66ad.js → formatter-jzrhc3ay.js} +14 -14
  161. package/dist/chunks/{form-cpxgzvxx.js → formatter-k9jhr1nj.js} +14 -14
  162. package/dist/chunks/{form-pq3p5sgx.js → formatter-kan5fc59.js} +1 -1
  163. package/dist/chunks/{form-2g8hje7s.js → formatter-kfgdhbhb.js} +11 -11
  164. package/dist/chunks/{form-jtzsmrk2.js → formatter-kh11x27a.js} +10 -10
  165. package/dist/chunks/{form-njc0w668.js → formatter-kvesanzg.js} +26 -26
  166. package/dist/chunks/{form-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  167. package/dist/chunks/{form-maspj1v3.js → formatter-maspj1v3.js} +1 -1
  168. package/dist/chunks/{form-3c9pez1w.js → formatter-mfd36709.js} +14 -14
  169. package/dist/chunks/{form-d0ky9prf.js → formatter-mpmevjqk.js} +13 -13
  170. package/dist/chunks/{form-928hjf0p.js → formatter-mvtm0qmf.js} +13 -13
  171. package/dist/chunks/{form-fb4f5xs0.js → formatter-n4hpj17r.js} +11 -11
  172. package/dist/chunks/{form-phz50fbd.js → formatter-nd4tfyg0.js} +9 -9
  173. package/dist/chunks/{form-cw11zj9g.js → formatter-nrd63j21.js} +6 -6
  174. package/dist/chunks/{form-pmrqhd2p.js → formatter-ntvjbsjw.js} +22 -22
  175. package/dist/chunks/{form-hzfhha8y.js → formatter-nxm27acf.js} +14 -14
  176. package/dist/chunks/{form-m4v3ppb4.js → formatter-p0gzq3ww.js} +17 -17
  177. package/dist/chunks/{form-f7qtgnbp.js → formatter-p2zvaqmw.js} +23 -23
  178. package/dist/chunks/{form-5xtgfte3.js → formatter-p37cw4rj.js} +4 -4
  179. package/dist/chunks/{form-cfjaa9df.js → formatter-p53nntgz.js} +13 -13
  180. package/dist/chunks/{form-a6w21yjg.js → formatter-p6tk73t3.js} +15 -15
  181. package/dist/chunks/{form-n3n5kct9.js → formatter-pdf019mb.js} +17 -17
  182. package/dist/chunks/{form-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  183. package/dist/chunks/{form-pknna89w.js → formatter-pknna89w.js} +1 -1
  184. package/dist/chunks/{form-e97ndpgv.js → formatter-pxs52935.js} +14 -14
  185. package/dist/chunks/{form-vmkrwz5c.js → formatter-pzxf2myn.js} +30 -30
  186. package/dist/chunks/{form-q0xm7vwc.js → formatter-q0xm7vwc.js} +2 -2
  187. package/dist/chunks/{form-j50dn89j.js → formatter-q1f4s60w.js} +13 -13
  188. package/dist/chunks/{form-b0p9f8mf.js → formatter-q1kj48yt.js} +20 -20
  189. package/dist/chunks/{form-0bv9cy4y.js → formatter-q45ag0p8.js} +26 -26
  190. package/dist/chunks/{form-q5e7cmwt.js → formatter-q5e7cmwt.js} +1 -1
  191. package/dist/chunks/{form-swjgwa7j.js → formatter-q5eaxa6y.js} +9 -9
  192. package/dist/chunks/{form-edrmdtr5.js → formatter-qa3qhgw8.js} +7 -7
  193. package/dist/chunks/{form-a602vx8c.js → formatter-qhvzx7pk.js} +23 -23
  194. package/dist/chunks/{form-snvhch9n.js → formatter-qhw583k0.js} +11 -11
  195. package/dist/chunks/{form-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
  196. package/dist/chunks/{form-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  197. package/dist/chunks/{form-0ycbn11j.js → formatter-qvcdsk4b.js} +46 -46
  198. package/dist/chunks/{form-kca18nqk.js → formatter-qvwq1zvz.js} +13 -13
  199. package/dist/chunks/formatter-qz7awyd3.js +26 -0
  200. package/dist/chunks/{form-3cz0zj82.js → formatter-r65g850v.js} +19 -19
  201. package/dist/chunks/{form-54ma36ye.js → formatter-r94pvvab.js} +4 -4
  202. package/dist/chunks/{form-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  203. package/dist/chunks/{form-rert0e01.js → formatter-rert0e01.js} +2 -2
  204. package/dist/chunks/{form-seewk876.js → formatter-rhy9k1rp.js} +15 -15
  205. package/dist/chunks/{form-rj3eygr5.js → formatter-rj3eygr5.js} +2 -2
  206. package/dist/chunks/{form-wzpavc0h.js → formatter-rjerygwq.js} +28 -28
  207. package/dist/chunks/{form-7fkffz83.js → formatter-rkprpv83.js} +4 -4
  208. package/dist/chunks/{form-p3p972wa.js → formatter-rmm45jmv.js} +5 -5
  209. package/dist/chunks/{form-99yrpdtp.js → formatter-rptf7q9a.js} +9 -9
  210. package/dist/chunks/{form-9pa8tak9.js → formatter-rqa1jxse.js} +2 -2
  211. package/dist/chunks/{form-rdc13ccq.js → formatter-rz47h1na.js} +321 -321
  212. package/dist/chunks/{form-tqnbmqv0.js → formatter-s5q76w4b.js} +11 -11
  213. package/dist/chunks/{form-sa8ekw3f.js → formatter-sa8ekw3f.js} +2 -2
  214. package/dist/chunks/{form-b3f8fkhc.js → formatter-scgrse2b.js} +5 -5
  215. package/dist/chunks/{form-satfz2qa.js → formatter-sn62p56x.js} +11 -11
  216. package/dist/chunks/{form-bpbqsjc5.js → formatter-sq4kkv30.js} +18 -18
  217. package/dist/chunks/{form-syv4x271.js → formatter-syv4x271.js} +1 -1
  218. package/dist/chunks/{form-fea7gdn7.js → formatter-sz4t6e64.js} +4 -4
  219. package/dist/chunks/{form-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{form-608ahxn3.js → formatter-tcetyb9j.js} +4 -4
  221. package/dist/chunks/{form-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{form-tdstcens.js → formatter-tdstcens.js} +1 -1
  223. package/dist/chunks/{form-txrthtyn.js → formatter-te3mz5kp.js} +5 -5
  224. package/dist/chunks/{form-47a0zg4r.js → formatter-th3em6jy.js} +4 -4
  225. package/dist/chunks/{form-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
  226. package/dist/chunks/{form-721826nf.js → formatter-tsyk5zzk.js} +19 -19
  227. package/dist/chunks/{form-g6drypzc.js → formatter-twkrdnw7.js} +13 -13
  228. package/dist/chunks/{form-xk9sh67x.js → formatter-twpzn2hm.js} +22 -22
  229. package/dist/chunks/{form-rv8bg9zk.js → formatter-twwzjqdf.js} +3 -3
  230. package/dist/chunks/{form-r7pvn046.js → formatter-tx6qfw4f.js} +8 -8
  231. package/dist/chunks/{form-s2z0d44b.js → formatter-txm3e8qz.js} +4 -4
  232. package/dist/chunks/{form-tyytaxap.js → formatter-tyytaxap.js} +1 -1
  233. package/dist/chunks/{form-4c3synvf.js → formatter-v0267kdd.js} +22 -22
  234. package/dist/chunks/{form-6g7e4dd5.js → formatter-v0es1rhs.js} +7 -7
  235. package/dist/chunks/{form-ax1t9xtj.js → formatter-v3651974.js} +8 -8
  236. package/dist/chunks/{form-n4fsmagx.js → formatter-v3ttaphs.js} +23 -23
  237. package/dist/chunks/{form-y2qecmcg.js → formatter-v6c6rcwe.js} +8 -8
  238. package/dist/chunks/{form-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{form-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  240. package/dist/chunks/{form-ez08sjjy.js → formatter-vjv51mvx.js} +32 -32
  241. package/dist/chunks/{form-xja3d10x.js → formatter-vxspw9yr.js} +4 -4
  242. package/dist/chunks/{form-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{form-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{form-a0w9j8wk.js → formatter-wc72y96k.js} +37 -37
  245. package/dist/chunks/{form-wd87259q.js → formatter-wd87259q.js} +1 -1
  246. package/dist/chunks/{form-e5ephxh3.js → formatter-wg6fdgtk.js} +15 -15
  247. package/dist/chunks/{form-47swjef3.js → formatter-wg7azwjh.js} +17 -17
  248. package/dist/chunks/{form-5xypne46.js → formatter-whhqcvh8.js} +15 -15
  249. package/dist/chunks/{form-bjx1sjef.js → formatter-wjr9rjd7.js} +6 -6
  250. package/dist/chunks/{form-rjj0kxdj.js → formatter-wr0g8n2t.js} +24 -24
  251. package/dist/chunks/{form-ssyqzp7x.js → formatter-wsgnknpb.js} +25 -25
  252. package/dist/chunks/{form-m9fzqjzy.js → formatter-wsvg2szn.js} +14 -14
  253. package/dist/chunks/{form-537k2b6a.js → formatter-wwt5dmw6.js} +5 -5
  254. package/dist/chunks/{form-rzbepvw2.js → formatter-x3c01j44.js} +32 -32
  255. package/dist/chunks/{form-yrey27x9.js → formatter-x40w4ms9.js} +18 -18
  256. package/dist/chunks/{form-k10q0rt9.js → formatter-x9269a9z.js} +33 -33
  257. package/dist/chunks/{form-e1ev7m0f.js → formatter-xgaedbr8.js} +13 -13
  258. package/dist/chunks/{form-yynmaj8z.js → formatter-xk0yahwt.js} +2 -2
  259. package/dist/chunks/{form-btje6eqz.js → formatter-xxtm58em.js} +24 -24
  260. package/dist/chunks/{form-mhc8tqjz.js → formatter-xzdszenr.js} +3 -3
  261. package/dist/chunks/{form-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  262. package/dist/chunks/{form-d858xzj7.js → formatter-y6mhz57t.js} +4 -4
  263. package/dist/chunks/{form-bdn2wxed.js → formatter-y8ay14br.js} +22 -22
  264. package/dist/chunks/{form-37npsz1w.js → formatter-yb185ac2.js} +33 -33
  265. package/dist/chunks/{form-ghwm7f5x.js → formatter-ybqwpdwm.js} +14 -14
  266. package/dist/chunks/{form-4kmde3yz.js → formatter-ygfnawd1.js} +12 -12
  267. package/dist/chunks/{form-h7nvm89x.js → formatter-ygtkbg8j.js} +6 -6
  268. package/dist/chunks/{form-z5pcptfa.js → formatter-ygz1yfbt.js} +11 -11
  269. package/dist/chunks/{form-0ap5nxpg.js → formatter-ykgvx44j.js} +7 -7
  270. package/dist/chunks/{form-f2n192rq.js → formatter-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{form-xnz68hwv.js → formatter-ysftav9z.js} +6 -6
  272. package/dist/chunks/{form-jh43x2gr.js → formatter-yvgxm2n5.js} +27 -27
  273. package/dist/chunks/{form-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{form-6cv5qdzx.js → formatter-z1bgcsag.js} +12 -12
  275. package/dist/chunks/{form-7x4qn87h.js → formatter-z2qvtray.js} +8 -8
  276. package/dist/chunks/{form-9k6mxhmg.js → formatter-z3yc4nfw.js} +21 -21
  277. package/dist/chunks/{form-2xdh0w28.js → formatter-z6c3x22d.js} +5 -5
  278. package/dist/chunks/{form-fgem0d3n.js → formatter-ze75yzft.js} +8 -8
  279. package/dist/chunks/{form-pqwj5q2q.js → formatter-zpa94q1q.js} +38 -38
  280. package/dist/chunks/{form-3cbpd81r.js → formatter-zpcg010g.js} +32 -32
  281. package/dist/chunks/{form-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{form-t3pdfh17.js → formatter-zw5d2dnw.js} +30 -30
  283. package/dist/chunks/{form-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +11 -11
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +139 -139
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +81 -81
  318. package/dist/database/database.js +74 -74
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +74 -74
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +99 -99
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +100 -100
  424. package/dist/form.js +80 -80
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +8 -8
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +80 -80
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +135 -135
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +87 -87
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +105 -105
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +98 -98
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +78 -78
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +105 -105
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +125 -125
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +125 -125
  521. package/dist/plugin/provider/openai.js +118 -118
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +1 -1
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +216 -216
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +88 -88
  557. package/dist/provider.js +99 -97
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +93 -93
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +3 -3
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +218 -218
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +1 -1
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +166 -166
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +5 -5
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +215 -215
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +211 -211
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +106 -106
  627. package/dist/snapshot.js +89 -89
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +122 -122
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +103 -103
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +208 -208
  642. package/dist/tool/plugin/skill.js +111 -111
  643. package/dist/tool/plugin/subagent.js +208 -208
  644. package/dist/tool/plugin/webfetch.js +110 -110
  645. package/dist/tool/plugin/websearch.js +114 -114
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/types/provider.d.ts +2 -0
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +95 -95
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/form-8kzeb6r2.js +0 -26
  686. package/dist/chunks/form-vay30y3j.js +0 -253
  687. /package/dist/chunks/{form-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{form-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{form-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{form-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{form-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{form-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{form-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{form-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{form-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  696. /package/dist/chunks/{form-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{form-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{form-3asan66x.js → formatter-3asan66x.js} +0 -0
  699. /package/dist/chunks/{form-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{form-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{form-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{form-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{form-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{form-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{form-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{form-53557ph1.js → formatter-53557ph1.js} +0 -0
  707. /package/dist/chunks/{form-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{form-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
  709. /package/dist/chunks/{form-6prwharc.js → formatter-6prwharc.js} +0 -0
  710. /package/dist/chunks/{form-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{form-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{form-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{form-822emrt2.js → formatter-822emrt2.js} +0 -0
  714. /package/dist/chunks/{form-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{form-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{form-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{form-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{form-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{form-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{form-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{form-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{form-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{form-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{form-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{form-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{form-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{form-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{form-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{form-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{form-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{form-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{form-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{form-df08tz66.js → formatter-df08tz66.js} +0 -0
  734. /package/dist/chunks/{form-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{form-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{form-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{form-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{form-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{form-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{form-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{form-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{form-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{form-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{form-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{form-g86h250q.js → formatter-g86h250q.js} +0 -0
  746. /package/dist/chunks/{form-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{form-gftt206x.js → formatter-gftt206x.js} +0 -0
  748. /package/dist/chunks/{form-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{form-hk9envan.js → formatter-hk9envan.js} +0 -0
  750. /package/dist/chunks/{form-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{form-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{form-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{form-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{form-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{form-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{form-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{form-m18g726c.js → formatter-m18g726c.js} +0 -0
  758. /package/dist/chunks/{form-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{form-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{form-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{form-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{form-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{form-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{form-pyv0edze.js → formatter-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{form-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{form-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{form-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{form-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{form-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{form-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{form-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{form-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{form-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{form-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{form-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{form-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{form-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{form-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{form-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{form-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{form-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{form-x61499pn.js → formatter-x61499pn.js} +0 -0
  783. /package/dist/chunks/{form-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{form-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{form-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{form-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{form-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{form-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID15,
2
+ ID16,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./form-be9ztc22.js";
5
+ } from "./formatter-7g29pkaf.js";
6
6
  import {
7
7
  __export
8
- } from "./form-9rqn6x4v.js";
8
+ } from "./formatter-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin7
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin31
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin7 = define({
84
+ var Plugin31 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin7 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID15.make("general"), (item) => {
94
+ editor.update(ID16.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID15.make("explore"), (item) => {
100
+ editor.update(ID16.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID15.make("compaction"), (item) => {
107
+ editor.update(ID16.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID15.make("title"), (item) => {
112
+ editor.update(ID16.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID15.make("summary"), (item) => {
119
+ editor.update(ID16.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin7 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin7, exports_agent };
130
+ export { Plugin31, exports_agent2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
2
+ Service83,
3
3
  node86
4
- } from "./form-m9fzqjzy.js";
4
+ } from "./formatter-wsvg2szn.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  combine2
10
- } from "./form-eaj1djv9.js";
10
+ } from "./formatter-02nrjc1r.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./form-c1fqxshp.js";
13
+ } from "./formatter-c1fqxshp.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./formatter-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service31,
25
+ Service: () => Service29,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node33,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service31 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service29 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make21({
64
+ var source = (entry) => make20({
65
65
  key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service31, Effect.gen(function* () {
79
- const { db } = yield* Service82;
78
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
79
+ const { db } = yield* Service83;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service31.of({ list, put, remove, load });
111
+ return Service29.of({ list, put, remove, load });
112
112
  }));
113
- var node35 = makeLocationNode({ service: Service31, layer, deps: [node86] });
113
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node86] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service81,
2
+ Service82,
3
3
  node85
4
- } from "./form-5xypne46.js";
4
+ } from "./formatter-whhqcvh8.js";
5
5
  import {
6
- Service72,
7
- node76
8
- } from "./form-hcg8wwt0.js";
6
+ Service71,
7
+ node74
8
+ } from "./formatter-ccr708e6.js";
9
9
  import {
10
10
  create3
11
- } from "./form-rdw6cm16.js";
11
+ } from "./formatter-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./form-9rqn6x4v.js";
14
+ } from "./formatter-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
20
  Event: () => Event10,
21
- ID: () => ID5,
21
+ ID: () => ID6,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service46,
31
+ Service: () => Service61,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node49
33
+ node: () => node64
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Event as Event10 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
41
+ var ID6 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID6
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID6,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service46 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service61 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service46, Effect.gen(function* () {
69
- const bus = yield* Service81;
70
- const kv = yield* Service72;
68
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
69
+ const bus = yield* Service82;
70
+ const kv = yield* Service71;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service46.of({
127
+ return Service61.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node49 = makeLocationNode({
188
- service: Service46,
187
+ var node64 = makeLocationNode({
188
+ service: Service61,
189
189
  layer,
190
- deps: [node85, node76]
190
+ deps: [node85, node74]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node49, exports_websearch3, Event10 };
193
+ export { ID6, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service61, node64, exports_websearch3, Event10 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -8,14 +8,14 @@ __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
9
  Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
16
  class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
18
+ var node5 = makeLocationNode({
19
19
  service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
@@ -29,4 +29,4 @@ function bound2(plugins) {
29
29
  return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node6, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./form-y71avatq.js";
3
+ } from "./formatter-jwcy2c2z.js";
4
4
  import {
5
- Service58,
6
- node60
7
- } from "./form-a602vx8c.js";
5
+ Service56,
6
+ node58
7
+ } from "./formatter-qhvzx7pk.js";
8
8
  import {
9
9
  __export
10
- } from "./form-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service17,
17
- node: () => node19,
16
+ Service: () => Service55,
17
+ node: () => node57,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service17 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service55 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service17, Effect.gen(function* () {
38
- const environment = yield* Service58;
37
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
38
+ const environment = yield* Service56;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service17.of({ withLock, write, writeTextPreservingBom });
59
+ return Service55.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node19 = makeLocationNode({ service: Service17, layer, deps: [node60] });
61
+ var node57 = makeLocationNode({ service: Service55, layer, deps: [node58] });
62
62
 
63
- export { Service17, readText2, syncTextBom2, node19, exports_file_mutation };
63
+ export { Service55, readText2, syncTextBom2, node57, exports_file_mutation };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./form-0ytnbz4y.js";
3
+ } from "./formatter-cd6h4nzs.js";
4
4
  import {
5
- Service74
6
- } from "./form-kngtgbps.js";
5
+ Service73
6
+ } from "./formatter-b0f1bdm2.js";
7
7
  import {
8
- Service21
9
- } from "./form-n3vpxe9e.js";
8
+ Service16
9
+ } from "./formatter-c2gyfhkp.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./form-0vbcp93d.js";
12
+ } from "./formatter-0vbcp93d.js";
13
13
  import {
14
- Info15,
14
+ Info4,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./form-pqwj5q2q.js";
19
+ } from "./formatter-zpa94q1q.js";
20
20
  import {
21
21
  __export
22
- } from "./form-9rqn6x4v.js";
22
+ } from "./formatter-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin44,
30
+ Plugin: () => Plugin41,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin44 = {
100
+ var Plugin41 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service21;
104
- const permission = yield* Service74;
103
+ const access = yield* Service16;
104
+ const permission = yield* Service73;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin44 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info15,
156
+ output: Info4,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin44, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin41, exports_opencode };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service78
3
- } from "./form-g6drypzc.js";
2
+ Service79
3
+ } from "./formatter-twkrdnw7.js";
4
4
  import {
5
- Service43
6
- } from "./form-vdvkw4gf.js";
5
+ Service62
6
+ } from "./formatter-crrxh0px.js";
7
7
  import {
8
- Service15
9
- } from "./form-e1ev7m0f.js";
8
+ Service69
9
+ } from "./formatter-xgaedbr8.js";
10
10
  import {
11
- make9
12
- } from "./form-r2z489rp.js";
11
+ make10
12
+ } from "./formatter-e80seqcp.js";
13
13
  import {
14
14
  observe2
15
- } from "./form-qsdy395h.js";
15
+ } from "./formatter-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./form-9rqn6x4v.js";
18
+ } from "./formatter-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter = {};
22
22
  __export(exports_formatter, {
23
23
  ConfigFormatterPlugin: () => exports_formatter,
24
- Plugin: () => Plugin30
24
+ Plugin: () => Plugin18
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { FSUtil } from "@opencode/util/fs-util";
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
29
29
  import { Npm } from "@opencode/util/npm";
30
30
  import { AppProcess } from "@opencode/util/process";
31
31
  import { Effect } from "effect";
32
- var Plugin30 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.config.formatter",
34
34
  effect: Effect.fn(function* (ctx) {
35
- const config = yield* Service43;
36
- const formatter = yield* Service15;
35
+ const config = yield* Service62;
36
+ const formatter = yield* Service69;
37
37
  const fs = yield* FSUtil.Service;
38
38
  const global = yield* Global.Service;
39
- const location = yield* Service78;
39
+ const location = yield* Service79;
40
40
  const npm = yield* Npm.Service;
41
41
  const processes = yield* AppProcess.Service;
42
42
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -44,7 +44,7 @@ var Plugin30 = define({
44
44
  const configured = resolve(loaded.entries);
45
45
  if (!configured)
46
46
  return;
47
- const builtIns = make9({
47
+ const builtIns = make10({
48
48
  directory: location.directory,
49
49
  worktree: location.project.directory,
50
50
  fs,
@@ -85,4 +85,4 @@ function resolve(entries) {
85
85
  }, undefined);
86
86
  }
87
87
 
88
- export { Plugin30, exports_formatter };
88
+ export { Plugin18, exports_formatter };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./form-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./form-qfa1cgps.js";
3
+ } from "./formatter-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service81,
2
+ Service82,
3
3
  node85
4
- } from "./form-5xypne46.js";
4
+ } from "./formatter-whhqcvh8.js";
5
5
  import {
6
6
  __export
7
- } from "./form-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,7 +12,7 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event16,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
@@ -22,18 +22,18 @@ __export(exports_form, {
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError8,
24
24
  Reply: () => Reply2,
25
- Service: () => Service70,
25
+ Service: () => Service68,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node74,
28
+ layer: () => layer25,
29
+ node: () => node71,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID11 = Form.ID;
39
39
  var Info21 = Form.Info;
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service70 extends Context.Service()("@opencode/Form") {
82
+ class Service68 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service70, Effect.gen(function* () {
85
- const bus = yield* Service81;
84
+ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
85
+ const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service70, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service70.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service68.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node74 = makeLocationNode({ service: Service70, layer: layer27, deps: [node85] });
167
+ var node71 = makeLocationNode({ service: Service68, layer: layer25, deps: [node85] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer27, node74, validateAnswer2, validateFields2, exports_form, Event17 };
319
+ export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node71, validateAnswer2, validateFields2, exports_form, Event16 };