@opencode/core 0.0.0-dev-19757 → 0.0.0-dev-19758

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{formatter-w1k39n5e.js → bus-06dxphr1.js} +4 -4
  8. package/dist/chunks/{formatter-g34rm5ee.js → bus-098d3mqp.js} +30 -30
  9. package/dist/chunks/{formatter-xe2dwhgm.js → bus-0b0th7s4.js} +10 -10
  10. package/dist/chunks/{formatter-nccgq8j4.js → bus-0c8m848g.js} +16 -16
  11. package/dist/chunks/{formatter-z9s6ggjz.js → bus-0cbj8ajh.js} +9 -9
  12. package/dist/chunks/{formatter-sh9rh5j7.js → bus-0cm1nqy3.js} +25 -25
  13. package/dist/chunks/{formatter-7y3w5jth.js → bus-0j9y03t3.js} +40 -40
  14. package/dist/chunks/{formatter-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{formatter-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{formatter-xt2789zt.js → bus-0qzv51dm.js} +30 -30
  17. package/dist/chunks/{formatter-p6j26bex.js → bus-100ecgng.js} +7 -7
  18. package/dist/chunks/{formatter-4jv7e9dq.js → bus-10jtetaj.js} +9 -9
  19. package/dist/chunks/{formatter-7xmff81v.js → bus-110m9arz.js} +15 -15
  20. package/dist/chunks/{formatter-xfp1mhk8.js → bus-17gne236.js} +4 -4
  21. package/dist/chunks/{formatter-dy8qh9xy.js → bus-1956heqa.js} +5 -5
  22. package/dist/chunks/{formatter-szgtqmk5.js → bus-1c4h0esh.js} +6 -6
  23. package/dist/chunks/{formatter-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{formatter-2z5bgv6k.js → bus-1fn7qz6r.js} +9 -9
  25. package/dist/chunks/{formatter-jcf77vsk.js → bus-1rfd4xxr.js} +2 -2
  26. package/dist/chunks/{formatter-6anwy9fs.js → bus-1s3p39g4.js} +6 -6
  27. package/dist/chunks/{formatter-21r38tys.js → bus-21r38tys.js} +1 -1
  28. package/dist/chunks/{formatter-2402vzrj.js → bus-2402vzrj.js} +1 -1
  29. package/dist/chunks/{formatter-tq9bddfy.js → bus-25bb1hc4.js} +13 -13
  30. package/dist/chunks/{formatter-6js7ajd4.js → bus-25trdgaf.js} +25 -25
  31. package/dist/chunks/{formatter-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{formatter-sw8vrykn.js → bus-2chdexej.js} +17 -17
  33. package/dist/chunks/{formatter-vmwh049b.js → bus-2e96adxv.js} +6 -6
  34. package/dist/chunks/bus-2h9152w8.js +252 -0
  35. package/dist/chunks/{formatter-fcrkznn8.js → bus-2k8khapm.js} +5 -5
  36. package/dist/chunks/{formatter-ceh329e1.js → bus-2msw9s5m.js} +11 -11
  37. package/dist/chunks/{formatter-kw4y2rsq.js → bus-2r959258.js} +302 -302
  38. package/dist/chunks/{formatter-hmq6fc40.js → bus-2s6k9xab.js} +11 -11
  39. package/dist/chunks/{formatter-24rwab1a.js → bus-2tth53p7.js} +31 -31
  40. package/dist/chunks/{formatter-7815knry.js → bus-2x1qdj5q.js} +11 -11
  41. package/dist/chunks/{formatter-nwpzj615.js → bus-33dbnsft.js} +9 -9
  42. package/dist/chunks/{formatter-1ygqh575.js → bus-33w4ejhs.js} +6 -6
  43. package/dist/chunks/{formatter-c78bbtc9.js → bus-37s12vcn.js} +5 -5
  44. package/dist/chunks/{formatter-1yv162eq.js → bus-3838ekre.js} +4 -4
  45. package/dist/chunks/{formatter-xwrmtca6.js → bus-38ac530a.js} +11 -11
  46. package/dist/chunks/{formatter-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{formatter-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{formatter-87gcxw7f.js → bus-3nse7x66.js} +14 -14
  49. package/dist/chunks/{formatter-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{formatter-zqx8wcya.js → bus-3tq5qxbk.js} +6 -6
  51. package/dist/chunks/{formatter-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{formatter-q52v1zkd.js → bus-441xk2wv.js} +11 -11
  53. package/dist/chunks/{formatter-kyarz3ws.js → bus-44jp0xn3.js} +4 -4
  54. package/dist/chunks/{formatter-psve6y68.js → bus-456sctqq.js} +4 -4
  55. package/dist/chunks/{formatter-c9qv3xyw.js → bus-47xrm495.js} +84 -84
  56. package/dist/chunks/{formatter-hkxhfj70.js → bus-4a6e8mmv.js} +16 -16
  57. package/dist/chunks/{formatter-zk1psjwf.js → bus-4bj7sh8v.js} +85 -85
  58. package/dist/chunks/{formatter-2mmbc3xp.js → bus-4fccdz1z.js} +47 -47
  59. package/dist/chunks/{formatter-ywmq5p8p.js → bus-4wmfdqaa.js} +15 -15
  60. package/dist/chunks/{formatter-wbt8he73.js → bus-54spjwjz.js} +18 -18
  61. package/dist/chunks/{formatter-pgey37v9.js → bus-55xf98n8.js} +12 -12
  62. package/dist/chunks/{formatter-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
  63. package/dist/chunks/{formatter-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
  64. package/dist/chunks/{formatter-gs7mtawa.js → bus-5bmybb02.js} +33 -33
  65. package/dist/chunks/{formatter-5daktx2q.js → bus-5daktx2q.js} +1 -1
  66. package/dist/chunks/{formatter-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{formatter-6q2qzy88.js → bus-5y3kegep.js} +4 -4
  68. package/dist/chunks/bus-619r8v3y.js +18 -0
  69. package/dist/chunks/{formatter-669tq793.js → bus-669tq793.js} +1 -1
  70. package/dist/chunks/{formatter-s0b4m20z.js → bus-67mc9q1p.js} +8 -8
  71. package/dist/chunks/{formatter-xhqsr2sb.js → bus-696j2597.js} +53 -53
  72. package/dist/chunks/{formatter-pstjchew.js → bus-6b0wr2gn.js} +23 -23
  73. package/dist/chunks/bus-6kdq0pjd.js +4 -0
  74. package/dist/chunks/{formatter-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{formatter-39vx9120.js → bus-6s3pmmk2.js} +8 -8
  76. package/dist/chunks/{formatter-qzjnbpqp.js → bus-6vaawb56.js} +50 -50
  77. package/dist/chunks/{formatter-q7daxc3f.js → bus-6xckhbd5.js} +19 -19
  78. package/dist/chunks/{formatter-st612rmk.js → bus-72macrbw.js} +52 -52
  79. package/dist/chunks/{formatter-xpzt8j8n.js → bus-7azjdvpr.js} +11 -11
  80. package/dist/chunks/{formatter-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{formatter-q99k41bd.js → bus-7dz8p9xt.js} +29 -29
  82. package/dist/chunks/{formatter-aj204w2b.js → bus-7q2t57ev.js} +43 -43
  83. package/dist/chunks/{formatter-6rmnkzfb.js → bus-7qgwwy7f.js} +13 -13
  84. package/dist/chunks/{formatter-h3b1qqa9.js → bus-7vvypxen.js} +7 -7
  85. package/dist/chunks/{formatter-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
  86. package/dist/chunks/{formatter-gqn8487k.js → bus-7xx1524k.js} +44 -44
  87. package/dist/chunks/{formatter-0996nyz8.js → bus-82rhge12.js} +9 -9
  88. package/dist/chunks/{formatter-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{formatter-06x8he3q.js → bus-8gxqpgph.js} +4 -4
  90. package/dist/chunks/{formatter-kkjryrew.js → bus-8jr144xf.js} +9 -9
  91. package/dist/chunks/{formatter-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
  92. package/dist/chunks/{formatter-wvj88p5n.js → bus-9bzaahhz.js} +21 -21
  93. package/dist/chunks/{formatter-bh0zzf2s.js → bus-9c3np669.js} +8 -8
  94. package/dist/chunks/{formatter-2wj8n25z.js → bus-9nepbqpa.js} +6 -6
  95. package/dist/chunks/{formatter-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{formatter-sfmpga1j.js → bus-a471nxk4.js} +24 -24
  97. package/dist/chunks/{formatter-jfn6ykkf.js → bus-a4rjqnpf.js} +14 -14
  98. package/dist/chunks/{formatter-aaet6srn.js → bus-aaet6srn.js} +2 -2
  99. package/dist/chunks/{formatter-s61nvhk3.js → bus-adq3kxc0.js} +5 -5
  100. package/dist/chunks/{formatter-rmk2c50f.js → bus-aeb4sny1.js} +5 -5
  101. package/dist/chunks/{formatter-qby8jf2p.js → bus-aeck6645.js} +8 -8
  102. package/dist/chunks/{formatter-3b7cesba.js → bus-ayg85fpn.js} +5 -5
  103. package/dist/chunks/{formatter-rc8abpkz.js → bus-b4tzb99z.js} +6 -6
  104. package/dist/chunks/{formatter-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{formatter-4jc5c4h4.js → bus-bz85s9hh.js} +1 -1
  106. package/dist/chunks/{formatter-3ybmm67g.js → bus-c019crvg.js} +14 -14
  107. package/dist/chunks/{formatter-wrj9kdwa.js → bus-c4mstr5p.js} +1 -1
  108. package/dist/chunks/{formatter-rfczfd12.js → bus-c7beamen.js} +7 -7
  109. package/dist/chunks/{formatter-qj8eh1ht.js → bus-cavr175a.js} +4 -4
  110. package/dist/chunks/{formatter-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{formatter-3hr7jtfn.js → bus-ck8c2f3r.js} +22 -22
  112. package/dist/chunks/{formatter-rmerk4f4.js → bus-cktevt8v.js} +46 -46
  113. package/dist/chunks/{formatter-djszqvmq.js → bus-cwa6csj7.js} +9 -9
  114. package/dist/chunks/{formatter-2vywekkr.js → bus-cwbe6ym8.js} +15 -15
  115. package/dist/chunks/{formatter-6q3qeyxk.js → bus-cyg049pt.js} +5 -5
  116. package/dist/chunks/{formatter-432zg6d4.js → bus-d3s8mw9x.js} +29 -29
  117. package/dist/chunks/{formatter-82gda1eq.js → bus-d4g3vwm5.js} +21 -21
  118. package/dist/chunks/{formatter-xhczph7k.js → bus-d5j16axh.js} +12 -12
  119. package/dist/chunks/{formatter-k3a03e74.js → bus-d6mgh4yr.js} +8 -8
  120. package/dist/chunks/{formatter-rz9n75z5.js → bus-d84x1h8e.js} +29 -29
  121. package/dist/chunks/{formatter-zh9xaa1s.js → bus-dapfwjck.js} +32 -32
  122. package/dist/chunks/{formatter-47aj3v1p.js → bus-dc69t32x.js} +14 -14
  123. package/dist/chunks/{formatter-s5cgwvcm.js → bus-dg3w1nd5.js} +3 -3
  124. package/dist/chunks/{formatter-6h1s4fng.js → bus-dpehwp0a.js} +13 -13
  125. package/dist/chunks/{formatter-n1tnp0w1.js → bus-dq56eeb5.js} +20 -20
  126. package/dist/chunks/{formatter-pegh2r6s.js → bus-drwba54j.js} +14 -14
  127. package/dist/chunks/{formatter-dv1qgsyq.js → bus-dv1qgsyq.js} +1 -1
  128. package/dist/chunks/{formatter-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{formatter-erw5rpbs.js → bus-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{formatter-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{formatter-skfdyt5m.js → bus-ezbx256a.js} +27 -27
  132. package/dist/chunks/{formatter-dsxekm4p.js → bus-f010ntnv.js} +19 -19
  133. package/dist/chunks/{formatter-haqyfn71.js → bus-f4sjgpj8.js} +37 -37
  134. package/dist/chunks/{formatter-8krhc899.js → bus-f57shvpt.js} +33 -33
  135. package/dist/chunks/{formatter-f828m53h.js → bus-f828m53h.js} +2 -2
  136. package/dist/chunks/{formatter-1zksj7yq.js → bus-fbwcgawc.js} +11 -11
  137. package/dist/chunks/{formatter-mg63z3hs.js → bus-feyb32n1.js} +18 -18
  138. package/dist/chunks/{formatter-bgmk75ab.js → bus-ff8g97f7.js} +6 -6
  139. package/dist/chunks/{formatter-q3rwwjss.js → bus-fp3b2tyn.js} +24 -24
  140. package/dist/chunks/{formatter-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
  141. package/dist/chunks/{formatter-pg9911fw.js → bus-g0b57gve.js} +43 -43
  142. package/dist/chunks/{formatter-ryr25ayn.js → bus-g8d3gcyj.js} +7 -7
  143. package/dist/chunks/{formatter-g3yyr5p0.js → bus-gbhek550.js} +13 -13
  144. package/dist/chunks/{formatter-p9wyast9.js → bus-gcsw9y0t.js} +8 -8
  145. package/dist/chunks/{formatter-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{formatter-ss1d5n7s.js → bus-ge6x8gv9.js} +17 -17
  147. package/dist/chunks/{formatter-zdbfb4d6.js → bus-gf7f2369.js} +6 -6
  148. package/dist/chunks/{formatter-zab19jja.js → bus-gffqj91w.js} +9 -9
  149. package/dist/chunks/{formatter-e4346r51.js → bus-gm7vvz5v.js} +17 -17
  150. package/dist/chunks/{formatter-qrg0q5a9.js → bus-gn047571.js} +25 -25
  151. package/dist/chunks/{formatter-jwpsb1fs.js → bus-gprn4qe6.js} +24 -24
  152. package/dist/chunks/{formatter-08ym40nb.js → bus-gv0zjanc.js} +2 -2
  153. package/dist/chunks/{formatter-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{formatter-ry9ybv6e.js → bus-h3g6m2mf.js} +1 -1
  155. package/dist/chunks/{formatter-y766knqa.js → bus-h4sy77rb.js} +13 -13
  156. package/dist/chunks/{formatter-nzyhnfxz.js → bus-h6r3nrb9.js} +4 -4
  157. package/dist/chunks/{formatter-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{formatter-shh6fz4q.js → bus-h6z8d5tn.js} +4 -4
  159. package/dist/chunks/{formatter-spr8h2ym.js → bus-h8j3vz9y.js} +9 -9
  160. package/dist/chunks/{formatter-3c1tgrea.js → bus-hdab2k61.js} +6 -6
  161. package/dist/chunks/{formatter-ks6s6bng.js → bus-hdf6015e.js} +46 -46
  162. package/dist/chunks/{formatter-76vcy4ng.js → bus-heexpby2.js} +18 -18
  163. package/dist/chunks/{formatter-bha4atvq.js → bus-hfdr1yjj.js} +4 -4
  164. package/dist/chunks/{formatter-arr7rt2x.js → bus-hjbpbmpy.js} +19 -19
  165. package/dist/chunks/{formatter-ekt5sq8n.js → bus-hmhpv68n.js} +11 -11
  166. package/dist/chunks/{formatter-wbkyxrgf.js → bus-hnr5yq9h.js} +5 -5
  167. package/dist/chunks/{formatter-8xgg1ta2.js → bus-hrns00hc.js} +3 -3
  168. package/dist/chunks/{formatter-j56e64zr.js → bus-j56e64zr.js} +1 -1
  169. package/dist/chunks/{formatter-s4jehtr9.js → bus-j8ajybmk.js} +13 -13
  170. package/dist/chunks/{formatter-z47fxbth.js → bus-ja2b05k4.js} +42 -42
  171. package/dist/chunks/{formatter-mtz5a3ex.js → bus-jj64m3ds.js} +5 -5
  172. package/dist/chunks/{formatter-wgcgxnpz.js → bus-jjapnhx6.js} +3 -3
  173. package/dist/chunks/{formatter-qk09twxp.js → bus-jzy2rg4w.js} +12 -12
  174. package/dist/chunks/{formatter-c5aq6n3b.js → bus-kcdjsgm9.js} +7 -7
  175. package/dist/chunks/{formatter-kvz7gft4.js → bus-kg0nn6m1.js} +3 -3
  176. package/dist/chunks/{formatter-gqf6jkd0.js → bus-kmphysr3.js} +13 -13
  177. package/dist/chunks/{formatter-bkbe2fp5.js → bus-kprffh1k.js} +12 -12
  178. package/dist/chunks/{formatter-46kx5wxz.js → bus-m2btv783.js} +11 -11
  179. package/dist/chunks/{formatter-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  180. package/dist/chunks/bus-m5kkt6zs.js +26 -0
  181. package/dist/chunks/{formatter-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{formatter-4r1f55er.js → bus-mc494fkv.js} +16 -16
  183. package/dist/chunks/{formatter-mhkvc446.js → bus-mhkvc446.js} +1 -1
  184. package/dist/chunks/{formatter-37sjec0g.js → bus-mmj3etnc.js} +11 -11
  185. package/dist/chunks/{formatter-34nv4jvf.js → bus-mvr5bn4j.js} +12 -12
  186. package/dist/chunks/{formatter-enbm4ny7.js → bus-mxg2czg2.js} +15 -15
  187. package/dist/chunks/{formatter-82ppghe7.js → bus-n1y7d7jv.js} +5 -5
  188. package/dist/chunks/{formatter-wht0dt7x.js → bus-n3akjfbb.js} +3 -3
  189. package/dist/chunks/{formatter-dtv9hzvh.js → bus-n4avssqr.js} +21 -21
  190. package/dist/chunks/{formatter-d858xzj7.js → bus-nb9p6b26.js} +4 -4
  191. package/dist/chunks/{formatter-9rj3xa8n.js → bus-nbtewark.js} +15 -15
  192. package/dist/chunks/{formatter-aettmwyp.js → bus-nkcyb48x.js} +33 -33
  193. package/dist/chunks/{formatter-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
  194. package/dist/chunks/{formatter-v1kad2yc.js → bus-ns2eanfy.js} +20 -20
  195. package/dist/chunks/{formatter-0fxerekh.js → bus-nzeerxgc.js} +7 -7
  196. package/dist/chunks/{formatter-nzks3jc8.js → bus-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{formatter-ryvbxndv.js → bus-p139kq9c.js} +25 -25
  198. package/dist/chunks/{formatter-p28j5sbe.js → bus-p28j5sbe.js} +2 -2
  199. package/dist/chunks/{formatter-spettxyb.js → bus-p7r1y5kx.js} +3 -3
  200. package/dist/chunks/{formatter-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{formatter-pknna89w.js → bus-pknna89w.js} +1 -1
  202. package/dist/chunks/{formatter-qtdgjjy1.js → bus-pykab6j4.js} +11 -11
  203. package/dist/chunks/{formatter-yt4sqp67.js → bus-q4jz9h3x.js} +21 -21
  204. package/dist/chunks/{formatter-a002vgwb.js → bus-q6a741vd.js} +3 -3
  205. package/dist/chunks/{formatter-sxjzzd7x.js → bus-q6gqpcae.js} +7 -7
  206. package/dist/chunks/{formatter-g9nqk1j3.js → bus-q9jgfmem.js} +26 -26
  207. package/dist/chunks/{formatter-6gqwehnk.js → bus-qbfpstdc.js} +11 -11
  208. package/dist/chunks/{formatter-3fq7r9z3.js → bus-qf472px8.js} +28 -28
  209. package/dist/chunks/{formatter-pnv527nz.js → bus-qg0jgkcp.js} +9 -9
  210. package/dist/chunks/{formatter-wgdgcqs0.js → bus-qgw0maww.js} +23 -23
  211. package/dist/chunks/{formatter-98ms71gf.js → bus-qhxefk9a.js} +11 -11
  212. package/dist/chunks/{formatter-d78wf4jw.js → bus-qr8h26wd.js} +11 -11
  213. package/dist/chunks/{formatter-qsdy395h.js → bus-qsdy395h.js} +1 -1
  214. package/dist/chunks/{formatter-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{formatter-86d6e2n1.js → bus-rfj6pkw1.js} +33 -33
  216. package/dist/chunks/{formatter-xc7y8sbe.js → bus-rhykyrb3.js} +27 -27
  217. package/dist/chunks/{formatter-gaftdbkr.js → bus-rped87jq.js} +35 -35
  218. package/dist/chunks/{formatter-f7c5yctb.js → bus-rvgr0dnq.js} +3 -3
  219. package/dist/chunks/{formatter-7tmymnpd.js → bus-s0fe0qa9.js} +9 -9
  220. package/dist/chunks/{formatter-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
  221. package/dist/chunks/{formatter-vavx823f.js → bus-saatj7sj.js} +11 -11
  222. package/dist/chunks/{formatter-cacz7m9f.js → bus-sgz639f1.js} +17 -17
  223. package/dist/chunks/{formatter-w6fn3d5n.js → bus-sscd0z9x.js} +4 -4
  224. package/dist/chunks/{formatter-jfq5ya7h.js → bus-sskj22e4.js} +29 -29
  225. package/dist/chunks/{formatter-4h2p8nkm.js → bus-t2ps0g64.js} +9 -9
  226. package/dist/chunks/{formatter-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{formatter-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{formatter-q3thq4d0.js → bus-td6h23sg.js} +5 -5
  229. package/dist/chunks/{formatter-tdstcens.js → bus-tdstcens.js} +1 -1
  230. package/dist/chunks/{formatter-e8ym8eqq.js → bus-tehawftv.js} +16 -16
  231. package/dist/chunks/{formatter-mxz1spxe.js → bus-tggcyvkj.js} +13 -13
  232. package/dist/chunks/{formatter-tvtrv512.js → bus-tvtrv512.js} +1 -1
  233. package/dist/chunks/{formatter-ax3z2rcn.js → bus-v9j9833d.js} +6 -6
  234. package/dist/chunks/{formatter-d650b0nm.js → bus-vbs1nqmn.js} +18 -18
  235. package/dist/chunks/{formatter-veqvce7d.js → bus-veqvce7d.js} +1 -1
  236. package/dist/chunks/{formatter-2bh5apgf.js → bus-vgmgvddh.js} +26 -26
  237. package/dist/chunks/{formatter-j83byb14.js → bus-vncycja5.js} +4 -4
  238. package/dist/chunks/{formatter-vbgqmq0k.js → bus-vskbemtc.js} +34 -34
  239. package/dist/chunks/{formatter-5fyzcds6.js → bus-vy4e6tmv.js} +24 -24
  240. package/dist/chunks/{formatter-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{formatter-w7m5m02k.js → bus-w0ksh1wc.js} +27 -27
  242. package/dist/chunks/{formatter-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{formatter-j9gazmrb.js → bus-wb3k4ach.js} +5 -5
  244. package/dist/chunks/{formatter-wd87259q.js → bus-wd87259q.js} +1 -1
  245. package/dist/chunks/{formatter-6ctg8cmm.js → bus-whw3a6ka.js} +11 -11
  246. package/dist/chunks/{formatter-rmf8y2x7.js → bus-wz82dyvb.js} +19 -19
  247. package/dist/chunks/{formatter-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  248. package/dist/chunks/{formatter-tx9w5tca.js → bus-x353b1jt.js} +8 -8
  249. package/dist/chunks/{formatter-2jshy6k2.js → bus-x4aqctta.js} +4 -4
  250. package/dist/chunks/{formatter-zyrceszn.js → bus-x7ksmd0v.js} +168 -168
  251. package/dist/chunks/{formatter-zs0nrmpk.js → bus-xee2b91r.js} +10 -10
  252. package/dist/chunks/{formatter-29bjb6a3.js → bus-xfe7h115.js} +17 -17
  253. package/dist/chunks/{formatter-4r6m9py7.js → bus-xj3yf2be.js} +18 -18
  254. package/dist/chunks/{formatter-52vhye62.js → bus-xjk1tc7r.js} +22 -22
  255. package/dist/chunks/{formatter-hn6dtez2.js → bus-xm4abfw6.js} +22 -22
  256. package/dist/chunks/{formatter-b5wchtbc.js → bus-xrfzp3qw.js} +20 -20
  257. package/dist/chunks/{formatter-0v0eynhg.js → bus-xxbvdv54.js} +9 -9
  258. package/dist/chunks/{formatter-4zaq21pg.js → bus-xxq58sya.js} +13 -13
  259. package/dist/chunks/{formatter-yp6mbb9j.js → bus-y05z3yvm.js} +27 -27
  260. package/dist/chunks/{formatter-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{formatter-c488s98d.js → bus-y5df08dr.js} +5 -5
  262. package/dist/chunks/{formatter-y71avatq.js → bus-y71avatq.js} +1 -1
  263. package/dist/chunks/{formatter-c61a4c85.js → bus-y7nx0r49.js} +24 -24
  264. package/dist/chunks/{formatter-c0m9hyz0.js → bus-ya6jt93q.js} +9 -9
  265. package/dist/chunks/{formatter-na2nrvv6.js → bus-yeh1225a.js} +27 -27
  266. package/dist/chunks/{formatter-xtdfp5ze.js → bus-ymh54tbp.js} +17 -17
  267. package/dist/chunks/{formatter-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
  268. package/dist/chunks/{formatter-4d3mce5a.js → bus-ypmjrw8q.js} +37 -37
  269. package/dist/chunks/{formatter-2cyr096t.js → bus-yqmax6eh.js} +4 -4
  270. package/dist/chunks/{formatter-ft01kdnj.js → bus-yqphrj09.js} +4 -4
  271. package/dist/chunks/{formatter-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{formatter-yrznvahk.js → bus-yrznvahk.js} +2 -2
  273. package/dist/chunks/{formatter-0f9afca0.js → bus-yt0fqk68.js} +5 -5
  274. package/dist/chunks/{formatter-dqcgfggf.js → bus-yyhbbs14.js} +10 -10
  275. package/dist/chunks/{formatter-vy8be3j0.js → bus-yzrekgkv.js} +5 -5
  276. package/dist/chunks/{formatter-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{formatter-jjp0yg0r.js → bus-z2m37x9y.js} +16 -16
  278. package/dist/chunks/{formatter-nvb1qhwk.js → bus-z45f81hm.js} +9 -9
  279. package/dist/chunks/{formatter-z63w68vq.js → bus-z63w68vq.js} +2 -2
  280. package/dist/chunks/{formatter-akrnn5pm.js → bus-za9cx4qh.js} +8 -8
  281. package/dist/chunks/{formatter-858xx9fq.js → bus-zawb9p3e.js} +3 -3
  282. package/dist/chunks/{formatter-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{formatter-1pj95ama.js → bus-zk0vgq9k.js} +8 -8
  284. package/dist/chunks/{formatter-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{formatter-qb5946j2.js → bus-ztvng5ec.js} +16 -16
  286. package/dist/chunks/{formatter-pxcfj33x.js → bus-zvtp3jyd.js} +18 -18
  287. package/dist/chunks/{formatter-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +84 -84
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +120 -120
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +124 -124
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +124 -124
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +143 -143
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +123 -123
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +226 -226
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +96 -96
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +99 -99
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +104 -104
  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 +90 -90
  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/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +103 -103
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +80 -80
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +123 -123
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +112 -112
  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 +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +1 -1
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +224 -224
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +97 -97
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +94 -94
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +1 -1
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +123 -123
  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 +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +84 -84
  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 +3 -3
  614. package/dist/session/title.js +149 -149
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  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 +13 -13
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +109 -109
  627. package/dist/snapshot.js +90 -90
  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 +126 -126
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +123 -123
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +216 -216
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +111 -111
  644. package/dist/tool/plugin/websearch.js +113 -113
  645. package/dist/tool/plugin/write.js +119 -119
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +7 -7
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +86 -86
  679. package/dist/websearch.js +79 -79
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +80 -80
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +97 -97
  690. package/package.json +8 -8
  691. package/dist/chunks/formatter-9sd31a58.js +0 -26
  692. package/dist/chunks/formatter-hxa7m5za.js +0 -4
  693. package/dist/chunks/formatter-q509s3k3.js +0 -18
  694. package/dist/chunks/formatter-s0mep9za.js +0 -252
  695. /package/dist/chunks/{formatter-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{formatter-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{formatter-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{formatter-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{formatter-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{formatter-24dcb14g.js → bus-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{formatter-2710q6r3.js → bus-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{formatter-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{formatter-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{formatter-359p4xyc.js → bus-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{formatter-3asan66x.js → bus-3asan66x.js} +0 -0
  706. /package/dist/chunks/{formatter-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{formatter-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{formatter-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{formatter-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{formatter-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{formatter-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{formatter-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{formatter-53557ph1.js → bus-53557ph1.js} +0 -0
  714. /package/dist/chunks/{formatter-550bvhaj.js → bus-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{formatter-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{formatter-6prwharc.js → bus-6prwharc.js} +0 -0
  717. /package/dist/chunks/{formatter-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{formatter-7m9af43g.js → bus-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{formatter-822emrt2.js → bus-822emrt2.js} +0 -0
  720. /package/dist/chunks/{formatter-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{formatter-8n3pysct.js → bus-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{formatter-922hggd3.js → bus-922hggd3.js} +0 -0
  723. /package/dist/chunks/{formatter-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{formatter-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{formatter-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{formatter-af5trqkr.js → bus-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{formatter-afrmfg78.js → bus-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{formatter-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{formatter-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{formatter-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{formatter-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{formatter-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{formatter-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{formatter-d9fn303g.js → bus-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{formatter-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{formatter-dajrwvna.js → bus-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{formatter-dap0rakb.js → bus-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{formatter-df08tz66.js → bus-df08tz66.js} +0 -0
  739. /package/dist/chunks/{formatter-dy18nga0.js → bus-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{formatter-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{formatter-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{formatter-ec1grn59.js → bus-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{formatter-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{formatter-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{formatter-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{formatter-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{formatter-faypxj3z.js → bus-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{formatter-fd410y7t.js → bus-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{formatter-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{formatter-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{formatter-g86h250q.js → bus-g86h250q.js} +0 -0
  752. /package/dist/chunks/{formatter-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{formatter-gftt206x.js → bus-gftt206x.js} +0 -0
  754. /package/dist/chunks/{formatter-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{formatter-hk9envan.js → bus-hk9envan.js} +0 -0
  756. /package/dist/chunks/{formatter-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{formatter-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{formatter-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{formatter-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{formatter-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{formatter-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{formatter-mp448xyj.js → bus-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{formatter-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{formatter-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{formatter-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{formatter-njntx4h6.js → bus-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{formatter-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{formatter-q74kybfr.js → bus-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{formatter-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{formatter-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{formatter-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{formatter-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{formatter-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{formatter-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{formatter-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{formatter-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{formatter-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{formatter-twg0f83k.js → bus-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{formatter-w803qqfp.js → bus-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{formatter-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{formatter-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{formatter-wtztk69x.js → bus-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{formatter-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{formatter-x61499pn.js → bus-x61499pn.js} +0 -0
  785. /package/dist/chunks/{formatter-y44na4kk.js → bus-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{formatter-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{formatter-y8f7s663.js → bus-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{formatter-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{formatter-ym463w8f.js → bus-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{formatter-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer17,
12
- make: () => make15,
13
- node: () => node38,
10
+ configured: () => configured9,
11
+ layer: () => layer20,
12
+ make: () => make19,
13
+ node: () => node60,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make15()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make15(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make15(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer17 = (input) => Layer.succeed(Metadata2, make15(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
- var node38 = configured6();
31
+ var layer20 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
33
+ var node60 = configured9();
34
34
 
35
- export { Metadata2, make15, useragent2, layer17, configured6, node38, exports_app };
35
+ export { Metadata2, make19, useragent2, layer20, configured9, node60, exports_app };
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./formatter-kyarz3ws.js";
4
+ } from "./bus-44jp0xn3.js";
5
5
  import {
6
6
  Service79,
7
7
  node83
8
- } from "./formatter-jcf77vsk.js";
8
+ } from "./bus-1rfd4xxr.js";
9
9
  import {
10
- ID5
11
- } from "./formatter-hxa7m5za.js";
10
+ ID4
11
+ } from "./bus-6kdq0pjd.js";
12
12
  import {
13
- Service55,
13
+ Service67,
14
14
  login2,
15
- node59
16
- } from "./formatter-q7daxc3f.js";
15
+ node71
16
+ } from "./bus-6xckhbd5.js";
17
17
  import {
18
18
  lazy2
19
- } from "./formatter-88xbtdfr.js";
19
+ } from "./bus-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./formatter-9rqn6x4v.js";
22
+ } from "./bus-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event9,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event7,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info9,
31
- NotFoundError: () => NotFoundError7,
30
+ Info: () => Info5,
31
+ NotFoundError: () => NotFoundError4,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service54,
33
+ Service: () => Service27,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node58
35
+ node: () => node30
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event9 } from "@opencode/schema/pty";
40
+ import { Event as Event7 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info9 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info5 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID5
48
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID4
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID5
54
+ ptyID: ID4
55
55
  }) {
56
56
  }
57
57
 
58
- class Service54 extends Context.Service()("@opencode/Pty") {
58
+ class Service27 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service54, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
61
61
  const bus = yield* Service82;
62
62
  const location = yield* Service79;
63
- const shell = yield* Service55;
63
+ const shell = yield* Service67;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError7({ ptyID: id });
100
+ return yield* new NotFoundError4({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID5.ascending();
126
+ const id = ID4.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service54.of({ list, get, create, update, remove, write, attach });
271
+ return Service27.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node58 = makeLocationNode({
274
- service: Service54,
273
+ var node30 = makeLocationNode({
274
+ service: Service27,
275
275
  layer,
276
- deps: [node86, node83, node59]
276
+ deps: [node86, node83, node71]
277
277
  });
278
278
 
279
- export { Info9, CreateInput2, UpdateInput2, NotFoundError7, ExitedError2, Service54, node58, exports_pty, Event9 };
279
+ export { Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service27, node30, exports_pty, Event7 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID8,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./formatter-jfq5ya7h.js";
5
+ } from "./bus-sskj22e4.js";
6
6
  import {
7
- ID7,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./formatter-yp6mbb9j.js";
10
+ Info26
11
+ } from "./bus-y05z3yvm.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID7.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID8.githubCopilot, id),
121
+ return Info26.make({
122
+ ...Info26.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID7.make(remote.id),
125
- providerID: ID8.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service56
3
- } from "./formatter-7y3w5jth.js";
2
+ Service44
3
+ } from "./bus-0j9y03t3.js";
4
4
  import {
5
5
  match2
6
- } from "./formatter-y1fvbwt7.js";
6
+ } from "./bus-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./formatter-qsdy395h.js";
9
+ } from "./bus-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./formatter-9rqn6x4v.js";
12
+ } from "./bus-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin23
18
+ Plugin: () => Plugin32
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin23 = define({
22
+ var Plugin32 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service56;
25
+ const config = yield* Service44;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
27
27
  const policies = () => loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
28
28
  yield* ctx.provider.transform((providers) => {
@@ -46,4 +46,4 @@ var Plugin23 = define({
46
46
  })
47
47
  });
48
48
 
49
- export { Plugin23, exports_policy };
49
+ export { Plugin32, exports_policy };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./formatter-3v8g72cx.js";
3
+ } from "./bus-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
10
10
  __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
12
  WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./formatter-922hggd3.js";
3
+ } from "./bus-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info14
13
+ Info: () => Info10
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info14 = Schema.Struct({
30
+ var Info10 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info14, exports_attachment };
34
+ export { Image2, Info10, exports_attachment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
@@ -8,7 +8,7 @@ __export(exports_opencode, {
8
8
  ModelsInput: () => ModelsInput2,
9
9
  MoveInput: () => MoveInput2,
10
10
  OpenCodeTools: () => exports_opencode,
11
- Plugin: () => Plugin45,
11
+ Plugin: () => Plugin8,
12
12
  RenameInput: () => RenameInput2
13
13
  });
14
14
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
64
64
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
65
65
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
66
66
  });
67
- var Plugin45 = {
67
+ var Plugin8 = {
68
68
  id: "opencode.tools",
69
69
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
70
70
  const hook = (event) => Effect.sync(() => {
@@ -161,4 +161,4 @@ var Plugin45 = {
161
161
  })
162
162
  };
163
163
 
164
- export { RenameInput2, MoveInput2, ModelsInput2, Plugin45, exports_opencode };
164
+ export { RenameInput2, MoveInput2, ModelsInput2, Plugin8, exports_opencode };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service56
4
- } from "./formatter-7y3w5jth.js";
3
+ Service44
4
+ } from "./bus-0j9y03t3.js";
5
5
  import {
6
6
  observe2
7
- } from "./formatter-qsdy395h.js";
7
+ } from "./bus-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./formatter-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch = {};
14
- __export(exports_websearch, {
15
- ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin18
13
+ var exports_websearch2 = {};
14
+ __export(exports_websearch2, {
15
+ ConfigWebSearchPlugin: () => exports_websearch2,
16
+ Plugin: () => Plugin45
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin18 = define({
20
+ var Plugin45 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service56;
23
+ const config = yield* Service44;
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 Plugin18 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin18, exports_websearch };
35
+ export { Plugin45, exports_websearch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./formatter-qfa1cgps.js";
3
+ } from "./bus-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID15
3
- } from "./formatter-dtv9hzvh.js";
2
+ ID9
3
+ } from "./bus-n4avssqr.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./formatter-922hggd3.js";
6
+ } from "./bus-922hggd3.js";
7
7
  import {
8
- Info18
9
- } from "./formatter-akrnn5pm.js";
8
+ Info11
9
+ } from "./bus-za9cx4qh.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./formatter-xfp1mhk8.js";
12
+ } from "./bus-17gne236.js";
13
13
  import {
14
14
  latest2,
15
- Service56
16
- } from "./formatter-7y3w5jth.js";
15
+ Service44
16
+ } from "./bus-0j9y03t3.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./formatter-5daktx2q.js";
19
+ } from "./bus-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./formatter-9rqn6x4v.js";
22
+ } from "./bus-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
47
  var Plugin30 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service56;
50
+ const config = yield* Service44;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin30 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID15.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID15.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  render2
3
- } from "./formatter-qqeeq2t9.js";
3
+ } from "./bus-57b9ws8p.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./bus-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./formatter-eaj1djv9.js";
6
+ } from "./bus-s8d7rejh.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./formatter-3fc6dm20.js";
11
+ } from "./bus-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions4 = {};
18
- __export(exports_instructions4, {
19
- CodeModeInstructions: () => exports_instructions4,
20
- make: () => make14,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make15,
21
21
  render: () => render3,
22
22
  update: () => update3
23
23
  });
@@ -111,9 +111,9 @@ ${render3(current)}`;
111
111
  return delta;
112
112
  return replacement;
113
113
  }
114
- var key = Key4.make("core/codemode");
114
+ var key = Key3.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make15 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
118
  return make21({
119
119
  key,
@@ -127,4 +127,4 @@ var make14 = (inventory) => {
127
127
  });
128
128
  };
129
129
 
130
- export { render3, update3, make14, exports_instructions4 };
130
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./formatter-858xx9fq.js";
4
+ } from "./bus-zawb9p3e.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./formatter-2710q6r3.js";
8
+ } from "./bus-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./formatter-y71avatq.js";
11
+ } from "./bus-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./bus-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make18,
14
- node: () => node56,
14
+ node: () => node58,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node56 = registryNode2({});
47
+ var node58 = registryNode2({});
48
48
 
49
- export { Binding2, Error3, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node56, exports_driver };
49
+ export { Binding2, Error3, ProviderNotFound2, make18, RegistryService2, registry2, registryNode2, node58, exports_driver };