@opencode/core 0.0.0-dev-999 → 0.0.0-dev-1000

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 (933) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +242 -242
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{model-w6nfnjvs.js → formatter-00tbpbtc.js} +3 -3
  9. package/dist/chunks/{model-z7va9jc3.js → formatter-02jh9rbm.js} +2 -2
  10. package/dist/chunks/{model-xnswe3qp.js → formatter-06qmw3p1.js} +12 -12
  11. package/dist/chunks/{model-vfs4a21s.js → formatter-0kz4dby5.js} +42 -42
  12. package/dist/chunks/{model-0ma9gw4f.js → formatter-0ma9gw4f.js} +2 -2
  13. package/dist/chunks/{model-eh1xkk5s.js → formatter-0y15sqga.js} +9 -9
  14. package/dist/chunks/{model-2kr977wv.js → formatter-0zf6haa4.js} +31 -31
  15. package/dist/chunks/{model-fv3530tt.js → formatter-13mw6316.js} +11 -11
  16. package/dist/chunks/{model-v5hpj9dd.js → formatter-160yv0cs.js} +8 -8
  17. package/dist/chunks/{model-04jyy754.js → formatter-190w6pdq.js} +4 -4
  18. package/dist/chunks/{model-1aqsckx4.js → formatter-1aqsckx4.js} +1 -1
  19. package/dist/chunks/{model-jvq1eehf.js → formatter-1e359xj3.js} +14 -14
  20. package/dist/chunks/{model-wvje8v9p.js → formatter-1ej7we7g.js} +3 -3
  21. package/dist/chunks/{model-rx88ctjy.js → formatter-1rwkd6n1.js} +17 -17
  22. package/dist/chunks/{model-wd5snt1e.js → formatter-1vjyth2v.js} +4 -4
  23. package/dist/chunks/{model-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
  24. package/dist/chunks/{model-p7vhpwh8.js → formatter-1yq9hg58.js} +5 -5
  25. package/dist/chunks/{model-vmqe41cb.js → formatter-20pht57w.js} +4 -4
  26. package/dist/chunks/{model-25h84942.js → formatter-25h84942.js} +1 -1
  27. package/dist/chunks/{model-27w5k9zf.js → formatter-27w5k9zf.js} +2 -2
  28. package/dist/chunks/{model-xnns4yxp.js → formatter-29eg20zk.js} +28 -28
  29. package/dist/chunks/{model-xyj2kwwa.js → formatter-2av63krf.js} +9 -9
  30. package/dist/chunks/{model-2fc7eemy.js → formatter-2fc7eemy.js} +1 -1
  31. package/dist/chunks/{model-cxsbk2pg.js → formatter-2fs9qyh6.js} +4 -4
  32. package/dist/chunks/{model-r7r55277.js → formatter-2hc2yyeh.js} +8 -8
  33. package/dist/chunks/{model-hx1g6sm0.js → formatter-2jkywvm5.js} +6 -6
  34. package/dist/chunks/{model-4c54z4fy.js → formatter-2kcjc070.js} +12 -12
  35. package/dist/chunks/{model-2p60zmnr.js → formatter-2p60zmnr.js} +2 -2
  36. package/dist/chunks/{model-qktm7q6b.js → formatter-2pf3d9w0.js} +9 -9
  37. package/dist/chunks/{model-nztsd3ja.js → formatter-2w1wqytc.js} +20 -20
  38. package/dist/chunks/{model-n88hzhfw.js → formatter-2xz108rz.js} +33 -33
  39. package/dist/chunks/{model-mgrcf8eg.js → formatter-2y5jks6s.js} +10 -10
  40. package/dist/chunks/{model-d390zwf3.js → formatter-31avdb49.js} +8 -8
  41. package/dist/chunks/{model-274ws26c.js → formatter-36n3ct1y.js} +3 -3
  42. package/dist/chunks/{model-3cbjf1nt.js → formatter-3cbjf1nt.js} +2 -2
  43. package/dist/chunks/{model-90jx25jr.js → formatter-3ce8cybv.js} +30 -30
  44. package/dist/chunks/{model-vkyjax41.js → formatter-3ct7ma1z.js} +9 -9
  45. package/dist/chunks/{model-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{model-rq513mcc.js → formatter-3mvtj3xp.js} +4 -4
  47. package/dist/chunks/{model-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
  48. package/dist/chunks/{model-ezss272g.js → formatter-3ntc2dpd.js} +10 -10
  49. package/dist/chunks/{model-4a91fd80.js → formatter-3r7kkjbz.js} +11 -11
  50. package/dist/chunks/{model-cd36nz1h.js → formatter-3rapmj7b.js} +8 -8
  51. package/dist/chunks/{model-nx0e49rf.js → formatter-3stv24ez.js} +6 -6
  52. package/dist/chunks/{model-0fxg9pvt.js → formatter-3typ3c0r.js} +54 -54
  53. package/dist/chunks/{model-b14yber2.js → formatter-3zabr8p3.js} +1 -1
  54. package/dist/chunks/{model-40y6dtc2.js → formatter-40y6dtc2.js} +1 -1
  55. package/dist/chunks/{model-0jsqw7fy.js → formatter-42vnvh13.js} +14 -14
  56. package/dist/chunks/{model-44pmzq9c.js → formatter-44pmzq9c.js} +2 -2
  57. package/dist/chunks/{model-e0aw4qwy.js → formatter-47dp1ee1.js} +13 -13
  58. package/dist/chunks/{model-y1mqj5se.js → formatter-4a5wwhqd.js} +20 -20
  59. package/dist/chunks/{model-x3bh6t04.js → formatter-4aszvtk9.js} +6 -6
  60. package/dist/chunks/{model-4dx1dgte.js → formatter-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{model-c461m01n.js → formatter-4ep1bc72.js} +31 -31
  62. package/dist/chunks/{model-chszet6t.js → formatter-4ey40yhv.js} +12 -12
  63. package/dist/chunks/{model-8ssh1wte.js → formatter-4kqnsz5j.js} +17 -17
  64. package/dist/chunks/{model-g8z6k6r2.js → formatter-4mvwkj15.js} +11 -11
  65. package/dist/chunks/{model-tqkdcr62.js → formatter-4nhqhmvh.js} +18 -18
  66. package/dist/chunks/{model-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
  67. package/dist/chunks/{model-xbrs5bj0.js → formatter-4q6sz825.js} +6 -6
  68. package/dist/chunks/{model-hq21jm9z.js → formatter-4spksd2a.js} +12 -12
  69. package/dist/chunks/{model-4v008n1t.js → formatter-4v008n1t.js} +1 -1
  70. package/dist/chunks/{model-7xcrky0a.js → formatter-4w8vg081.js} +22 -22
  71. package/dist/chunks/{model-hyqmt6qr.js → formatter-4ypwwgtd.js} +6 -6
  72. package/dist/chunks/{model-bzj6z3es.js → formatter-505zjtpt.js} +7 -7
  73. package/dist/chunks/{model-5xwvkjrr.js → formatter-5c5fd2mc.js} +28 -28
  74. package/dist/chunks/{model-xxd3q6d0.js → formatter-5gremw96.js} +89 -89
  75. package/dist/chunks/{model-9dzheyx2.js → formatter-5gt76wd2.js} +30 -30
  76. package/dist/chunks/{model-bb24a82z.js → formatter-5jn3fajq.js} +8 -8
  77. package/dist/chunks/{model-3zjs10z6.js → formatter-5kyed299.js} +25 -25
  78. package/dist/chunks/{model-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  79. package/dist/chunks/{model-mhpca445.js → formatter-5p1pxqys.js} +36 -36
  80. package/dist/chunks/{model-x9gs7zhw.js → formatter-5qdcckqr.js} +13 -13
  81. package/dist/chunks/{model-bfvbnjh9.js → formatter-5sdw36aq.js} +27 -27
  82. package/dist/chunks/{model-rtx1kdkb.js → formatter-5sy3stez.js} +10 -10
  83. package/dist/chunks/{model-5whx36p1.js → formatter-5whx36p1.js} +1 -1
  84. package/dist/chunks/{model-a480hvw3.js → formatter-5x1h6kk8.js} +18 -18
  85. package/dist/chunks/{model-ch8s1y8s.js → formatter-5xtdp7sy.js} +32 -32
  86. package/dist/chunks/{model-mgm0hmvg.js → formatter-5zksj629.js} +41 -41
  87. package/dist/chunks/{model-kze6nzna.js → formatter-62zd5tzk.js} +4 -4
  88. package/dist/chunks/{model-2g47c0ps.js → formatter-6cs11t3q.js} +11 -11
  89. package/dist/chunks/{model-mk91enp0.js → formatter-6yj5npp1.js} +8 -8
  90. package/dist/chunks/{model-zgx4rd1t.js → formatter-71rkptkz.js} +11 -11
  91. package/dist/chunks/{model-27h849jz.js → formatter-73z6c2kb.js} +21 -21
  92. package/dist/chunks/{model-wff00dc7.js → formatter-76xygsa5.js} +9 -9
  93. package/dist/chunks/{model-775hqbnd.js → formatter-775hqbnd.js} +3 -3
  94. package/dist/chunks/{model-r7ykf8xa.js → formatter-77crq9fe.js} +22 -22
  95. package/dist/chunks/{model-35bf8v5y.js → formatter-7952znqf.js} +39 -39
  96. package/dist/chunks/{model-zfzvnjsx.js → formatter-79px22ft.js} +9 -9
  97. package/dist/chunks/{model-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  98. package/dist/chunks/{model-95jvn330.js → formatter-7k2wdskw.js} +31 -31
  99. package/dist/chunks/{model-xvn8mnch.js → formatter-7stesae1.js} +4 -4
  100. package/dist/chunks/{model-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
  101. package/dist/chunks/{model-7weczvnd.js → formatter-7weczvnd.js} +1 -1
  102. package/dist/chunks/{model-80pdk984.js → formatter-80pdk984.js} +1 -1
  103. package/dist/chunks/{model-w71fm6xr.js → formatter-8255mbsd.js} +5 -5
  104. package/dist/chunks/{model-a3fn0gmm.js → formatter-85cp97b5.js} +2 -2
  105. package/dist/chunks/{model-9ph1e4xr.js → formatter-873gd18q.js} +16 -16
  106. package/dist/chunks/{model-01msxrc2.js → formatter-876f3pba.js} +26 -26
  107. package/dist/chunks/{model-nqkteeb0.js → formatter-89gjpwsq.js} +12 -12
  108. package/dist/chunks/{model-sx27c7qs.js → formatter-8hfctyyf.js} +4 -4
  109. package/dist/chunks/{model-963hk181.js → formatter-8qqg9kww.js} +9 -9
  110. package/dist/chunks/{model-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
  111. package/dist/chunks/{model-04rh7t8q.js → formatter-8yr6na46.js} +13 -13
  112. package/dist/chunks/{model-vz4x3gkp.js → formatter-8ywczf47.js} +10 -10
  113. package/dist/chunks/{model-8z6m94af.js → formatter-8z6m94af.js} +3 -3
  114. package/dist/chunks/{model-8zv0xmg5.js → formatter-8zv0xmg5.js} +1 -1
  115. package/dist/chunks/{model-k40v4qcg.js → formatter-90g9ssqr.js} +6 -6
  116. package/dist/chunks/{model-9m2gkx13.js → formatter-943p5k11.js} +15 -15
  117. package/dist/chunks/{model-rj7jtxy8.js → formatter-94e33dpz.js} +3 -3
  118. package/dist/chunks/{model-2pnhf2fv.js → formatter-96r3xk19.js} +10 -10
  119. package/dist/chunks/{model-g13fcfkr.js → formatter-98e4zkpa.js} +6 -6
  120. package/dist/chunks/{model-jh5xh74j.js → formatter-9ck5ta0b.js} +9 -9
  121. package/dist/chunks/{model-yxjjpj5q.js → formatter-9kykmj99.js} +7 -7
  122. package/dist/chunks/{model-73ff1310.js → formatter-9rqfe4ad.js} +3 -3
  123. package/dist/chunks/{model-41cbsehj.js → formatter-9sc6v20b.js} +2 -2
  124. package/dist/chunks/{model-hjyqwha2.js → formatter-a6zbtccs.js} +5 -5
  125. package/dist/chunks/{model-fnbs50vg.js → formatter-ad21nhqb.js} +23 -23
  126. package/dist/chunks/{model-c0mmx4zc.js → formatter-ags90a5x.js} +4 -4
  127. package/dist/chunks/{model-re2amjme.js → formatter-agyemb8f.js} +9 -9
  128. package/dist/chunks/{model-aj7mw0zk.js → formatter-aj7mw0zk.js} +2 -2
  129. package/dist/chunks/{model-e6gm93ev.js → formatter-amwpfx0t.js} +7 -7
  130. package/dist/chunks/{model-0hxcpwt2.js → formatter-apvytp1g.js} +3 -3
  131. package/dist/chunks/{model-k3yknsh6.js → formatter-avxgj5k3.js} +17 -17
  132. package/dist/chunks/{model-b26ddj6h.js → formatter-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{model-vwavmtjg.js → formatter-babr3r9n.js} +10 -10
  134. package/dist/chunks/{model-bb3mmwvh.js → formatter-bb3mmwvh.js} +2 -2
  135. package/dist/chunks/{model-gbbwgw5m.js → formatter-bnq5by8f.js} +28 -28
  136. package/dist/chunks/{model-r15r0aq8.js → formatter-bv752wmd.js} +7 -7
  137. package/dist/chunks/{model-by8ty0bx.js → formatter-by8ty0bx.js} +1 -1
  138. package/dist/chunks/{model-t8erkws8.js → formatter-bys6f9s7.js} +5 -5
  139. package/dist/chunks/{model-tqym28t1.js → formatter-c0nt7yex.js} +16 -16
  140. package/dist/chunks/{model-wf063wdx.js → formatter-c3kv2ng3.js} +44 -44
  141. package/dist/chunks/{model-154zcyc9.js → formatter-c5vx1zac.js} +5 -5
  142. package/dist/chunks/{model-c7cw818c.js → formatter-c7cw818c.js} +2 -2
  143. package/dist/chunks/{model-x30t04qp.js → formatter-capaz2y0.js} +16 -16
  144. package/dist/chunks/{model-v0k299ff.js → formatter-cavvtjzh.js} +22 -22
  145. package/dist/chunks/{model-mereyghy.js → formatter-cmz2nc3h.js} +10 -10
  146. package/dist/chunks/{model-s26c8eb5.js → formatter-cr4rfj9z.js} +4 -4
  147. package/dist/chunks/{model-128ksrt2.js → formatter-csn675w3.js} +8 -8
  148. package/dist/chunks/{model-esrwvfp1.js → formatter-cw7tjf4k.js} +35 -35
  149. package/dist/chunks/{model-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
  150. package/dist/chunks/{model-g95xsjx3.js → formatter-cwxgb76q.js} +8 -8
  151. package/dist/chunks/{model-ctv9sxcf.js → formatter-cy81vs2n.js} +26 -26
  152. package/dist/chunks/{model-y3g0nctn.js → formatter-d15xpb57.js} +6 -6
  153. package/dist/chunks/{model-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
  154. package/dist/chunks/{model-mjmbzz7a.js → formatter-d61dj13r.js} +14 -14
  155. package/dist/chunks/{model-jjktkhap.js → formatter-d68btebf.js} +11 -11
  156. package/dist/chunks/{model-gbzkt52z.js → formatter-d9y491gy.js} +84 -84
  157. package/dist/chunks/{model-fwtffrk0.js → formatter-db7peafr.js} +364 -364
  158. package/dist/chunks/{model-d8p3t516.js → formatter-dds9zz6p.js} +4 -4
  159. package/dist/chunks/{model-tg6j13r4.js → formatter-dg9w2j4f.js} +11 -11
  160. package/dist/chunks/{model-kq01fqtz.js → formatter-dj2xpa7h.js} +11 -11
  161. package/dist/chunks/{model-menzs2zj.js → formatter-djpvbk2v.js} +23 -23
  162. package/dist/chunks/{model-j41vtabc.js → formatter-dpg896t5.js} +13 -13
  163. package/dist/chunks/{model-rcanfscb.js → formatter-dqn4a6f5.js} +8 -8
  164. package/dist/chunks/{model-92ny0p1b.js → formatter-dr1g52tf.js} +9 -9
  165. package/dist/chunks/{model-dt77769w.js → formatter-dt77769w.js} +1 -1
  166. package/dist/chunks/{model-jrxrsea6.js → formatter-dx66f8d0.js} +17 -17
  167. package/dist/chunks/{model-7m5xp29h.js → formatter-dyca4k2n.js} +16 -16
  168. package/dist/chunks/{model-svpmxkv2.js → formatter-e3hj8wp1.js} +35 -35
  169. package/dist/chunks/{model-4fhxvrqa.js → formatter-e565ng7j.js} +3 -3
  170. package/dist/chunks/{model-2fnnq65x.js → formatter-eht02vjq.js} +3 -3
  171. package/dist/chunks/{model-08ywff7t.js → formatter-ej2b0mfk.js} +30 -30
  172. package/dist/chunks/{model-gapfq15c.js → formatter-eq0h0qwa.js} +22 -22
  173. package/dist/chunks/{model-eqw4pqj1.js → formatter-eqw4pqj1.js} +2 -2
  174. package/dist/chunks/{model-aw20hh5n.js → formatter-fb37jbgj.js} +10 -10
  175. package/dist/chunks/{model-c5ptde5m.js → formatter-fcrppmnh.js} +31 -31
  176. package/dist/chunks/{model-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
  177. package/dist/chunks/{model-fg9p65nk.js → formatter-fg9p65nk.js} +2 -2
  178. package/dist/chunks/{model-0tm36zze.js → formatter-fh1h6pam.js} +18 -18
  179. package/dist/chunks/{model-b8865jrk.js → formatter-fw4jn2ny.js} +8 -8
  180. package/dist/chunks/{model-3v3n70sq.js → formatter-fzm3zqp3.js} +17 -17
  181. package/dist/chunks/{model-nbpf5s2w.js → formatter-g421yvh5.js} +18 -18
  182. package/dist/chunks/{model-q82pc0fv.js → formatter-g5djxpkw.js} +13 -13
  183. package/dist/chunks/{model-7vn2r66h.js → formatter-g8y35rry.js} +23 -23
  184. package/dist/chunks/{model-rsbsv3ka.js → formatter-g9n7frzr.js} +19 -19
  185. package/dist/chunks/{model-ama0tws7.js → formatter-g9wg3nve.js} +13 -13
  186. package/dist/chunks/{model-gbjdnr5j.js → formatter-gbjdnr5j.js} +2 -2
  187. package/dist/chunks/{model-nd63gaqc.js → formatter-geepqys7.js} +23 -23
  188. package/dist/chunks/{model-tma022qm.js → formatter-gqdsmv47.js} +10 -10
  189. package/dist/chunks/{model-yfsgecb2.js → formatter-grj1pt4p.js} +11 -11
  190. package/dist/chunks/formatter-grzehpz7.js +18 -0
  191. package/dist/chunks/{model-a34yprc9.js → formatter-gtff6ewa.js} +46 -46
  192. package/dist/chunks/{model-jvcygd6j.js → formatter-gy24j455.js} +9 -9
  193. package/dist/chunks/{model-r0yp5dgt.js → formatter-h1hqzkwe.js} +21 -21
  194. package/dist/chunks/{model-5efhg67f.js → formatter-h7n7yeqs.js} +15 -15
  195. package/dist/chunks/{model-qfxt7s7z.js → formatter-h8744wrh.js} +16 -16
  196. package/dist/chunks/{model-7sc8mbv4.js → formatter-hag18q8h.js} +15 -15
  197. package/dist/chunks/{model-v4n5y60f.js → formatter-hdbr8b2x.js} +20 -20
  198. package/dist/chunks/{model-hgzwgvze.js → formatter-hgzwgvze.js} +2 -2
  199. package/dist/chunks/{model-hj0xet7m.js → formatter-hj0xet7m.js} +2 -2
  200. package/dist/chunks/{model-qzaz5bwz.js → formatter-hjjbn57r.js} +16 -16
  201. package/dist/chunks/{model-s4a9q8qj.js → formatter-hnryc5zp.js} +1 -1
  202. package/dist/chunks/formatter-hy5pnb33.js +26 -0
  203. package/dist/chunks/{model-hvtnb39j.js → formatter-hy5qnnb4.js} +6 -6
  204. package/dist/chunks/{model-rzzpvj3x.js → formatter-j5679jb1.js} +24 -24
  205. package/dist/chunks/{model-j9nxzz3g.js → formatter-j9nxzz3g.js} +3 -3
  206. package/dist/chunks/{model-g3bw9zqa.js → formatter-jesp4d5t.js} +13 -13
  207. package/dist/chunks/{model-jm70asfg.js → formatter-jm70asfg.js} +1 -1
  208. package/dist/chunks/formatter-jn12jmgb.js +265 -0
  209. package/dist/chunks/{model-99mtj9fr.js → formatter-jp7vhfdz.js} +4 -4
  210. package/dist/chunks/{model-kd2jy9g4.js → formatter-jrq87v6s.js} +34 -34
  211. package/dist/chunks/{model-j3f8hyeg.js → formatter-k98yejja.js} +7 -7
  212. package/dist/chunks/{model-58jj18ay.js → formatter-kaczt1e9.js} +28 -28
  213. package/dist/chunks/{model-brv6mkyx.js → formatter-kbgs7tyr.js} +4 -4
  214. package/dist/chunks/{model-jh0y9090.js → formatter-kckqeny3.js} +5 -5
  215. package/dist/chunks/{model-c65nt65b.js → formatter-ke2q0jvk.js} +17 -17
  216. package/dist/chunks/{model-h1m88njt.js → formatter-kj8wc474.js} +2 -2
  217. package/dist/chunks/{model-7nqkf5r1.js → formatter-kmekj7m2.js} +4 -4
  218. package/dist/chunks/{model-xrx37m5e.js → formatter-kmqymfwk.js} +32 -32
  219. package/dist/chunks/{model-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
  220. package/dist/chunks/{model-ktck1cjp.js → formatter-ktck1cjp.js} +3 -3
  221. package/dist/chunks/{model-8caa54y3.js → formatter-kx88arew.js} +19 -19
  222. package/dist/chunks/{model-kzczzf4v.js → formatter-kzczzf4v.js} +1 -1
  223. package/dist/chunks/{model-7cjy8m2c.js → formatter-m03zynjd.js} +11 -11
  224. package/dist/chunks/{model-9jz1t4ws.js → formatter-m0j052e2.js} +19 -19
  225. package/dist/chunks/{model-m1714858.js → formatter-m1714858.js} +1 -1
  226. package/dist/chunks/{model-zsgcekb9.js → formatter-m7hdyrq0.js} +17 -17
  227. package/dist/chunks/{model-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  228. package/dist/chunks/{model-1v2g13eq.js → formatter-msd2a3qm.js} +4 -4
  229. package/dist/chunks/{model-xb4qmwkd.js → formatter-mwjpsrna.js} +10 -10
  230. package/dist/chunks/{model-2n444ktb.js → formatter-my4n5qvc.js} +3 -3
  231. package/dist/chunks/{model-yg8twbxp.js → formatter-n1w1hn4x.js} +15 -15
  232. package/dist/chunks/{model-n3j33rb6.js → formatter-n3j33rb6.js} +1 -1
  233. package/dist/chunks/{model-sffnbtc5.js → formatter-n73t8fdt.js} +8 -8
  234. package/dist/chunks/{model-2merx6cy.js → formatter-nd5mww8x.js} +11 -11
  235. package/dist/chunks/{model-0rp2hfqs.js → formatter-ngrebpwy.js} +43 -43
  236. package/dist/chunks/{model-nx4vzyjd.js → formatter-nx4vzyjd.js} +2 -2
  237. package/dist/chunks/{model-238b4g8n.js → formatter-nxd0ra01.js} +13 -13
  238. package/dist/chunks/{model-xxg1degc.js → formatter-p673p6c3.js} +11 -11
  239. package/dist/chunks/{model-me215f18.js → formatter-p7yrz5nk.js} +1 -1
  240. package/dist/chunks/formatter-pcvy2xt8.js +16 -0
  241. package/dist/chunks/{model-pknna89w.js → formatter-pknna89w.js} +1 -1
  242. package/dist/chunks/{model-9ssh8qw1.js → formatter-ppxnxwv1.js} +5 -5
  243. package/dist/chunks/{model-j754fh8m.js → formatter-pswvpaeg.js} +43 -43
  244. package/dist/chunks/{model-q42tzrxa.js → formatter-q42tzrxa.js} +1 -1
  245. package/dist/chunks/{model-msb9vqyk.js → formatter-q45wjhqq.js} +5 -5
  246. package/dist/chunks/{model-w8fmcqe9.js → formatter-q730k220.js} +15 -15
  247. package/dist/chunks/{model-hfxp4j6e.js → formatter-qd4atqpz.js} +3 -3
  248. package/dist/chunks/{model-17ekrt3z.js → formatter-qecvj5ce.js} +21 -21
  249. package/dist/chunks/{model-ga03p7f2.js → formatter-qkdb34y2.js} +36 -36
  250. package/dist/chunks/{model-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
  251. package/dist/chunks/{model-h8jj1sd5.js → formatter-qpjtqgz5.js} +25 -25
  252. package/dist/chunks/{model-59mrw9ac.js → formatter-qyyweck4.js} +10 -10
  253. package/dist/chunks/{model-3qgwywyc.js → formatter-r17fbvme.js} +4 -4
  254. package/dist/chunks/{model-2a6xqsmt.js → formatter-r2637b0p.js} +19 -19
  255. package/dist/chunks/{model-r542h3bh.js → formatter-r542h3bh.js} +1 -1
  256. package/dist/chunks/{model-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
  257. package/dist/chunks/{model-wc8hnhwz.js → formatter-rbrcn4ea.js} +13 -13
  258. package/dist/chunks/{model-8dv3qwsd.js → formatter-rcpcm9rp.js} +5 -5
  259. package/dist/chunks/{model-rgc9cx3e.js → formatter-rgc9cx3e.js} +2 -2
  260. package/dist/chunks/{model-m1ys4f9m.js → formatter-rhjxx3yk.js} +4 -4
  261. package/dist/chunks/{model-vt2d6wap.js → formatter-rj7j5fvs.js} +4 -4
  262. package/dist/chunks/{model-wyrr125q.js → formatter-rk0vrbg7.js} +6 -6
  263. package/dist/chunks/{model-d61aabb0.js → formatter-rktffvav.js} +4 -4
  264. package/dist/chunks/{model-bc2f7s06.js → formatter-rnzv336a.js} +9 -9
  265. package/dist/chunks/{model-n61nyeah.js → formatter-rq4663jc.js} +26 -26
  266. package/dist/chunks/{model-n2rdrjat.js → formatter-rqc2g2wc.js} +38 -38
  267. package/dist/chunks/{model-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
  268. package/dist/chunks/{model-kvmx4gfp.js → formatter-rwcc01tt.js} +5 -5
  269. package/dist/chunks/{model-a7143epj.js → formatter-sbegqkxp.js} +6 -6
  270. package/dist/chunks/{model-sbya78hr.js → formatter-sbya78hr.js} +1 -1
  271. package/dist/chunks/{model-ghrv1g9c.js → formatter-sdt5j0rm.js} +4 -4
  272. package/dist/chunks/{model-sf9y72b7.js → formatter-sf9y72b7.js} +1 -1
  273. package/dist/chunks/{model-g3ajmf9g.js → formatter-sgjmhqfs.js} +2 -2
  274. package/dist/chunks/{model-vnmstdxq.js → formatter-skbemjzc.js} +68 -68
  275. package/dist/chunks/{model-d1qab26r.js → formatter-spysdwxw.js} +6 -6
  276. package/dist/chunks/{model-r3v0ma7a.js → formatter-sq7h0arc.js} +16 -16
  277. package/dist/chunks/{model-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
  278. package/dist/chunks/{model-hzxewqmk.js → formatter-ss7teg2v.js} +19 -19
  279. package/dist/chunks/{model-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
  280. package/dist/chunks/{model-df0p4xp8.js → formatter-t3exdb07.js} +47 -47
  281. package/dist/chunks/{model-3b84fcee.js → formatter-t5bgd45j.js} +24 -24
  282. package/dist/chunks/{model-tbpn7jtk.js → formatter-tbpn7jtk.js} +1 -1
  283. package/dist/chunks/{model-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
  284. package/dist/chunks/{model-hvxar7a8.js → formatter-td89d4z5.js} +3 -3
  285. package/dist/chunks/{model-6h8vcvjm.js → formatter-teav1bzy.js} +9 -9
  286. package/dist/chunks/{model-gxs71cxp.js → formatter-tg7s7b5t.js} +4 -4
  287. package/dist/chunks/{model-v2qcvjth.js → formatter-tkvvf6bf.js} +9 -9
  288. package/dist/chunks/{model-gmsh9j6n.js → formatter-tm04z4np.js} +15 -15
  289. package/dist/chunks/{model-tr8x705m.js → formatter-tr8x705m.js} +1 -1
  290. package/dist/chunks/{model-79fr46xq.js → formatter-tt2ypw9y.js} +20 -20
  291. package/dist/chunks/{model-f8ysvnq5.js → formatter-tve7m8xw.js} +10 -10
  292. package/dist/chunks/{model-tvtps2q9.js → formatter-tvtps2q9.js} +1 -1
  293. package/dist/chunks/{model-twssxy5n.js → formatter-twssxy5n.js} +2 -2
  294. package/dist/chunks/{model-yxm8dm2e.js → formatter-tycv7n3a.js} +4 -4
  295. package/dist/chunks/{model-2kg89srt.js → formatter-v0t96s7a.js} +4 -4
  296. package/dist/chunks/{model-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
  297. package/dist/chunks/{model-vk1t66ta.js → formatter-v35kc7fz.js} +3 -3
  298. package/dist/chunks/{model-1925gf79.js → formatter-v3gxh6dw.js} +3 -3
  299. package/dist/chunks/{model-fkyqk9w0.js → formatter-v5ncnv4t.js} +5 -5
  300. package/dist/chunks/{model-c9n7546s.js → formatter-vg2r2j9b.js} +5 -5
  301. package/dist/chunks/{model-vjf35v1f.js → formatter-vjf35v1f.js} +1 -1
  302. package/dist/chunks/{model-5kscnyky.js → formatter-vmd0ng62.js} +7 -7
  303. package/dist/chunks/{model-yy0zbfpp.js → formatter-vrgsck6a.js} +21 -21
  304. package/dist/chunks/{model-wvr8xscb.js → formatter-vwcz1f45.js} +5 -5
  305. package/dist/chunks/{model-bc3qwzwc.js → formatter-vx7h5j7y.js} +24 -24
  306. package/dist/chunks/{model-5enarcya.js → formatter-w2eysc6j.js} +6 -6
  307. package/dist/chunks/{model-h3gbr1tk.js → formatter-w3fpkq90.js} +6 -6
  308. package/dist/chunks/{model-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{model-q1hxmnhx.js → formatter-w5644fpa.js} +4 -4
  310. package/dist/chunks/{model-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
  311. package/dist/chunks/{model-wd87259q.js → formatter-wd87259q.js} +1 -1
  312. package/dist/chunks/{model-wfdx5ztx.js → formatter-wfdx5ztx.js} +1 -1
  313. package/dist/chunks/{model-5p0gy5zm.js → formatter-wq0w409k.js} +18 -18
  314. package/dist/chunks/{model-36j0hrjm.js → formatter-wq28g6e3.js} +59 -59
  315. package/dist/chunks/{model-wr3re1en.js → formatter-wr3re1en.js} +1 -1
  316. package/dist/chunks/{model-h2j106d0.js → formatter-ww00nh8a.js} +7 -7
  317. package/dist/chunks/{model-cntd60w8.js → formatter-x3pt7j9x.js} +12 -12
  318. package/dist/chunks/{model-3p5vmtwa.js → formatter-x4khej13.js} +23 -23
  319. package/dist/chunks/{model-8dk7dc9k.js → formatter-xa9hbkrj.js} +12 -12
  320. package/dist/chunks/{model-bstexjd6.js → formatter-xd9cc171.js} +5 -5
  321. package/dist/chunks/{model-6nj8ec3y.js → formatter-xeq6287g.js} +1 -1
  322. package/dist/chunks/{model-gy1m0xn3.js → formatter-xf9v85d0.js} +12 -12
  323. package/dist/chunks/{model-c4zywkv9.js → formatter-xh3q0y32.js} +27 -27
  324. package/dist/chunks/{model-3adw4bt5.js → formatter-xjbsd7zy.js} +9 -9
  325. package/dist/chunks/{model-w76xjer3.js → formatter-xpve62cf.js} +4 -4
  326. package/dist/chunks/{model-8vxybd5m.js → formatter-xtvtqcka.js} +10 -10
  327. package/dist/chunks/{model-86bsmw2v.js → formatter-xx8drg6a.js} +16 -16
  328. package/dist/chunks/{model-xxschbft.js → formatter-xxschbft.js} +1 -1
  329. package/dist/chunks/{model-1dtqp2tz.js → formatter-y1sms4qy.js} +9 -9
  330. package/dist/chunks/{model-arya9n3p.js → formatter-y4q0dy5c.js} +10 -10
  331. package/dist/chunks/{model-0pk1ngcf.js → formatter-y55a85fj.js} +25 -25
  332. package/dist/chunks/{model-y0xvjjdd.js → formatter-yavye4vk.js} +150 -150
  333. package/dist/chunks/{model-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
  334. package/dist/chunks/{model-fnb8mg1p.js → formatter-yft4cm74.js} +54 -54
  335. package/dist/chunks/{model-783rzdj3.js → formatter-yp49h7c2.js} +12 -12
  336. package/dist/chunks/{model-yr705xyq.js → formatter-yr705xyq.js} +1 -1
  337. package/dist/chunks/{model-yvtc2x31.js → formatter-yvtc2x31.js} +1 -1
  338. package/dist/chunks/{model-wvnqk69q.js → formatter-z040z2v2.js} +7 -7
  339. package/dist/chunks/{model-e7cc0erc.js → formatter-z3abgc2x.js} +40 -40
  340. package/dist/chunks/{model-1nj39q75.js → formatter-z3mh44a3.js} +32 -32
  341. package/dist/chunks/{model-scn5v30h.js → formatter-z3nw929v.js} +9 -9
  342. package/dist/chunks/{model-3qrc3cfx.js → formatter-z3pc18rr.js} +15 -15
  343. package/dist/chunks/{model-0nrxkvvc.js → formatter-z8vnk1eq.js} +22 -22
  344. package/dist/chunks/{model-4y1fnskp.js → formatter-zajwpna7.js} +30 -30
  345. package/dist/chunks/{model-br1f43xn.js → formatter-zg6x6hsj.js} +6 -6
  346. package/dist/chunks/{model-dk8hh697.js → formatter-zgggygp6.js} +39 -39
  347. package/dist/chunks/{model-cj03vqj5.js → formatter-zhq6fc6b.js} +20 -20
  348. package/dist/chunks/{model-n1f1g11v.js → formatter-ztgc8et9.js} +26 -26
  349. package/dist/chunks/{model-7tdhwmy7.js → formatter-zvn75znb.js} +6 -6
  350. package/dist/chunks/{model-qffk4v12.js → formatter-zybtfqav.js} +4 -4
  351. package/dist/codemode/catalog.js +1 -1
  352. package/dist/codemode/execution.js +5 -5
  353. package/dist/codemode/fetch.js +148 -148
  354. package/dist/codemode/instructions.js +7 -7
  355. package/dist/codemode/tool.js +155 -155
  356. package/dist/command.js +96 -96
  357. package/dist/config/discovery.js +97 -97
  358. package/dist/config/integration.js +3 -3
  359. package/dist/config/managed.js +1 -1
  360. package/dist/config/markdown.js +1 -1
  361. package/dist/config/normalize.js +112 -112
  362. package/dist/config/plugin/agent.js +131 -131
  363. package/dist/config/plugin/command.js +238 -238
  364. package/dist/config/plugin/compaction.js +173 -173
  365. package/dist/config/plugin/compatibility.js +153 -153
  366. package/dist/config/plugin/entry-observer.js +1 -1
  367. package/dist/config/plugin/formatter.js +131 -131
  368. package/dist/config/plugin/image.js +130 -130
  369. package/dist/config/plugin/instruction.js +130 -130
  370. package/dist/config/plugin/location-watcher.js +130 -130
  371. package/dist/config/plugin/mcp.js +141 -141
  372. package/dist/config/plugin/policy.js +130 -130
  373. package/dist/config/plugin/provider.js +130 -130
  374. package/dist/config/plugin/reference.js +132 -132
  375. package/dist/config/plugin/shell.js +132 -132
  376. package/dist/config/plugin/skill-file.js +149 -149
  377. package/dist/config/plugin/skill-scan.js +1 -1
  378. package/dist/config/plugin/skill.js +156 -156
  379. package/dist/config/plugin/snapshot.js +130 -130
  380. package/dist/config/plugin/source.js +128 -128
  381. package/dist/config/plugin/tool-output.js +131 -131
  382. package/dist/config/plugin/websearch.js +131 -131
  383. package/dist/config/plugin/worktree.js +132 -132
  384. package/dist/config/variable.js +1 -1
  385. package/dist/config/watch.js +1 -1
  386. package/dist/config.js +135 -135
  387. package/dist/console-access.js +1 -1
  388. package/dist/credential/sql.js +2 -2
  389. package/dist/credential.js +94 -94
  390. package/dist/database/batch.js +1 -1
  391. package/dist/database/database.js +77 -77
  392. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  393. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  394. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  395. package/dist/database/drizzle/index.js +13 -13
  396. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  398. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  399. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  401. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  402. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  404. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  407. package/dist/database/drizzle.js +14 -14
  408. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  409. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  410. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  411. package/dist/database/migration/20260225215848_workspace.js +1 -1
  412. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  413. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  414. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  415. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  416. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  417. package/dist/database/migration/20260323234822_events.js +1 -1
  418. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  419. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  420. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  421. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  422. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  423. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  424. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  425. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  426. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  427. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  428. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  429. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  430. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  431. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  432. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  433. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  434. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  435. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  436. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  437. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  438. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  439. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  440. package/dist/database/migration/20260611035744_credential.js +1 -1
  441. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  442. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  443. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  444. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  445. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  446. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  447. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  448. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  449. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  450. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  451. package/dist/database/migration/20260812213948_worktree.js +1 -1
  452. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  453. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  454. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  455. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  456. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  457. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  458. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  459. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  460. package/dist/database/migration/20261025123711_blob.js +1 -1
  461. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  462. package/dist/database/migration/20261026223005_schedule.js +1 -1
  463. package/dist/database/migration/20261029002625_session_part.js +1 -1
  464. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  465. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  466. package/dist/database/migration/20261030054400_job.js +1 -1
  467. package/dist/database/migration.gen.js +60 -60
  468. package/dist/database/migration.js +76 -76
  469. package/dist/database/path.js +2 -2
  470. package/dist/database/schema.gen.js +1 -1
  471. package/dist/database/schema.sql.js +1 -1
  472. package/dist/database/v1-migration.bun.js +105 -105
  473. package/dist/database/v1-migration.js +1 -1
  474. package/dist/effect/app-node-builder.js +441 -441
  475. package/dist/effect/app-node-platform.js +2 -2
  476. package/dist/effect/keyed-mutex.js +1 -1
  477. package/dist/effect/websocket-constructor.js +1 -1
  478. package/dist/environment/driver.js +1 -1
  479. package/dist/environment/environment.js +105 -105
  480. package/dist/environment/exec-defaults.js +2 -2
  481. package/dist/environment/files.js +1 -1
  482. package/dist/environment/index.js +109 -109
  483. package/dist/environment/local.js +2 -2
  484. package/dist/environment/memory.js +2 -2
  485. package/dist/environment/unavailable.js +1 -1
  486. package/dist/event/sql.js +1 -1
  487. package/dist/event-logger.js +81 -81
  488. package/dist/file-access.js +160 -160
  489. package/dist/file-mutation.js +108 -108
  490. package/dist/file-retention.js +1 -1
  491. package/dist/file-write.js +164 -164
  492. package/dist/filesystem/fff.bun.js +2 -2
  493. package/dist/filesystem/fff.js +1 -1
  494. package/dist/filesystem/fff.node.js +2 -2
  495. package/dist/filesystem/fff.workerd.js +2 -2
  496. package/dist/filesystem/file-watch.js +88 -88
  497. package/dist/filesystem/location-watcher-policy.js +6 -6
  498. package/dist/filesystem/location-watcher.js +247 -247
  499. package/dist/filesystem/protected.js +3 -3
  500. package/dist/filesystem/search.js +113 -113
  501. package/dist/filesystem/watcher-binding.js +1 -1
  502. package/dist/filesystem/watcher.js +11 -11
  503. package/dist/filesystem.js +116 -116
  504. package/dist/flag.js +129 -129
  505. package/dist/form.js +95 -95
  506. package/dist/formatter/builtins.js +4 -4
  507. package/dist/formatter.js +100 -100
  508. package/dist/generate.js +110 -110
  509. package/dist/git.js +7 -7
  510. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  511. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  512. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  513. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  514. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  515. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  516. package/dist/github-copilot/copilot-provider.js +17 -17
  517. package/dist/github-copilot/models.js +104 -104
  518. package/dist/github-copilot/openai-compatible-error.js +1 -1
  519. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  520. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  521. package/dist/github-copilot/responses/openai-error.js +1 -1
  522. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  523. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  524. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  525. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  526. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  528. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  529. package/dist/image/notice.js +1 -1
  530. package/dist/image/photon-normalize.js +1 -1
  531. package/dist/image/photon-worker.js +1 -1
  532. package/dist/image/photon.js +4 -4
  533. package/dist/image.js +6 -6
  534. package/dist/instance/service.js +5 -5
  535. package/dist/instance.js +432 -432
  536. package/dist/instruction-discovery.js +91 -91
  537. package/dist/instructions/builtins.js +100 -100
  538. package/dist/instructions/index.js +1 -1
  539. package/dist/integration/connection.js +3 -3
  540. package/dist/integration.js +96 -96
  541. package/dist/job/list.js +5 -5
  542. package/dist/job/recovery.js +2 -2
  543. package/dist/job/sql.js +2 -2
  544. package/dist/job.js +90 -90
  545. package/dist/kv/sql.js +2 -2
  546. package/dist/kv.js +84 -84
  547. package/dist/location-activity.js +182 -182
  548. package/dist/location-lifecycle.js +153 -153
  549. package/dist/location-service-map.js +99 -99
  550. package/dist/location-services.js +429 -429
  551. package/dist/location.js +100 -100
  552. package/dist/managed-policy.js +3 -3
  553. package/dist/mcp/client.js +158 -158
  554. package/dist/mcp/connection.js +104 -104
  555. package/dist/mcp/index.js +114 -114
  556. package/dist/mcp/instructions.js +187 -187
  557. package/dist/mcp/oauth.js +89 -89
  558. package/dist/mcp/pool.js +106 -106
  559. package/dist/mcp/socket-client.js +1 -1
  560. package/dist/mcp/stdio.js +157 -157
  561. package/dist/mime.js +1 -1
  562. package/dist/modal/models.js +104 -104
  563. package/dist/model-resolver.js +110 -110
  564. package/dist/model-retry.js +1 -1
  565. package/dist/model.js +113 -113
  566. package/dist/models-dev/v1.js +1 -1
  567. package/dist/models-dev.js +115 -115
  568. package/dist/oauth/page.js +1 -1
  569. package/dist/permission/saved.js +91 -91
  570. package/dist/permission/sql.js +5 -5
  571. package/dist/permission.js +154 -154
  572. package/dist/persistent-pty/binary.bun.js +1 -1
  573. package/dist/persistent-pty/daemon.js +1 -1
  574. package/dist/persistent-pty/index.js +97 -97
  575. package/dist/persistent-pty/pty-binding.js +1 -1
  576. package/dist/persistent-pty.js +86 -86
  577. package/dist/plugin/agent.js +85 -85
  578. package/dist/plugin/command.js +117 -117
  579. package/dist/plugin/goal.js +3 -3
  580. package/dist/plugin/hooks.js +5 -5
  581. package/dist/plugin/host.js +244 -244
  582. package/dist/plugin/identity.js +5 -5
  583. package/dist/plugin/instance.js +5 -5
  584. package/dist/plugin/internal.js +408 -408
  585. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  586. package/dist/plugin/models-dev.js +110 -110
  587. package/dist/plugin/module.js +129 -129
  588. package/dist/plugin/optimize.js +2 -2
  589. package/dist/plugin/plan.js +149 -149
  590. package/dist/plugin/promise.js +1 -1
  591. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  592. package/dist/plugin/provider/azure.js +133 -133
  593. package/dist/plugin/provider/cerebras.js +1 -1
  594. package/dist/plugin/provider/chatgpt.js +133 -133
  595. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  596. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  597. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  598. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  599. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  600. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  601. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  602. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  603. package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
  604. package/dist/plugin/provider/claude-agent/index.js +148 -148
  605. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  606. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
  608. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  609. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  610. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  612. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  613. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  614. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  615. package/dist/plugin/provider/claude-agent/session.js +112 -112
  616. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  617. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  619. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  620. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  623. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  625. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  626. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  627. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  628. package/dist/plugin/provider/configured.js +126 -126
  629. package/dist/plugin/provider/credential-settings.js +88 -88
  630. package/dist/plugin/provider/databricks.js +1 -1
  631. package/dist/plugin/provider/digitalocean.js +109 -109
  632. package/dist/plugin/provider/dynamic.js +2 -2
  633. package/dist/plugin/provider/github-copilot.js +111 -111
  634. package/dist/plugin/provider/gitlab.js +109 -109
  635. package/dist/plugin/provider/google-vertex.js +127 -127
  636. package/dist/plugin/provider/kilo.js +1 -1
  637. package/dist/plugin/provider/llmgateway.js +89 -89
  638. package/dist/plugin/provider/lmstudio.js +140 -140
  639. package/dist/plugin/provider/local.js +137 -137
  640. package/dist/plugin/provider/modal.js +108 -108
  641. package/dist/plugin/provider/neon.js +1 -1
  642. package/dist/plugin/provider/nvidia.js +1 -1
  643. package/dist/plugin/provider/ollama.js +140 -140
  644. package/dist/plugin/provider/openai-context-caps.js +106 -106
  645. package/dist/plugin/provider/openai.js +133 -133
  646. package/dist/plugin/provider/opencode-watches.js +4 -4
  647. package/dist/plugin/provider/opencode.js +161 -161
  648. package/dist/plugin/provider/openrouter.js +104 -104
  649. package/dist/plugin/provider/poe.js +90 -90
  650. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  651. package/dist/plugin/provider/refresh.js +87 -87
  652. package/dist/plugin/provider/sap-ai-core.js +104 -104
  653. package/dist/plugin/provider/sdk-factory.js +1 -1
  654. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  655. package/dist/plugin/provider/vllm.js +138 -138
  656. package/dist/plugin/provider/xai.js +104 -104
  657. package/dist/plugin/provider/zenmux.js +1 -1
  658. package/dist/plugin/provider.js +239 -239
  659. package/dist/plugin/sdk.js +85 -85
  660. package/dist/plugin/service.js +3 -3
  661. package/dist/plugin/skill.js +152 -152
  662. package/dist/plugin/source-directory.js +1 -1
  663. package/dist/plugin/supervisor.js +416 -416
  664. package/dist/plugin/tool-input-repair.js +4 -4
  665. package/dist/plugin/update.js +6 -6
  666. package/dist/plugin/vcs/git.js +99 -99
  667. package/dist/plugin/vcs/hg.js +99 -99
  668. package/dist/plugin/verbosity.js +106 -106
  669. package/dist/plugin/warming.js +130 -130
  670. package/dist/plugin/websearch/exa.js +6 -6
  671. package/dist/plugin/websearch/firecrawl.js +9 -9
  672. package/dist/plugin/websearch/index.js +10 -10
  673. package/dist/plugin/websearch/mcp.js +4 -4
  674. package/dist/plugin/websearch/parallel.js +9 -9
  675. package/dist/plugin/websearch/provider.js +1 -1
  676. package/dist/plugin/websearch/tavily.js +7 -7
  677. package/dist/plugin/websearch/tinyfish.js +7 -7
  678. package/dist/plugin.js +249 -249
  679. package/dist/project/icon.js +5 -5
  680. package/dist/project/schema.js +8 -8
  681. package/dist/project/sql.js +4 -4
  682. package/dist/project.js +105 -105
  683. package/dist/provider.js +110 -110
  684. package/dist/pty/protocol.js +1 -1
  685. package/dist/pty/ticket.js +1 -1
  686. package/dist/pty.js +103 -103
  687. package/dist/reference/instructions.js +99 -99
  688. package/dist/reference.js +103 -103
  689. package/dist/repository-cache.js +93 -93
  690. package/dist/repository.js +3 -3
  691. package/dist/ripgrep/binary.js +2 -2
  692. package/dist/ripgrep.js +109 -109
  693. package/dist/rpc.js +99 -99
  694. package/dist/schedule/check.js +249 -249
  695. package/dist/schedule/sql.js +6 -6
  696. package/dist/schedule.js +255 -255
  697. package/dist/schema.js +1 -1
  698. package/dist/session/affinity.js +1 -1
  699. package/dist/session/background.js +1 -1
  700. package/dist/session/blob.js +132 -132
  701. package/dist/session/command.js +85 -85
  702. package/dist/session/compaction.js +173 -173
  703. package/dist/session/context.js +205 -205
  704. package/dist/session/diff.js +101 -101
  705. package/dist/session/environment.js +5 -5
  706. package/dist/session/error.js +5 -5
  707. package/dist/session/event.js +1 -1
  708. package/dist/session/execution/restart.js +247 -247
  709. package/dist/session/execution.js +169 -169
  710. package/dist/session/generate.js +204 -204
  711. package/dist/session/history.js +139 -139
  712. package/dist/session/inbox.js +148 -148
  713. package/dist/session/info.js +3 -3
  714. package/dist/session/instruction-entry.js +90 -90
  715. package/dist/session/instruction-state.js +8 -8
  716. package/dist/session/instructions.js +146 -146
  717. package/dist/session/message-updater.js +2 -2
  718. package/dist/session/message.js +1 -1
  719. package/dist/session/model-request.js +171 -171
  720. package/dist/session/model-transport.js +9 -9
  721. package/dist/session/move.js +171 -171
  722. package/dist/session/projector.js +146 -146
  723. package/dist/session/prompt.js +151 -151
  724. package/dist/session/recent-text.js +1 -1
  725. package/dist/session/revert.js +142 -142
  726. package/dist/session/run-coordinator.js +1 -1
  727. package/dist/session/runner/index.js +3 -3
  728. package/dist/session/runner/llm.js +256 -256
  729. package/dist/session/runner/max-steps.js +1 -1
  730. package/dist/session/runner/model.js +113 -113
  731. package/dist/session/runner/publish-llm-event.js +153 -153
  732. package/dist/session/runner/retry.js +3 -3
  733. package/dist/session/runner/step.js +164 -164
  734. package/dist/session/runner/to-llm-message.js +140 -140
  735. package/dist/session/schema.js +5 -5
  736. package/dist/session/session.js +188 -188
  737. package/dist/session/shell.js +145 -145
  738. package/dist/session/skill.js +150 -150
  739. package/dist/session/sql.js +5 -5
  740. package/dist/session/stats.js +85 -85
  741. package/dist/session/store.js +145 -145
  742. package/dist/session/stored.js +2 -2
  743. package/dist/session/subagent-completion.js +1 -1
  744. package/dist/session/subagent-job.js +237 -237
  745. package/dist/session/system-prompt.js +3 -3
  746. package/dist/session/title.js +203 -203
  747. package/dist/session/to-session-error.js +152 -152
  748. package/dist/session/transfer.js +245 -245
  749. package/dist/session/usage.js +1 -1
  750. package/dist/session.js +243 -243
  751. package/dist/shared-cache.js +5 -5
  752. package/dist/shell/parse.js +6 -6
  753. package/dist/shell/result.js +1 -1
  754. package/dist/shell/scan.js +1 -1
  755. package/dist/shell/select.js +13 -13
  756. package/dist/shell.js +147 -147
  757. package/dist/skill/discovery.js +6 -6
  758. package/dist/skill/instructions.js +154 -154
  759. package/dist/skill.js +157 -157
  760. package/dist/snapshot.js +106 -106
  761. package/dist/state.js +1 -1
  762. package/dist/tool/html-markdown.js +1 -1
  763. package/dist/tool/http-body.js +1 -1
  764. package/dist/tool/mcp.js +188 -188
  765. package/dist/tool/plugin/artifact.js +236 -236
  766. package/dist/tool/plugin/edit.js +170 -170
  767. package/dist/tool/plugin/file-diff.js +1 -1
  768. package/dist/tool/plugin/glob.js +174 -174
  769. package/dist/tool/plugin/grep.js +173 -173
  770. package/dist/tool/plugin/image-generate.js +245 -245
  771. package/dist/tool/plugin/mcp-resource.js +169 -169
  772. package/dist/tool/plugin/opencode.js +166 -166
  773. package/dist/tool/plugin/patch.js +167 -167
  774. package/dist/tool/plugin/question.js +149 -149
  775. package/dist/tool/plugin/read.js +175 -175
  776. package/dist/tool/plugin/schedule.js +255 -255
  777. package/dist/tool/plugin/shell.js +243 -243
  778. package/dist/tool/plugin/skill.js +152 -152
  779. package/dist/tool/plugin/subagent.js +244 -244
  780. package/dist/tool/plugin/todo.js +156 -156
  781. package/dist/tool/plugin/webfetch.js +160 -160
  782. package/dist/tool/plugin/websearch.js +156 -156
  783. package/dist/tool/plugin/write.js +167 -167
  784. package/dist/tool/read-filesystem.js +116 -116
  785. package/dist/tool/runtime.js +1 -1
  786. package/dist/tool/search.js +109 -109
  787. package/dist/tool-output.js +7 -7
  788. package/dist/tool.js +163 -163
  789. package/dist/usage-limits.js +98 -98
  790. package/dist/util/error-summary.js +1 -1
  791. package/dist/util/git-executable.js +3 -3
  792. package/dist/util/lazy.js +1 -1
  793. package/dist/util/slug.js +1 -1
  794. package/dist/util/token.js +1 -1
  795. package/dist/util/which.js +1 -1
  796. package/dist/util/wildcard.js +1 -1
  797. package/dist/v1/config/agent.js +5 -5
  798. package/dist/v1/config/command.js +5 -5
  799. package/dist/v1/config/mcp.js +4 -4
  800. package/dist/v1/config/migrate.js +105 -105
  801. package/dist/v1/config/permission.js +3 -3
  802. package/dist/v1/config/plugin.js +3 -3
  803. package/dist/v1/config/provider-options.js +1 -1
  804. package/dist/v1/config/provider.js +2 -2
  805. package/dist/variant.js +106 -106
  806. package/dist/vcs/patch.js +1 -1
  807. package/dist/vcs.js +102 -102
  808. package/dist/voice.js +99 -99
  809. package/dist/websearch.js +93 -93
  810. package/dist/wellknown/plugin.js +87 -87
  811. package/dist/wellknown.js +92 -92
  812. package/dist/workspace/driver.js +3 -3
  813. package/dist/workspace/sql.js +1 -1
  814. package/dist/workspace.js +93 -93
  815. package/dist/worktree/directory.js +2 -2
  816. package/dist/worktree/git.js +11 -11
  817. package/dist/worktree/sql.js +5 -5
  818. package/dist/worktree/strategies.js +102 -102
  819. package/dist/worktree.js +113 -113
  820. package/package.json +9 -9
  821. package/dist/chunks/model-ezna1kdx.js +0 -18
  822. package/dist/chunks/model-jnjm1jrj.js +0 -26
  823. package/dist/chunks/model-x3c9tvtc.js +0 -16
  824. package/dist/chunks/model-y7vk4fn8.js +0 -265
  825. /package/dist/chunks/{model-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  826. /package/dist/chunks/{model-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  827. /package/dist/chunks/{model-108x4f4w.js → formatter-108x4f4w.js} +0 -0
  828. /package/dist/chunks/{model-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  829. /package/dist/chunks/{model-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  830. /package/dist/chunks/{model-1kah00gy.js → formatter-1kah00gy.js} +0 -0
  831. /package/dist/chunks/{model-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  832. /package/dist/chunks/{model-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  833. /package/dist/chunks/{model-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  834. /package/dist/chunks/{model-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  835. /package/dist/chunks/{model-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  836. /package/dist/chunks/{model-3af0jn4w.js → formatter-3af0jn4w.js} +0 -0
  837. /package/dist/chunks/{model-3asan66x.js → formatter-3asan66x.js} +0 -0
  838. /package/dist/chunks/{model-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  839. /package/dist/chunks/{model-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  840. /package/dist/chunks/{model-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  841. /package/dist/chunks/{model-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  842. /package/dist/chunks/{model-4qk9sjk2.js → formatter-4qk9sjk2.js} +0 -0
  843. /package/dist/chunks/{model-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  844. /package/dist/chunks/{model-53557ph1.js → formatter-53557ph1.js} +0 -0
  845. /package/dist/chunks/{model-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  846. /package/dist/chunks/{model-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
  847. /package/dist/chunks/{model-6agm2x70.js → formatter-6agm2x70.js} +0 -0
  848. /package/dist/chunks/{model-6prwharc.js → formatter-6prwharc.js} +0 -0
  849. /package/dist/chunks/{model-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  850. /package/dist/chunks/{model-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  851. /package/dist/chunks/{model-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  852. /package/dist/chunks/{model-822emrt2.js → formatter-822emrt2.js} +0 -0
  853. /package/dist/chunks/{model-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{model-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{model-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{model-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{model-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{model-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  859. /package/dist/chunks/{model-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  860. /package/dist/chunks/{model-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  861. /package/dist/chunks/{model-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{model-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{model-beh6qq61.js → formatter-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{model-bhmrqjy3.js → formatter-bhmrqjy3.js} +0 -0
  865. /package/dist/chunks/{model-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  866. /package/dist/chunks/{model-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  867. /package/dist/chunks/{model-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  868. /package/dist/chunks/{model-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
  869. /package/dist/chunks/{model-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  870. /package/dist/chunks/{model-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  871. /package/dist/chunks/{model-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  872. /package/dist/chunks/{model-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  873. /package/dist/chunks/{model-df08tz66.js → formatter-df08tz66.js} +0 -0
  874. /package/dist/chunks/{model-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  875. /package/dist/chunks/{model-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  876. /package/dist/chunks/{model-ean2d8b5.js → formatter-ean2d8b5.js} +0 -0
  877. /package/dist/chunks/{model-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  878. /package/dist/chunks/{model-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  879. /package/dist/chunks/{model-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  880. /package/dist/chunks/{model-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  881. /package/dist/chunks/{model-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  882. /package/dist/chunks/{model-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  883. /package/dist/chunks/{model-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
  884. /package/dist/chunks/{model-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  885. /package/dist/chunks/{model-g86h250q.js → formatter-g86h250q.js} +0 -0
  886. /package/dist/chunks/{model-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  887. /package/dist/chunks/{model-gftt206x.js → formatter-gftt206x.js} +0 -0
  888. /package/dist/chunks/{model-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  889. /package/dist/chunks/{model-hk9envan.js → formatter-hk9envan.js} +0 -0
  890. /package/dist/chunks/{model-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  891. /package/dist/chunks/{model-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  892. /package/dist/chunks/{model-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  893. /package/dist/chunks/{model-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  894. /package/dist/chunks/{model-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  895. /package/dist/chunks/{model-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
  896. /package/dist/chunks/{model-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  897. /package/dist/chunks/{model-m18g726c.js → formatter-m18g726c.js} +0 -0
  898. /package/dist/chunks/{model-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  899. /package/dist/chunks/{model-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  900. /package/dist/chunks/{model-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  901. /package/dist/chunks/{model-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  902. /package/dist/chunks/{model-nh4v3znn.js → formatter-nh4v3znn.js} +0 -0
  903. /package/dist/chunks/{model-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  904. /package/dist/chunks/{model-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
  905. /package/dist/chunks/{model-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  906. /package/dist/chunks/{model-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  907. /package/dist/chunks/{model-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  908. /package/dist/chunks/{model-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  909. /package/dist/chunks/{model-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  910. /package/dist/chunks/{model-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  911. /package/dist/chunks/{model-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  912. /package/dist/chunks/{model-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  913. /package/dist/chunks/{model-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  914. /package/dist/chunks/{model-syrav9an.js → formatter-syrav9an.js} +0 -0
  915. /package/dist/chunks/{model-t03h4f5z.js → formatter-t03h4f5z.js} +0 -0
  916. /package/dist/chunks/{model-ty7weeps.js → formatter-ty7weeps.js} +0 -0
  917. /package/dist/chunks/{model-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  918. /package/dist/chunks/{model-vtarvj67.js → formatter-vtarvj67.js} +0 -0
  919. /package/dist/chunks/{model-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  920. /package/dist/chunks/{model-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  921. /package/dist/chunks/{model-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  922. /package/dist/chunks/{model-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  923. /package/dist/chunks/{model-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  924. /package/dist/chunks/{model-x4th4bpe.js → formatter-x4th4bpe.js} +0 -0
  925. /package/dist/chunks/{model-x61499pn.js → formatter-x61499pn.js} +0 -0
  926. /package/dist/chunks/{model-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  927. /package/dist/chunks/{model-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  928. /package/dist/chunks/{model-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  929. /package/dist/chunks/{model-z0h12gs8.js → formatter-z0h12gs8.js} +0 -0
  930. /package/dist/chunks/{model-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  931. /package/dist/chunks/{model-z9919s4g.js → formatter-z9919s4g.js} +0 -0
  932. /package/dist/chunks/{model-zxpyjp51.js → formatter-zxpyjp51.js} +0 -0
  933. /package/dist/chunks/{model-zz5vv3aq.js → formatter-zz5vv3aq.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks2 = {};
7
7
  __export(exports_hooks2, {
8
8
  PluginHooks: () => exports_hooks2,
9
- Service: () => Service75,
10
- node: () => node77
9
+ Service: () => Service67,
10
+ node: () => node68
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 Service75 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service67 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service75, 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(Service75, 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 Service75.of({ has, register, trigger });
57
+ return Service67.of({ has, register, trigger });
58
58
  }));
59
- var node77 = makeLocationNode({ service: Service75, layer, deps: [] });
59
+ var node68 = makeLocationNode({ service: Service67, layer, deps: [] });
60
60
 
61
- export { Service75, node77, exports_hooks2 };
61
+ export { Service67, node68, exports_hooks2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ID16,
3
3
  mergeOverlay2
4
- } from "./model-n61nyeah.js";
4
+ } from "./formatter-rq4663jc.js";
5
5
  import {
6
6
  ID15,
7
7
  VariantID2,
8
- Info23,
8
+ Info21,
9
9
  compatibility2
10
- } from "./model-bfvbnjh9.js";
10
+ } from "./formatter-5sdw36aq.js";
11
11
  import {
12
12
  __export
13
- } from "./model-9rqn6x4v.js";
13
+ } from "./formatter-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
16
  var exports_models = {};
@@ -87,8 +87,8 @@ function limit(value, fallback) {
87
87
  function build(id, remote, baseURL, previous) {
88
88
  const cost = previous?.cost[0];
89
89
  const input = previous?.limit.input;
90
- return Info23.make({
91
- ...Info23.default(providerID, id),
90
+ return Info21.make({
91
+ ...Info21.default(providerID, id),
92
92
  id,
93
93
  modelID: ID15.make(remote.id),
94
94
  providerID,
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service88
3
- } from "./model-qfxt7s7z.js";
2
+ Service83
3
+ } from "./formatter-h8744wrh.js";
4
4
  import {
5
5
  ID15,
6
6
  Family2
7
- } from "./model-bfvbnjh9.js";
7
+ } from "./formatter-5sdw36aq.js";
8
8
  import {
9
- Service76
10
- } from "./model-0fxg9pvt.js";
9
+ Service70
10
+ } from "./formatter-3typ3c0r.js";
11
11
  import {
12
- Service86
13
- } from "./model-nztsd3ja.js";
12
+ Service82
13
+ } from "./formatter-2w1wqytc.js";
14
14
  import {
15
15
  spawner2
16
- } from "./model-wr3re1en.js";
16
+ } from "./formatter-wr3re1en.js";
17
17
  import {
18
18
  foldSettings2
19
- } from "./model-h3gbr1tk.js";
19
+ } from "./formatter-w3fpkq90.js";
20
20
 
21
21
  // src/plugin/provider/local.ts
22
22
  import { define } from "@opencode/plugin/effect/plugin";
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
32
32
  id: input.id,
33
33
  effect: Effect.fn(function* (ctx) {
34
34
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
35
- const config = yield* Service76;
36
- const environment = yield* Effect.serviceOption(Service86);
37
- const location = yield* Effect.serviceOption(Service88);
35
+ const config = yield* Service70;
36
+ const environment = yield* Effect.serviceOption(Service82);
37
+ const location = yield* Effect.serviceOption(Service83);
38
38
  const defaultOrigin = origin ?? (photonWasm === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
39
39
  const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
40
40
  const loaded = { models: [], hash: "[]" };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  load3
3
- } from "./model-tr8x705m.js";
3
+ } from "./formatter-tr8x705m.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/provider/claude-agent/claude/probe.ts
9
9
  var exports_probe = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service49
3
- } from "./model-a7143epj.js";
2
+ Service41
3
+ } from "./formatter-sbegqkxp.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-ezna1kdx.js";
6
+ } from "./formatter-grzehpz7.js";
7
7
  import {
8
- Service72
9
- } from "./model-df0p4xp8.js";
8
+ Service54
9
+ } from "./formatter-t3exdb07.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./model-q42tzrxa.js";
12
+ } from "./formatter-q42tzrxa.js";
13
13
  import {
14
14
  __export
15
- } from "./model-9rqn6x4v.js";
15
+ } from "./formatter-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start4 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service49;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service72), instances.provide(input.session));
25
+ const instances = yield* Service41;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  makeFiles2
3
- } from "./model-rgc9cx3e.js";
3
+ } from "./formatter-rgc9cx3e.js";
4
4
  import {
5
5
  makeLocalDriver2
6
- } from "./model-cwrgdav8.js";
6
+ } from "./formatter-cwrgdav8.js";
7
7
  import {
8
- Service88,
9
- node91
10
- } from "./model-qfxt7s7z.js";
8
+ Service83,
9
+ node84
10
+ } from "./formatter-h8744wrh.js";
11
11
  import {
12
- Service87,
13
- node89
14
- } from "./model-5xwvkjrr.js";
12
+ Service86,
13
+ node88
14
+ } from "./formatter-5c5fd2mc.js";
15
15
  import {
16
16
  __export
17
- } from "./model-9rqn6x4v.js";
17
+ } from "./formatter-9rqn6x4v.js";
18
18
 
19
19
  // src/environment/environment.ts
20
20
  var exports_environment3 = {};
21
21
  __export(exports_environment3, {
22
22
  EnvironmentService: () => exports_environment3,
23
- Service: () => Service86,
24
- node: () => node88
23
+ Service: () => Service82,
24
+ node: () => node83
25
25
  });
26
26
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
27
27
  import { makeLocationNode } from "@opencode/util/effect/app-node";
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
30
- class Service86 extends Context.Service()("@opencode/Environment") {
30
+ class Service82 extends Context.Service()("@opencode/Environment") {
31
31
  }
32
- var layer = Layer.effect(Service86, Effect.gen(function* () {
32
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
33
33
  const spawner = yield* ChildProcessSpawner;
34
- const location = yield* Service88;
35
- const workspace = yield* Service87;
34
+ const location = yield* Service83;
35
+ const workspace = yield* Service86;
36
36
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
37
- return Service86.of({ files: makeFiles2(driver), spawner: driver.spawner });
37
+ return Service82.of({ files: makeFiles2(driver), spawner: driver.spawner });
38
38
  }));
39
- var node88 = makeLocationNode({
40
- service: Service86,
39
+ var node83 = makeLocationNode({
40
+ service: Service82,
41
41
  layer,
42
- deps: [CrossSpawnSpawner.node, node91, node89]
42
+ deps: [CrossSpawnSpawner.node, node84, node88]
43
43
  });
44
44
 
45
- export { Service86, node88, exports_environment3 };
45
+ export { Service82, node83, exports_environment3 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service91,
3
3
  node94
4
- } from "./model-q1hxmnhx.js";
4
+ } from "./formatter-w5644fpa.js";
5
5
  import {
6
6
  Service36,
7
7
  node39
8
- } from "./model-dk8hh697.js";
8
+ } from "./formatter-zgggygp6.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./model-4pyp9zr9.js";
11
+ } from "./formatter-4pyp9zr9.js";
12
12
  import {
13
13
  invocation2,
14
14
  CorrectedError2,
15
15
  BlockedError2,
16
- Service66,
17
- node67
18
- } from "./model-35bf8v5y.js";
16
+ Service64,
17
+ node65
18
+ } from "./formatter-7952znqf.js";
19
19
  import {
20
20
  normalizedName2,
21
21
  effectiveName2
22
- } from "./model-z0h12gs8.js";
22
+ } from "./formatter-z0h12gs8.js";
23
23
  import {
24
- Service41,
25
- node44
26
- } from "./model-58jj18ay.js";
24
+ Service44,
25
+ node46
26
+ } from "./formatter-kaczt1e9.js";
27
27
  import {
28
- Service74,
29
- node76
30
- } from "./model-fv3530tt.js";
28
+ Service60,
29
+ node61
30
+ } from "./formatter-13mw6316.js";
31
31
  import {
32
32
  MEDIA_MIMES2
33
- } from "./model-hzxewqmk.js";
33
+ } from "./formatter-ss7teg2v.js";
34
34
  import {
35
35
  __export
36
- } from "./model-9rqn6x4v.js";
36
+ } from "./formatter-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/mcp.ts
39
39
  var exports_mcp3 = {};
40
40
  __export(exports_mcp3, {
41
41
  McpTool: () => exports_mcp3,
42
- Service: () => Service35,
43
- layer: () => layer16,
44
- name: () => name16,
42
+ Service: () => Service27,
43
+ layer: () => layer14,
44
+ name: () => name15,
45
45
  namespace: () => namespace2,
46
- node: () => node38
46
+ node: () => node31
47
47
  });
48
48
  import { ToolFailure } from "@opencode/ai/effect";
49
49
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -52,16 +52,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import { extension } from "mime-types";
53
53
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
54
54
  var namespace2 = (server) => normalizedName2({ name: server });
55
- var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
55
+ var name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
56
56
 
57
- class Service35 extends Context.Service()("@opencode/McpTool") {
57
+ class Service27 extends Context.Service()("@opencode/McpTool") {
58
58
  }
59
- var layer16 = Layer.effect(Service35, Effect.gen(function* () {
59
+ var layer14 = Layer.effect(Service27, Effect.gen(function* () {
60
60
  const mcp = yield* Service36;
61
- const tools = yield* Service41;
61
+ const tools = yield* Service44;
62
62
  const bus = yield* Service91;
63
- const permission = yield* Service66;
64
- const toolOutput = yield* Service74;
63
+ const permission = yield* Service64;
64
+ const toolOutput = yield* Service60;
65
65
  const lock = Semaphore.makeUnsafe(1);
66
66
  let discovered = [];
67
67
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -76,7 +76,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
76
76
  output: tool.outputSchema ?? {},
77
77
  execute: (input, context) => Effect.gen(function* () {
78
78
  yield* permission.assert({
79
- action: name16(tool.server, tool.name),
79
+ action: name15(tool.server, tool.name),
80
80
  resources: ["*"],
81
81
  save: ["*"],
82
82
  metadata: { input: input ?? {} },
@@ -119,7 +119,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
119
119
  return new ToolFailure({ message: error.message, error });
120
120
  if (error instanceof CorrectedError2)
121
121
  return new ToolFailure({ message: error.feedback, error });
122
- return new ToolFailure({ message: `Unable to execute ${name16(tool.server, tool.name)}`, error });
122
+ return new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}`, error });
123
123
  }))
124
124
  });
125
125
  }
@@ -133,7 +133,7 @@ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
133
133
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
134
134
  const updates = yield* PubSub.subscribe(changes);
135
135
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
136
- return Service35.of({
136
+ return Service27.of({
137
137
  flush: Effect.gen(function* () {
138
138
  yield* Fiber.await(initial);
139
139
  yield* mcp.awaitStartup();
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
161
161
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
162
162
  };
163
163
  });
164
- var node38 = makeLocationNode({
165
- service: Service35,
166
- layer: layer16,
167
- deps: [node44, node39, node94, node67, node76]
164
+ var node31 = makeLocationNode({
165
+ service: Service27,
166
+ layer: layer14,
167
+ deps: [node46, node39, node94, node65, node61]
168
168
  });
169
169
 
170
- export { namespace2, name16, Service35, layer16, node38, exports_mcp3 };
170
+ export { namespace2, name15, Service27, layer14, node31, exports_mcp3 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-jjktkhap.js";
3
+ } from "./formatter-d68btebf.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./model-3v8g72cx.js";
6
+ } from "./formatter-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES2,
8
+ MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./model-5enarcya.js";
10
+ } from "./formatter-w2eysc6j.js";
11
11
  import {
12
12
  register3
13
- } from "./model-xxschbft.js";
13
+ } from "./formatter-xxschbft.js";
14
14
  import {
15
15
  __export
16
- } from "./model-9rqn6x4v.js";
16
+ } from "./formatter-9rqn6x4v.js";
17
17
 
18
18
  // src/plugin/websearch/tinyfish.ts
19
19
  var exports_tinyfish = {};
20
20
  __export(exports_tinyfish, {
21
- Plugin: () => Plugin29,
21
+ Plugin: () => Plugin45,
22
22
  WebSearchTinyFish: () => exports_tinyfish,
23
23
  endpoint: () => endpoint6
24
24
  });
@@ -54,7 +54,7 @@ var InitializedNotification = Schema.Struct({
54
54
  jsonrpc: Schema.Literal("2.0"),
55
55
  method: Schema.Literal("notifications/initialized")
56
56
  });
57
- var Plugin29 = define({
57
+ var Plugin45 = define({
58
58
  id: "opencode.websearch.tinyfish",
59
59
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
60
60
  const http = yield* HttpClient.HttpClient;
@@ -94,7 +94,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
94
94
  }
95
95
  }));
96
96
  const response = yield* client.execute(request);
97
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
97
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
98
98
  const session = response.headers["mcp-session-id"];
99
99
  if (session === undefined)
100
100
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
109
109
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
110
110
  }));
111
111
 
112
- export { endpoint6, Plugin29, exports_tinyfish };
112
+ export { endpoint6, Plugin45, exports_tinyfish };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./formatter-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info21
7
- } from "./model-2kg89srt.js";
6
+ Info20
7
+ } from "./formatter-v0t96s7a.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  ConfigAgentV1: () => exports_agent4,
16
- Info: () => Info20
16
+ Info: () => Info19
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info21)
48
+ permission: Schema.optional(Info20)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info20 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info19 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info20, exports_agent4 };
72
+ export { Info19, exports_agent4 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./model-b14yber2.js";
5
+ } from "./formatter-3zabr8p3.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make36,
10
10
  makeWithDefaults2
11
- } from "./model-w6nfnjvs.js";
11
+ } from "./formatter-00tbpbtc.js";
12
12
  import {
13
13
  __export
14
- } from "./model-9rqn6x4v.js";
14
+ } from "./formatter-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./model-wakvkjy4.js";
3
+ } from "./formatter-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./model-aj7mw0zk.js";
6
+ } from "./formatter-aj7mw0zk.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-z5v4ffb3.js";
4
+ } from "./formatter-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
8
  Service90,
9
9
  node93
10
- } from "./model-c9n7546s.js";
10
+ } from "./formatter-vg2r2j9b.js";
11
11
  import {
12
- Service88,
13
- node91
14
- } from "./model-qfxt7s7z.js";
12
+ Service83,
13
+ node84
14
+ } from "./formatter-h8744wrh.js";
15
15
  import {
16
16
  create4
17
- } from "./model-40y6dtc2.js";
17
+ } from "./formatter-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./formatter-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID8,
27
- Service: () => Service39,
25
+ Error: () => Error3,
26
+ ID: () => ID10,
27
+ Service: () => Service61,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node42,
30
- noopLayer: () => noopLayer2
29
+ node: () => node62,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID8 } from "@opencode/schema/snapshot";
37
+ import { ID as ID10 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service39 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service61 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service39, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service90;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service88;
52
+ const location = yield* Service83;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
97
97
  maximumUntrackedFileBytes: 2 * 1024 * 1024
98
98
  });
99
99
  yield* packWhenDue(repo.snapshotRepository);
100
- return ID8.make(tree);
100
+ return ID10.make(tree);
101
101
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
102
102
  });
103
103
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service61.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node42 = makeLocationNode({
159
- service: Service39,
158
+ var node62 = makeLocationNode({
159
+ service: Service61,
160
160
  layer,
161
- deps: [FSUtil.node, node93, Global.node, node91]
161
+ deps: [FSUtil.node, node93, Global.node, node84]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service39, Service39.of({
163
+ var noopLayer3 = Layer.succeed(Service61, Service61.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error2 && cause.operation === operation)
172
+ if (cause instanceof Error3 && cause.operation === operation)
173
173
  return cause;
174
- return new Error2({
174
+ return new Error3({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID8, Error2, Service39, node42, noopLayer2, exports_snapshot2 };
181
+ export { ID10, Error3, Service61, node62, noopLayer3, exports_snapshot2 };