@opencode/core 0.0.0-dev-21908 → 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 (832) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  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/{location-lifecycle-tj0d3mv0.js → wellknown-0124gy6r.js} +2 -2
  9. package/dist/chunks/{location-lifecycle-6n5e5r47.js → wellknown-024g9ezh.js} +18 -18
  10. package/dist/chunks/{location-lifecycle-034tev2y.js → wellknown-034tev2y.js} +2 -2
  11. package/dist/chunks/{location-lifecycle-3mmzrpsj.js → wellknown-05ps92hd.js} +24 -24
  12. package/dist/chunks/{location-lifecycle-6cqcnmzq.js → wellknown-09090e8v.js} +3 -3
  13. package/dist/chunks/{location-lifecycle-zgd8t41s.js → wellknown-0anyt1n6.js} +9 -9
  14. package/dist/chunks/{location-lifecycle-sp01zcey.js → wellknown-0db4hbv7.js} +2 -2
  15. package/dist/chunks/{location-lifecycle-04pje3kj.js → wellknown-0f80a8fy.js} +35 -35
  16. package/dist/chunks/{location-lifecycle-0ft0yr9w.js → wellknown-0ft0yr9w.js} +6 -6
  17. package/dist/chunks/{location-lifecycle-2bb3sknj.js → wellknown-0gg8tnxq.js} +36 -36
  18. package/dist/chunks/{location-lifecycle-p42wc6w5.js → wellknown-0h78vc96.js} +18 -18
  19. package/dist/chunks/{location-lifecycle-qamzk6x1.js → wellknown-0tpkjg9c.js} +5 -5
  20. package/dist/chunks/{location-lifecycle-0w2jttgf.js → wellknown-0w2jttgf.js} +2 -2
  21. package/dist/chunks/{location-lifecycle-dc494qzb.js → wellknown-0xv9h4nb.js} +24 -24
  22. package/dist/chunks/{location-lifecycle-gnxm9zvh.js → wellknown-125q1ps8.js} +25 -25
  23. package/dist/chunks/{location-lifecycle-tghw5mys.js → wellknown-14dcnwrx.js} +2 -2
  24. package/dist/chunks/{location-lifecycle-5wj3x46p.js → wellknown-15xz4cvy.js} +15 -15
  25. package/dist/chunks/{location-lifecycle-qedxx4df.js → wellknown-18m168yb.js} +11 -11
  26. package/dist/chunks/{location-lifecycle-56t9khd1.js → wellknown-18tp64nm.js} +4 -4
  27. package/dist/chunks/{location-lifecycle-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
  28. package/dist/chunks/{location-lifecycle-tffwexhc.js → wellknown-1er5yem5.js} +35 -35
  29. package/dist/chunks/{location-lifecycle-ydpy656n.js → wellknown-1hvsjts9.js} +11 -11
  30. package/dist/chunks/{location-lifecycle-2f4mgkkf.js → wellknown-1vmknwag.js} +11 -11
  31. package/dist/chunks/{location-lifecycle-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{location-lifecycle-xxtgb6sa.js → wellknown-1xr13nyq.js} +16 -16
  33. package/dist/chunks/{location-lifecycle-1yq9hg58.js → wellknown-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{location-lifecycle-39fa55hs.js → wellknown-1yww55sr.js} +27 -27
  35. package/dist/chunks/{location-lifecycle-204s3925.js → wellknown-204s3925.js} +1 -1
  36. package/dist/chunks/{location-lifecycle-21pdxbx2.js → wellknown-21pdxbx2.js} +3 -3
  37. package/dist/chunks/{location-lifecycle-a4tsa7r1.js → wellknown-2320mcv1.js} +25 -25
  38. package/dist/chunks/{location-lifecycle-h6vtwdne.js → wellknown-2eqy3gj5.js} +11 -11
  39. package/dist/chunks/{location-lifecycle-xp053dmv.js → wellknown-2kzj9rs3.js} +90 -90
  40. package/dist/chunks/{location-lifecycle-fmwh225f.js → wellknown-2p4cawxc.js} +17 -17
  41. package/dist/chunks/{location-lifecycle-4f3z0smc.js → wellknown-2q60wewa.js} +32 -32
  42. package/dist/chunks/{location-lifecycle-5snkchxy.js → wellknown-2qbjrve9.js} +3 -3
  43. package/dist/chunks/{location-lifecycle-dt88w47r.js → wellknown-2qe92jhz.js} +8 -8
  44. package/dist/chunks/{location-lifecycle-2dx8ra8x.js → wellknown-2r4zmzmb.js} +32 -32
  45. package/dist/chunks/{location-lifecycle-vkj83s5t.js → wellknown-2vgv6k8t.js} +13 -13
  46. package/dist/chunks/{location-lifecycle-7m0xfmn5.js → wellknown-2wdrepbb.js} +20 -20
  47. package/dist/chunks/{location-lifecycle-43c62mg5.js → wellknown-3bqphbas.js} +15 -15
  48. package/dist/chunks/{location-lifecycle-p6y8kjpr.js → wellknown-3dxzdqzy.js} +28 -25
  49. package/dist/chunks/{location-lifecycle-symkg8d2.js → wellknown-3ech5htw.js} +5 -5
  50. package/dist/chunks/{location-lifecycle-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{location-lifecycle-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
  52. package/dist/chunks/{location-lifecycle-c6x7d2ts.js → wellknown-3ryz99p0.js} +4 -4
  53. package/dist/chunks/{location-lifecycle-d6j7cmfe.js → wellknown-3v67cre7.js} +21 -21
  54. package/dist/chunks/{location-lifecycle-r41sfy63.js → wellknown-40za9wsf.js} +6 -6
  55. package/dist/chunks/{location-lifecycle-tegm2x1x.js → wellknown-42e9prds.js} +51 -51
  56. package/dist/chunks/{location-lifecycle-kydg8q3s.js → wellknown-47dnmp34.js} +18 -18
  57. package/dist/chunks/{location-lifecycle-4z1m5q35.js → wellknown-4833vkmt.js} +8 -8
  58. package/dist/chunks/{location-lifecycle-gnk6vb74.js → wellknown-48rxq2nm.js} +21 -21
  59. package/dist/chunks/{location-lifecycle-a1rqxjpc.js → wellknown-49fagkab.js} +15 -15
  60. package/dist/chunks/{location-lifecycle-7zab0ebj.js → wellknown-4campf80.js} +4 -4
  61. package/dist/chunks/{location-lifecycle-3paewqb6.js → wellknown-4e498fz4.js} +11 -11
  62. package/dist/chunks/{location-lifecycle-n4w1y350.js → wellknown-4eyc3kpp.js} +117 -91
  63. package/dist/chunks/{location-lifecycle-4nc9a7xj.js → wellknown-4jt7skys.js} +12 -12
  64. package/dist/chunks/{location-lifecycle-2z1j29yd.js → wellknown-4pyp9zr9.js} +19 -3
  65. package/dist/chunks/{location-lifecycle-cqxf2v2j.js → wellknown-4skqtp9p.js} +5 -5
  66. package/dist/chunks/{location-lifecycle-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
  67. package/dist/chunks/{location-lifecycle-4xvmh7wp.js → wellknown-4xvmh7wp.js} +3 -3
  68. package/dist/chunks/{location-lifecycle-hrsrp69b.js → wellknown-53g6s4ag.js} +15 -15
  69. package/dist/chunks/{location-lifecycle-k4px567t.js → wellknown-5gdxwc09.js} +24 -24
  70. package/dist/chunks/{location-lifecycle-t92s7142.js → wellknown-5j9hygp5.js} +31 -31
  71. package/dist/chunks/{location-lifecycle-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{location-lifecycle-j2rmyh1n.js → wellknown-5snrzpn2.js} +45 -15
  73. package/dist/chunks/{location-lifecycle-vx6ny987.js → wellknown-60maxesw.js} +4 -4
  74. package/dist/chunks/{location-lifecycle-61ennm6n.js → wellknown-61ennm6n.js} +1 -1
  75. package/dist/chunks/{location-lifecycle-ankhr68s.js → wellknown-63x76nbs.js} +28 -28
  76. package/dist/chunks/{location-lifecycle-6esdw8yj.js → wellknown-6esdw8yj.js} +1 -1
  77. package/dist/chunks/{location-lifecycle-mydme2jh.js → wellknown-6hbjb0nc.js} +17 -17
  78. package/dist/chunks/{location-lifecycle-c7c2803h.js → wellknown-6hxv0b70.js} +21 -21
  79. package/dist/chunks/{location-lifecycle-fmnt9ehj.js → wellknown-6katn5jb.js} +19 -19
  80. package/dist/chunks/{location-lifecycle-6pjqjmy2.js → wellknown-6pjqjmy2.js} +1 -1
  81. package/dist/chunks/{location-lifecycle-kshh01vy.js → wellknown-71vjzq8c.js} +10 -10
  82. package/dist/chunks/{location-lifecycle-y8hpptjh.js → wellknown-724c9pfv.js} +12 -12
  83. package/dist/chunks/{location-lifecycle-76cb1hcw.js → wellknown-76cb1hcw.js} +1 -1
  84. package/dist/chunks/{location-lifecycle-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{location-lifecycle-bhdbhctw.js → wellknown-7dfq0tqd.js} +13 -13
  86. package/dist/chunks/{location-lifecycle-bqrrerqn.js → wellknown-7g90vjnc.js} +20 -20
  87. package/dist/chunks/{location-lifecycle-mre43e2x.js → wellknown-7sxvebxe.js} +18 -18
  88. package/dist/chunks/{location-lifecycle-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
  89. package/dist/chunks/{location-lifecycle-n85rjewb.js → wellknown-7yhc6exb.js} +9 -9
  90. package/dist/chunks/{location-lifecycle-n510q2e5.js → wellknown-7zefs2yx.js} +6 -6
  91. package/dist/chunks/{location-lifecycle-s9gx43g4.js → wellknown-8bfs1sgm.js} +33 -33
  92. package/dist/chunks/{location-lifecycle-39xamrjb.js → wellknown-8hhyjxtn.js} +15 -15
  93. package/dist/chunks/{location-lifecycle-2f4dsyv8.js → wellknown-8j6zjvn4.js} +7 -7
  94. package/dist/chunks/{location-lifecycle-t7myweak.js → wellknown-8ndw73nb.js} +9 -9
  95. package/dist/chunks/{location-lifecycle-8wc2fpae.js → wellknown-8p5baybq.js} +5 -5
  96. package/dist/chunks/{location-lifecycle-3nmzsehc.js → wellknown-8tvz9phv.js} +29 -29
  97. package/dist/chunks/{location-lifecycle-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{location-lifecycle-041k09c0.js → wellknown-90gp0j9c.js} +1 -1
  99. package/dist/chunks/{location-lifecycle-91rj84md.js → wellknown-91rj84md.js} +1 -1
  100. package/dist/chunks/{location-lifecycle-9cx9sm2q.js → wellknown-9cx9sm2q.js} +1 -1
  101. package/dist/chunks/{location-lifecycle-crj7314x.js → wellknown-9dtf119m.js} +12 -12
  102. package/dist/chunks/{location-lifecycle-neny76qq.js → wellknown-9y8xp722.js} +6 -6
  103. package/dist/chunks/{location-lifecycle-jn88007r.js → wellknown-9ytkwk8q.js} +9 -9
  104. package/dist/chunks/{location-lifecycle-0d9p3c2x.js → wellknown-apsy5ahh.js} +9 -9
  105. package/dist/chunks/{location-lifecycle-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{location-lifecycle-b0mv4wxm.js → wellknown-b0mv4wxm.js} +2 -2
  107. package/dist/chunks/{location-lifecycle-5nnwax6m.js → wellknown-b6vsg801.js} +5 -5
  108. package/dist/chunks/{location-lifecycle-ze1jx3cz.js → wellknown-bf3y8h5f.js} +159 -159
  109. package/dist/chunks/{location-lifecycle-yj99x9f8.js → wellknown-bqct9qsz.js} +13 -13
  110. package/dist/chunks/{location-lifecycle-bstexjd6.js → wellknown-bstexjd6.js} +1 -1
  111. package/dist/chunks/{location-lifecycle-13eaqaby.js → wellknown-c0kyf5dr.js} +22 -22
  112. package/dist/chunks/{location-lifecycle-rdr92g8z.js → wellknown-c1pf56e9.js} +11 -11
  113. package/dist/chunks/{location-lifecycle-bm4gstpq.js → wellknown-ccp6j38y.js} +8 -8
  114. package/dist/chunks/{location-lifecycle-2rn5yfm1.js → wellknown-cgbxrjpk.js} +13 -13
  115. package/dist/chunks/{location-lifecycle-k90hg5nq.js → wellknown-cxxq6shy.js} +15 -15
  116. package/dist/chunks/{location-lifecycle-21np7pz1.js → wellknown-cy55exg4.js} +35 -35
  117. package/dist/chunks/{location-lifecycle-djtsprq9.js → wellknown-cyrrj3vn.js} +10 -10
  118. package/dist/chunks/{location-lifecycle-ak3w6k6z.js → wellknown-d04j6t4g.js} +4 -4
  119. package/dist/chunks/{location-lifecycle-bgetk685.js → wellknown-d0gx834n.js} +15 -15
  120. package/dist/chunks/{location-lifecycle-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{location-lifecycle-ejnm2tv5.js → wellknown-dbemrfqv.js} +35 -35
  122. package/dist/chunks/{location-lifecycle-dhepf5k1.js → wellknown-de619e1b.js} +3 -3
  123. package/dist/chunks/{location-lifecycle-y6dv563x.js → wellknown-dhfzyyxh.js} +11 -11
  124. package/dist/chunks/{location-lifecycle-aqcs9gph.js → wellknown-dj3vwt7t.js} +6 -6
  125. package/dist/chunks/{location-lifecycle-djjzzs3c.js → wellknown-djjzzs3c.js} +3 -3
  126. package/dist/chunks/{location-lifecycle-q3j43vdg.js → wellknown-dr8bgxdq.js} +10 -10
  127. package/dist/chunks/{location-lifecycle-6c56xz8q.js → wellknown-e10gzbhc.js} +11 -11
  128. package/dist/chunks/{location-lifecycle-e834z07m.js → wellknown-e834z07m.js} +1 -1
  129. package/dist/chunks/{location-lifecycle-t1g8akh6.js → wellknown-e9z9agtf.js} +23 -23
  130. package/dist/chunks/{location-lifecycle-cdznd2n8.js → wellknown-eb0ebbza.js} +21 -21
  131. package/dist/chunks/{location-lifecycle-ty4d2nkd.js → wellknown-ecwctf3g.js} +33 -33
  132. package/dist/chunks/{location-lifecycle-8fmmq68j.js → wellknown-ef1x4s0c.js} +115 -35
  133. package/dist/chunks/{location-lifecycle-ad26sn84.js → wellknown-egcgdjrp.js} +4 -4
  134. package/dist/chunks/{location-lifecycle-vnkxp1ve.js → wellknown-ewz324b7.js} +49 -49
  135. package/dist/chunks/{location-lifecycle-z226nxt7.js → wellknown-ex2ghmgq.js} +5 -5
  136. package/dist/chunks/{location-lifecycle-8e7tv7eg.js → wellknown-ey3vkt1q.js} +15 -15
  137. package/dist/chunks/{location-lifecycle-qm8ewe7w.js → wellknown-fb4cnss3.js} +13 -13
  138. package/dist/chunks/{location-lifecycle-kccrvse4.js → wellknown-fc6mge9b.js} +11 -11
  139. package/dist/chunks/{location-lifecycle-swp53ejc.js → wellknown-fdg30131.js} +26 -26
  140. package/dist/chunks/{location-lifecycle-fffv3p7h.js → wellknown-fffv3p7h.js} +1 -1
  141. package/dist/chunks/{location-lifecycle-mm7a63e9.js → wellknown-fg9p65nk.js} +4 -4
  142. package/dist/chunks/{location-lifecycle-53sxntf7.js → wellknown-fhym6smd.js} +11 -11
  143. package/dist/chunks/{location-lifecycle-x196pd4c.js → wellknown-fx2b1b3j.js} +41 -41
  144. package/dist/chunks/{location-lifecycle-fznmdakp.js → wellknown-fznmdakp.js} +1 -1
  145. package/dist/chunks/{location-lifecycle-vvy4n04y.js → wellknown-g1qvvw32.js} +25 -25
  146. package/dist/chunks/{location-lifecycle-g5h9c0rr.js → wellknown-g5h9c0rr.js} +2 -2
  147. package/dist/chunks/{location-lifecycle-4tk2v8fm.js → wellknown-g8tr5n07.js} +40 -40
  148. package/dist/chunks/{location-lifecycle-xf2yn8qh.js → wellknown-gc2j9cqs.js} +6 -6
  149. package/dist/chunks/{location-lifecycle-vrcsa8qx.js → wellknown-gcjdgkn2.js} +9 -9
  150. package/dist/chunks/{location-lifecycle-gg8p9cgs.js → wellknown-gg8p9cgs.js} +3 -3
  151. package/dist/chunks/{location-lifecycle-xh54azxv.js → wellknown-gspvz5np.js} +30 -16
  152. package/dist/chunks/{location-lifecycle-jneg3k74.js → wellknown-gtn9c16a.js} +6 -6
  153. package/dist/chunks/{location-lifecycle-wns4vpfp.js → wellknown-h2hkggp3.js} +27 -27
  154. package/dist/chunks/{location-lifecycle-9b138bm1.js → wellknown-h362shv8.js} +4 -4
  155. package/dist/chunks/{location-lifecycle-jz86pzzm.js → wellknown-h8v7ynv1.js} +8 -8
  156. package/dist/chunks/{location-lifecycle-cnezdtt3.js → wellknown-hk78j51y.js} +43 -43
  157. package/dist/chunks/{location-lifecycle-g6x6yjtr.js → wellknown-hnj5zxrz.js} +7 -7
  158. package/dist/chunks/{location-lifecycle-6kqqag5p.js → wellknown-hrtx3eh0.js} +16 -16
  159. package/dist/chunks/{location-lifecycle-kpexrj34.js → wellknown-hsjdcght.js} +24 -24
  160. package/dist/chunks/{location-lifecycle-9058a6p8.js → wellknown-hwrqw3h8.js} +27 -27
  161. package/dist/chunks/{location-lifecycle-7xx7sts6.js → wellknown-hx65ke5p.js} +25 -25
  162. package/dist/chunks/{location-lifecycle-j113cymg.js → wellknown-j113cymg.js} +1 -1
  163. package/dist/chunks/{location-lifecycle-v52ev8jp.js → wellknown-j2renyjr.js} +32 -32
  164. package/dist/chunks/{location-lifecycle-zgt5j0h2.js → wellknown-j81g92s0.js} +4 -4
  165. package/dist/chunks/{location-lifecycle-1r9pq8px.js → wellknown-jnmyx7e4.js} +75 -74
  166. package/dist/chunks/{location-lifecycle-qc0wsmwq.js → wellknown-jtzgr0na.js} +5 -5
  167. package/dist/chunks/{location-lifecycle-k814nvkf.js → wellknown-k814nvkf.js} +1 -1
  168. package/dist/chunks/{location-lifecycle-d9z8hdxr.js → wellknown-ke5gy3tk.js} +40 -40
  169. package/dist/chunks/wellknown-kgvgf0mp.js +257 -0
  170. package/dist/chunks/{location-lifecycle-p6pw9whk.js → wellknown-kkg9xr14.js} +1 -1
  171. package/dist/chunks/{location-lifecycle-ydsespw1.js → wellknown-kmzgegqq.js} +8 -8
  172. package/dist/chunks/{location-lifecycle-9060xwwx.js → wellknown-ksffszx3.js} +1 -1
  173. package/dist/chunks/{location-lifecycle-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
  174. package/dist/chunks/{location-lifecycle-qyaey30s.js → wellknown-kxymkrsz.js} +9 -9
  175. package/dist/chunks/{location-lifecycle-ztf6n3de.js → wellknown-ky596kc3.js} +4 -4
  176. package/dist/chunks/{location-lifecycle-m1714858.js → wellknown-m1714858.js} +1 -1
  177. package/dist/chunks/{location-lifecycle-x5338emj.js → wellknown-m6kv1khg.js} +3 -3
  178. package/dist/chunks/{location-lifecycle-hk18cedt.js → wellknown-m75bxvp1.js} +26 -26
  179. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{location-lifecycle-maspj1v3.js → wellknown-maspj1v3.js} +1 -1
  181. package/dist/chunks/{location-lifecycle-w04hajkc.js → wellknown-mb9k54pt.js} +8 -8
  182. package/dist/chunks/{location-lifecycle-8d5qxm04.js → wellknown-mfnjseb2.js} +14 -14
  183. package/dist/chunks/{location-lifecycle-hy6qt35j.js → wellknown-mvj8zay5.js} +12 -12
  184. package/dist/chunks/{location-lifecycle-nah043kf.js → wellknown-nah043kf.js} +1 -1
  185. package/dist/chunks/{location-lifecycle-e3qxr5gk.js → wellknown-ncqqe42p.js} +2 -2
  186. package/dist/chunks/{location-lifecycle-hjnjc3ts.js → wellknown-neary136.js} +5 -5
  187. package/dist/chunks/{location-lifecycle-kkms64sw.js → wellknown-nf3nsvxh.js} +6 -6
  188. package/dist/chunks/{location-lifecycle-j40t6js0.js → wellknown-npjtk884.js} +19 -19
  189. package/dist/chunks/{location-lifecycle-6dxg04eh.js → wellknown-nt6mqvwx.js} +6 -6
  190. package/dist/chunks/{location-lifecycle-k7mszyx5.js → wellknown-ntpfk5qx.js} +36 -36
  191. package/dist/chunks/{location-lifecycle-44jn6qr4.js → wellknown-nw3bgfm4.js} +12 -12
  192. package/dist/chunks/{location-lifecycle-p015t6z3.js → wellknown-p015t6z3.js} +2 -2
  193. package/dist/chunks/{location-lifecycle-3svk3m7v.js → wellknown-p7h66p9t.js} +11 -11
  194. package/dist/chunks/{location-lifecycle-e07q2w5p.js → wellknown-pcc6rjnf.js} +4 -4
  195. package/dist/chunks/{location-lifecycle-b1p62gvs.js → wellknown-pevtk2h0.js} +4 -4
  196. package/dist/chunks/{location-lifecycle-6fxgcwam.js → wellknown-phd9f911.js} +14 -14
  197. package/dist/chunks/{location-lifecycle-pknna89w.js → wellknown-pknna89w.js} +1 -1
  198. package/dist/chunks/{location-lifecycle-8vbpf0m9.js → wellknown-pw0pep3j.js} +16 -16
  199. package/dist/chunks/{location-lifecycle-dfwbs5ec.js → wellknown-pw6gcn4x.js} +9 -9
  200. package/dist/chunks/{location-lifecycle-anfccx7e.js → wellknown-pxer50tw.js} +15 -15
  201. package/dist/chunks/{location-lifecycle-b60yey21.js → wellknown-q3zk63qm.js} +54 -54
  202. package/dist/chunks/{location-lifecycle-mprgj00x.js → wellknown-q7gd9zh7.js} +38 -38
  203. package/dist/chunks/{location-lifecycle-6wbd4xnq.js → wellknown-q80bq26q.js} +6 -6
  204. package/dist/chunks/{location-lifecycle-2txhztxc.js → wellknown-q9c81yt7.js} +43 -28
  205. package/dist/chunks/{location-lifecycle-bj67wmp5.js → wellknown-q9wnq509.js} +3 -3
  206. package/dist/chunks/{location-lifecycle-ydkf0bj3.js → wellknown-qgp6m71r.js} +27 -27
  207. package/dist/chunks/{location-lifecycle-98ps9a1j.js → wellknown-qnr57htg.js} +25 -25
  208. package/dist/chunks/wellknown-qp7r0hxv.js +120 -0
  209. package/dist/chunks/{location-lifecycle-9x3s0wgq.js → wellknown-qqhrz1wm.js} +21 -21
  210. package/dist/chunks/{location-lifecycle-jvhc8y22.js → wellknown-qse3wkg3.js} +21 -21
  211. package/dist/chunks/{location-lifecycle-qyq8h28g.js → wellknown-qyq8h28g.js} +1 -1
  212. package/dist/chunks/{location-lifecycle-qssmn7t2.js → wellknown-qz6rkytq.js} +8 -8
  213. package/dist/chunks/{location-lifecycle-r0yr0wbs.js → wellknown-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{location-lifecycle-r542h3bh.js → wellknown-r542h3bh.js} +1 -1
  215. package/dist/chunks/{location-lifecycle-18fg54k7.js → wellknown-r5zh54gw.js} +53 -53
  216. package/dist/chunks/{location-lifecycle-0m9q59s6.js → wellknown-r96ere88.js} +4 -4
  217. package/dist/chunks/{location-lifecycle-2asws2s2.js → wellknown-radh0f4v.js} +14 -14
  218. package/dist/chunks/{location-lifecycle-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
  219. package/dist/chunks/{location-lifecycle-ktnx6nfw.js → wellknown-rqspxrc1.js} +7 -7
  220. package/dist/chunks/{location-lifecycle-rt5dr6hb.js → wellknown-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{location-lifecycle-ra34yqmw.js → wellknown-rwvswa9y.js} +6 -6
  222. package/dist/chunks/{location-lifecycle-3qnkc5ty.js → wellknown-rww2kjr8.js} +16 -16
  223. package/dist/chunks/{location-lifecycle-da2kvbdp.js → wellknown-s2tx6bjs.js} +9 -9
  224. package/dist/chunks/{location-lifecycle-6zq7s0af.js → wellknown-s6t1b4j6.js} +11 -11
  225. package/dist/chunks/{location-lifecycle-sa3fpqfw.js → wellknown-sa3fpqfw.js} +2 -2
  226. package/dist/chunks/{location-lifecycle-c4a8kt2y.js → wellknown-sbtgcdj5.js} +24 -24
  227. package/dist/chunks/{location-lifecycle-cynzgytk.js → wellknown-sdtzry9x.js} +7 -7
  228. package/dist/chunks/{location-lifecycle-dvke8c51.js → wellknown-sh36jtyp.js} +5 -5
  229. package/dist/chunks/{location-lifecycle-sqjzf8x2.js → wellknown-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{location-lifecycle-b1pn0vxn.js → wellknown-ssfehs1z.js} +4 -4
  231. package/dist/chunks/{location-lifecycle-1hh3w1a4.js → wellknown-swveggkf.js} +24 -24
  232. package/dist/chunks/{location-lifecycle-0kb0esn6.js → wellknown-t20d8q3a.js} +12 -12
  233. package/dist/chunks/{location-lifecycle-583pkegd.js → wellknown-t4y7ct23.js} +62 -61
  234. package/dist/chunks/{location-lifecycle-ndmv9r8h.js → wellknown-tcxz7f1z.js} +56 -30
  235. package/dist/chunks/{location-lifecycle-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{location-lifecycle-xp2yp5n3.js → wellknown-ttz88pvr.js} +11 -11
  237. package/dist/chunks/{location-lifecycle-twv2r8f4.js → wellknown-twv2r8f4.js} +2 -2
  238. package/dist/chunks/{location-lifecycle-efv53qt9.js → wellknown-ty7xyaae.js} +7 -7
  239. package/dist/chunks/{location-lifecycle-bdmysry5.js → wellknown-tyy5np2s.js} +5 -5
  240. package/dist/chunks/{location-lifecycle-xdh4e2a1.js → wellknown-v0hcd9zv.js} +2 -2
  241. package/dist/chunks/{location-lifecycle-2kg89srt.js → wellknown-v0t96s7a.js} +4 -4
  242. package/dist/chunks/{location-lifecycle-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{location-lifecycle-wad6xj88.js → wellknown-v4wa8mpc.js} +37 -37
  244. package/dist/chunks/{location-lifecycle-d4safsx6.js → wellknown-vavkps5a.js} +12 -12
  245. package/dist/chunks/{location-lifecycle-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
  246. package/dist/chunks/{location-lifecycle-7xyg0zkz.js → wellknown-vjmaafeq.js} +9 -9
  247. package/dist/chunks/{location-lifecycle-wpqwsn6a.js → wellknown-vr1p6ca4.js} +8 -8
  248. package/dist/chunks/{location-lifecycle-sg3bf8v2.js → wellknown-vt0drty8.js} +5 -5
  249. package/dist/chunks/{location-lifecycle-v66dz0c2.js → wellknown-vvzp50rp.js} +19 -19
  250. package/dist/chunks/{location-lifecycle-wsxpqbdm.js → wellknown-vxr65stp.js} +25 -25
  251. package/dist/chunks/{location-lifecycle-zw3278ky.js → wellknown-vxxrrfe0.js} +11 -11
  252. package/dist/chunks/{location-lifecycle-35t0dhq3.js → wellknown-w2cmnvxm.js} +13 -13
  253. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{location-lifecycle-15phv1ny.js → wellknown-w5cna773.js} +29 -29
  255. package/dist/chunks/{location-lifecycle-028e5jg0.js → wellknown-w68dkr85.js} +20 -20
  256. package/dist/chunks/{location-lifecycle-1e6ty7xe.js → wellknown-w7n30nfw.js} +14 -14
  257. package/dist/chunks/{location-lifecycle-70y17xeh.js → wellknown-w8xr7nv8.js} +5 -5
  258. package/dist/chunks/{location-lifecycle-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{location-lifecycle-7fktg098.js → wellknown-wbbfqag7.js} +8 -8
  260. package/dist/chunks/{location-lifecycle-wd87259q.js → wellknown-wd87259q.js} +1 -1
  261. package/dist/chunks/{location-lifecycle-a0qbyar6.js → wellknown-wdmx20pv.js} +7 -7
  262. package/dist/chunks/{location-lifecycle-45056y1z.js → wellknown-wdvzjwq2.js} +60 -60
  263. package/dist/chunks/wellknown-wep3vcvy.js +26 -0
  264. package/dist/chunks/{location-lifecycle-24j7j0yw.js → wellknown-wgxkdtrn.js} +9 -9
  265. package/dist/chunks/{location-lifecycle-qzzfvzvj.js → wellknown-whnxx8mv.js} +15 -15
  266. package/dist/chunks/{location-lifecycle-2gc4yf1d.js → wellknown-wnjd27sh.js} +17 -17
  267. package/dist/chunks/wellknown-wrcr1wzr.js +517 -0
  268. package/dist/chunks/{location-lifecycle-11hfp36g.js → wellknown-x8nvjgx0.js} +4 -4
  269. package/dist/chunks/{location-lifecycle-72j05hbq.js → wellknown-xf88twea.js} +2 -2
  270. package/dist/chunks/{location-lifecycle-1x0kbyy9.js → wellknown-xfap1w58.js} +16 -16
  271. package/dist/chunks/{location-lifecycle-5791fv37.js → wellknown-xhfxx4da.js} +11 -11
  272. package/dist/chunks/{location-lifecycle-gk8pf4x2.js → wellknown-xk9nzyx6.js} +22 -22
  273. package/dist/chunks/{location-lifecycle-8y4jps98.js → wellknown-xnh55p1t.js} +7 -7
  274. package/dist/chunks/{location-lifecycle-bdqn9720.js → wellknown-xqctgmq0.js} +30 -30
  275. package/dist/chunks/{location-lifecycle-j03kz36w.js → wellknown-xqdzg0d1.js} +44 -44
  276. package/dist/chunks/{location-lifecycle-fr8djkxe.js → wellknown-xqf52ny9.js} +18 -18
  277. package/dist/chunks/{location-lifecycle-54q26zph.js → wellknown-xr6tzfax.js} +1 -1
  278. package/dist/chunks/{location-lifecycle-c0c5nhmx.js → wellknown-xre94b5v.js} +34 -34
  279. package/dist/chunks/{location-lifecycle-vmwpcxrh.js → wellknown-xvd6zczk.js} +15 -15
  280. package/dist/chunks/{location-lifecycle-943sj690.js → wellknown-y4g98aeh.js} +24 -24
  281. package/dist/chunks/{location-lifecycle-f1kgynkh.js → wellknown-y79gjjan.js} +15 -15
  282. package/dist/chunks/{location-lifecycle-s0588k8a.js → wellknown-y8fjqfz6.js} +18 -18
  283. package/dist/chunks/{location-lifecycle-1qqyp8g5.js → wellknown-y952b79c.js} +11 -11
  284. package/dist/chunks/{location-lifecycle-yara3q77.js → wellknown-yara3q77.js} +2 -2
  285. package/dist/chunks/{location-lifecycle-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
  286. package/dist/chunks/{location-lifecycle-eh5ddjcb.js → wellknown-yefdp956.js} +18 -18
  287. package/dist/chunks/{location-lifecycle-7x0pcwj8.js → wellknown-yn1q185v.js} +21 -21
  288. package/dist/chunks/{location-lifecycle-g2bzhkzw.js → wellknown-yxnn9e9b.js} +23 -23
  289. package/dist/chunks/{location-lifecycle-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
  290. package/dist/chunks/{location-lifecycle-z38nccrw.js → wellknown-z38nccrw.js} +1 -1
  291. package/dist/chunks/{location-lifecycle-krj48ye9.js → wellknown-zftkkf2m.js} +22 -22
  292. package/dist/chunks/{location-lifecycle-zkg84ctx.js → wellknown-zkg84ctx.js} +1 -1
  293. package/dist/chunks/{location-lifecycle-7mfv9kz5.js → wellknown-zqtsax9d.js} +20 -20
  294. package/dist/chunks/{location-lifecycle-xmkr896k.js → wellknown-zrz12vnv.js} +11 -11
  295. package/dist/chunks/{location-lifecycle-92twe937.js → wellknown-zyz0cj63.js} +44 -44
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +11 -11
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +83 -83
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +3 -3
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +109 -109
  305. package/dist/config/plugin/agent.js +121 -121
  306. package/dist/config/plugin/command.js +219 -219
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +140 -140
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +121 -121
  314. package/dist/config/plugin/mcp.js +128 -128
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +121 -121
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +1 -1
  321. package/dist/config/plugin/skill.js +143 -143
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +120 -120
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +120 -120
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +124 -124
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +76 -76
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +103 -103
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +381 -381
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +101 -101
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +140 -140
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +86 -86
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +232 -232
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +3 -3
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +110 -110
  444. package/dist/form.js +88 -88
  445. package/dist/formatter/builtins.js +2 -2
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +115 -115
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +101 -101
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +12 -0
  469. package/dist/image/photon-worker.js +19 -0
  470. package/dist/image/photon.js +124 -110
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +372 -372
  474. package/dist/instruction-discovery.js +90 -90
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +5 -5
  477. package/dist/integration/connection.js +1 -1
  478. package/dist/integration.js +87 -87
  479. package/dist/job.js +82 -82
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +79 -79
  482. package/dist/location-activity.js +166 -166
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +369 -369
  486. package/dist/location.js +95 -95
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +117 -117
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +101 -101
  496. package/dist/model-resolver.js +105 -105
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +102 -102
  499. package/dist/models-dev.js +107 -107
  500. package/dist/oauth/page.js +1 -1
  501. package/dist/permission/saved.js +88 -88
  502. package/dist/permission/sql.js +5 -5
  503. package/dist/permission.js +143 -143
  504. package/dist/persistent-pty/binary.bun.js +1 -1
  505. package/dist/persistent-pty/daemon.js +1 -1
  506. package/dist/persistent-pty/index.js +94 -94
  507. package/dist/persistent-pty/pty-binding.js +1 -1
  508. package/dist/persistent-pty.js +81 -81
  509. package/dist/plugin/agent.js +80 -80
  510. package/dist/plugin/command.js +108 -108
  511. package/dist/plugin/hooks.js +5 -5
  512. package/dist/plugin/host.js +227 -227
  513. package/dist/plugin/identity.js +5 -5
  514. package/dist/plugin/instance.js +5 -5
  515. package/dist/plugin/internal.js +342 -342
  516. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  517. package/dist/plugin/models-dev.js +104 -104
  518. package/dist/plugin/module.js +121 -121
  519. package/dist/plugin/optimize.js +2 -2
  520. package/dist/plugin/plan.js +138 -138
  521. package/dist/plugin/promise.js +1 -1
  522. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  523. package/dist/plugin/provider/azure.js +121 -121
  524. package/dist/plugin/provider/cerebras.js +1 -1
  525. package/dist/plugin/provider/chatgpt.js +121 -121
  526. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  527. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  528. package/dist/plugin/provider/cohere.js +2 -2
  529. package/dist/plugin/provider/configured.js +117 -117
  530. package/dist/plugin/provider/databricks.js +1 -1
  531. package/dist/plugin/provider/digitalocean.js +101 -101
  532. package/dist/plugin/provider/dynamic.js +2 -2
  533. package/dist/plugin/provider/factory.js +1 -1
  534. package/dist/plugin/provider/github-copilot.js +103 -103
  535. package/dist/plugin/provider/gitlab.js +101 -101
  536. package/dist/plugin/provider/google-vertex.js +118 -118
  537. package/dist/plugin/provider/kilo.js +1 -1
  538. package/dist/plugin/provider/llmgateway.js +84 -84
  539. package/dist/plugin/provider/lmstudio.js +130 -130
  540. package/dist/plugin/provider/local.js +127 -127
  541. package/dist/plugin/provider/modal.js +100 -100
  542. package/dist/plugin/provider/neon.js +1 -1
  543. package/dist/plugin/provider/nvidia.js +1 -1
  544. package/dist/plugin/provider/ollama.js +130 -130
  545. package/dist/plugin/provider/openai-context-caps.js +98 -98
  546. package/dist/plugin/provider/openai.js +121 -121
  547. package/dist/plugin/provider/opencode-legacy.js +104 -104
  548. package/dist/plugin/provider/opencode.js +127 -127
  549. package/dist/plugin/provider/openrouter.js +99 -99
  550. package/dist/plugin/provider/perplexity.js +2 -2
  551. package/dist/plugin/provider/poe.js +85 -85
  552. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  553. package/dist/plugin/provider/sap-ai-core.js +99 -99
  554. package/dist/plugin/provider/sdk-factory.js +1 -1
  555. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  556. package/dist/plugin/provider/vercel.js +98 -98
  557. package/dist/plugin/provider/vllm.js +130 -130
  558. package/dist/plugin/provider/xai.js +99 -99
  559. package/dist/plugin/provider/zenmux.js +1 -1
  560. package/dist/plugin/provider.js +178 -178
  561. package/dist/plugin/sdk.js +80 -80
  562. package/dist/plugin/service.js +3 -3
  563. package/dist/plugin/skill.js +141 -141
  564. package/dist/plugin/source-directory.js +1 -1
  565. package/dist/plugin/supervisor.js +359 -359
  566. package/dist/plugin/tool-input-repair.js +4 -4
  567. package/dist/plugin/update.js +6 -6
  568. package/dist/plugin/vcs/git.js +94 -94
  569. package/dist/plugin/vcs/hg.js +94 -94
  570. package/dist/plugin/verbosity.js +101 -101
  571. package/dist/plugin/warming.js +119 -119
  572. package/dist/plugin/websearch/exa.js +5 -5
  573. package/dist/plugin/websearch/firecrawl.js +8 -8
  574. package/dist/plugin/websearch/index.js +9 -9
  575. package/dist/plugin/websearch/mcp.js +4 -4
  576. package/dist/plugin/websearch/parallel.js +6 -6
  577. package/dist/plugin/websearch/tavily.js +6 -6
  578. package/dist/plugin/websearch/tinyfish.js +8 -8
  579. package/dist/plugin.js +236 -236
  580. package/dist/project/icon.js +5 -5
  581. package/dist/project/schema.js +6 -6
  582. package/dist/project/sql.js +4 -4
  583. package/dist/project.js +96 -96
  584. package/dist/provider.js +101 -101
  585. package/dist/pty/protocol.js +1 -1
  586. package/dist/pty/ticket.js +1 -1
  587. package/dist/pty.js +104 -104
  588. package/dist/reference/instructions.js +94 -94
  589. package/dist/reference.js +98 -98
  590. package/dist/repository-cache.js +88 -88
  591. package/dist/repository.js +1 -1
  592. package/dist/ripgrep/binary.js +2 -2
  593. package/dist/ripgrep.js +105 -105
  594. package/dist/rpc.js +94 -94
  595. package/dist/schema.js +1 -1
  596. package/dist/session/affinity.js +1 -1
  597. package/dist/session/blob.js +132 -120
  598. package/dist/session/command.js +80 -80
  599. package/dist/session/compaction.js +164 -164
  600. package/dist/session/context.js +188 -188
  601. package/dist/session/diff.js +96 -96
  602. package/dist/session/environment.js +5 -5
  603. package/dist/session/error.js +3 -3
  604. package/dist/session/event.js +1 -1
  605. package/dist/session/execution/restart.js +231 -231
  606. package/dist/session/execution.js +152 -152
  607. package/dist/session/generate.js +190 -190
  608. package/dist/session/history.js +134 -130
  609. package/dist/session/inbox.js +144 -136
  610. package/dist/session/info.js +3 -3
  611. package/dist/session/instruction-entry.js +85 -85
  612. package/dist/session/instruction-state.js +8 -8
  613. package/dist/session/instructions.js +132 -134
  614. package/dist/session/message-updater.js +4 -4
  615. package/dist/session/message.js +1 -1
  616. package/dist/session/model-request.js +155 -155
  617. package/dist/session/model-transport.js +9 -9
  618. package/dist/session/move.js +156 -156
  619. package/dist/session/projector.js +134 -134
  620. package/dist/session/prompt.js +140 -140
  621. package/dist/session/recent-text.js +1 -1
  622. package/dist/session/revert.js +130 -130
  623. package/dist/session/run-coordinator.js +3 -3
  624. package/dist/session/runner/index.js +3 -3
  625. package/dist/session/runner/llm.js +238 -238
  626. package/dist/session/runner/max-steps.js +1 -1
  627. package/dist/session/runner/model.js +108 -108
  628. package/dist/session/runner/publish-llm-event.js +141 -141
  629. package/dist/session/runner/retry.js +3 -3
  630. package/dist/session/runner/step.js +152 -152
  631. package/dist/session/runner/to-llm-message.js +128 -128
  632. package/dist/session/schema.js +1 -1
  633. package/dist/session/session.js +172 -172
  634. package/dist/session/shell.js +135 -135
  635. package/dist/session/skill.js +139 -139
  636. package/dist/session/sql.js +5 -5
  637. package/dist/session/stats.js +81 -81
  638. package/dist/session/store.js +133 -133
  639. package/dist/session/stored.js +2 -2
  640. package/dist/session/subagent-completion.js +1 -1
  641. package/dist/session/subagent-job.js +219 -219
  642. package/dist/session/system-prompt.js +5 -5
  643. package/dist/session/title.js +186 -186
  644. package/dist/session/to-session-error.js +140 -140
  645. package/dist/session/transfer.js +228 -228
  646. package/dist/session/usage.js +1 -1
  647. package/dist/session.js +217 -217
  648. package/dist/shell/parse.js +6 -6
  649. package/dist/shell/result.js +1 -1
  650. package/dist/shell/scan.js +1 -1
  651. package/dist/shell/select.js +11 -11
  652. package/dist/shell.js +137 -137
  653. package/dist/skill/discovery.js +6 -6
  654. package/dist/skill/instructions.js +141 -141
  655. package/dist/skill.js +146 -146
  656. package/dist/snapshot.js +101 -101
  657. package/dist/state.js +1 -1
  658. package/dist/tool/html-markdown.js +1 -1
  659. package/dist/tool/http-body.js +1 -1
  660. package/dist/tool/mcp.js +167 -167
  661. package/dist/tool/plugin/edit.js +156 -156
  662. package/dist/tool/plugin/file-diff.js +1 -1
  663. package/dist/tool/plugin/glob.js +158 -158
  664. package/dist/tool/plugin/grep.js +160 -160
  665. package/dist/tool/plugin/mcp-resource.js +154 -154
  666. package/dist/tool/plugin/opencode.js +145 -145
  667. package/dist/tool/plugin/patch.js +158 -158
  668. package/dist/tool/plugin/question.js +138 -138
  669. package/dist/tool/plugin/read.js +161 -161
  670. package/dist/tool/plugin/shell.js +222 -222
  671. package/dist/tool/plugin/skill.js +147 -147
  672. package/dist/tool/plugin/subagent.js +224 -224
  673. package/dist/tool/plugin/todo.js +145 -145
  674. package/dist/tool/plugin/webfetch.js +147 -147
  675. package/dist/tool/plugin/websearch.js +139 -139
  676. package/dist/tool/plugin/write.js +156 -156
  677. package/dist/tool/read-filesystem.js +108 -108
  678. package/dist/tool/runtime.js +1 -1
  679. package/dist/tool-output.js +7 -7
  680. package/dist/tool.js +14 -14
  681. package/dist/types/image/photon-normalize.d.ts +28 -0
  682. package/dist/types/image/photon-worker.d.ts +12 -0
  683. package/dist/types/image/photon.d.ts +14 -4
  684. package/dist/types/mime.d.ts +1 -1
  685. package/dist/types/session/blob.d.ts +929 -0
  686. package/dist/types/session/compaction.d.ts +11 -8
  687. package/dist/types/session/history.d.ts +1281 -18
  688. package/dist/types/session/inbox.d.ts +114 -2
  689. package/dist/types/session/prompt.d.ts +2 -1
  690. package/dist/types/session/store.d.ts +7 -0
  691. package/dist/types/session/stored.d.ts +2 -2
  692. package/dist/types/session.d.ts +9 -0
  693. package/dist/usage-limits.js +95 -95
  694. package/dist/util/error-summary.js +1 -1
  695. package/dist/util/git-executable.js +3 -3
  696. package/dist/util/lazy.js +1 -1
  697. package/dist/util/slug.js +1 -1
  698. package/dist/util/token.js +1 -1
  699. package/dist/util/which.js +1 -1
  700. package/dist/util/wildcard.js +1 -1
  701. package/dist/v1/config/agent.js +3 -3
  702. package/dist/v1/config/command.js +3 -3
  703. package/dist/v1/config/mcp.js +4 -4
  704. package/dist/v1/config/migrate.js +100 -100
  705. package/dist/v1/config/permission.js +3 -3
  706. package/dist/v1/config/plugin.js +1 -1
  707. package/dist/v1/config/provider-options.js +1 -1
  708. package/dist/v1/config/provider.js +4 -4
  709. package/dist/variant.js +99 -99
  710. package/dist/vcs/patch.js +1 -1
  711. package/dist/vcs.js +97 -97
  712. package/dist/voice.js +90 -90
  713. package/dist/websearch.js +86 -86
  714. package/dist/wellknown/plugin.js +82 -82
  715. package/dist/wellknown.js +85 -85
  716. package/dist/workspace/driver.js +7 -7
  717. package/dist/workspace/sql.js +1 -1
  718. package/dist/workspace.js +88 -88
  719. package/dist/worktree/directory.js +2 -2
  720. package/dist/worktree/git.js +11 -11
  721. package/dist/worktree/sql.js +5 -5
  722. package/dist/worktree/strategies.js +97 -97
  723. package/dist/worktree.js +102 -102
  724. package/package.json +9 -9
  725. package/dist/chunks/location-lifecycle-5g0d07fr.js +0 -26
  726. package/dist/chunks/location-lifecycle-73fwqkva.js +0 -517
  727. package/dist/chunks/location-lifecycle-7yv5xa0k.js +0 -18
  728. package/dist/chunks/location-lifecycle-bv8yd5sr.js +0 -257
  729. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
  730. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
  731. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
  732. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
  733. /package/dist/chunks/{location-lifecycle-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
  734. /package/dist/chunks/{location-lifecycle-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
  735. /package/dist/chunks/{location-lifecycle-2bv980vf.js → wellknown-2bv980vf.js} +0 -0
  736. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
  737. /package/dist/chunks/{location-lifecycle-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
  738. /package/dist/chunks/{location-lifecycle-3asan66x.js → wellknown-3asan66x.js} +0 -0
  739. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
  740. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
  741. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
  742. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
  743. /package/dist/chunks/{location-lifecycle-4m86bj6y.js → wellknown-4m86bj6y.js} +0 -0
  744. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
  745. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
  746. /package/dist/chunks/{location-lifecycle-53557ph1.js → wellknown-53557ph1.js} +0 -0
  747. /package/dist/chunks/{location-lifecycle-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
  748. /package/dist/chunks/{location-lifecycle-5fjb7ams.js → wellknown-5fjb7ams.js} +0 -0
  749. /package/dist/chunks/{location-lifecycle-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
  750. /package/dist/chunks/{location-lifecycle-6prwharc.js → wellknown-6prwharc.js} +0 -0
  751. /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
  752. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
  753. /package/dist/chunks/{location-lifecycle-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
  754. /package/dist/chunks/{location-lifecycle-822emrt2.js → wellknown-822emrt2.js} +0 -0
  755. /package/dist/chunks/{location-lifecycle-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
  756. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
  757. /package/dist/chunks/{location-lifecycle-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
  758. /package/dist/chunks/{location-lifecycle-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
  759. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
  760. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
  761. /package/dist/chunks/{location-lifecycle-a058387c.js → wellknown-a058387c.js} +0 -0
  762. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
  763. /package/dist/chunks/{location-lifecycle-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
  764. /package/dist/chunks/{location-lifecycle-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
  765. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
  766. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
  767. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
  768. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
  769. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
  770. /package/dist/chunks/{location-lifecycle-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
  771. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
  772. /package/dist/chunks/{location-lifecycle-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
  773. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
  774. /package/dist/chunks/{location-lifecycle-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
  775. /package/dist/chunks/{location-lifecycle-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
  776. /package/dist/chunks/{location-lifecycle-df08tz66.js → wellknown-df08tz66.js} +0 -0
  777. /package/dist/chunks/{location-lifecycle-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
  778. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
  779. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
  780. /package/dist/chunks/{location-lifecycle-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
  781. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
  782. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
  783. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
  784. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
  785. /package/dist/chunks/{location-lifecycle-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
  786. /package/dist/chunks/{location-lifecycle-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
  787. /package/dist/chunks/{location-lifecycle-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
  788. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
  789. /package/dist/chunks/{location-lifecycle-g86h250q.js → wellknown-g86h250q.js} +0 -0
  790. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
  791. /package/dist/chunks/{location-lifecycle-gftt206x.js → wellknown-gftt206x.js} +0 -0
  792. /package/dist/chunks/{location-lifecycle-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
  793. /package/dist/chunks/{location-lifecycle-hk9envan.js → wellknown-hk9envan.js} +0 -0
  794. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
  795. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
  796. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
  797. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
  798. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
  799. /package/dist/chunks/{location-lifecycle-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
  800. /package/dist/chunks/{location-lifecycle-jze0r7bz.js → wellknown-jze0r7bz.js} +0 -0
  801. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
  802. /package/dist/chunks/{location-lifecycle-m18g726c.js → wellknown-m18g726c.js} +0 -0
  803. /package/dist/chunks/{location-lifecycle-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
  804. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
  805. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
  806. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
  807. /package/dist/chunks/{location-lifecycle-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
  808. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
  809. /package/dist/chunks/{location-lifecycle-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
  810. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
  811. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
  812. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
  813. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
  814. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
  815. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
  816. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
  817. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
  818. /package/dist/chunks/{location-lifecycle-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
  819. /package/dist/chunks/{location-lifecycle-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
  820. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
  821. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
  822. /package/dist/chunks/{location-lifecycle-wjj7prxr.js → wellknown-wjj7prxr.js} +0 -0
  823. /package/dist/chunks/{location-lifecycle-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
  824. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
  825. /package/dist/chunks/{location-lifecycle-x61499pn.js → wellknown-x61499pn.js} +0 -0
  826. /package/dist/chunks/{location-lifecycle-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
  827. /package/dist/chunks/{location-lifecycle-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
  828. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
  829. /package/dist/chunks/{location-lifecycle-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
  830. /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
  831. /package/dist/chunks/{location-lifecycle-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
  832. /package/dist/chunks/{location-lifecycle-zb5gs1ba.js → wellknown-zb5gs1ba.js} +0 -0
@@ -1661,25 +1661,1288 @@ export declare const decodeMessageRows: (db: import("../database/drizzle.js").Ef
1661
1661
  readonly retryAfterMs?: number | undefined;
1662
1662
  } | undefined;
1663
1663
  })[], MessageDecodeError, never>;
1664
- export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
1665
- $client: import("effect/sql/SqlClient").SqlClient;
1666
- }, sessionID: string & import("effect/Brand").Brand<"SessionID">, boundary: Boundary) => Effect.Effect<SessionMessage.Info[], MessageDecodeError, never>;
1667
- export declare const entriesForRunner: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
1668
- $client: import("effect/sql/SqlClient").SqlClient;
1669
- }, sessionID: string & import("effect/Brand").Brand<"SessionID">, instructions: Instructions.List, boundary: Boundary) => Effect.Effect<{
1670
- initial: string;
1671
- entries: readonly {
1672
- readonly seq: number;
1673
- readonly message: SessionMessage.Info;
1674
- }[];
1675
- }, never, never>;
1676
- export declare const preview: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
1664
+ /** Decodes rows for clients that fetch media themselves, so files stored in `blob` stay `media:` refs. */
1665
+ export declare const decodeMessageRowsWithRefs: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
1677
1666
  $client: import("effect/sql/SqlClient").SqlClient;
1678
- }, sessionID: string & import("effect/Brand").Brand<"SessionID">, instructions: Instructions.List, boundary: Boundary) => Effect.Effect<{
1679
- initial: string;
1680
- messages: SessionMessage.Info[];
1681
- instructionUpdate: string;
1682
- }, Instructions.InitializationBlocked, never>;
1667
+ }, rows: readonly {
1668
+ data: Omit<{
1669
+ readonly id: string;
1670
+ readonly metadata?: {
1671
+ readonly [x: string]: unknown;
1672
+ } | undefined;
1673
+ readonly time: {
1674
+ readonly created: number;
1675
+ };
1676
+ readonly type: "agent-switched";
1677
+ readonly agent: string;
1678
+ readonly previous?: string | undefined;
1679
+ }, "id" | "type"> | Omit<{
1680
+ readonly id: string;
1681
+ readonly metadata?: {
1682
+ readonly [x: string]: unknown;
1683
+ } | undefined;
1684
+ readonly time: {
1685
+ readonly created: number;
1686
+ };
1687
+ readonly type: "model-switched";
1688
+ readonly model: {
1689
+ readonly id: string;
1690
+ readonly providerID: string;
1691
+ readonly variant?: string | undefined;
1692
+ };
1693
+ readonly previous?: {
1694
+ readonly id: string;
1695
+ readonly providerID: string;
1696
+ readonly variant?: string | undefined;
1697
+ } | undefined;
1698
+ }, "id" | "type"> | Omit<{
1699
+ readonly id: string;
1700
+ readonly metadata?: {
1701
+ readonly [x: string]: unknown;
1702
+ } | undefined;
1703
+ readonly time: {
1704
+ readonly created: number;
1705
+ };
1706
+ readonly type: "location-switched";
1707
+ readonly location: {
1708
+ readonly directory: string;
1709
+ readonly workspaceID?: string | undefined;
1710
+ };
1711
+ readonly projectID?: string | undefined;
1712
+ readonly subpath?: string | undefined;
1713
+ readonly previous?: {
1714
+ readonly location: {
1715
+ readonly directory: string;
1716
+ readonly workspaceID?: string | undefined;
1717
+ };
1718
+ readonly projectID?: string | undefined;
1719
+ readonly subpath?: string | undefined;
1720
+ } | undefined;
1721
+ }, "id" | "type"> | Omit<{
1722
+ readonly id: string;
1723
+ readonly metadata?: {
1724
+ readonly [x: string]: unknown;
1725
+ } | undefined;
1726
+ readonly time: {
1727
+ readonly created: number;
1728
+ };
1729
+ readonly text: string;
1730
+ readonly description?: string | undefined;
1731
+ readonly type: "synthetic";
1732
+ }, "id" | "type"> | Omit<{
1733
+ readonly id: string;
1734
+ readonly metadata?: {
1735
+ readonly [x: string]: unknown;
1736
+ } | undefined;
1737
+ readonly time: {
1738
+ readonly created: number;
1739
+ };
1740
+ readonly type: "system";
1741
+ readonly text: string;
1742
+ readonly description?: string | undefined;
1743
+ }, "id" | "type"> | Omit<{
1744
+ readonly id: string;
1745
+ readonly metadata?: {
1746
+ readonly [x: string]: unknown;
1747
+ } | undefined;
1748
+ readonly time: {
1749
+ readonly created: number;
1750
+ };
1751
+ readonly type: "skill";
1752
+ readonly skill: string;
1753
+ readonly name: string;
1754
+ readonly text: string;
1755
+ }, "id" | "type"> | Omit<{
1756
+ readonly id: string;
1757
+ readonly metadata?: {
1758
+ readonly [x: string]: unknown;
1759
+ } | undefined;
1760
+ readonly type: "shell";
1761
+ readonly shellID: string;
1762
+ readonly command: string;
1763
+ readonly status: "exited" | "killed" | "running" | "timeout";
1764
+ readonly exit?: number | undefined;
1765
+ readonly output?: {
1766
+ readonly output: string;
1767
+ readonly cursor: number;
1768
+ readonly size: number;
1769
+ readonly truncated: boolean;
1770
+ } | undefined;
1771
+ readonly time: {
1772
+ readonly created: number;
1773
+ readonly completed?: number | undefined;
1774
+ };
1775
+ }, "id" | "type"> | Omit<{
1776
+ readonly id: string;
1777
+ readonly metadata?: {
1778
+ readonly [x: string]: unknown;
1779
+ } | undefined;
1780
+ readonly type: "assistant";
1781
+ readonly agent: string;
1782
+ readonly model: {
1783
+ readonly id: string;
1784
+ readonly providerID: string;
1785
+ readonly variant?: string | undefined;
1786
+ };
1787
+ readonly content: readonly ({
1788
+ readonly type: "tool";
1789
+ readonly id: string;
1790
+ readonly name: string;
1791
+ readonly executed?: boolean | undefined;
1792
+ readonly native?: {
1793
+ readonly [x: string]: unknown;
1794
+ } | undefined;
1795
+ readonly state: {
1796
+ readonly status: "streaming";
1797
+ readonly input: string;
1798
+ } | {
1799
+ readonly status: "running";
1800
+ readonly input: {
1801
+ readonly [x: string]: unknown;
1802
+ };
1803
+ readonly metadata: {
1804
+ readonly [x: string]: Schema.Json;
1805
+ };
1806
+ } | {
1807
+ readonly status: "completed";
1808
+ readonly input: {
1809
+ readonly [x: string]: unknown;
1810
+ };
1811
+ readonly content: readonly [{
1812
+ readonly type: "text";
1813
+ readonly text: string;
1814
+ } | {
1815
+ readonly type: "file";
1816
+ readonly uri: string;
1817
+ readonly mime: string;
1818
+ readonly name?: string | undefined;
1819
+ }, ...({
1820
+ readonly type: "text";
1821
+ readonly text: string;
1822
+ } | {
1823
+ readonly type: "file";
1824
+ readonly uri: string;
1825
+ readonly mime: string;
1826
+ readonly name?: string | undefined;
1827
+ })[]];
1828
+ readonly metadata?: {
1829
+ readonly [x: string]: Schema.Json;
1830
+ } | undefined;
1831
+ } | {
1832
+ readonly status: "error";
1833
+ readonly input: {
1834
+ readonly [x: string]: unknown;
1835
+ };
1836
+ readonly error: {
1837
+ readonly type: string;
1838
+ readonly message: string;
1839
+ readonly status?: number | undefined;
1840
+ readonly response?: {
1841
+ readonly body: string;
1842
+ } | undefined;
1843
+ readonly retryAfterMs?: number | undefined;
1844
+ };
1845
+ readonly content?: readonly [{
1846
+ readonly type: "text";
1847
+ readonly text: string;
1848
+ } | {
1849
+ readonly type: "file";
1850
+ readonly uri: string;
1851
+ readonly mime: string;
1852
+ readonly name?: string | undefined;
1853
+ }, ...({
1854
+ readonly type: "text";
1855
+ readonly text: string;
1856
+ } | {
1857
+ readonly type: "file";
1858
+ readonly uri: string;
1859
+ readonly mime: string;
1860
+ readonly name?: string | undefined;
1861
+ })[]] | undefined;
1862
+ readonly metadata?: {
1863
+ readonly [x: string]: Schema.Json;
1864
+ } | undefined;
1865
+ };
1866
+ readonly time: {
1867
+ readonly created: number;
1868
+ readonly ran?: number | undefined;
1869
+ readonly completed?: number | undefined;
1870
+ };
1871
+ } | {
1872
+ readonly type: "text";
1873
+ readonly text: string;
1874
+ readonly native?: {
1875
+ readonly [x: string]: unknown;
1876
+ } | undefined;
1877
+ } | {
1878
+ readonly type: "reasoning";
1879
+ readonly text: string;
1880
+ readonly native?: {
1881
+ readonly [x: string]: unknown;
1882
+ } | undefined;
1883
+ readonly time?: {
1884
+ readonly created: number;
1885
+ readonly completed?: number | undefined;
1886
+ } | undefined;
1887
+ })[];
1888
+ readonly snapshot?: {
1889
+ readonly start?: string | undefined;
1890
+ readonly end?: string | undefined;
1891
+ readonly files?: readonly string[] | undefined;
1892
+ } | undefined;
1893
+ readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
1894
+ readonly rawFinish?: string | undefined;
1895
+ readonly native?: {
1896
+ readonly [x: string]: unknown;
1897
+ } | undefined;
1898
+ readonly cost?: number | undefined;
1899
+ readonly tokens?: {
1900
+ readonly input: number;
1901
+ readonly output: number;
1902
+ readonly reasoning: number;
1903
+ readonly cache: {
1904
+ readonly read: number;
1905
+ readonly write: number;
1906
+ };
1907
+ } | undefined;
1908
+ readonly error?: {
1909
+ readonly type: string;
1910
+ readonly message: string;
1911
+ readonly status?: number | undefined;
1912
+ readonly response?: {
1913
+ readonly body: string;
1914
+ } | undefined;
1915
+ readonly retryAfterMs?: number | undefined;
1916
+ } | undefined;
1917
+ readonly retry?: {
1918
+ readonly attempt: number;
1919
+ readonly at: number;
1920
+ readonly error: {
1921
+ readonly type: string;
1922
+ readonly message: string;
1923
+ readonly status?: number | undefined;
1924
+ readonly response?: {
1925
+ readonly body: string;
1926
+ } | undefined;
1927
+ readonly retryAfterMs?: number | undefined;
1928
+ };
1929
+ } | undefined;
1930
+ readonly time: {
1931
+ readonly created: number;
1932
+ readonly streamed?: number | undefined;
1933
+ readonly completed?: number | undefined;
1934
+ };
1935
+ }, "id" | "type"> | Omit<{
1936
+ readonly id: string;
1937
+ readonly metadata?: {
1938
+ readonly [x: string]: unknown;
1939
+ } | undefined;
1940
+ readonly time: {
1941
+ readonly created: number;
1942
+ };
1943
+ readonly type: "compaction";
1944
+ readonly status: "running";
1945
+ readonly reason: "auto" | "manual";
1946
+ readonly summary: string;
1947
+ }, "id" | "type"> | Omit<{
1948
+ readonly id: string;
1949
+ readonly metadata?: {
1950
+ readonly [x: string]: unknown;
1951
+ } | undefined;
1952
+ readonly time: {
1953
+ readonly created: number;
1954
+ };
1955
+ readonly type: "compaction";
1956
+ readonly cost?: number | undefined;
1957
+ readonly tokens?: {
1958
+ readonly input: number;
1959
+ readonly output: number;
1960
+ readonly reasoning: number;
1961
+ readonly cache: {
1962
+ readonly read: number;
1963
+ readonly write: number;
1964
+ };
1965
+ } | undefined;
1966
+ readonly status: "completed";
1967
+ readonly reason: "auto" | "manual";
1968
+ readonly model?: {
1969
+ readonly id: string;
1970
+ readonly providerID: string;
1971
+ readonly variant?: string | undefined;
1972
+ } | undefined;
1973
+ readonly native?: {
1974
+ readonly [x: string]: unknown;
1975
+ } | undefined;
1976
+ readonly summary: string;
1977
+ }, "id" | "type"> | Omit<{
1978
+ readonly id: string;
1979
+ readonly metadata?: {
1980
+ readonly [x: string]: unknown;
1981
+ } | undefined;
1982
+ readonly time: {
1983
+ readonly created: number;
1984
+ };
1985
+ readonly type: "compaction";
1986
+ readonly cost?: number | undefined;
1987
+ readonly tokens?: {
1988
+ readonly input: number;
1989
+ readonly output: number;
1990
+ readonly reasoning: number;
1991
+ readonly cache: {
1992
+ readonly read: number;
1993
+ readonly write: number;
1994
+ };
1995
+ } | undefined;
1996
+ readonly status: "failed";
1997
+ readonly reason: "auto" | "manual";
1998
+ readonly error: {
1999
+ readonly type: string;
2000
+ readonly message: string;
2001
+ readonly status?: number | undefined;
2002
+ readonly response?: {
2003
+ readonly body: string;
2004
+ } | undefined;
2005
+ readonly retryAfterMs?: number | undefined;
2006
+ };
2007
+ }, "id" | "type"> | Omit<{
2008
+ readonly id: string;
2009
+ readonly metadata?: {
2010
+ readonly [x: string]: unknown;
2011
+ } | undefined;
2012
+ readonly time: {
2013
+ readonly created: number;
2014
+ };
2015
+ readonly type: "idle";
2016
+ readonly outcome: "failed" | "interrupted" | "succeeded";
2017
+ readonly error?: {
2018
+ readonly type: string;
2019
+ readonly message: string;
2020
+ readonly status?: number | undefined;
2021
+ readonly response?: {
2022
+ readonly body: string;
2023
+ } | undefined;
2024
+ readonly retryAfterMs?: number | undefined;
2025
+ } | undefined;
2026
+ }, "id" | "type"> | Omit<{
2027
+ readonly id: string;
2028
+ readonly metadata?: {
2029
+ readonly [x: string]: unknown;
2030
+ } | undefined;
2031
+ readonly time: {
2032
+ readonly created: number;
2033
+ };
2034
+ readonly text: string;
2035
+ readonly agents?: readonly {
2036
+ readonly name: string;
2037
+ readonly mention?: {
2038
+ readonly start: number;
2039
+ readonly end: number;
2040
+ readonly text: string;
2041
+ } | undefined;
2042
+ }[] | undefined;
2043
+ readonly skills?: readonly {
2044
+ readonly id: string;
2045
+ readonly name: string;
2046
+ readonly text?: string | undefined;
2047
+ readonly mention?: {
2048
+ readonly start: number;
2049
+ readonly end: number;
2050
+ readonly text: string;
2051
+ } | undefined;
2052
+ }[] | undefined;
2053
+ readonly type: "user";
2054
+ readonly files?: readonly ({
2055
+ readonly data: string;
2056
+ readonly mime: string;
2057
+ readonly source: {
2058
+ readonly type: "inline";
2059
+ } | {
2060
+ readonly type: "uri";
2061
+ readonly uri: string;
2062
+ };
2063
+ readonly name?: string | undefined;
2064
+ readonly description?: string | undefined;
2065
+ readonly mention?: {
2066
+ readonly start: number;
2067
+ readonly end: number;
2068
+ readonly text: string;
2069
+ } | undefined;
2070
+ } | {
2071
+ readonly mime: string;
2072
+ readonly source: {
2073
+ readonly type: "inline";
2074
+ } | {
2075
+ readonly type: "uri";
2076
+ readonly uri: string;
2077
+ };
2078
+ readonly name?: string | undefined;
2079
+ readonly description?: string | undefined;
2080
+ readonly mention?: {
2081
+ readonly start: number;
2082
+ readonly end: number;
2083
+ readonly text: string;
2084
+ } | undefined;
2085
+ readonly uri: string;
2086
+ })[] | undefined;
2087
+ }, "id" | "type">;
2088
+ id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2089
+ seq: number;
2090
+ session_id: string & import("effect/Brand").Brand<"SessionID">;
2091
+ time_created: number;
2092
+ time_updated: number;
2093
+ type: "agent-switched" | "assistant" | "compaction" | "idle" | "location-switched" | "model-switched" | "shell" | "skill" | "synthetic" | "system" | "user";
2094
+ }[]) => Effect.Effect<({
2095
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2096
+ readonly metadata?: {
2097
+ readonly [x: string]: unknown;
2098
+ } | undefined;
2099
+ readonly time: {
2100
+ readonly created: import("effect/DateTime").Utc;
2101
+ };
2102
+ readonly type: "agent-switched";
2103
+ readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
2104
+ readonly previous?: (string & import("effect/Brand").Brand<"Agent.ID">) | undefined;
2105
+ } | {
2106
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2107
+ readonly metadata?: {
2108
+ readonly [x: string]: unknown;
2109
+ } | undefined;
2110
+ readonly time: {
2111
+ readonly created: import("effect/DateTime").Utc;
2112
+ };
2113
+ readonly type: "model-switched";
2114
+ readonly model: {
2115
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2116
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2117
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2118
+ };
2119
+ readonly previous?: {
2120
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2121
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2122
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2123
+ } | undefined;
2124
+ } | {
2125
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2126
+ readonly metadata?: {
2127
+ readonly [x: string]: unknown;
2128
+ } | undefined;
2129
+ readonly time: {
2130
+ readonly created: import("effect/DateTime").Utc;
2131
+ };
2132
+ readonly type: "location-switched";
2133
+ readonly location: {
2134
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2135
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2136
+ };
2137
+ readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
2138
+ readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
2139
+ readonly previous?: {
2140
+ readonly location: {
2141
+ readonly directory: string & import("effect/Brand").Brand<"AbsolutePath">;
2142
+ readonly workspaceID?: (string & import("effect/Brand").Brand<"Workspace.ID">) | undefined;
2143
+ };
2144
+ readonly projectID?: (string & import("effect/Brand").Brand<"Project.ID">) | undefined;
2145
+ readonly subpath?: (string & import("effect/Brand").Brand<"RelativePath">) | undefined;
2146
+ } | undefined;
2147
+ } | {
2148
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2149
+ readonly metadata?: {
2150
+ readonly [x: string]: unknown;
2151
+ } | undefined;
2152
+ readonly time: {
2153
+ readonly created: import("effect/DateTime").Utc;
2154
+ };
2155
+ readonly text: string;
2156
+ readonly agents?: readonly {
2157
+ readonly name: string;
2158
+ readonly mention?: {
2159
+ readonly start: number;
2160
+ readonly end: number;
2161
+ readonly text: string;
2162
+ } | undefined;
2163
+ }[] | undefined;
2164
+ readonly skills?: readonly {
2165
+ readonly id: string & import("effect/Brand").Brand<"Skill.ID">;
2166
+ readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
2167
+ readonly text?: string | undefined;
2168
+ readonly mention?: {
2169
+ readonly start: number;
2170
+ readonly end: number;
2171
+ readonly text: string;
2172
+ } | undefined;
2173
+ }[] | undefined;
2174
+ readonly type: "user";
2175
+ readonly files?: readonly ({
2176
+ readonly data: string;
2177
+ readonly mime: string;
2178
+ readonly source: {
2179
+ readonly type: "inline";
2180
+ } | {
2181
+ readonly type: "uri";
2182
+ readonly uri: string;
2183
+ };
2184
+ readonly name?: string | undefined;
2185
+ readonly description?: string | undefined;
2186
+ readonly mention?: {
2187
+ readonly start: number;
2188
+ readonly end: number;
2189
+ readonly text: string;
2190
+ } | undefined;
2191
+ } | {
2192
+ readonly mime: string;
2193
+ readonly source: {
2194
+ readonly type: "inline";
2195
+ } | {
2196
+ readonly type: "uri";
2197
+ readonly uri: string;
2198
+ };
2199
+ readonly name?: string | undefined;
2200
+ readonly description?: string | undefined;
2201
+ readonly mention?: {
2202
+ readonly start: number;
2203
+ readonly end: number;
2204
+ readonly text: string;
2205
+ } | undefined;
2206
+ readonly uri: string;
2207
+ readonly bytes?: number | undefined;
2208
+ readonly width?: number | undefined;
2209
+ readonly height?: number | undefined;
2210
+ })[] | undefined;
2211
+ } | {
2212
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2213
+ readonly metadata?: {
2214
+ readonly [x: string]: unknown;
2215
+ } | undefined;
2216
+ readonly time: {
2217
+ readonly created: import("effect/DateTime").Utc;
2218
+ };
2219
+ readonly text: string;
2220
+ readonly description?: string | undefined;
2221
+ readonly type: "synthetic";
2222
+ } | {
2223
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2224
+ readonly metadata?: {
2225
+ readonly [x: string]: unknown;
2226
+ } | undefined;
2227
+ readonly time: {
2228
+ readonly created: import("effect/DateTime").Utc;
2229
+ };
2230
+ readonly type: "system";
2231
+ readonly text: string;
2232
+ readonly description?: string | undefined;
2233
+ } | {
2234
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2235
+ readonly metadata?: {
2236
+ readonly [x: string]: unknown;
2237
+ } | undefined;
2238
+ readonly time: {
2239
+ readonly created: import("effect/DateTime").Utc;
2240
+ };
2241
+ readonly type: "skill";
2242
+ readonly skill: string & import("effect/Brand").Brand<"Skill.ID">;
2243
+ readonly name: string & import("effect/Brand").Brand<"Skill.Name">;
2244
+ readonly text: string;
2245
+ } | {
2246
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2247
+ readonly metadata?: {
2248
+ readonly [x: string]: unknown;
2249
+ } | undefined;
2250
+ readonly type: "shell";
2251
+ readonly shellID: string & import("effect/Brand").Brand<"Shell.ID">;
2252
+ readonly command: string;
2253
+ readonly status: "exited" | "killed" | "running" | "timeout";
2254
+ readonly exit?: number | undefined;
2255
+ readonly output?: {
2256
+ readonly output: string;
2257
+ readonly cursor: number;
2258
+ readonly size: number;
2259
+ readonly truncated: boolean;
2260
+ } | undefined;
2261
+ readonly time: {
2262
+ readonly created: import("effect/DateTime").Utc;
2263
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2264
+ };
2265
+ } | {
2266
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2267
+ readonly metadata?: {
2268
+ readonly [x: string]: unknown;
2269
+ } | undefined;
2270
+ readonly type: "assistant";
2271
+ readonly agent: string & import("effect/Brand").Brand<"Agent.ID">;
2272
+ readonly model: {
2273
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2274
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2275
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2276
+ };
2277
+ readonly content: readonly ({
2278
+ readonly type: "tool";
2279
+ readonly id: string;
2280
+ readonly name: string;
2281
+ readonly executed?: boolean | undefined;
2282
+ readonly native?: {
2283
+ readonly [x: string]: unknown;
2284
+ } | undefined;
2285
+ readonly state: {
2286
+ readonly status: "streaming";
2287
+ readonly input: string;
2288
+ } | {
2289
+ readonly status: "running";
2290
+ readonly input: {
2291
+ readonly [x: string]: unknown;
2292
+ };
2293
+ readonly metadata: {
2294
+ readonly [x: string]: Schema.Json;
2295
+ };
2296
+ } | {
2297
+ readonly status: "completed";
2298
+ readonly input: {
2299
+ readonly [x: string]: unknown;
2300
+ };
2301
+ readonly content: readonly [{
2302
+ readonly type: "text";
2303
+ readonly text: string;
2304
+ } | {
2305
+ readonly type: "file";
2306
+ readonly uri: string;
2307
+ readonly mime: string;
2308
+ readonly name?: string | undefined;
2309
+ }, ...({
2310
+ readonly type: "text";
2311
+ readonly text: string;
2312
+ } | {
2313
+ readonly type: "file";
2314
+ readonly uri: string;
2315
+ readonly mime: string;
2316
+ readonly name?: string | undefined;
2317
+ })[]];
2318
+ readonly metadata?: {
2319
+ readonly [x: string]: Schema.Json;
2320
+ } | undefined;
2321
+ } | {
2322
+ readonly status: "error";
2323
+ readonly input: {
2324
+ readonly [x: string]: unknown;
2325
+ };
2326
+ readonly error: {
2327
+ readonly type: string;
2328
+ readonly message: string;
2329
+ readonly status?: number | undefined;
2330
+ readonly response?: {
2331
+ readonly body: string;
2332
+ } | undefined;
2333
+ readonly retryAfterMs?: number | undefined;
2334
+ };
2335
+ readonly content?: readonly [{
2336
+ readonly type: "text";
2337
+ readonly text: string;
2338
+ } | {
2339
+ readonly type: "file";
2340
+ readonly uri: string;
2341
+ readonly mime: string;
2342
+ readonly name?: string | undefined;
2343
+ }, ...({
2344
+ readonly type: "text";
2345
+ readonly text: string;
2346
+ } | {
2347
+ readonly type: "file";
2348
+ readonly uri: string;
2349
+ readonly mime: string;
2350
+ readonly name?: string | undefined;
2351
+ })[]] | undefined;
2352
+ readonly metadata?: {
2353
+ readonly [x: string]: Schema.Json;
2354
+ } | undefined;
2355
+ };
2356
+ readonly time: {
2357
+ readonly created: import("effect/DateTime").Utc;
2358
+ readonly ran?: import("effect/DateTime").Utc | undefined;
2359
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2360
+ };
2361
+ } | {
2362
+ readonly type: "text";
2363
+ readonly text: string;
2364
+ readonly native?: {
2365
+ readonly [x: string]: unknown;
2366
+ } | undefined;
2367
+ } | {
2368
+ readonly type: "reasoning";
2369
+ readonly text: string;
2370
+ readonly native?: {
2371
+ readonly [x: string]: unknown;
2372
+ } | undefined;
2373
+ readonly time?: {
2374
+ readonly created: import("effect/DateTime").Utc;
2375
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2376
+ } | undefined;
2377
+ })[];
2378
+ readonly snapshot?: {
2379
+ readonly start?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
2380
+ readonly end?: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
2381
+ readonly files?: readonly (string & import("effect/Brand").Brand<"RelativePath">)[] | undefined;
2382
+ } | undefined;
2383
+ readonly finish?: "content-filter" | "error" | "length" | "stop" | "tool-calls" | "unknown" | undefined;
2384
+ readonly rawFinish?: string | undefined;
2385
+ readonly native?: {
2386
+ readonly [x: string]: unknown;
2387
+ } | undefined;
2388
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2389
+ readonly tokens?: {
2390
+ readonly input: number;
2391
+ readonly output: number;
2392
+ readonly reasoning: number;
2393
+ readonly cache: {
2394
+ readonly read: number;
2395
+ readonly write: number;
2396
+ };
2397
+ } | undefined;
2398
+ readonly error?: {
2399
+ readonly type: string;
2400
+ readonly message: string;
2401
+ readonly status?: number | undefined;
2402
+ readonly response?: {
2403
+ readonly body: string;
2404
+ } | undefined;
2405
+ readonly retryAfterMs?: number | undefined;
2406
+ } | undefined;
2407
+ readonly retry?: {
2408
+ readonly attempt: number;
2409
+ readonly at: import("effect/DateTime").Utc;
2410
+ readonly error: {
2411
+ readonly type: string;
2412
+ readonly message: string;
2413
+ readonly status?: number | undefined;
2414
+ readonly response?: {
2415
+ readonly body: string;
2416
+ } | undefined;
2417
+ readonly retryAfterMs?: number | undefined;
2418
+ };
2419
+ } | undefined;
2420
+ readonly time: {
2421
+ readonly created: import("effect/DateTime").Utc;
2422
+ readonly streamed?: import("effect/DateTime").Utc | undefined;
2423
+ readonly completed?: import("effect/DateTime").Utc | undefined;
2424
+ };
2425
+ } | {
2426
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2427
+ readonly metadata?: {
2428
+ readonly [x: string]: unknown;
2429
+ } | undefined;
2430
+ readonly time: {
2431
+ readonly created: import("effect/DateTime").Utc;
2432
+ };
2433
+ readonly type: "compaction";
2434
+ readonly status: "running";
2435
+ readonly reason: "auto" | "manual";
2436
+ readonly summary: string;
2437
+ } | {
2438
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2439
+ readonly metadata?: {
2440
+ readonly [x: string]: unknown;
2441
+ } | undefined;
2442
+ readonly time: {
2443
+ readonly created: import("effect/DateTime").Utc;
2444
+ };
2445
+ readonly type: "compaction";
2446
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2447
+ readonly tokens?: {
2448
+ readonly input: number;
2449
+ readonly output: number;
2450
+ readonly reasoning: number;
2451
+ readonly cache: {
2452
+ readonly read: number;
2453
+ readonly write: number;
2454
+ };
2455
+ } | undefined;
2456
+ readonly status: "completed";
2457
+ readonly reason: "auto" | "manual";
2458
+ readonly model?: {
2459
+ readonly id: string & import("effect/Brand").Brand<"Model.ID">;
2460
+ readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
2461
+ readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
2462
+ } | undefined;
2463
+ readonly native?: {
2464
+ readonly [x: string]: unknown;
2465
+ } | undefined;
2466
+ readonly summary: string;
2467
+ } | {
2468
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2469
+ readonly metadata?: {
2470
+ readonly [x: string]: unknown;
2471
+ } | undefined;
2472
+ readonly time: {
2473
+ readonly created: import("effect/DateTime").Utc;
2474
+ };
2475
+ readonly type: "compaction";
2476
+ readonly cost?: (number & import("effect/Brand").Brand<"Money.USD">) | undefined;
2477
+ readonly tokens?: {
2478
+ readonly input: number;
2479
+ readonly output: number;
2480
+ readonly reasoning: number;
2481
+ readonly cache: {
2482
+ readonly read: number;
2483
+ readonly write: number;
2484
+ };
2485
+ } | undefined;
2486
+ readonly status: "failed";
2487
+ readonly reason: "auto" | "manual";
2488
+ readonly error: {
2489
+ readonly type: string;
2490
+ readonly message: string;
2491
+ readonly status?: number | undefined;
2492
+ readonly response?: {
2493
+ readonly body: string;
2494
+ } | undefined;
2495
+ readonly retryAfterMs?: number | undefined;
2496
+ };
2497
+ } | {
2498
+ readonly id: string & import("effect/Brand").Brand<"Session.Message.ID">;
2499
+ readonly metadata?: {
2500
+ readonly [x: string]: unknown;
2501
+ } | undefined;
2502
+ readonly time: {
2503
+ readonly created: import("effect/DateTime").Utc;
2504
+ };
2505
+ readonly type: "idle";
2506
+ readonly outcome: "failed" | "interrupted" | "succeeded";
2507
+ readonly error?: {
2508
+ readonly type: string;
2509
+ readonly message: string;
2510
+ readonly status?: number | undefined;
2511
+ readonly response?: {
2512
+ readonly body: string;
2513
+ } | undefined;
2514
+ readonly retryAfterMs?: number | undefined;
2515
+ } | undefined;
2516
+ })[], MessageDecodeError, never>;
2517
+ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
2518
+ $client: import("effect/sql/SqlClient").SqlClient;
2519
+ }, sessionID: string & import("effect/Brand").Brand<"SessionID">, boundary: Boundary) => Effect.Effect<SessionMessage.Info[], MessageDecodeError, never>;
2520
+ export declare const entriesForRunner: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
2521
+ $client: import("effect/sql/SqlClient").SqlClient;
2522
+ }, sessionID: string & import("effect/Brand").Brand<"SessionID">, instructions: Instructions.List, boundary: Boundary) => Effect.Effect<{
2523
+ initial: string;
2524
+ entries: readonly {
2525
+ readonly seq: number;
2526
+ readonly message: SessionMessage.Info;
2527
+ }[];
2528
+ }, never, never>;
2529
+ export declare const preview: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
2530
+ $client: import("effect/sql/SqlClient").SqlClient;
2531
+ }, sessionID: string & import("effect/Brand").Brand<"SessionID">, instructions: Instructions.List, boundary: Boundary) => Effect.Effect<{
2532
+ initial: string;
2533
+ messages: SessionMessage.Info[];
2534
+ instructionUpdate: string;
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>;
1683
2946
  /** The id and text of the session's first user message. */
1684
2947
  export declare const firstUserMessage: (db: import("../database/drizzle.js").EffectSQLiteDatabase<import("drizzle-orm").EmptyRelations> & {
1685
2948
  $client: import("effect/sql/SqlClient").SqlClient;