@opencode/core 0.0.0-dev-21915 → 0.0.0-dev-21920

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 (825) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/wellknown-00ve6mdn.js +18 -0
  8. package/dist/chunks/{event-logger-fh08m5h2.js → wellknown-0124gy6r.js} +4 -4
  9. package/dist/chunks/{event-logger-5rn25pwd.js → wellknown-024g9ezh.js} +18 -18
  10. package/dist/chunks/{event-logger-034tev2y.js → wellknown-034tev2y.js} +2 -2
  11. package/dist/chunks/{event-logger-sjt0aqsb.js → wellknown-05ps92hd.js} +24 -24
  12. package/dist/chunks/{event-logger-mq16y592.js → wellknown-09090e8v.js} +3 -3
  13. package/dist/chunks/{event-logger-9z9tayqc.js → wellknown-0anyt1n6.js} +5 -5
  14. package/dist/chunks/{event-logger-nn2wptpk.js → wellknown-0db4hbv7.js} +5 -5
  15. package/dist/chunks/{event-logger-t5zwprfx.js → wellknown-0f80a8fy.js} +33 -33
  16. package/dist/chunks/{event-logger-jxr5ks98.js → wellknown-0ft0yr9w.js} +6 -6
  17. package/dist/chunks/{event-logger-zt0grhjq.js → wellknown-0gg8tnxq.js} +33 -33
  18. package/dist/chunks/{event-logger-hwadrnp3.js → wellknown-0h78vc96.js} +17 -17
  19. package/dist/chunks/{event-logger-pacbbjc0.js → wellknown-0tpkjg9c.js} +7 -7
  20. package/dist/chunks/{event-logger-st7p3hwb.js → wellknown-0w2jttgf.js} +2 -2
  21. package/dist/chunks/{event-logger-179sgv51.js → wellknown-0xv9h4nb.js} +27 -27
  22. package/dist/chunks/{event-logger-fjg1f0qa.js → wellknown-125q1ps8.js} +16 -16
  23. package/dist/chunks/{event-logger-78n4qc0z.js → wellknown-14dcnwrx.js} +4 -4
  24. package/dist/chunks/{event-logger-re1qaq4d.js → wellknown-15xz4cvy.js} +15 -15
  25. package/dist/chunks/{event-logger-zmwdvt2x.js → wellknown-18m168yb.js} +11 -11
  26. package/dist/chunks/{event-logger-hh6grysg.js → wellknown-18tp64nm.js} +4 -4
  27. package/dist/chunks/{event-logger-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{event-logger-x0hhhwgh.js → wellknown-1er5yem5.js} +35 -35
  29. package/dist/chunks/{event-logger-1qjnrqep.js → wellknown-1hvsjts9.js} +11 -11
  30. package/dist/chunks/{event-logger-c1gsg3g8.js → wellknown-1vmknwag.js} +11 -11
  31. package/dist/chunks/{event-logger-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{event-logger-7che9vcx.js → wellknown-1xr13nyq.js} +22 -22
  33. package/dist/chunks/{event-logger-5zrxpy3q.js → wellknown-1yq9hg58.js} +5 -5
  34. package/dist/chunks/{event-logger-mzrr2ceq.js → wellknown-1yww55sr.js} +24 -24
  35. package/dist/chunks/{event-logger-204s3925.js → wellknown-204s3925.js} +1 -1
  36. package/dist/chunks/{event-logger-2yvtks3w.js → wellknown-21pdxbx2.js} +3 -3
  37. package/dist/chunks/{event-logger-x0z7d0h1.js → wellknown-2320mcv1.js} +25 -25
  38. package/dist/chunks/{event-logger-bf5n42xj.js → wellknown-2eqy3gj5.js} +11 -11
  39. package/dist/chunks/{event-logger-33j2zr63.js → wellknown-2kzj9rs3.js} +85 -85
  40. package/dist/chunks/{event-logger-pmbbezah.js → wellknown-2p4cawxc.js} +22 -22
  41. package/dist/chunks/{event-logger-vkhmt3za.js → wellknown-2q60wewa.js} +35 -35
  42. package/dist/chunks/{event-logger-bqe25t1z.js → wellknown-2qbjrve9.js} +5 -5
  43. package/dist/chunks/{event-logger-qnxr7c2a.js → wellknown-2qe92jhz.js} +8 -8
  44. package/dist/chunks/{event-logger-9s0e97ng.js → wellknown-2r4zmzmb.js} +29 -29
  45. package/dist/chunks/{event-logger-xczbbc2n.js → wellknown-2vgv6k8t.js} +13 -13
  46. package/dist/chunks/{event-logger-5cppamkc.js → wellknown-2wdrepbb.js} +23 -23
  47. package/dist/chunks/{event-logger-2dbq5t1r.js → wellknown-3bqphbas.js} +15 -15
  48. package/dist/chunks/{event-logger-ga597wxg.js → wellknown-3dxzdqzy.js} +28 -25
  49. package/dist/chunks/{event-logger-mptppmq7.js → wellknown-3ech5htw.js} +3 -3
  50. package/dist/chunks/{event-logger-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{event-logger-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{event-logger-cpvd08na.js → wellknown-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{event-logger-0svvf4a3.js → wellknown-3v67cre7.js} +36 -36
  54. package/dist/chunks/{event-logger-40za9wsf.js → wellknown-40za9wsf.js} +2 -2
  55. package/dist/chunks/{event-logger-st4dmjma.js → wellknown-42e9prds.js} +50 -50
  56. package/dist/chunks/{event-logger-c1df77m2.js → wellknown-47dnmp34.js} +21 -21
  57. package/dist/chunks/{event-logger-herh7hrd.js → wellknown-4833vkmt.js} +8 -8
  58. package/dist/chunks/{event-logger-213mv4pq.js → wellknown-48rxq2nm.js} +18 -18
  59. package/dist/chunks/{event-logger-vhwcqbf2.js → wellknown-49fagkab.js} +19 -19
  60. package/dist/chunks/{event-logger-dynzjwsk.js → wellknown-4campf80.js} +4 -4
  61. package/dist/chunks/{event-logger-a8sm5zt7.js → wellknown-4e498fz4.js} +11 -11
  62. package/dist/chunks/{event-logger-qa9tft3h.js → wellknown-4eyc3kpp.js} +92 -92
  63. package/dist/chunks/{event-logger-dzd14etx.js → wellknown-4jt7skys.js} +21 -21
  64. package/dist/chunks/{event-logger-2z1j29yd.js → wellknown-4pyp9zr9.js} +19 -3
  65. package/dist/chunks/{event-logger-5r72z9dp.js → wellknown-4skqtp9p.js} +8 -8
  66. package/dist/chunks/{event-logger-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  67. package/dist/chunks/{event-logger-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
  68. package/dist/chunks/{event-logger-qgehj1ry.js → wellknown-53g6s4ag.js} +23 -23
  69. package/dist/chunks/{event-logger-peyy5ms6.js → wellknown-5gdxwc09.js} +24 -24
  70. package/dist/chunks/{event-logger-h9sxfnc4.js → wellknown-5j9hygp5.js} +31 -31
  71. package/dist/chunks/{event-logger-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{event-logger-0mg8kcn3.js → wellknown-5snrzpn2.js} +20 -19
  73. package/dist/chunks/{event-logger-psvq06ac.js → wellknown-60maxesw.js} +4 -4
  74. package/dist/chunks/{event-logger-s626qfae.js → wellknown-61ennm6n.js} +4 -4
  75. package/dist/chunks/{event-logger-qd1s09xq.js → wellknown-63x76nbs.js} +26 -26
  76. package/dist/chunks/{event-logger-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
  77. package/dist/chunks/{event-logger-3jazymwx.js → wellknown-6hbjb0nc.js} +17 -17
  78. package/dist/chunks/{event-logger-ts1a0z93.js → wellknown-6hxv0b70.js} +21 -21
  79. package/dist/chunks/{event-logger-qg7vbzw0.js → wellknown-6katn5jb.js} +27 -27
  80. package/dist/chunks/{event-logger-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
  81. package/dist/chunks/{event-logger-bw78fe9b.js → wellknown-71vjzq8c.js} +10 -10
  82. package/dist/chunks/{event-logger-ht33fk1k.js → wellknown-724c9pfv.js} +10 -10
  83. package/dist/chunks/{event-logger-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
  84. package/dist/chunks/{event-logger-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{event-logger-p2nmcv9d.js → wellknown-7dfq0tqd.js} +13 -13
  86. package/dist/chunks/{event-logger-9rr00cqq.js → wellknown-7g90vjnc.js} +36 -36
  87. package/dist/chunks/{event-logger-tyred3qc.js → wellknown-7sxvebxe.js} +14 -14
  88. package/dist/chunks/{event-logger-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{event-logger-frm2a0t2.js → wellknown-7yhc6exb.js} +9 -9
  90. package/dist/chunks/{event-logger-wyqjen5s.js → wellknown-7zefs2yx.js} +11 -11
  91. package/dist/chunks/{event-logger-cqgy4j9b.js → wellknown-8bfs1sgm.js} +33 -33
  92. package/dist/chunks/{event-logger-wvngvz36.js → wellknown-8hhyjxtn.js} +17 -17
  93. package/dist/chunks/{event-logger-g1ac2pg3.js → wellknown-8j6zjvn4.js} +4 -4
  94. package/dist/chunks/{event-logger-basczpv8.js → wellknown-8ndw73nb.js} +14 -14
  95. package/dist/chunks/{event-logger-6y263vp8.js → wellknown-8p5baybq.js} +5 -5
  96. package/dist/chunks/{event-logger-0eyqpy28.js → wellknown-8tvz9phv.js} +29 -29
  97. package/dist/chunks/{event-logger-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{event-logger-ssv8d6ry.js → wellknown-90gp0j9c.js} +3 -3
  99. package/dist/chunks/{event-logger-91rj84md.js → wellknown-91rj84md.js} +1 -1
  100. package/dist/chunks/{event-logger-9cx9sm2q.js → wellknown-9cx9sm2q.js} +1 -1
  101. package/dist/chunks/{event-logger-44552vd9.js → wellknown-9dtf119m.js} +12 -12
  102. package/dist/chunks/{event-logger-qfjvy58c.js → wellknown-9y8xp722.js} +6 -6
  103. package/dist/chunks/{event-logger-9r0x1bva.js → wellknown-9ytkwk8q.js} +2 -2
  104. package/dist/chunks/{event-logger-a32zpqad.js → wellknown-apsy5ahh.js} +9 -9
  105. package/dist/chunks/{event-logger-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{event-logger-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
  107. package/dist/chunks/{event-logger-b6vsg801.js → wellknown-b6vsg801.js} +2 -2
  108. package/dist/chunks/{event-logger-pap6y6k1.js → wellknown-bf3y8h5f.js} +200 -200
  109. package/dist/chunks/{event-logger-3h86dkjt.js → wellknown-bqct9qsz.js} +11 -11
  110. package/dist/chunks/{event-logger-xd9cc171.js → wellknown-bstexjd6.js} +5 -5
  111. package/dist/chunks/{event-logger-t7z44kv1.js → wellknown-c0kyf5dr.js} +33 -33
  112. package/dist/chunks/{event-logger-ygbhaca5.js → wellknown-c1pf56e9.js} +14 -14
  113. package/dist/chunks/{event-logger-bvn4drfw.js → wellknown-ccp6j38y.js} +8 -8
  114. package/dist/chunks/{event-logger-nz5t40nw.js → wellknown-cgbxrjpk.js} +13 -13
  115. package/dist/chunks/{event-logger-m0b3df16.js → wellknown-cxxq6shy.js} +12 -12
  116. package/dist/chunks/{event-logger-6szn2v48.js → wellknown-cy55exg4.js} +37 -37
  117. package/dist/chunks/{event-logger-m239h48j.js → wellknown-cyrrj3vn.js} +10 -10
  118. package/dist/chunks/{event-logger-j4danyaa.js → wellknown-d04j6t4g.js} +4 -4
  119. package/dist/chunks/{event-logger-phatgdjg.js → wellknown-d0gx834n.js} +17 -17
  120. package/dist/chunks/{event-logger-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{event-logger-ejnhfpwt.js → wellknown-dbemrfqv.js} +33 -33
  122. package/dist/chunks/{event-logger-f9c14s45.js → wellknown-de619e1b.js} +3 -3
  123. package/dist/chunks/{event-logger-bwsx8aca.js → wellknown-dhfzyyxh.js} +13 -13
  124. package/dist/chunks/{event-logger-8h2npe5w.js → wellknown-dj3vwt7t.js} +4 -4
  125. package/dist/chunks/{event-logger-30147ds3.js → wellknown-djjzzs3c.js} +6 -6
  126. package/dist/chunks/{event-logger-yyt2djfr.js → wellknown-dr8bgxdq.js} +12 -12
  127. package/dist/chunks/{event-logger-pymyzg4j.js → wellknown-e10gzbhc.js} +11 -11
  128. package/dist/chunks/{event-logger-e834z07m.js → wellknown-e834z07m.js} +1 -1
  129. package/dist/chunks/{event-logger-tdjd85a2.js → wellknown-e9z9agtf.js} +34 -34
  130. package/dist/chunks/{event-logger-2kc953ej.js → wellknown-eb0ebbza.js} +21 -21
  131. package/dist/chunks/{event-logger-fa5mv2e8.js → wellknown-ecwctf3g.js} +24 -24
  132. package/dist/chunks/{event-logger-4zf9yj1j.js → wellknown-ef1x4s0c.js} +6 -6
  133. package/dist/chunks/{event-logger-q05tgvb2.js → wellknown-egcgdjrp.js} +4 -4
  134. package/dist/chunks/{event-logger-x57zhnt4.js → wellknown-ewz324b7.js} +49 -49
  135. package/dist/chunks/{event-logger-8k8s1td8.js → wellknown-ex2ghmgq.js} +5 -5
  136. package/dist/chunks/{event-logger-p3kn9h9d.js → wellknown-ey3vkt1q.js} +29 -29
  137. package/dist/chunks/{event-logger-9crppwnt.js → wellknown-fb4cnss3.js} +13 -13
  138. package/dist/chunks/{event-logger-e19z48h8.js → wellknown-fc6mge9b.js} +11 -11
  139. package/dist/chunks/{event-logger-7vz8pb8x.js → wellknown-fdg30131.js} +45 -45
  140. package/dist/chunks/{event-logger-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{event-logger-prq7xxp2.js → wellknown-fg9p65nk.js} +6 -6
  142. package/dist/chunks/{event-logger-akgtqb0c.js → wellknown-fhym6smd.js} +11 -11
  143. package/dist/chunks/{event-logger-sfe1x69m.js → wellknown-fx2b1b3j.js} +40 -40
  144. package/dist/chunks/{event-logger-fznmdakp.js → wellknown-fznmdakp.js} +1 -1
  145. package/dist/chunks/{event-logger-410zp742.js → wellknown-g1qvvw32.js} +27 -27
  146. package/dist/chunks/{event-logger-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
  147. package/dist/chunks/{event-logger-nfht88f8.js → wellknown-g8tr5n07.js} +40 -40
  148. package/dist/chunks/{event-logger-0xy3w4m6.js → wellknown-gc2j9cqs.js} +8 -8
  149. package/dist/chunks/{event-logger-n7bnkb3p.js → wellknown-gcjdgkn2.js} +9 -9
  150. package/dist/chunks/{event-logger-gg8p9cgs.js → wellknown-gg8p9cgs.js} +3 -3
  151. package/dist/chunks/{event-logger-6yv8zpps.js → wellknown-gspvz5np.js} +19 -13
  152. package/dist/chunks/{event-logger-brd5eeq0.js → wellknown-gtn9c16a.js} +8 -8
  153. package/dist/chunks/{event-logger-xzk44jme.js → wellknown-h2hkggp3.js} +25 -25
  154. package/dist/chunks/{event-logger-dj4zrkts.js → wellknown-h362shv8.js} +4 -4
  155. package/dist/chunks/{event-logger-wzp5edw8.js → wellknown-h8v7ynv1.js} +8 -8
  156. package/dist/chunks/{event-logger-76szp9yy.js → wellknown-hk78j51y.js} +46 -46
  157. package/dist/chunks/{event-logger-5rt97jkw.js → wellknown-hnj5zxrz.js} +16 -16
  158. package/dist/chunks/{event-logger-83fr3fym.js → wellknown-hrtx3eh0.js} +16 -16
  159. package/dist/chunks/{event-logger-f1bpp1ef.js → wellknown-hsjdcght.js} +26 -26
  160. package/dist/chunks/{event-logger-408nx0y9.js → wellknown-hwrqw3h8.js} +40 -40
  161. package/dist/chunks/{event-logger-md82vg28.js → wellknown-hx65ke5p.js} +24 -24
  162. package/dist/chunks/{event-logger-j113cymg.js → wellknown-j113cymg.js} +1 -1
  163. package/dist/chunks/{event-logger-57p1m9rz.js → wellknown-j2renyjr.js} +32 -32
  164. package/dist/chunks/{event-logger-g6dfma3d.js → wellknown-j81g92s0.js} +4 -4
  165. package/dist/chunks/{event-logger-4pkf34m0.js → wellknown-jnmyx7e4.js} +79 -78
  166. package/dist/chunks/{event-logger-shd4apfp.js → wellknown-jtzgr0na.js} +5 -5
  167. package/dist/chunks/{event-logger-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
  168. package/dist/chunks/{event-logger-j7e2k5v8.js → wellknown-ke5gy3tk.js} +37 -37
  169. package/dist/chunks/wellknown-kgvgf0mp.js +257 -0
  170. package/dist/chunks/{event-logger-sk0dcrgn.js → wellknown-kkg9xr14.js} +1 -1
  171. package/dist/chunks/{event-logger-tg1vr1qt.js → wellknown-kmzgegqq.js} +8 -8
  172. package/dist/chunks/{event-logger-rrd1tyyg.js → wellknown-ksffszx3.js} +5 -5
  173. package/dist/chunks/{event-logger-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
  174. package/dist/chunks/{event-logger-ez16syfw.js → wellknown-kxymkrsz.js} +9 -9
  175. package/dist/chunks/{event-logger-p76me67c.js → wellknown-ky596kc3.js} +4 -4
  176. package/dist/chunks/{event-logger-m1714858.js → wellknown-m1714858.js} +1 -1
  177. package/dist/chunks/{event-logger-c9pz1jz6.js → wellknown-m6kv1khg.js} +5 -5
  178. package/dist/chunks/{event-logger-68ms0fh2.js → wellknown-m75bxvp1.js} +23 -23
  179. package/dist/chunks/{event-logger-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{event-logger-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
  181. package/dist/chunks/{event-logger-e6bk7rc7.js → wellknown-mb9k54pt.js} +8 -8
  182. package/dist/chunks/{event-logger-1nsj622r.js → wellknown-mfnjseb2.js} +14 -14
  183. package/dist/chunks/{event-logger-jv1fc1mx.js → wellknown-mvj8zay5.js} +14 -14
  184. package/dist/chunks/{event-logger-nah043kf.js → wellknown-nah043kf.js} +1 -1
  185. package/dist/chunks/{event-logger-e3qxr5gk.js → wellknown-ncqqe42p.js} +2 -2
  186. package/dist/chunks/{event-logger-vxxaf4jx.js → wellknown-neary136.js} +8 -8
  187. package/dist/chunks/{event-logger-zxhnf3hq.js → wellknown-nf3nsvxh.js} +4 -4
  188. package/dist/chunks/{event-logger-vpbqyf0k.js → wellknown-npjtk884.js} +22 -22
  189. package/dist/chunks/{event-logger-xm0409en.js → wellknown-nt6mqvwx.js} +6 -6
  190. package/dist/chunks/{event-logger-1db62psx.js → wellknown-ntpfk5qx.js} +28 -28
  191. package/dist/chunks/{event-logger-86g6sxng.js → wellknown-nw3bgfm4.js} +12 -12
  192. package/dist/chunks/{event-logger-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
  193. package/dist/chunks/{event-logger-zq9gq21d.js → wellknown-p7h66p9t.js} +11 -11
  194. package/dist/chunks/{event-logger-eky6j0x6.js → wellknown-pcc6rjnf.js} +9 -9
  195. package/dist/chunks/{event-logger-1rjegszx.js → wellknown-pevtk2h0.js} +4 -4
  196. package/dist/chunks/{event-logger-sc7s3392.js → wellknown-phd9f911.js} +17 -17
  197. package/dist/chunks/{event-logger-pknna89w.js → wellknown-pknna89w.js} +1 -1
  198. package/dist/chunks/{event-logger-k8ya5e1r.js → wellknown-pw0pep3j.js} +25 -25
  199. package/dist/chunks/{event-logger-dwcq4ckc.js → wellknown-pw6gcn4x.js} +12 -12
  200. package/dist/chunks/{event-logger-x98cm754.js → wellknown-pxer50tw.js} +20 -20
  201. package/dist/chunks/{event-logger-vz52s56h.js → wellknown-q3zk63qm.js} +54 -54
  202. package/dist/chunks/{event-logger-cdgpjepk.js → wellknown-q7gd9zh7.js} +38 -38
  203. package/dist/chunks/{event-logger-c36nnf6h.js → wellknown-q80bq26q.js} +3 -3
  204. package/dist/chunks/{event-logger-hzqt23km.js → wellknown-q9c81yt7.js} +17 -17
  205. package/dist/chunks/{event-logger-w2b5jz6s.js → wellknown-q9wnq509.js} +3 -3
  206. package/dist/chunks/{event-logger-jtk69epa.js → wellknown-qgp6m71r.js} +33 -33
  207. package/dist/chunks/{event-logger-qa95shqj.js → wellknown-qnr57htg.js} +28 -28
  208. package/dist/chunks/wellknown-qp7r0hxv.js +120 -0
  209. package/dist/chunks/{event-logger-ryaxndx4.js → wellknown-qqhrz1wm.js} +37 -37
  210. package/dist/chunks/{event-logger-b42k84jp.js → wellknown-qse3wkg3.js} +18 -18
  211. package/dist/chunks/{event-logger-033a0jkt.js → wellknown-qyq8h28g.js} +3 -3
  212. package/dist/chunks/{event-logger-vqrx5bk3.js → wellknown-qz6rkytq.js} +8 -8
  213. package/dist/chunks/{event-logger-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{event-logger-r542h3bh.js → wellknown-r542h3bh.js} +1 -1
  215. package/dist/chunks/{event-logger-kv7q9t9v.js → wellknown-r5zh54gw.js} +50 -50
  216. package/dist/chunks/{event-logger-h3b857xk.js → wellknown-r96ere88.js} +4 -4
  217. package/dist/chunks/{event-logger-618s5217.js → wellknown-radh0f4v.js} +12 -12
  218. package/dist/chunks/{event-logger-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{event-logger-khycn197.js → wellknown-rqspxrc1.js} +9 -9
  220. package/dist/chunks/{event-logger-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{event-logger-1z6t7raf.js → wellknown-rwvswa9y.js} +6 -6
  222. package/dist/chunks/{event-logger-1fnhqpt4.js → wellknown-rww2kjr8.js} +13 -13
  223. package/dist/chunks/{event-logger-6nye8dts.js → wellknown-s2tx6bjs.js} +9 -9
  224. package/dist/chunks/{event-logger-061dfjk9.js → wellknown-s6t1b4j6.js} +11 -11
  225. package/dist/chunks/{event-logger-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
  226. package/dist/chunks/{event-logger-hgbyz31g.js → wellknown-sbtgcdj5.js} +24 -24
  227. package/dist/chunks/{event-logger-mby4m2vn.js → wellknown-sdtzry9x.js} +15 -15
  228. package/dist/chunks/{event-logger-ch94d7vp.js → wellknown-sh36jtyp.js} +5 -5
  229. package/dist/chunks/{event-logger-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{event-logger-ssfehs1z.js → wellknown-ssfehs1z.js} +1 -1
  231. package/dist/chunks/{event-logger-zt1y2eyh.js → wellknown-swveggkf.js} +24 -24
  232. package/dist/chunks/{event-logger-q61wn67c.js → wellknown-t20d8q3a.js} +12 -12
  233. package/dist/chunks/{event-logger-8aemar9r.js → wellknown-t4y7ct23.js} +60 -59
  234. package/dist/chunks/{event-logger-886bz3e9.js → wellknown-tcxz7f1z.js} +28 -28
  235. package/dist/chunks/{event-logger-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{event-logger-bfbc4kpy.js → wellknown-ttz88pvr.js} +11 -11
  237. package/dist/chunks/{event-logger-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
  238. package/dist/chunks/{event-logger-4538h11c.js → wellknown-ty7xyaae.js} +7 -7
  239. package/dist/chunks/{event-logger-a52e4zaq.js → wellknown-tyy5np2s.js} +2 -2
  240. package/dist/chunks/{event-logger-4m87gk4h.js → wellknown-v0hcd9zv.js} +2 -2
  241. package/dist/chunks/{event-logger-w35wzz9x.js → wellknown-v0t96s7a.js} +4 -4
  242. package/dist/chunks/{event-logger-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{event-logger-gy4a15hj.js → wellknown-v4wa8mpc.js} +44 -44
  244. package/dist/chunks/{event-logger-q2vz9kat.js → wellknown-vavkps5a.js} +20 -20
  245. package/dist/chunks/{event-logger-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  246. package/dist/chunks/{event-logger-58fpqt79.js → wellknown-vjmaafeq.js} +9 -9
  247. package/dist/chunks/{event-logger-f7aqmhgm.js → wellknown-vr1p6ca4.js} +11 -11
  248. package/dist/chunks/{event-logger-b8teqy6w.js → wellknown-vt0drty8.js} +5 -5
  249. package/dist/chunks/{event-logger-43c01wrt.js → wellknown-vvzp50rp.js} +19 -19
  250. package/dist/chunks/{event-logger-7ytgdqqc.js → wellknown-vxr65stp.js} +23 -23
  251. package/dist/chunks/{event-logger-shdc20fs.js → wellknown-vxxrrfe0.js} +12 -12
  252. package/dist/chunks/{event-logger-skpj3wch.js → wellknown-w2cmnvxm.js} +13 -13
  253. package/dist/chunks/{event-logger-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{event-logger-77s6zpp3.js → wellknown-w5cna773.js} +31 -31
  255. package/dist/chunks/{event-logger-bn6jkna4.js → wellknown-w68dkr85.js} +20 -20
  256. package/dist/chunks/{event-logger-88a5ws0g.js → wellknown-w7n30nfw.js} +22 -22
  257. package/dist/chunks/{event-logger-mtrbqqrq.js → wellknown-w8xr7nv8.js} +5 -5
  258. package/dist/chunks/{event-logger-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{event-logger-z8rfms9g.js → wellknown-wbbfqag7.js} +12 -12
  260. package/dist/chunks/{event-logger-wd87259q.js → wellknown-wd87259q.js} +1 -1
  261. package/dist/chunks/{event-logger-hdfrs5mg.js → wellknown-wdmx20pv.js} +9 -9
  262. package/dist/chunks/{event-logger-4dtq8qg7.js → wellknown-wdvzjwq2.js} +56 -56
  263. package/dist/chunks/wellknown-wep3vcvy.js +26 -0
  264. package/dist/chunks/{event-logger-4xa9359s.js → wellknown-wgxkdtrn.js} +9 -9
  265. package/dist/chunks/{event-logger-tcjkzhbf.js → wellknown-whnxx8mv.js} +19 -19
  266. package/dist/chunks/{event-logger-tbx1dsy3.js → wellknown-wnjd27sh.js} +23 -23
  267. package/dist/chunks/{event-logger-99bhpp1n.js → wellknown-wrcr1wzr.js} +333 -333
  268. package/dist/chunks/{event-logger-8jztxfpf.js → wellknown-x8nvjgx0.js} +4 -4
  269. package/dist/chunks/{event-logger-qwcg15xq.js → wellknown-xf88twea.js} +2 -2
  270. package/dist/chunks/{event-logger-jz593hnq.js → wellknown-xfap1w58.js} +16 -16
  271. package/dist/chunks/{event-logger-sy707q11.js → wellknown-xhfxx4da.js} +11 -11
  272. package/dist/chunks/{event-logger-e066yxsa.js → wellknown-xk9nzyx6.js} +32 -32
  273. package/dist/chunks/{event-logger-m37sd98t.js → wellknown-xnh55p1t.js} +5 -5
  274. package/dist/chunks/{event-logger-vx7ymf2n.js → wellknown-xqctgmq0.js} +30 -30
  275. package/dist/chunks/{event-logger-ck0tns3b.js → wellknown-xqdzg0d1.js} +46 -46
  276. package/dist/chunks/{event-logger-w0cs00f7.js → wellknown-xqf52ny9.js} +18 -18
  277. package/dist/chunks/{event-logger-f1gxq19d.js → wellknown-xr6tzfax.js} +1 -1
  278. package/dist/chunks/{event-logger-530cxj2z.js → wellknown-xre94b5v.js} +36 -36
  279. package/dist/chunks/{event-logger-syrbqdmj.js → wellknown-xvd6zczk.js} +19 -19
  280. package/dist/chunks/{event-logger-xxadresr.js → wellknown-y4g98aeh.js} +22 -22
  281. package/dist/chunks/{event-logger-331zmft7.js → wellknown-y79gjjan.js} +15 -15
  282. package/dist/chunks/{event-logger-9f7hjvpa.js → wellknown-y8fjqfz6.js} +20 -20
  283. package/dist/chunks/{event-logger-pqzzv18e.js → wellknown-y952b79c.js} +17 -17
  284. package/dist/chunks/{event-logger-yara3q77.js → wellknown-yara3q77.js} +2 -2
  285. package/dist/chunks/{event-logger-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{event-logger-2nf2vr7j.js → wellknown-yefdp956.js} +14 -14
  287. package/dist/chunks/{event-logger-sa2m7fmb.js → wellknown-yn1q185v.js} +21 -21
  288. package/dist/chunks/{event-logger-kfvrqrnd.js → wellknown-yxnn9e9b.js} +25 -25
  289. package/dist/chunks/{event-logger-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  290. package/dist/chunks/{event-logger-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
  291. package/dist/chunks/{event-logger-nvxqht09.js → wellknown-zb5gs1ba.js} +3 -3
  292. package/dist/chunks/{event-logger-mfp9msn1.js → wellknown-zftkkf2m.js} +47 -47
  293. package/dist/chunks/{event-logger-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
  294. package/dist/chunks/{event-logger-kqdytwcc.js → wellknown-zqtsax9d.js} +22 -22
  295. package/dist/chunks/{event-logger-td0tf8cx.js → wellknown-zrz12vnv.js} +11 -11
  296. package/dist/chunks/{event-logger-g179cxj4.js → wellknown-zyz0cj63.js} +51 -51
  297. package/dist/codemode/catalog.js +1 -1
  298. package/dist/codemode/instructions.js +9 -9
  299. package/dist/codemode/tool.js +3 -3
  300. package/dist/codemode/web.js +1 -1
  301. package/dist/command.js +89 -89
  302. package/dist/config/discovery.js +90 -90
  303. package/dist/config/integration.js +7 -7
  304. package/dist/config/markdown.js +1 -1
  305. package/dist/config/normalize.js +109 -109
  306. package/dist/config/plugin/agent.js +121 -121
  307. package/dist/config/plugin/command.js +219 -219
  308. package/dist/config/plugin/compaction.js +162 -162
  309. package/dist/config/plugin/compatibility.js +142 -142
  310. package/dist/config/plugin/entry-observer.js +1 -1
  311. package/dist/config/plugin/formatter.js +122 -122
  312. package/dist/config/plugin/image.js +121 -121
  313. package/dist/config/plugin/instruction.js +121 -121
  314. package/dist/config/plugin/location-watcher.js +123 -123
  315. package/dist/config/plugin/mcp.js +128 -128
  316. package/dist/config/plugin/policy.js +123 -123
  317. package/dist/config/plugin/provider.js +122 -122
  318. package/dist/config/plugin/reference.js +123 -123
  319. package/dist/config/plugin/shell.js +123 -123
  320. package/dist/config/plugin/skill-file.js +138 -138
  321. package/dist/config/plugin/skill-scan.js +1 -1
  322. package/dist/config/plugin/skill.js +145 -145
  323. package/dist/config/plugin/snapshot.js +121 -121
  324. package/dist/config/plugin/source.js +124 -124
  325. package/dist/config/plugin/tool-output.js +122 -122
  326. package/dist/config/plugin/websearch.js +122 -122
  327. package/dist/config/plugin/worktree.js +123 -123
  328. package/dist/config/variable.js +1 -1
  329. package/dist/config/watch.js +1 -1
  330. package/dist/config.js +126 -126
  331. package/dist/console-access.js +1 -1
  332. package/dist/credential/sql.js +2 -2
  333. package/dist/credential.js +91 -91
  334. package/dist/database/database.js +78 -78
  335. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  337. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  338. package/dist/database/drizzle/index.js +13 -13
  339. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  342. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  345. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  347. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  348. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  349. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  350. package/dist/database/drizzle.js +14 -14
  351. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  352. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  353. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  354. package/dist/database/migration/20260225215848_workspace.js +1 -1
  355. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  356. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  357. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  358. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  359. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  360. package/dist/database/migration/20260323234822_events.js +1 -1
  361. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  362. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  363. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  364. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  365. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  366. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  367. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  368. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  369. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  370. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  371. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  372. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  373. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  374. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  375. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  376. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  377. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  378. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  379. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  380. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  381. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  382. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  383. package/dist/database/migration/20260611035744_credential.js +1 -1
  384. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  385. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  386. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  387. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  388. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  389. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  390. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  391. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  392. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  393. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  394. package/dist/database/migration/20260812213948_worktree.js +1 -1
  395. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  396. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  397. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  398. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  399. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  400. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  401. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  402. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  403. package/dist/database/migration/20261025123711_blob.js +1 -1
  404. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  405. package/dist/database/migration.gen.js +55 -55
  406. package/dist/database/migration.js +57 -57
  407. package/dist/database/path.js +2 -2
  408. package/dist/database/schema.gen.js +1 -1
  409. package/dist/database/schema.sql.js +1 -1
  410. package/dist/database/sqlite.bun.js +1 -1
  411. package/dist/database/sqlite.js +1 -1
  412. package/dist/database/sqlite.node.js +1 -1
  413. package/dist/database/sqlite.workerd.js +1 -1
  414. package/dist/database/v1-migration.bun.js +103 -103
  415. package/dist/database/v1-migration.js +1 -1
  416. package/dist/effect/app-node-builder.js +381 -381
  417. package/dist/effect/app-node-platform.js +2 -2
  418. package/dist/effect/keyed-mutex.js +3 -3
  419. package/dist/effect/websocket-constructor.js +1 -1
  420. package/dist/environment/driver.js +1 -1
  421. package/dist/environment/environment.js +101 -101
  422. package/dist/environment/exec-defaults.js +2 -2
  423. package/dist/environment/files.js +1 -1
  424. package/dist/environment/index.js +103 -103
  425. package/dist/environment/local.js +2 -2
  426. package/dist/environment/memory.js +2 -2
  427. package/dist/environment/unavailable.js +1 -1
  428. package/dist/event/sql.js +1 -1
  429. package/dist/event-logger.js +80 -80
  430. package/dist/file-access.js +140 -140
  431. package/dist/file-mutation.js +102 -102
  432. package/dist/file-retention.js +1 -1
  433. package/dist/filesystem/fff.bun.js +2 -2
  434. package/dist/filesystem/fff.js +1 -1
  435. package/dist/filesystem/fff.node.js +2 -2
  436. package/dist/filesystem/fff.workerd.js +2 -2
  437. package/dist/filesystem/file-watch.js +86 -86
  438. package/dist/filesystem/location-watcher-policy.js +4 -4
  439. package/dist/filesystem/location-watcher.js +232 -232
  440. package/dist/filesystem/protected.js +1 -1
  441. package/dist/filesystem/search.js +105 -105
  442. package/dist/filesystem/watcher-binding.js +3 -3
  443. package/dist/filesystem/watcher.js +11 -11
  444. package/dist/filesystem.js +110 -110
  445. package/dist/form.js +90 -90
  446. package/dist/formatter/builtins.js +4 -4
  447. package/dist/formatter.js +95 -95
  448. package/dist/generate.js +113 -113
  449. package/dist/git.js +11 -11
  450. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  451. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  452. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  454. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  455. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  456. package/dist/github-copilot/copilot-provider.js +17 -17
  457. package/dist/github-copilot/models.js +101 -101
  458. package/dist/github-copilot/openai-compatible-error.js +1 -1
  459. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  460. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  461. package/dist/github-copilot/responses/openai-error.js +1 -1
  462. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  463. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  464. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  465. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  466. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  468. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  469. package/dist/image/photon-normalize.js +12 -0
  470. package/dist/image/photon-worker.js +19 -0
  471. package/dist/image/photon.js +124 -110
  472. package/dist/image.js +6 -6
  473. package/dist/instance/service.js +5 -5
  474. package/dist/instance.js +372 -372
  475. package/dist/instruction-discovery.js +92 -92
  476. package/dist/instructions/builtins.js +91 -91
  477. package/dist/instructions/index.js +5 -5
  478. package/dist/integration/connection.js +3 -3
  479. package/dist/integration.js +95 -95
  480. package/dist/job.js +82 -82
  481. package/dist/kv/sql.js +2 -2
  482. package/dist/kv.js +79 -79
  483. package/dist/location-activity.js +166 -166
  484. package/dist/location-lifecycle.js +138 -138
  485. package/dist/location-service-map.js +94 -94
  486. package/dist/location-services.js +369 -369
  487. package/dist/location.js +95 -95
  488. package/dist/managed-policy.js +9 -9
  489. package/dist/mcp/client.js +99 -99
  490. package/dist/mcp/index.js +113 -113
  491. package/dist/mcp/instructions.js +168 -168
  492. package/dist/mcp/oauth.js +84 -84
  493. package/dist/mcp/socket-client.js +1 -1
  494. package/dist/mcp/stdio.js +98 -98
  495. package/dist/mime.js +1 -1
  496. package/dist/modal/models.js +101 -101
  497. package/dist/model-resolver.js +107 -107
  498. package/dist/model-retry.js +1 -1
  499. package/dist/model.js +110 -110
  500. package/dist/models-dev.js +111 -111
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +88 -88
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +145 -145
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +92 -92
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +80 -80
  511. package/dist/plugin/command.js +108 -108
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +3 -3
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +342 -342
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +104 -104
  519. package/dist/plugin/module.js +121 -121
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +106 -106
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +80 -80
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +139 -139
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +357 -357
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +2 -2
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +117 -117
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +2 -2
  577. package/dist/plugin/websearch/parallel.js +6 -6
  578. package/dist/plugin/websearch/tavily.js +6 -6
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +236 -236
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +8 -8
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +96 -96
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +106 -106
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +98 -98
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +3 -3
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +103 -103
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +162 -162
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +3 -3
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +231 -231
  607. package/dist/session/execution.js +152 -152
  608. package/dist/session/generate.js +188 -188
  609. package/dist/session/history.js +132 -130
  610. package/dist/session/inbox.js +136 -136
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -134
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +1 -1
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +154 -154
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +81 -81
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +4 -4
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +3 -3
  644. package/dist/session/title.js +192 -192
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +230 -230
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +221 -221
  649. package/dist/shell/parse.js +6 -6
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +15 -15
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +143 -143
  656. package/dist/skill.js +148 -148
  657. package/dist/snapshot.js +97 -97
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +167 -167
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +145 -145
  668. package/dist/tool/plugin/patch.js +156 -156
  669. package/dist/tool/plugin/question.js +138 -138
  670. package/dist/tool/plugin/read.js +159 -159
  671. package/dist/tool/plugin/shell.js +224 -224
  672. package/dist/tool/plugin/skill.js +143 -143
  673. package/dist/tool/plugin/subagent.js +224 -224
  674. package/dist/tool/plugin/todo.js +145 -145
  675. package/dist/tool/plugin/webfetch.js +145 -145
  676. package/dist/tool/plugin/websearch.js +147 -147
  677. package/dist/tool/plugin/write.js +156 -156
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +14 -14
  682. package/dist/types/image/photon-normalize.d.ts +28 -0
  683. package/dist/types/image/photon-worker.d.ts +12 -0
  684. package/dist/types/image/photon.d.ts +14 -4
  685. package/dist/types/mime.d.ts +1 -1
  686. package/dist/types/session/compaction.d.ts +11 -8
  687. package/dist/types/session/history.d.ts +410 -0
  688. package/dist/usage-limits.js +95 -95
  689. package/dist/util/error-summary.js +1 -1
  690. package/dist/util/git-executable.js +3 -3
  691. package/dist/util/lazy.js +1 -1
  692. package/dist/util/slug.js +1 -1
  693. package/dist/util/token.js +1 -1
  694. package/dist/util/which.js +1 -1
  695. package/dist/util/wildcard.js +1 -1
  696. package/dist/v1/config/agent.js +5 -5
  697. package/dist/v1/config/command.js +3 -3
  698. package/dist/v1/config/mcp.js +6 -6
  699. package/dist/v1/config/migrate.js +100 -100
  700. package/dist/v1/config/permission.js +3 -3
  701. package/dist/v1/config/plugin.js +3 -3
  702. package/dist/v1/config/provider-options.js +1 -1
  703. package/dist/v1/config/provider.js +4 -4
  704. package/dist/variant.js +99 -99
  705. package/dist/vcs/patch.js +1 -1
  706. package/dist/vcs.js +97 -97
  707. package/dist/voice.js +92 -92
  708. package/dist/websearch.js +88 -88
  709. package/dist/wellknown/plugin.js +82 -82
  710. package/dist/wellknown.js +85 -85
  711. package/dist/workspace/driver.js +7 -7
  712. package/dist/workspace/sql.js +1 -1
  713. package/dist/workspace.js +88 -88
  714. package/dist/worktree/directory.js +2 -2
  715. package/dist/worktree/git.js +11 -11
  716. package/dist/worktree/sql.js +5 -5
  717. package/dist/worktree/strategies.js +97 -97
  718. package/dist/worktree.js +108 -108
  719. package/package.json +8 -8
  720. package/dist/chunks/event-logger-4my81qaj.js +0 -18
  721. package/dist/chunks/event-logger-7q08zbzq.js +0 -26
  722. package/dist/chunks/event-logger-cfbx046s.js +0 -257
  723. /package/dist/chunks/{event-logger-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  724. /package/dist/chunks/{event-logger-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  725. /package/dist/chunks/{event-logger-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  726. /package/dist/chunks/{event-logger-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  727. /package/dist/chunks/{event-logger-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  728. /package/dist/chunks/{event-logger-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  729. /package/dist/chunks/{event-logger-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  730. /package/dist/chunks/{event-logger-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  731. /package/dist/chunks/{event-logger-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  732. /package/dist/chunks/{event-logger-3asan66x.js → wellknown-3asan66x.js} +0 -0
  733. /package/dist/chunks/{event-logger-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  734. /package/dist/chunks/{event-logger-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  735. /package/dist/chunks/{event-logger-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  736. /package/dist/chunks/{event-logger-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  737. /package/dist/chunks/{event-logger-4m86bj6y.js → wellknown-4m86bj6y.js} +0 -0
  738. /package/dist/chunks/{event-logger-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  739. /package/dist/chunks/{event-logger-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  740. /package/dist/chunks/{event-logger-53557ph1.js → wellknown-53557ph1.js} +0 -0
  741. /package/dist/chunks/{event-logger-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  742. /package/dist/chunks/{event-logger-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
  743. /package/dist/chunks/{event-logger-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
  744. /package/dist/chunks/{event-logger-6prwharc.js → wellknown-6prwharc.js} +0 -0
  745. /package/dist/chunks/{event-logger-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  746. /package/dist/chunks/{event-logger-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  747. /package/dist/chunks/{event-logger-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  748. /package/dist/chunks/{event-logger-822emrt2.js → wellknown-822emrt2.js} +0 -0
  749. /package/dist/chunks/{event-logger-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  750. /package/dist/chunks/{event-logger-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  751. /package/dist/chunks/{event-logger-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  752. /package/dist/chunks/{event-logger-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  753. /package/dist/chunks/{event-logger-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  754. /package/dist/chunks/{event-logger-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  755. /package/dist/chunks/{event-logger-a058387c.js → wellknown-a058387c.js} +0 -0
  756. /package/dist/chunks/{event-logger-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  757. /package/dist/chunks/{event-logger-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  758. /package/dist/chunks/{event-logger-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  759. /package/dist/chunks/{event-logger-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  760. /package/dist/chunks/{event-logger-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  761. /package/dist/chunks/{event-logger-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  762. /package/dist/chunks/{event-logger-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  763. /package/dist/chunks/{event-logger-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  764. /package/dist/chunks/{event-logger-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
  765. /package/dist/chunks/{event-logger-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  766. /package/dist/chunks/{event-logger-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  767. /package/dist/chunks/{event-logger-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  768. /package/dist/chunks/{event-logger-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  769. /package/dist/chunks/{event-logger-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  770. /package/dist/chunks/{event-logger-df08tz66.js → wellknown-df08tz66.js} +0 -0
  771. /package/dist/chunks/{event-logger-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  772. /package/dist/chunks/{event-logger-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  773. /package/dist/chunks/{event-logger-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  774. /package/dist/chunks/{event-logger-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  775. /package/dist/chunks/{event-logger-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  776. /package/dist/chunks/{event-logger-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  777. /package/dist/chunks/{event-logger-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  778. /package/dist/chunks/{event-logger-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  779. /package/dist/chunks/{event-logger-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  780. /package/dist/chunks/{event-logger-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  781. /package/dist/chunks/{event-logger-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
  782. /package/dist/chunks/{event-logger-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  783. /package/dist/chunks/{event-logger-g86h250q.js → wellknown-g86h250q.js} +0 -0
  784. /package/dist/chunks/{event-logger-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  785. /package/dist/chunks/{event-logger-gftt206x.js → wellknown-gftt206x.js} +0 -0
  786. /package/dist/chunks/{event-logger-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  787. /package/dist/chunks/{event-logger-hk9envan.js → wellknown-hk9envan.js} +0 -0
  788. /package/dist/chunks/{event-logger-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  789. /package/dist/chunks/{event-logger-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  790. /package/dist/chunks/{event-logger-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  791. /package/dist/chunks/{event-logger-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  792. /package/dist/chunks/{event-logger-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  793. /package/dist/chunks/{event-logger-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
  794. /package/dist/chunks/{event-logger-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  795. /package/dist/chunks/{event-logger-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  796. /package/dist/chunks/{event-logger-m18g726c.js → wellknown-m18g726c.js} +0 -0
  797. /package/dist/chunks/{event-logger-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  798. /package/dist/chunks/{event-logger-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  799. /package/dist/chunks/{event-logger-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  800. /package/dist/chunks/{event-logger-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  801. /package/dist/chunks/{event-logger-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  802. /package/dist/chunks/{event-logger-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  803. /package/dist/chunks/{event-logger-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  804. /package/dist/chunks/{event-logger-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  805. /package/dist/chunks/{event-logger-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  806. /package/dist/chunks/{event-logger-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  807. /package/dist/chunks/{event-logger-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  808. /package/dist/chunks/{event-logger-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  809. /package/dist/chunks/{event-logger-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  810. /package/dist/chunks/{event-logger-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  811. /package/dist/chunks/{event-logger-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  812. /package/dist/chunks/{event-logger-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  813. /package/dist/chunks/{event-logger-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  814. /package/dist/chunks/{event-logger-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  815. /package/dist/chunks/{event-logger-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  816. /package/dist/chunks/{event-logger-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
  817. /package/dist/chunks/{event-logger-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  818. /package/dist/chunks/{event-logger-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  819. /package/dist/chunks/{event-logger-x61499pn.js → wellknown-x61499pn.js} +0 -0
  820. /package/dist/chunks/{event-logger-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  821. /package/dist/chunks/{event-logger-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  822. /package/dist/chunks/{event-logger-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  823. /package/dist/chunks/{event-logger-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  824. /package/dist/chunks/{event-logger-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  825. /package/dist/chunks/{event-logger-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
package/dist/tool.js CHANGED
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  RegistrationError2,
3
- Service75,
4
- node78,
3
+ Service85,
4
+ node89,
5
5
  exports_tool,
6
6
  CallID2,
7
7
  Content3,
8
- Error4,
8
+ Error5,
9
9
  FileContent3,
10
10
  TextContent2
11
- } from "./chunks/event-logger-sjt0aqsb.js";
12
- import"./chunks/event-logger-4xvmh7wp.js";
13
- import"./chunks/event-logger-91rj84md.js";
14
- import"./chunks/event-logger-6nye8dts.js";
15
- import"./chunks/event-logger-5fjb7ams.js";
16
- import"./chunks/event-logger-e6bk7rc7.js";
17
- import"./chunks/event-logger-204s3925.js";
18
- import"./chunks/event-logger-z38nccrw.js";
11
+ } from "./chunks/wellknown-05ps92hd.js";
12
+ import"./chunks/wellknown-4xvmh7wp.js";
13
+ import"./chunks/wellknown-91rj84md.js";
14
+ import"./chunks/wellknown-s2tx6bjs.js";
15
+ import"./chunks/wellknown-5fjb7ams.js";
16
+ import"./chunks/wellknown-z38nccrw.js";
17
+ import"./chunks/wellknown-mb9k54pt.js";
18
+ import"./chunks/wellknown-204s3925.js";
19
19
  export {
20
20
  CallID2 as CallID,
21
21
  Content3 as Content,
22
- Error4 as Error,
22
+ Error5 as Error,
23
23
  FileContent3 as FileContent,
24
24
  RegistrationError2 as RegistrationError,
25
- Service75 as Service,
25
+ Service85 as Service,
26
26
  TextContent2 as TextContent,
27
27
  exports_tool as Tool,
28
- node78 as node
28
+ node89 as node
29
29
  };
@@ -0,0 +1,28 @@
1
+ export * as PhotonNormalize from "./photon-normalize.js";
2
+ import type { FileSystem } from "../filesystem.js";
3
+ import type { Limits } from "../image.js";
4
+ export type Photon = typeof import("@silvia-odwyer/photon-node");
5
+ export type Content = FileSystem.Content & {
6
+ readonly encoding: "base64";
7
+ };
8
+ export type Size = {
9
+ readonly width: number;
10
+ readonly height: number;
11
+ readonly bytes: number;
12
+ readonly maxWidth: number;
13
+ readonly maxHeight: number;
14
+ readonly maxBytes: number;
15
+ };
16
+ export type Result = {
17
+ readonly _tag: "Unchanged";
18
+ } | {
19
+ readonly _tag: "Content";
20
+ readonly content: Content;
21
+ } | {
22
+ readonly _tag: "DecodeError";
23
+ } | ({
24
+ readonly _tag: "SizeError";
25
+ } & Size);
26
+ export declare const available: boolean;
27
+ export declare function load(): Promise<Photon>;
28
+ export declare function normalize(photon: Photon, content: Content, limits: Readonly<Limits>): Result;
@@ -0,0 +1,12 @@
1
+ import type { Limits } from "../image.js";
2
+ import { PhotonNormalize } from "./photon-normalize.js";
3
+ export type Request = {
4
+ readonly content: PhotonNormalize.Content;
5
+ readonly limits: Readonly<Limits>;
6
+ };
7
+ export type Reply = {
8
+ readonly _tag: "Ready";
9
+ } | {
10
+ readonly _tag: "Done";
11
+ readonly result: PhotonNormalize.Result;
12
+ };
@@ -1,6 +1,15 @@
1
- import { Effect } from "effect";
1
+ export * as Photon from "./photon.js";
2
+ import { Effect, Schema } from "effect";
3
+ import type { Worker } from "node:worker_threads";
2
4
  import { DecodeError, ResizerUnavailableError, SizeError, type Limits } from "../image.js";
3
- export declare const make: Effect.Effect<(resource: string, content: {
5
+ import { PhotonNormalize } from "./photon-normalize.js";
6
+ declare const WorkerUnavailableError_base: Schema.Class<WorkerUnavailableError, Schema.TaggedStruct<"Image.Photon.WorkerUnavailableError", {
7
+ readonly cause: Schema.Defect;
8
+ }>, import("effect/Cause").YieldableError>;
9
+ export declare class WorkerUnavailableError extends WorkerUnavailableError_base {
10
+ }
11
+ export declare const spawnWorker: (url?: URL) => Effect.Effect<Worker, WorkerUnavailableError, never>;
12
+ export declare function makeWith(spawn: Effect.Effect<Worker, WorkerUnavailableError>, idleMillis?: number): (resource: string, content: {
4
13
  readonly uri: string;
5
14
  readonly name?: string | undefined;
6
15
  readonly content: string;
@@ -8,7 +17,8 @@ export declare const make: Effect.Effect<(resource: string, content: {
8
17
  readonly mime: string;
9
18
  } & {
10
19
  readonly encoding: "base64";
11
- }, limits: Readonly<Limits>) => Effect.Effect<{
20
+ }, limits: Readonly<Limits>) => Effect.Effect<PhotonNormalize.Content, DecodeError | ResizerUnavailableError | SizeError, never>;
21
+ export declare const make: Effect.Effect<(resource: string, content: {
12
22
  readonly uri: string;
13
23
  readonly name?: string | undefined;
14
24
  readonly content: string;
@@ -16,4 +26,4 @@ export declare const make: Effect.Effect<(resource: string, content: {
16
26
  readonly mime: string;
17
27
  } & {
18
28
  readonly encoding: "base64";
19
- }, DecodeError | ResizerUnavailableError | SizeError, never>, never, never>;
29
+ }, limits: Readonly<Limits>) => Effect.Effect<PhotonNormalize.Content, DecodeError | ResizerUnavailableError | SizeError, never>, never, never>;
@@ -1,3 +1,3 @@
1
1
  export * as Mime from "./mime.js";
2
- export declare function detect(bytes: Uint8Array): "application/octet-stream" | "application/pdf" | "image/avif" | "image/bmp" | "image/gif" | "image/jpeg" | "image/png" | "image/webp" | "text/plain";
2
+ export declare function detect(bytes: Uint8Array): "application/octet-stream" | "application/pdf" | "audio/mp4" | "image/avif" | "image/bmp" | "image/gif" | "image/heic" | "image/jpeg" | "image/png" | "image/webp" | "text/plain" | "video/mp4" | "video/quicktime";
3
3
  export declare const isTextual: (mime: string) => boolean;
@@ -23,11 +23,17 @@ export type Settings = {
23
23
  export type Editor = {
24
24
  configure: (settings: Partial<Settings>) => void;
25
25
  };
26
+ /** A prompt's size: `measured` is what the provider reported at the latest response, `estimated` is the text since. */
27
+ export type Estimate = {
28
+ readonly measured: number;
29
+ readonly estimated: number;
30
+ };
26
31
  export type Trigger =
27
- /** `overflow`: the provider just rejected this context as too long. */
32
+ /** `overflow`: the provider just rejected this context as too long. `estimate` is `estimatePrompt(context)`. */
28
33
  {
29
34
  readonly reason: "auto" | "overflow";
30
35
  readonly context: SessionContext.Loaded;
36
+ readonly estimate?: Estimate;
31
37
  }
32
38
  /** `inputID` is the `/compact` inbox item, whose message shows the outcome. */
33
39
  | {
@@ -49,9 +55,9 @@ export interface Interface extends State.Transformable<Editor> {
49
55
  readonly compact: (trigger: Trigger) => Effect.Effect<Outcome>;
50
56
  /**
51
57
  * Starts a background summary when the context nears the threshold. Never waits for it. Loads `context` only when
52
- * background summaries are on.
58
+ * background summaries are on. `estimate`, when given, is `estimatePrompt` of the loaded context.
53
59
  */
54
- readonly precompute: <E>(context: Effect.Effect<SessionContext.Loaded, E>) => Effect.Effect<void, E>;
60
+ readonly precompute: <E>(context: Effect.Effect<SessionContext.Loaded, E>, estimate?: Estimate) => Effect.Effect<void, E>;
55
61
  }
56
62
  declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionCompaction", Interface>;
57
63
  export declare class Service extends Service_base {
@@ -62,8 +68,5 @@ export declare const node: import("@opencode/util/effect/layer-node").Provider<S
62
68
  /** The newest whole, real user messages within `keep` tokens: no synthetic guidance, no half of an attachment. */
63
69
  export declare const recentUserMessages: (messages: ReadonlyArray<SessionMessage.Info>, model: Pick<SessionContext.Loaded["model"], "ref" | "capabilities">, keep: number) => Message[];
64
70
  export declare const estimateContext: (context: SessionContext.Loaded) => number;
65
- /** The prompt size: `measured` is what the provider reported at the latest response, `estimated` is the text since. */
66
- export declare const estimatePrompt: (context: SessionContext.Loaded) => {
67
- measured: number;
68
- estimated: number;
69
- };
71
+ /** The size of the prompt `context` sends. */
72
+ export declare const estimatePrompt: (context: SessionContext.Loaded) => Estimate;
@@ -2533,6 +2533,416 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
2533
2533
  messages: SessionMessage.Info[];
2534
2534
  instructionUpdate: string;
2535
2535
  }, Instructions.InitializationBlocked, never>;
2536
+ /**
2537
+ * The synthetic messages `load(db, sessionID, "latest")` would return, read without the rest of the transcript. Under
2538
+ * that boundary every row from the latest completed compaction on is kept, and synthetic rows carry no media.
2539
+ */
2540
+ export declare const synthetics: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
2541
+ $client: import("effect/sql/SqlClient").SqlClient;
2542
+ }, sessionID: string & import("effect/Brand").Brand<"SessionID">) => Effect.Effect<({
2543
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2544
+ readonly metadata?: {
2545
+ readonly [x: string]: unknown;
2546
+ } | undefined;
2547
+ readonly time: {
2548
+ readonly created: import("effect/DateTime").Utc;
2549
+ };
2550
+ readonly type: "agent-switched";
2551
+ readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
2552
+ readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
2553
+ } | {
2554
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2555
+ readonly metadata?: {
2556
+ readonly [x: string]: unknown;
2557
+ } | undefined;
2558
+ readonly time: {
2559
+ readonly created: import("effect/DateTime").Utc;
2560
+ };
2561
+ readonly type: "model-switched";
2562
+ readonly model: {
2563
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2564
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2565
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2566
+ };
2567
+ readonly previous?: {
2568
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2569
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2570
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2571
+ } | undefined;
2572
+ } | {
2573
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2574
+ readonly metadata?: {
2575
+ readonly [x: string]: unknown;
2576
+ } | undefined;
2577
+ readonly time: {
2578
+ readonly created: import("effect/DateTime").Utc;
2579
+ };
2580
+ readonly type: "location-switched";
2581
+ readonly location: {
2582
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2583
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2584
+ };
2585
+ readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
2586
+ readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
2587
+ readonly previous?: {
2588
+ readonly location: {
2589
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2590
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2591
+ };
2592
+ readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
2593
+ readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
2594
+ } | undefined;
2595
+ } | {
2596
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2597
+ readonly metadata?: {
2598
+ readonly [x: string]: unknown;
2599
+ } | undefined;
2600
+ readonly time: {
2601
+ readonly created: import("effect/DateTime").Utc;
2602
+ };
2603
+ readonly text: string;
2604
+ readonly files?: readonly {
2605
+ readonly data: string;
2606
+ readonly mime: string;
2607
+ readonly source: {
2608
+ readonly type: "inline";
2609
+ } | {
2610
+ readonly type: "uri";
2611
+ readonly uri: string;
2612
+ };
2613
+ readonly name?: string | undefined;
2614
+ readonly description?: string | undefined;
2615
+ readonly mention?: {
2616
+ readonly start: number;
2617
+ readonly end: number;
2618
+ readonly text: string;
2619
+ } | undefined;
2620
+ }[] | undefined;
2621
+ readonly agents?: readonly {
2622
+ readonly name: string;
2623
+ readonly mention?: {
2624
+ readonly start: number;
2625
+ readonly end: number;
2626
+ readonly text: string;
2627
+ } | undefined;
2628
+ }[] | undefined;
2629
+ readonly skills?: readonly {
2630
+ readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
2631
+ readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
2632
+ readonly text?: string | undefined;
2633
+ readonly mention?: {
2634
+ readonly start: number;
2635
+ readonly end: number;
2636
+ readonly text: string;
2637
+ } | undefined;
2638
+ }[] | undefined;
2639
+ readonly type: "user";
2640
+ } | {
2641
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2642
+ readonly metadata?: {
2643
+ readonly [x: string]: unknown;
2644
+ } | undefined;
2645
+ readonly time: {
2646
+ readonly created: import("effect/DateTime").Utc;
2647
+ };
2648
+ readonly text: string;
2649
+ readonly description?: string | undefined;
2650
+ readonly type: "synthetic";
2651
+ } | {
2652
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2653
+ readonly metadata?: {
2654
+ readonly [x: string]: unknown;
2655
+ } | undefined;
2656
+ readonly time: {
2657
+ readonly created: import("effect/DateTime").Utc;
2658
+ };
2659
+ readonly type: "system";
2660
+ readonly text: string;
2661
+ readonly description?: string | undefined;
2662
+ } | {
2663
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2664
+ readonly metadata?: {
2665
+ readonly [x: string]: unknown;
2666
+ } | undefined;
2667
+ readonly time: {
2668
+ readonly created: import("effect/DateTime").Utc;
2669
+ };
2670
+ readonly type: "skill";
2671
+ readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
2672
+ readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
2673
+ readonly text: string;
2674
+ } | {
2675
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2676
+ readonly metadata?: {
2677
+ readonly [x: string]: unknown;
2678
+ } | undefined;
2679
+ readonly type: "shell";
2680
+ readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
2681
+ readonly command: string;
2682
+ readonly status: "exited" | "killed" | "running" | "timeout";
2683
+ readonly exit?: number | undefined;
2684
+ readonly output?: {
2685
+ readonly output: string;
2686
+ readonly cursor: number;
2687
+ readonly size: number;
2688
+ readonly truncated: boolean;
2689
+ } | undefined;
2690
+ readonly time: {
2691
+ readonly created: import("effect/DateTime").Utc;
2692
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2693
+ };
2694
+ } | {
2695
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2696
+ readonly metadata?: {
2697
+ readonly [x: string]: unknown;
2698
+ } | undefined;
2699
+ readonly type: "assistant";
2700
+ readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
2701
+ readonly model: {
2702
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2703
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2704
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2705
+ };
2706
+ readonly content: readonly ({
2707
+ readonly type: "tool";
2708
+ readonly id: string;
2709
+ readonly name: string;
2710
+ readonly executed?: boolean | undefined;
2711
+ readonly native?: {
2712
+ readonly [x: string]: unknown;
2713
+ } | undefined;
2714
+ readonly state: {
2715
+ readonly status: "streaming";
2716
+ readonly input: string;
2717
+ } | {
2718
+ readonly status: "running";
2719
+ readonly input: {
2720
+ readonly [x: string]: unknown;
2721
+ };
2722
+ readonly metadata: {
2723
+ readonly [x: string]: Schema.Json;
2724
+ };
2725
+ } | {
2726
+ readonly status: "completed";
2727
+ readonly input: {
2728
+ readonly [x: string]: unknown;
2729
+ };
2730
+ readonly content: readonly [{
2731
+ readonly type: "text";
2732
+ readonly text: string;
2733
+ } | {
2734
+ readonly type: "file";
2735
+ readonly uri: string;
2736
+ readonly mime: string;
2737
+ readonly name?: string | undefined;
2738
+ }, ...({
2739
+ readonly type: "text";
2740
+ readonly text: string;
2741
+ } | {
2742
+ readonly type: "file";
2743
+ readonly uri: string;
2744
+ readonly mime: string;
2745
+ readonly name?: string | undefined;
2746
+ })[]];
2747
+ readonly metadata?: {
2748
+ readonly [x: string]: Schema.Json;
2749
+ } | undefined;
2750
+ } | {
2751
+ readonly status: "error";
2752
+ readonly input: {
2753
+ readonly [x: string]: unknown;
2754
+ };
2755
+ readonly error: {
2756
+ readonly type: string;
2757
+ readonly message: string;
2758
+ readonly status?: number | undefined;
2759
+ readonly response?: {
2760
+ readonly body: string;
2761
+ } | undefined;
2762
+ readonly retryAfterMs?: number | undefined;
2763
+ };
2764
+ readonly content?: readonly [{
2765
+ readonly type: "text";
2766
+ readonly text: string;
2767
+ } | {
2768
+ readonly type: "file";
2769
+ readonly uri: string;
2770
+ readonly mime: string;
2771
+ readonly name?: string | undefined;
2772
+ }, ...({
2773
+ readonly type: "text";
2774
+ readonly text: string;
2775
+ } | {
2776
+ readonly type: "file";
2777
+ readonly uri: string;
2778
+ readonly mime: string;
2779
+ readonly name?: string | undefined;
2780
+ })[]] | undefined;
2781
+ readonly metadata?: {
2782
+ readonly [x: string]: Schema.Json;
2783
+ } | undefined;
2784
+ };
2785
+ readonly time: {
2786
+ readonly created: import("effect/DateTime").Utc;
2787
+ readonly ran?: import("effect/DateTime").Utc | undefined;
2788
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2789
+ };
2790
+ } | {
2791
+ readonly type: "text";
2792
+ readonly text: string;
2793
+ readonly native?: {
2794
+ readonly [x: string]: unknown;
2795
+ } | undefined;
2796
+ } | {
2797
+ readonly type: "reasoning";
2798
+ readonly text: string;
2799
+ readonly native?: {
2800
+ readonly [x: string]: unknown;
2801
+ } | undefined;
2802
+ readonly time?: {
2803
+ readonly created: import("effect/DateTime").Utc;
2804
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2805
+ } | undefined;
2806
+ })[];
2807
+ readonly snapshot?: {
2808
+ readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
2809
+ readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
2810
+ readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
2811
+ } | undefined;
2812
+ readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
2813
+ readonly rawFinish?: string | undefined;
2814
+ readonly native?: {
2815
+ readonly [x: string]: unknown;
2816
+ } | undefined;
2817
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2818
+ readonly tokens?: {
2819
+ readonly input: number;
2820
+ readonly output: number;
2821
+ readonly reasoning: number;
2822
+ readonly cache: {
2823
+ readonly read: number;
2824
+ readonly write: number;
2825
+ };
2826
+ } | undefined;
2827
+ readonly error?: {
2828
+ readonly type: string;
2829
+ readonly message: string;
2830
+ readonly status?: number | undefined;
2831
+ readonly response?: {
2832
+ readonly body: string;
2833
+ } | undefined;
2834
+ readonly retryAfterMs?: number | undefined;
2835
+ } | undefined;
2836
+ readonly retry?: {
2837
+ readonly attempt: number;
2838
+ readonly at: import("effect/DateTime").Utc;
2839
+ readonly error: {
2840
+ readonly type: string;
2841
+ readonly message: string;
2842
+ readonly status?: number | undefined;
2843
+ readonly response?: {
2844
+ readonly body: string;
2845
+ } | undefined;
2846
+ readonly retryAfterMs?: number | undefined;
2847
+ };
2848
+ } | undefined;
2849
+ readonly time: {
2850
+ readonly created: import("effect/DateTime").Utc;
2851
+ readonly streamed?: import("effect/DateTime").Utc | undefined;
2852
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2853
+ };
2854
+ } | {
2855
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2856
+ readonly metadata?: {
2857
+ readonly [x: string]: unknown;
2858
+ } | undefined;
2859
+ readonly time: {
2860
+ readonly created: import("effect/DateTime").Utc;
2861
+ };
2862
+ readonly type: "compaction";
2863
+ readonly status: "running";
2864
+ readonly reason: "auto" | "manual";
2865
+ readonly summary: string;
2866
+ } | {
2867
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2868
+ readonly metadata?: {
2869
+ readonly [x: string]: unknown;
2870
+ } | undefined;
2871
+ readonly time: {
2872
+ readonly created: import("effect/DateTime").Utc;
2873
+ };
2874
+ readonly type: "compaction";
2875
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2876
+ readonly tokens?: {
2877
+ readonly input: number;
2878
+ readonly output: number;
2879
+ readonly reasoning: number;
2880
+ readonly cache: {
2881
+ readonly read: number;
2882
+ readonly write: number;
2883
+ };
2884
+ } | undefined;
2885
+ readonly status: "completed";
2886
+ readonly reason: "auto" | "manual";
2887
+ readonly model?: {
2888
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2889
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2890
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2891
+ } | undefined;
2892
+ readonly native?: {
2893
+ readonly [x: string]: unknown;
2894
+ } | undefined;
2895
+ readonly summary: string;
2896
+ } | {
2897
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2898
+ readonly metadata?: {
2899
+ readonly [x: string]: unknown;
2900
+ } | undefined;
2901
+ readonly time: {
2902
+ readonly created: import("effect/DateTime").Utc;
2903
+ };
2904
+ readonly type: "compaction";
2905
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2906
+ readonly tokens?: {
2907
+ readonly input: number;
2908
+ readonly output: number;
2909
+ readonly reasoning: number;
2910
+ readonly cache: {
2911
+ readonly read: number;
2912
+ readonly write: number;
2913
+ };
2914
+ } | undefined;
2915
+ readonly status: "failed";
2916
+ readonly reason: "auto" | "manual";
2917
+ readonly error: {
2918
+ readonly type: string;
2919
+ readonly message: string;
2920
+ readonly status?: number | undefined;
2921
+ readonly response?: {
2922
+ readonly body: string;
2923
+ } | undefined;
2924
+ readonly retryAfterMs?: number | undefined;
2925
+ };
2926
+ } | {
2927
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2928
+ readonly metadata?: {
2929
+ readonly [x: string]: unknown;
2930
+ } | undefined;
2931
+ readonly time: {
2932
+ readonly created: import("effect/DateTime").Utc;
2933
+ };
2934
+ readonly type: "idle";
2935
+ readonly outcome: "failed" | "interrupted" | "succeeded";
2936
+ readonly error?: {
2937
+ readonly type: string;
2938
+ readonly message: string;
2939
+ readonly status?: number | undefined;
2940
+ readonly response?: {
2941
+ readonly body: string;
2942
+ } | undefined;
2943
+ readonly retryAfterMs?: number | undefined;
2944
+ } | undefined;
2945
+ })[], MessageDecodeError, never>;
2536
2946
  /** The id and text of the session's first user message. */
2537
2947
  export declare const firstUserMessage: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
2538
2948
  $client: import("effect/sql/SqlClient").SqlClient;