@opencode/core 0.0.0-dev-19678 → 0.0.0-dev-19679

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 +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 +72 -72
  7. package/dist/chunks/{worktree-wnc6j8g9.js → formatter-01ydztrv.js} +3 -3
  8. package/dist/chunks/{worktree-02y3xw2c.js → formatter-02y3xw2c.js} +3 -3
  9. package/dist/chunks/{worktree-5d13hs91.js → formatter-04s09f7r.js} +23 -23
  10. package/dist/chunks/{worktree-64kphnzf.js → formatter-06dxphr1.js} +4 -4
  11. package/dist/chunks/{worktree-jzc84zhf.js → formatter-0hqwafz3.js} +23 -23
  12. package/dist/chunks/{worktree-ppqxyqmv.js → formatter-0keqgn7s.js} +13 -13
  13. package/dist/chunks/{worktree-yv0bcf73.js → formatter-0nbseank.js} +45 -45
  14. package/dist/chunks/{worktree-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{worktree-0q0f95c6.js → formatter-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{worktree-w5f4svzp.js → formatter-10fvk495.js} +1 -1
  17. package/dist/chunks/{worktree-57e9z27j.js → formatter-1109kv5r.js} +5 -5
  18. package/dist/chunks/{worktree-1bbkgx8g.js → formatter-1bbkgx8g.js} +1 -1
  19. package/dist/chunks/{worktree-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{worktree-trmhacsn.js → formatter-1dbrqace.js} +16 -16
  21. package/dist/chunks/{worktree-sp9v8d94.js → formatter-1dhhxh6a.js} +10 -10
  22. package/dist/chunks/{worktree-7hjrp1ry.js → formatter-1qs9yxn9.js} +19 -19
  23. package/dist/chunks/{worktree-3ks8vxtx.js → formatter-1xp9teg7.js} +24 -24
  24. package/dist/chunks/{worktree-21r38tys.js → formatter-21r38tys.js} +1 -1
  25. package/dist/chunks/{worktree-mpn67x5p.js → formatter-22jekang.js} +11 -11
  26. package/dist/chunks/{worktree-dg5bcj4q.js → formatter-23sxaqwc.js} +4 -4
  27. package/dist/chunks/{worktree-2402vzrj.js → formatter-2402vzrj.js} +1 -1
  28. package/dist/chunks/{worktree-s5f4w46x.js → formatter-25n9xza4.js} +6 -6
  29. package/dist/chunks/{worktree-ghstkmyc.js → formatter-28gebyhq.js} +9 -9
  30. package/dist/chunks/{worktree-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{worktree-3wa5p8ds.js → formatter-2bp2agkf.js} +3 -3
  32. package/dist/chunks/{worktree-tk4xefdg.js → formatter-2ehxpneg.js} +12 -12
  33. package/dist/chunks/{worktree-vyrd71eq.js → formatter-2ekhvkds.js} +11 -11
  34. package/dist/chunks/{worktree-bm2bzb1v.js → formatter-2jbrsabm.js} +12 -12
  35. package/dist/chunks/{worktree-3x63gc5s.js → formatter-2q231by8.js} +6 -6
  36. package/dist/chunks/{worktree-6ygx60r3.js → formatter-2s9cgapc.js} +21 -21
  37. package/dist/chunks/{worktree-besmmfw0.js → formatter-2v8ddz2e.js} +13 -13
  38. package/dist/chunks/{worktree-n3ca23hd.js → formatter-2wjkk1n7.js} +10 -10
  39. package/dist/chunks/{worktree-ekhc6zn8.js → formatter-2y39epze.js} +33 -33
  40. package/dist/chunks/{worktree-qt026hkp.js → formatter-33m53xa8.js} +9 -9
  41. package/dist/chunks/{worktree-seeh73d1.js → formatter-37gmwthz.js} +26 -26
  42. package/dist/chunks/{worktree-6x4tw2n6.js → formatter-388hykv8.js} +4 -4
  43. package/dist/chunks/{worktree-t3w5bgp4.js → formatter-3by05310.js} +9 -9
  44. package/dist/chunks/{worktree-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  45. package/dist/chunks/formatter-3fd9tgbe.js +26 -0
  46. package/dist/chunks/{worktree-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{worktree-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{worktree-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{worktree-r3gqfajy.js → formatter-42wacjv5.js} +20 -20
  50. package/dist/chunks/{worktree-bxzvdraz.js → formatter-43qxnbwp.js} +24 -24
  51. package/dist/chunks/{worktree-j4816qjh.js → formatter-44ck3ba6.js} +15 -15
  52. package/dist/chunks/{worktree-zxynhvrn.js → formatter-46eaec1k.js} +16 -16
  53. package/dist/chunks/{worktree-mem0xz91.js → formatter-48tpvksp.js} +1 -1
  54. package/dist/chunks/{worktree-fdz2twvr.js → formatter-4dtgeqyn.js} +50 -50
  55. package/dist/chunks/{worktree-bfd4xtf1.js → formatter-4j981g0a.js} +22 -22
  56. package/dist/chunks/{worktree-wtgc8z9n.js → formatter-4jtqadht.js} +15 -15
  57. package/dist/chunks/formatter-4v7qdvcn.js +18 -0
  58. package/dist/chunks/{worktree-v179d97a.js → formatter-4y21hyzt.js} +10 -10
  59. package/dist/chunks/{worktree-bexm9nce.js → formatter-56hxrh5a.js} +33 -33
  60. package/dist/chunks/{worktree-5c4hm403.js → formatter-5c4hm403.js} +3 -3
  61. package/dist/chunks/{worktree-5daktx2q.js → formatter-5daktx2q.js} +1 -1
  62. package/dist/chunks/{worktree-s2t3dg79.js → formatter-5e66gv88.js} +8 -8
  63. package/dist/chunks/{worktree-16zykpq3.js → formatter-5hytmrsx.js} +9 -9
  64. package/dist/chunks/{worktree-e3qxr5gk.js → formatter-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{worktree-p3bnatdk.js → formatter-5rty2w29.js} +25 -25
  66. package/dist/chunks/{worktree-3w2b2yj4.js → formatter-5sj81wm5.js} +5 -5
  67. package/dist/chunks/{worktree-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{worktree-669tq793.js → formatter-669tq793.js} +1 -1
  69. package/dist/chunks/{worktree-xmw8x2ed.js → formatter-6b3h3gt4.js} +15 -15
  70. package/dist/chunks/{worktree-sy7hnc8c.js → formatter-6cdjkj9y.js} +18 -18
  71. package/dist/chunks/{worktree-w09ej8yv.js → formatter-6d6b60sb.js} +10 -10
  72. package/dist/chunks/{worktree-a40np59p.js → formatter-6j251myq.js} +27 -27
  73. package/dist/chunks/{worktree-gaqhbna6.js → formatter-6kcgkr6d.js} +15 -15
  74. package/dist/chunks/formatter-6kdq0pjd.js +4 -0
  75. package/dist/chunks/{worktree-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{worktree-4j96vqdr.js → formatter-6t5jxagc.js} +35 -35
  77. package/dist/chunks/{worktree-3tey1tqk.js → formatter-6w0wg9jg.js} +1 -1
  78. package/dist/chunks/{worktree-6y50b3ce.js → formatter-6x0kyrqv.js} +20 -20
  79. package/dist/chunks/{worktree-3f706czv.js → formatter-71cb39j6.js} +11 -11
  80. package/dist/chunks/{worktree-gn7pfh5g.js → formatter-75qmyhmw.js} +1 -1
  81. package/dist/chunks/{worktree-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{worktree-gr63znzm.js → formatter-7cw71xqv.js} +29 -29
  83. package/dist/chunks/{worktree-9zj2yd8z.js → formatter-7p0g7677.js} +23 -23
  84. package/dist/chunks/{worktree-48q12zrq.js → formatter-7pxwp1dg.js} +8 -8
  85. package/dist/chunks/{worktree-2vkv0cnq.js → formatter-7q799ka0.js} +12 -12
  86. package/dist/chunks/{worktree-68cy5tvk.js → formatter-7trhxpej.js} +14 -14
  87. package/dist/chunks/{worktree-1jaghqsx.js → formatter-7wz8p787.js} +23 -23
  88. package/dist/chunks/{worktree-7ac170kv.js → formatter-89smrnyf.js} +4 -4
  89. package/dist/chunks/{worktree-49yfvyax.js → formatter-8afez20c.js} +25 -25
  90. package/dist/chunks/{worktree-5kssg3wf.js → formatter-8b0a6wbp.js} +4 -4
  91. package/dist/chunks/{worktree-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{worktree-acm9d4wv.js → formatter-91f2smre.js} +22 -22
  93. package/dist/chunks/{worktree-ktxmp402.js → formatter-971wwt9m.js} +43 -43
  94. package/dist/chunks/{worktree-hecwjcfa.js → formatter-9an9dexz.js} +43 -43
  95. package/dist/chunks/{worktree-hbxbz73r.js → formatter-9hva4mkp.js} +26 -26
  96. package/dist/chunks/{worktree-y439a41h.js → formatter-9hwxgnfb.js} +43 -43
  97. package/dist/chunks/{worktree-174d77kk.js → formatter-9tpme7yj.js} +8 -8
  98. package/dist/chunks/{worktree-zmxhfkmg.js → formatter-9ym8bn3r.js} +16 -16
  99. package/dist/chunks/{worktree-tqkrwgse.js → formatter-a3r4dcrj.js} +2 -2
  100. package/dist/chunks/{worktree-7r8e83hb.js → formatter-aa5rtnrq.js} +13 -13
  101. package/dist/chunks/{worktree-aaet6srn.js → formatter-aaet6srn.js} +2 -2
  102. package/dist/chunks/{worktree-75bwm8n8.js → formatter-ah3dvs9v.js} +8 -8
  103. package/dist/chunks/{worktree-9vzt17gg.js → formatter-ahhxn4qe.js} +127 -127
  104. package/dist/chunks/{worktree-dr666zk0.js → formatter-azkvshmx.js} +13 -13
  105. package/dist/chunks/{worktree-rdh7f4cw.js → formatter-b4h2tax8.js} +10 -10
  106. package/dist/chunks/{worktree-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{worktree-h6r3nrb9.js → formatter-bc5edygd.js} +4 -4
  108. package/dist/chunks/{worktree-jywqkjj6.js → formatter-by1yxwyh.js} +11 -11
  109. package/dist/chunks/{worktree-qa7b4e57.js → formatter-by9thqa4.js} +41 -41
  110. package/dist/chunks/{worktree-wy8b5sm2.js → formatter-bz85s9hh.js} +1 -1
  111. package/dist/chunks/{worktree-xec0sntw.js → formatter-c06p2a9p.js} +17 -17
  112. package/dist/chunks/{worktree-ng06a93p.js → formatter-c3yw71c8.js} +41 -41
  113. package/dist/chunks/{worktree-fhv9k6kb.js → formatter-cb8q5ez7.js} +8 -8
  114. package/dist/chunks/{worktree-fprzj95g.js → formatter-cstgxdmc.js} +21 -21
  115. package/dist/chunks/{worktree-c765mh8b.js → formatter-cwa6csj7.js} +9 -9
  116. package/dist/chunks/{worktree-k87h7t0v.js → formatter-d0w96wb4.js} +6 -6
  117. package/dist/chunks/{worktree-806j49yq.js → formatter-d216944b.js} +7 -7
  118. package/dist/chunks/{worktree-2fgn2we9.js → formatter-d9s573fh.js} +9 -9
  119. package/dist/chunks/{worktree-mtft99cd.js → formatter-ddj0ymwc.js} +5 -5
  120. package/dist/chunks/{worktree-2ancfe85.js → formatter-df85982r.js} +27 -27
  121. package/dist/chunks/{worktree-dj2t23y0.js → formatter-dj2t23y0.js} +2 -2
  122. package/dist/chunks/{worktree-8rphe9sf.js → formatter-dk9xar0x.js} +6 -6
  123. package/dist/chunks/{worktree-hzah94rf.js → formatter-dks2a8hp.js} +10 -10
  124. package/dist/chunks/{worktree-dpkg50ah.js → formatter-dpkg50ah.js} +1 -1
  125. package/dist/chunks/{worktree-1vbr32jm.js → formatter-dppk487s.js} +2 -2
  126. package/dist/chunks/{worktree-c0ryrrzn.js → formatter-dt2dr06x.js} +50 -50
  127. package/dist/chunks/{worktree-ttyx5d16.js → formatter-dx71f7x8.js} +1 -1
  128. package/dist/chunks/{worktree-hnez55bc.js → formatter-e3gxvnwd.js} +11 -11
  129. package/dist/chunks/{worktree-4b3kehkn.js → formatter-e3nv3mr8.js} +2 -2
  130. package/dist/chunks/{worktree-44vcf97r.js → formatter-e4myhat6.js} +26 -26
  131. package/dist/chunks/{worktree-tcay1cqt.js → formatter-edbfpfck.js} +6 -6
  132. package/dist/chunks/{worktree-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{worktree-1w7shgq0.js → formatter-ep6xqv6h.js} +28 -28
  134. package/dist/chunks/{worktree-1qdmrsyh.js → formatter-ep9bxrrg.js} +9 -9
  135. package/dist/chunks/{worktree-tj3qv296.js → formatter-epe270ka.js} +4 -4
  136. package/dist/chunks/{worktree-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{worktree-qe3myk5j.js → formatter-f0hsp6qy.js} +3 -3
  138. package/dist/chunks/{worktree-w8fg0vxv.js → formatter-f2gznfg6.js} +20 -20
  139. package/dist/chunks/{worktree-kk00bynn.js → formatter-f3ngv102.js} +21 -21
  140. package/dist/chunks/{worktree-952wf3h0.js → formatter-fcj0t6bh.js} +31 -31
  141. package/dist/chunks/{worktree-qes64rbd.js → formatter-fh02q7y7.js} +34 -34
  142. package/dist/chunks/{worktree-bg86vx51.js → formatter-fj6s2ck6.js} +15 -15
  143. package/dist/chunks/{worktree-8kkw5ddh.js → formatter-fnxj8cpf.js} +47 -47
  144. package/dist/chunks/{worktree-qnq7qc9v.js → formatter-fqjmww7h.js} +2 -2
  145. package/dist/chunks/{worktree-kwkjs9hb.js → formatter-fty4b77f.js} +22 -22
  146. package/dist/chunks/{worktree-fxbjtjnd.js → formatter-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{worktree-pa8pe2x7.js → formatter-g0445xdp.js} +8 -8
  148. package/dist/chunks/{worktree-c27esgm9.js → formatter-g1sxm558.js} +8 -8
  149. package/dist/chunks/{worktree-h5t1cqyn.js → formatter-g3vrdx9d.js} +3 -3
  150. package/dist/chunks/{worktree-hpapf7ej.js → formatter-g82k96ka.js} +10 -10
  151. package/dist/chunks/{worktree-5s1g7zt8.js → formatter-g9es1mvw.js} +27 -27
  152. package/dist/chunks/{worktree-ee7tvcsv.js → formatter-gcaxjv0p.js} +14 -14
  153. package/dist/chunks/{worktree-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{worktree-9xq3nbft.js → formatter-gdhk03s2.js} +26 -26
  155. package/dist/chunks/{worktree-k7myrtme.js → formatter-gffqj91w.js} +9 -9
  156. package/dist/chunks/{worktree-am60j996.js → formatter-ggx4p1yv.js} +8 -8
  157. package/dist/chunks/{worktree-h6g83djs.js → formatter-grqs2tes.js} +4 -4
  158. package/dist/chunks/{worktree-h03wrkyp.js → formatter-h03wrkyp.js} +2 -2
  159. package/dist/chunks/{worktree-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{worktree-j72m2ftj.js → formatter-ha1jzck9.js} +11 -11
  161. package/dist/chunks/{worktree-hdnk95c8.js → formatter-hdnk95c8.js} +2 -2
  162. package/dist/chunks/{worktree-vyd8sw8j.js → formatter-hma0brmp.js} +9 -9
  163. package/dist/chunks/{worktree-zxyzar11.js → formatter-hmjxenbv.js} +69 -69
  164. package/dist/chunks/{worktree-bjcwypgn.js → formatter-hn961kdb.js} +12 -12
  165. package/dist/chunks/{worktree-qvsqjx3k.js → formatter-j047qggn.js} +8 -8
  166. package/dist/chunks/{worktree-j56e64zr.js → formatter-j56e64zr.js} +1 -1
  167. package/dist/chunks/{worktree-j16bxe15.js → formatter-j709rff9.js} +21 -21
  168. package/dist/chunks/{worktree-nvxqht09.js → formatter-jexxy024.js} +3 -3
  169. package/dist/chunks/{worktree-dzpmeesh.js → formatter-jh28hxeq.js} +8 -8
  170. package/dist/chunks/{worktree-sqespdca.js → formatter-jj4jbhde.js} +17 -17
  171. package/dist/chunks/{worktree-z6m0aj3j.js → formatter-jnhwxhat.js} +18 -18
  172. package/dist/chunks/{worktree-k3gnzxs0.js → formatter-jppvw2tx.js} +5 -5
  173. package/dist/chunks/{worktree-z5y2jtdt.js → formatter-jq4q8xt0.js} +13 -13
  174. package/dist/chunks/{worktree-dze3spay.js → formatter-jq7wke7q.js} +13 -13
  175. package/dist/chunks/formatter-jtgn3q85.js +247 -0
  176. package/dist/chunks/{worktree-z983bpbs.js → formatter-jxb34sm7.js} +11 -11
  177. package/dist/chunks/{worktree-hrxhtwh5.js → formatter-k64qd7k1.js} +9 -9
  178. package/dist/chunks/{worktree-fkjmw100.js → formatter-k9kj6xed.js} +2 -2
  179. package/dist/chunks/{worktree-bt4497rw.js → formatter-kmq5vwh3.js} +3 -3
  180. package/dist/chunks/{worktree-raa150y6.js → formatter-knyxj63x.js} +3 -3
  181. package/dist/chunks/{worktree-3xb03r27.js → formatter-ksfgtg35.js} +16 -16
  182. package/dist/chunks/{worktree-rrqhc0g8.js → formatter-kxxzm7f4.js} +9 -9
  183. package/dist/chunks/{worktree-nz9pm5x8.js → formatter-kzcnx9w5.js} +13 -13
  184. package/dist/chunks/{worktree-m0jqrx5p.js → formatter-m0jqrx5p.js} +2 -2
  185. package/dist/chunks/{worktree-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{worktree-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{worktree-97wvmzf2.js → formatter-ma8xfq73.js} +3 -3
  188. package/dist/chunks/{worktree-kjj16b39.js → formatter-mdr6zn1s.js} +9 -9
  189. package/dist/chunks/{worktree-tyxy8y33.js → formatter-mff9swar.js} +8 -8
  190. package/dist/chunks/{worktree-56gdpj1q.js → formatter-mfqp6xfm.js} +6 -6
  191. package/dist/chunks/{worktree-fhs97t90.js → formatter-mvn2r3z4.js} +2 -2
  192. package/dist/chunks/{worktree-nez407vh.js → formatter-mx0xbf1r.js} +87 -87
  193. package/dist/chunks/{worktree-0e6tknjd.js → formatter-myfcz0dp.js} +32 -32
  194. package/dist/chunks/{worktree-w74nyqjb.js → formatter-mzn8y9kv.js} +5 -5
  195. package/dist/chunks/{worktree-debqk1x6.js → formatter-n1c2f0d1.js} +5 -5
  196. package/dist/chunks/{worktree-phbvt86a.js → formatter-n57ktpxf.js} +32 -32
  197. package/dist/chunks/{worktree-3mz07r45.js → formatter-n57v3773.js} +11 -11
  198. package/dist/chunks/{worktree-33xqp8c4.js → formatter-n7etp4gz.js} +24 -24
  199. package/dist/chunks/{worktree-1cq10s00.js → formatter-nap6yjmm.js} +7 -7
  200. package/dist/chunks/{worktree-tnb9a9ra.js → formatter-ntv95gx3.js} +47 -47
  201. package/dist/chunks/{worktree-c5879aa8.js → formatter-nvzpyqmz.js} +11 -11
  202. package/dist/chunks/{worktree-3j8yw4h7.js → formatter-nzh65d8p.js} +30 -30
  203. package/dist/chunks/{worktree-xzj8ke1r.js → formatter-p8yn6kww.js} +41 -41
  204. package/dist/chunks/{worktree-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{worktree-pknna89w.js → formatter-pknna89w.js} +1 -1
  206. package/dist/chunks/{worktree-84mkzp6g.js → formatter-pvrwh8gf.js} +11 -11
  207. package/dist/chunks/{worktree-t7n9q6bq.js → formatter-q5asdkn4.js} +4 -4
  208. package/dist/chunks/{worktree-qs15877k.js → formatter-qfrpe6h6.js} +33 -33
  209. package/dist/chunks/{worktree-mwsp0qbh.js → formatter-qfwtn752.js} +9 -9
  210. package/dist/chunks/{worktree-7dqw4kz8.js → formatter-qgn6gcr1.js} +5 -5
  211. package/dist/chunks/{worktree-frhb2p6t.js → formatter-qhvr2jea.js} +4 -4
  212. package/dist/chunks/{worktree-qx0q8j4j.js → formatter-qj75ppkt.js} +21 -21
  213. package/dist/chunks/{worktree-x68ppmc8.js → formatter-qmt2fwsc.js} +1 -1
  214. package/dist/chunks/{worktree-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  215. package/dist/chunks/{worktree-mg0hvqns.js → formatter-qybgqjrq.js} +24 -24
  216. package/dist/chunks/{worktree-k2e2j23h.js → formatter-r51a36wh.js} +23 -23
  217. package/dist/chunks/{worktree-y56ehv6b.js → formatter-r9w3djhf.js} +9 -9
  218. package/dist/chunks/{worktree-11zjtd0v.js → formatter-rbf7yj9j.js} +18 -18
  219. package/dist/chunks/{worktree-mjb12pha.js → formatter-rby1t0fa.js} +3 -3
  220. package/dist/chunks/{worktree-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  221. package/dist/chunks/{worktree-41xcr2yw.js → formatter-re6cm9q5.js} +3 -3
  222. package/dist/chunks/{worktree-f2n192rq.js → formatter-rhraev7y.js} +4 -4
  223. package/dist/chunks/{worktree-2d57kztd.js → formatter-rph3zd4r.js} +4 -4
  224. package/dist/chunks/{worktree-zeh9ct20.js → formatter-rq775frq.js} +2 -2
  225. package/dist/chunks/{worktree-jymnr9tp.js → formatter-rtvjmksn.js} +84 -84
  226. package/dist/chunks/{worktree-2xfxk6th.js → formatter-rwq4n5b8.js} +13 -13
  227. package/dist/chunks/{worktree-3dqfb5kw.js → formatter-s6z6n115.js} +27 -27
  228. package/dist/chunks/{worktree-s8d7rejh.js → formatter-s8d7rejh.js} +1 -1
  229. package/dist/chunks/{worktree-evp7db52.js → formatter-shf17fbc.js} +8 -8
  230. package/dist/chunks/{worktree-4ws0t3r6.js → formatter-smtr1fa8.js} +8 -8
  231. package/dist/chunks/{worktree-xqn2na27.js → formatter-spqgqf9x.js} +4 -4
  232. package/dist/chunks/{worktree-5trqfzya.js → formatter-src3dmgd.js} +36 -36
  233. package/dist/chunks/{worktree-hwys8km5.js → formatter-swb3rex7.js} +4 -4
  234. package/dist/chunks/{worktree-hcz3zddy.js → formatter-t3swkhbg.js} +5 -5
  235. package/dist/chunks/{worktree-qqj2dkp1.js → formatter-t58pgdm3.js} +8 -8
  236. package/dist/chunks/{worktree-mhvd9vx8.js → formatter-t64as4t3.js} +26 -26
  237. package/dist/chunks/{worktree-dtqg9ce1.js → formatter-t71v2ka4.js} +5 -5
  238. package/dist/chunks/{worktree-yetagcyg.js → formatter-t9q5kvj9.js} +14 -14
  239. package/dist/chunks/{worktree-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{worktree-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{worktree-tdstcens.js → formatter-tdstcens.js} +1 -1
  242. package/dist/chunks/{worktree-qcqsneq1.js → formatter-tmcync46.js} +16 -16
  243. package/dist/chunks/{worktree-y1ty9ay3.js → formatter-ts5zcp8n.js} +27 -27
  244. package/dist/chunks/{worktree-tvtrv512.js → formatter-tvtrv512.js} +1 -1
  245. package/dist/chunks/{worktree-4vy3njsm.js → formatter-txdz6xps.js} +18 -18
  246. package/dist/chunks/{worktree-8c8zehe5.js → formatter-v4y50nk3.js} +13 -13
  247. package/dist/chunks/{worktree-za77p82n.js → formatter-v76by4bg.js} +6 -6
  248. package/dist/chunks/{worktree-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  249. package/dist/chunks/{worktree-7atngb88.js → formatter-vncycja5.js} +4 -4
  250. package/dist/chunks/{worktree-b6f6n79x.js → formatter-vs7hrzt9.js} +9 -9
  251. package/dist/chunks/{worktree-1bvrbzys.js → formatter-vwjphj0g.js} +18 -18
  252. package/dist/chunks/{worktree-sx7frpfz.js → formatter-vxm0nypn.js} +27 -27
  253. package/dist/chunks/{worktree-925cq2hc.js → formatter-vyff70sc.js} +287 -287
  254. package/dist/chunks/{worktree-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{worktree-82axnvzk.js → formatter-w1jtwn81.js} +15 -15
  256. package/dist/chunks/{worktree-hkqe0sh1.js → formatter-w3e0d9m6.js} +12 -12
  257. package/dist/chunks/{worktree-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{worktree-15nepkqg.js → formatter-w3x9v1nk.js} +8 -8
  259. package/dist/chunks/{worktree-wd87259q.js → formatter-wd87259q.js} +1 -1
  260. package/dist/chunks/{worktree-60rwq83k.js → formatter-wwr3bxnb.js} +24 -24
  261. package/dist/chunks/{worktree-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{worktree-ff5f6xfc.js → formatter-x1xvj5zf.js} +8 -8
  263. package/dist/chunks/{worktree-p193qfyh.js → formatter-xbr6rbgj.js} +30 -30
  264. package/dist/chunks/{worktree-drwq78ky.js → formatter-xfkkasph.js} +4 -4
  265. package/dist/chunks/{worktree-2r7cpq20.js → formatter-xzwtfmxp.js} +7 -7
  266. package/dist/chunks/{worktree-k711kv9r.js → formatter-y0rszavt.js} +4 -4
  267. package/dist/chunks/{worktree-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{worktree-3mkv12gd.js → formatter-y211r34z.js} +25 -25
  269. package/dist/chunks/{worktree-60age542.js → formatter-y59evk2k.js} +9 -9
  270. package/dist/chunks/{worktree-w7xn1kg1.js → formatter-y8bg2ghp.js} +11 -11
  271. package/dist/chunks/{worktree-x7cz0th0.js → formatter-yac9wp7m.js} +9 -9
  272. package/dist/chunks/{worktree-283sq9eb.js → formatter-ybhbtxjg.js} +7 -7
  273. package/dist/chunks/{worktree-b7v0y5ep.js → formatter-ykdp11k0.js} +4 -4
  274. package/dist/chunks/{worktree-mwemq795.js → formatter-yqqzveaj.js} +30 -30
  275. package/dist/chunks/{worktree-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{worktree-s4enseaf.js → formatter-yrznvahk.js} +2 -2
  277. package/dist/chunks/{worktree-gv6a8nnw.js → formatter-yyb7tjpc.js} +2 -2
  278. package/dist/chunks/{worktree-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{worktree-k0skhwzc.js → formatter-z0y29jwt.js} +1 -1
  280. package/dist/chunks/{worktree-exf0ag6m.js → formatter-z1h03t2t.js} +11 -11
  281. package/dist/chunks/{worktree-29x78va6.js → formatter-z63w68vq.js} +6 -6
  282. package/dist/chunks/{worktree-9crse6na.js → formatter-zcy30wa5.js} +23 -23
  283. package/dist/chunks/{worktree-nw2nz702.js → formatter-zj09a0ew.js} +4 -4
  284. package/dist/chunks/{worktree-g0qmj2x0.js → formatter-zpczsn54.js} +3 -3
  285. package/dist/chunks/{worktree-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-9r40msyq.js → formatter-zsjkwtsn.js} +11 -11
  287. package/dist/chunks/{worktree-zxq2ej10.js → formatter-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 +82 -82
  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 +122 -122
  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 +122 -122
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +139 -139
  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 +121 -121
  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 +72 -72
  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 +365 -365
  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 +73 -73
  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 +102 -102
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +99 -99
  427. package/dist/form.js +81 -81
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +98 -98
  431. package/dist/git.js +10 -10
  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 +356 -356
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +77 -77
  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 +134 -134
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +99 -99
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +74 -74
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +90 -90
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +93 -93
  478. package/dist/models-dev.js +104 -104
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +110 -110
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +81 -81
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +2 -2
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +121 -121
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +91 -91
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +140 -140
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +347 -347
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +88 -88
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +88 -88
  562. package/dist/reference.js +88 -88
  563. package/dist/repository-cache.js +80 -80
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +90 -90
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +223 -223
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +87 -87
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +96 -96
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +116 -116
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +127 -127
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +229 -229
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +86 -86
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +209 -209
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +155 -155
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +219 -219
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +213 -213
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +137 -137
  623. package/dist/skill/discovery.js +2 -2
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +109 -109
  626. package/dist/snapshot.js +90 -90
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +122 -122
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +102 -102
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +110 -110
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +111 -111
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +3 -3
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +3 -3
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +88 -88
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +77 -77
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +97 -97
  689. package/package.json +8 -8
  690. package/dist/chunks/worktree-619r8v3y.js +0 -18
  691. package/dist/chunks/worktree-hqdbbvbk.js +0 -26
  692. package/dist/chunks/worktree-qapv375x.js +0 -4
  693. package/dist/chunks/worktree-yfech19a.js +0 -247
  694. /package/dist/chunks/{worktree-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{worktree-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{worktree-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{worktree-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{worktree-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{worktree-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{worktree-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{worktree-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{worktree-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{worktree-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{worktree-3asan66x.js → formatter-3asan66x.js} +0 -0
  705. /package/dist/chunks/{worktree-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{worktree-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{worktree-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{worktree-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{worktree-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{worktree-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{worktree-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{worktree-53557ph1.js → formatter-53557ph1.js} +0 -0
  713. /package/dist/chunks/{worktree-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{worktree-6prwharc.js → formatter-6prwharc.js} +0 -0
  715. /package/dist/chunks/{worktree-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{worktree-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{worktree-822emrt2.js → formatter-822emrt2.js} +0 -0
  718. /package/dist/chunks/{worktree-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{worktree-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{worktree-922hggd3.js → formatter-922hggd3.js} +0 -0
  721. /package/dist/chunks/{worktree-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{worktree-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{worktree-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{worktree-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{worktree-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{worktree-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{worktree-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{worktree-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{worktree-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{worktree-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{worktree-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{worktree-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{worktree-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{worktree-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{worktree-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{worktree-df08tz66.js → formatter-df08tz66.js} +0 -0
  737. /package/dist/chunks/{worktree-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{worktree-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{worktree-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{worktree-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{worktree-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{worktree-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{worktree-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{worktree-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{worktree-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{worktree-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{worktree-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{worktree-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{worktree-g86h250q.js → formatter-g86h250q.js} +0 -0
  750. /package/dist/chunks/{worktree-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{worktree-gftt206x.js → formatter-gftt206x.js} +0 -0
  752. /package/dist/chunks/{worktree-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{worktree-hk9envan.js → formatter-hk9envan.js} +0 -0
  754. /package/dist/chunks/{worktree-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{worktree-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{worktree-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{worktree-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{worktree-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{worktree-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{worktree-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{worktree-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{worktree-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{worktree-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{worktree-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{worktree-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{worktree-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{worktree-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{worktree-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{worktree-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{worktree-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{worktree-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{worktree-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{worktree-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{worktree-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{worktree-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{worktree-twg0f83k.js → formatter-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{worktree-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{worktree-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{worktree-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{worktree-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{worktree-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{worktree-x61499pn.js → formatter-x61499pn.js} +0 -0
  783. /package/dist/chunks/{worktree-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{worktree-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{worktree-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{worktree-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{worktree-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{worktree-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./worktree-bm2bzb1v.js";
2
+ Service80,
3
+ node84
4
+ } from "./formatter-2jbrsabm.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./worktree-3xb03r27.js";
6
+ Service78,
7
+ node82
8
+ } from "./formatter-ksfgtg35.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./worktree-ec1grn59.js";
11
+ } from "./formatter-ec1grn59.js";
12
12
  import {
13
- Service60,
14
- node63
15
- } from "./worktree-qcqsneq1.js";
13
+ Service64,
14
+ node68
15
+ } from "./formatter-tmcync46.js";
16
16
  import {
17
17
  __export
18
- } from "./worktree-9rqn6x4v.js";
18
+ } from "./formatter-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service10,
23
+ Service: () => Service9,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node12
25
+ node: () => node11
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service10 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service9 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service10, Effect.gen(function* () {
38
- const bus = yield* Service81;
37
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
38
+ const bus = yield* Service80;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service60;
41
- const location = yield* Service76;
40
+ const store = yield* Service64;
41
+ const location = yield* Service78;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service10.of({ load });
87
+ return Service9.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node12 = makeLocationNode({
98
+ var node11 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node85, FSUtil.node, node80, node63]
101
+ deps: [node84, FSUtil.node, node82, node68]
102
102
  });
103
103
 
104
- export { Service10, node12, exports_instructions };
104
+ export { Service9, node11, exports_instructions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service6,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node6
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service6 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service6,
18
+ var node6 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service6, node8, bound2, exports_instance2 };
32
+ export { Service5, node6, bound2, exports_instance2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service61,
10
- node: () => node64
9
+ Service: () => Service67,
10
+ node: () => node71
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service61 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service67 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service61, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service61.of({ has, register, trigger });
57
+ return Service67.of({ has, register, trigger });
58
58
  }));
59
- var node64 = makeLocationNode({ service: Service61, layer, deps: [] });
59
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [] });
60
60
 
61
- export { Service61, node64, exports_hooks };
61
+ export { Service67, node71, exports_hooks };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./worktree-z5y2jtdt.js";
3
+ } from "./formatter-jq4q8xt0.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./worktree-4vy3njsm.js";
6
+ } from "./formatter-txdz6xps.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./formatter-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-mpn67x5p.js";
3
+ } from "./formatter-22jekang.js";
4
4
  import {
5
- Service81
6
- } from "./worktree-bm2bzb1v.js";
5
+ Service80
6
+ } from "./formatter-2jbrsabm.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./worktree-vyd8sw8j.js";
10
+ } from "./formatter-hma0brmp.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./worktree-7r8e83hb.js";
14
+ } from "./formatter-aa5rtnrq.js";
15
15
  import {
16
16
  which2
17
- } from "./worktree-qaymkmh1.js";
17
+ } from "./formatter-qaymkmh1.js";
18
18
  import {
19
19
  ID13,
20
20
  mergeOverlay2
21
- } from "./worktree-z5y2jtdt.js";
21
+ } from "./formatter-jq4q8xt0.js";
22
22
  import {
23
23
  iife2
24
- } from "./worktree-1kg9ymc8.js";
24
+ } from "./formatter-1kg9ymc8.js";
25
25
  import {
26
26
  configuredSettings2
27
- } from "./worktree-k711kv9r.js";
27
+ } from "./formatter-y0rszavt.js";
28
28
 
29
29
  // src/plugin/provider/azure.ts
30
30
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -46,7 +46,7 @@ var AzurePlugin2 = define({
46
46
  effect: Effect.fn(function* (ctx) {
47
47
  const configured = yield* configuredSettings2(ID13.azure);
48
48
  const processes = yield* AppProcess.Service;
49
- const bus = yield* Service81;
49
+ const bus = yield* Service80;
50
50
  const tokens = new Map;
51
51
  const loading = Semaphore.makeUnsafe(1);
52
52
  const loaded = {};
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  ID10,
3
- Service62
4
- } from "./worktree-qx0q8j4j.js";
3
+ Service66
4
+ } from "./formatter-qj75ppkt.js";
5
5
  import {
6
6
  latest2,
7
- Service69
8
- } from "./worktree-xzj8ke1r.js";
7
+ Service45
8
+ } from "./formatter-p8yn6kww.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./worktree-nvxqht09.js";
11
+ } from "./formatter-jexxy024.js";
12
12
  import {
13
- Service49
14
- } from "./worktree-xec0sntw.js";
13
+ Service58
14
+ } from "./formatter-c06p2a9p.js";
15
15
  import {
16
16
  evaluate2,
17
- Service58
18
- } from "./worktree-fdz2twvr.js";
17
+ Service63
18
+ } from "./formatter-4dtgeqyn.js";
19
19
  import {
20
- Service25
21
- } from "./worktree-nez407vh.js";
20
+ Service28
21
+ } from "./formatter-mx0xbf1r.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./worktree-x1ezjp6w.js";
24
+ } from "./formatter-x1ezjp6w.js";
25
25
  import {
26
- make6
27
- } from "./worktree-exf0ag6m.js";
26
+ make10
27
+ } from "./formatter-z1h03t2t.js";
28
28
  import {
29
29
  __export
30
- } from "./worktree-9rqn6x4v.js";
30
+ } from "./formatter-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
35
  Input: () => Input11,
36
- Output: () => Output7,
37
- Plugin: () => Plugin31,
36
+ Output: () => Output8,
37
+ Plugin: () => Plugin45,
38
38
  SubagentTool: () => exports_subagent,
39
39
  description: () => description5,
40
40
  name: () => name11
@@ -63,7 +63,7 @@ var Input11 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output8 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
@@ -77,21 +77,21 @@ var description5 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin31 = {
80
+ var Plugin45 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service25;
84
- const jobs = yield* Service49;
85
- const agents = yield* Service62;
86
- const config = yield* Service69;
87
- const permission = yield* Service58;
88
- const subagents = yield* make6;
83
+ const sessions = yield* Service28;
84
+ const jobs = yield* Service58;
85
+ const agents = yield* Service66;
86
+ const config = yield* Service45;
87
+ const permission = yield* Service63;
88
+ const subagents = yield* make10;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
90
  name: name11,
91
91
  options: { codemode: false },
92
92
  description: description5,
93
93
  input: Input11,
94
- output: Output7,
94
+ output: Output8,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -207,4 +207,4 @@ ${output.output}
207
207
  })
208
208
  };
209
209
 
210
- export { name11, Input11, Output7, description5, Plugin31, exports_subagent };
210
+ export { name11, Input11, Output8, description5, Plugin45, exports_subagent };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service70
3
- } from "./worktree-mg0hvqns.js";
2
+ Service46
3
+ } from "./formatter-qybgqjrq.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./worktree-922hggd3.js";
6
+ } from "./formatter-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./worktree-3xb03r27.js";
8
+ Service78
9
+ } from "./formatter-ksfgtg35.js";
10
10
  import {
11
- Service69
12
- } from "./worktree-xzj8ke1r.js";
11
+ Service45
12
+ } from "./formatter-p8yn6kww.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./worktree-9xq3nbft.js";
17
+ } from "./formatter-gdhk03s2.js";
18
18
  import {
19
19
  Service8
20
- } from "./worktree-fhs97t90.js";
20
+ } from "./formatter-mvn2r3z4.js";
21
21
  import {
22
22
  parse2
23
- } from "./worktree-3x63gc5s.js";
23
+ } from "./formatter-2q231by8.js";
24
24
  import {
25
25
  __export
26
- } from "./worktree-9rqn6x4v.js";
26
+ } from "./formatter-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
@@ -39,12 +39,12 @@ import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
39
  var Plugin13 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service69;
42
+ const config = yield* Service45;
43
43
  const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service76;
47
- const watcher = yield* Service70;
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service46;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./worktree-bm2bzb1v.js";
2
+ Service80,
3
+ node84
4
+ } from "./formatter-2jbrsabm.js";
5
5
  import {
6
6
  create3
7
- } from "./worktree-rdw6cm16.js";
7
+ } from "./formatter-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./worktree-fdz2twvr.js";
10
+ } from "./formatter-4dtgeqyn.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./formatter-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID4,
22
- Info: () => Info9,
20
+ Event: () => Event9,
21
+ ID: () => ID5,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service50,
24
+ Service: () => Service42,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node52,
29
+ node: () => node45,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event8 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info9 = Skill.Info;
43
- var ID4 = Skill.ID;
42
+ var Info8 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service50 extends Context.Service()("@opencode/Skill") {
74
+ class Service42 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service50, Effect.gen(function* () {
77
- const bus = yield* Service81;
76
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
77
+ const bus = yield* Service80;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID4.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID4.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID4.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID4.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service50.of({
100
+ return Service42.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node52 = makeLocationNode({
112
- service: Service50,
111
+ var node45 = makeLocationNode({
112
+ service: Service42,
113
113
  layer,
114
- deps: [node85]
114
+ deps: [node84]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID4, Name2, available2, toModelOutput3, prepare3, Service50, node52, exports_skill5, Event8 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service42, node45, exports_skill5, Event9 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./worktree-rdw6cm16.js";
3
+ } from "./formatter-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./worktree-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service41,
14
+ Service: () => Service59,
15
15
  SizeError: () => SizeError2,
16
- node: () => node44
16
+ node: () => node63
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service41 extends Context.Service()("@opencode/Image") {
45
+ class Service59 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service41, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service41.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service59.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node44 = makeLocationNode({ service: Service41, layer, deps: [] });
79
+ var node63 = makeLocationNode({ service: Service59, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node44, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service59, node63, exports_image2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./worktree-zr2ceqn5.js";
3
+ } from "./formatter-zr2ceqn5.js";
4
4
  import {
5
- Service70
6
- } from "./worktree-mg0hvqns.js";
5
+ Service46
6
+ } from "./formatter-qybgqjrq.js";
7
7
  import {
8
8
  __export
9
- } from "./worktree-9rqn6x4v.js";
9
+ } from "./formatter-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make6
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service70;
25
+ var make6 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service46;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make6, LoadError2, exports_module };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./worktree-mpn67x5p.js";
3
+ } from "./formatter-22jekang.js";
4
4
  import {
5
5
  OAuth3,
6
6
  Service75
7
- } from "./worktree-vyd8sw8j.js";
7
+ } from "./formatter-hma0brmp.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./worktree-7r8e83hb.js";
11
+ } from "./formatter-aa5rtnrq.js";
12
12
  import {
13
13
  ID13
14
- } from "./worktree-z5y2jtdt.js";
14
+ } from "./formatter-jq4q8xt0.js";
15
15
 
16
16
  // src/plugin/provider/xai.ts
17
17
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./worktree-ec1grn59.js";
3
+ } from "./formatter-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./worktree-tdstcens.js";
6
+ } from "./formatter-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./worktree-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};