niceeval 0.12.1 → 0.12.2-canary.31

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 (3266) hide show
  1. package/INDEX.md +33 -27
  2. package/bin/niceeval.js +8 -6
  3. package/dist/agents/ai-sdk-otel.cjs +54 -0
  4. package/dist/agents/ai-sdk-otel.cjs.map +1 -0
  5. package/dist/agents/ai-sdk-otel.d.cts +27 -0
  6. package/dist/agents/ai-sdk-otel.d.mts +27 -0
  7. package/dist/agents/ai-sdk-otel.d.ts +27 -0
  8. package/dist/agents/ai-sdk-otel.js +6 -0
  9. package/dist/agents/ai-sdk-otel.js.map +1 -0
  10. package/dist/agents/ai-sdk-otel.mjs +6 -0
  11. package/dist/agents/ai-sdk-otel.mjs.map +1 -0
  12. package/dist/agents/ai-sdk.cjs +412 -0
  13. package/dist/agents/ai-sdk.cjs.map +1 -0
  14. package/dist/agents/ai-sdk.d.cts +214 -0
  15. package/dist/agents/ai-sdk.d.mts +214 -0
  16. package/dist/agents/ai-sdk.d.ts +214 -0
  17. package/dist/agents/ai-sdk.js +8 -0
  18. package/dist/agents/ai-sdk.js.map +1 -0
  19. package/dist/agents/bub-install-spec.cjs +42 -0
  20. package/dist/agents/bub-install-spec.cjs.map +1 -0
  21. package/dist/agents/bub-install-spec.d.cts +22 -0
  22. package/dist/agents/bub-install-spec.d.mts +22 -0
  23. package/dist/agents/bub-install-spec.d.ts +22 -0
  24. package/dist/agents/bub-install-spec.js +20 -0
  25. package/dist/agents/bub-install-spec.js.map +1 -0
  26. package/dist/agents/bub.cjs +204 -0
  27. package/dist/agents/bub.cjs.map +1 -0
  28. package/dist/agents/bub.d.cts +57 -0
  29. package/dist/agents/bub.d.mts +57 -0
  30. package/dist/agents/bub.d.ts +57 -0
  31. package/dist/agents/bub.js +7 -0
  32. package/dist/agents/bub.js.map +1 -0
  33. package/dist/agents/builtin.cjs +21 -0
  34. package/dist/agents/builtin.cjs.map +1 -0
  35. package/dist/agents/builtin.d.cts +2 -0
  36. package/dist/agents/builtin.d.mts +2 -0
  37. package/dist/agents/builtin.d.ts +2 -0
  38. package/dist/agents/builtin.js +6 -0
  39. package/dist/agents/builtin.js.map +1 -0
  40. package/dist/agents/cache-marker.cjs +6 -0
  41. package/dist/agents/cache-marker.cjs.map +1 -0
  42. package/dist/agents/cache-marker.d.cts +5 -0
  43. package/dist/agents/cache-marker.d.mts +5 -0
  44. package/dist/agents/cache-marker.js +6 -2
  45. package/dist/agents/cache-marker.js.map +1 -0
  46. package/dist/agents/claude-code.cjs +372 -0
  47. package/dist/agents/claude-code.cjs.map +1 -0
  48. package/dist/agents/claude-code.d.cts +91 -0
  49. package/dist/agents/claude-code.d.mts +91 -0
  50. package/dist/agents/claude-code.d.ts +91 -0
  51. package/dist/agents/claude-code.js +9 -0
  52. package/dist/agents/claude-code.js.map +1 -0
  53. package/dist/agents/codex.cjs +658 -0
  54. package/dist/agents/codex.cjs.map +1 -0
  55. package/dist/agents/codex.d.cts +96 -0
  56. package/dist/agents/codex.d.mts +96 -0
  57. package/dist/agents/codex.d.ts +96 -0
  58. package/dist/agents/codex.js +9 -0
  59. package/dist/agents/codex.js.map +1 -0
  60. package/dist/agents/coding-cli-versions.cjs +71 -0
  61. package/dist/agents/coding-cli-versions.cjs.map +1 -0
  62. package/dist/agents/coding-cli-versions.d.cts +40 -0
  63. package/dist/agents/coding-cli-versions.d.mts +40 -0
  64. package/dist/agents/coding-cli-versions.d.ts +40 -0
  65. package/dist/agents/coding-cli-versions.js +22 -0
  66. package/dist/agents/coding-cli-versions.js.map +1 -0
  67. package/dist/agents/hermes.cjs +237 -0
  68. package/dist/agents/hermes.cjs.map +1 -0
  69. package/dist/agents/hermes.d.cts +17 -0
  70. package/dist/agents/hermes.d.mts +17 -0
  71. package/dist/agents/hermes.d.ts +17 -0
  72. package/dist/agents/hermes.js +7 -0
  73. package/dist/agents/hermes.js.map +1 -0
  74. package/dist/agents/index.cjs +92 -0
  75. package/dist/agents/index.cjs.map +1 -0
  76. package/dist/agents/index.d.cts +44 -0
  77. package/dist/agents/index.d.mts +44 -0
  78. package/dist/agents/index.d.ts +44 -0
  79. package/dist/agents/index.js +86 -0
  80. package/dist/agents/index.js.map +1 -0
  81. package/dist/agents/index.mjs +86 -0
  82. package/dist/agents/index.mjs.map +1 -0
  83. package/dist/agents/langgraph.cjs +426 -0
  84. package/dist/agents/langgraph.cjs.map +1 -0
  85. package/dist/agents/langgraph.d.cts +43 -0
  86. package/dist/agents/langgraph.d.mts +43 -0
  87. package/dist/agents/langgraph.d.ts +43 -0
  88. package/dist/agents/langgraph.js +6 -0
  89. package/dist/agents/langgraph.js.map +1 -0
  90. package/dist/agents/marketplace.cjs +81 -0
  91. package/dist/agents/marketplace.cjs.map +1 -0
  92. package/dist/agents/marketplace.d.cts +27 -0
  93. package/dist/agents/marketplace.d.mts +27 -0
  94. package/dist/agents/marketplace.d.ts +27 -0
  95. package/dist/agents/marketplace.js +8 -0
  96. package/dist/agents/marketplace.js.map +1 -0
  97. package/dist/agents/mcp.cjs +28 -0
  98. package/dist/agents/mcp.cjs.map +1 -0
  99. package/dist/agents/mcp.d.cts +7 -0
  100. package/dist/agents/mcp.d.mts +7 -0
  101. package/dist/agents/mcp.d.ts +7 -0
  102. package/dist/agents/mcp.js +10 -0
  103. package/dist/agents/mcp.js.map +1 -0
  104. package/dist/agents/native-config.cjs +288 -0
  105. package/dist/agents/native-config.cjs.map +1 -0
  106. package/dist/agents/native-config.d.cts +71 -0
  107. package/dist/agents/native-config.d.mts +71 -0
  108. package/dist/agents/native-config.d.ts +71 -0
  109. package/dist/agents/native-config.js +18 -0
  110. package/dist/agents/native-config.js.map +1 -0
  111. package/dist/agents/npm-staged.cjs +378 -0
  112. package/dist/agents/npm-staged.cjs.map +1 -0
  113. package/dist/agents/npm-staged.d.cts +52 -0
  114. package/dist/agents/npm-staged.d.mts +52 -0
  115. package/dist/agents/npm-staged.d.ts +52 -0
  116. package/dist/agents/npm-staged.js +12 -0
  117. package/dist/agents/npm-staged.js.map +1 -0
  118. package/dist/agents/openai-compat.cjs +158 -0
  119. package/dist/agents/openai-compat.cjs.map +1 -0
  120. package/dist/agents/openai-compat.d.cts +88 -0
  121. package/dist/agents/openai-compat.d.mts +88 -0
  122. package/dist/agents/openai-compat.d.ts +88 -0
  123. package/dist/agents/openai-compat.js +12 -0
  124. package/dist/agents/openai-compat.js.map +1 -0
  125. package/dist/agents/openclaw.cjs +236 -0
  126. package/dist/agents/openclaw.cjs.map +1 -0
  127. package/dist/agents/openclaw.d.cts +26 -0
  128. package/dist/agents/openclaw.d.mts +26 -0
  129. package/dist/agents/openclaw.d.ts +26 -0
  130. package/dist/agents/openclaw.js +7 -0
  131. package/dist/agents/openclaw.js.map +1 -0
  132. package/dist/agents/opencode.cjs +228 -0
  133. package/dist/agents/opencode.cjs.map +1 -0
  134. package/dist/agents/opencode.d.cts +17 -0
  135. package/dist/agents/opencode.d.mts +17 -0
  136. package/dist/agents/opencode.d.ts +17 -0
  137. package/dist/agents/opencode.js +7 -0
  138. package/dist/agents/opencode.js.map +1 -0
  139. package/dist/agents/post-setup.cjs +119 -0
  140. package/dist/agents/post-setup.cjs.map +1 -0
  141. package/dist/agents/post-setup.d.cts +20 -0
  142. package/dist/agents/post-setup.d.mts +20 -0
  143. package/dist/agents/post-setup.d.ts +20 -0
  144. package/dist/agents/post-setup.js +12 -0
  145. package/dist/agents/post-setup.js.map +1 -0
  146. package/dist/agents/provisioner.cjs +446 -0
  147. package/dist/agents/provisioner.cjs.map +1 -0
  148. package/dist/agents/provisioner.d.cts +116 -0
  149. package/dist/agents/provisioner.d.mts +116 -0
  150. package/dist/agents/provisioner.d.ts +8 -6
  151. package/dist/agents/provisioner.js +32 -0
  152. package/dist/agents/provisioner.js.map +1 -0
  153. package/dist/agents/sdk-streams.cjs +447 -0
  154. package/dist/agents/sdk-streams.cjs.map +1 -0
  155. package/dist/agents/sdk-streams.d.cts +135 -0
  156. package/dist/agents/sdk-streams.d.mts +135 -0
  157. package/dist/agents/sdk-streams.d.ts +135 -0
  158. package/dist/agents/sdk-streams.js +12 -0
  159. package/dist/agents/sdk-streams.js.map +1 -0
  160. package/dist/agents/session-slot.cjs +8 -0
  161. package/dist/agents/session-slot.cjs.map +1 -0
  162. package/dist/agents/session-slot.d.cts +12 -0
  163. package/dist/agents/session-slot.d.mts +12 -0
  164. package/dist/agents/session-slot.js +6 -0
  165. package/dist/agents/session-slot.js.map +1 -0
  166. package/dist/agents/shared.cjs +202 -0
  167. package/dist/agents/shared.cjs.map +1 -0
  168. package/dist/agents/shared.d.cts +95 -0
  169. package/dist/agents/shared.d.mts +95 -0
  170. package/dist/agents/shared.d.ts +95 -0
  171. package/dist/agents/shared.js +6 -0
  172. package/dist/agents/shared.js.map +1 -0
  173. package/dist/agents/skills.cjs +262 -0
  174. package/dist/agents/skills.cjs.map +1 -0
  175. package/dist/agents/skills.d.cts +60 -0
  176. package/dist/agents/skills.d.mts +60 -0
  177. package/dist/agents/skills.d.ts +60 -0
  178. package/dist/agents/skills.js +22 -0
  179. package/dist/agents/skills.js.map +1 -0
  180. package/dist/agents/streaming.cjs +142 -0
  181. package/dist/agents/streaming.cjs.map +1 -0
  182. package/dist/agents/streaming.d.cts +82 -0
  183. package/dist/agents/streaming.d.mts +82 -0
  184. package/dist/agents/streaming.d.ts +82 -0
  185. package/dist/agents/streaming.js +8 -0
  186. package/dist/agents/streaming.js.map +1 -0
  187. package/dist/agents/types.cjs +5 -0
  188. package/dist/agents/types.cjs.map +1 -0
  189. package/dist/agents/types.d.cts +592 -0
  190. package/dist/agents/types.d.mts +592 -0
  191. package/dist/agents/types.d.ts +26 -20
  192. package/dist/agents/types.js +4 -2
  193. package/dist/agents/types.js.map +1 -0
  194. package/dist/agents/ui-message-stream.cjs +426 -0
  195. package/dist/agents/ui-message-stream.cjs.map +1 -0
  196. package/dist/agents/ui-message-stream.d.cts +68 -0
  197. package/dist/agents/ui-message-stream.d.mts +68 -0
  198. package/dist/agents/ui-message-stream.d.ts +68 -0
  199. package/dist/agents/ui-message-stream.js +6 -0
  200. package/dist/agents/ui-message-stream.js.map +1 -0
  201. package/dist/analysis/index.cjs +11 -0
  202. package/dist/analysis/index.cjs.map +1 -0
  203. package/dist/analysis/index.d.cts +2 -0
  204. package/dist/analysis/index.d.mts +2 -0
  205. package/dist/analysis/index.d.ts +2 -0
  206. package/dist/analysis/index.js +12 -0
  207. package/dist/analysis/index.js.map +1 -0
  208. package/dist/analysis/index.mjs +12 -0
  209. package/dist/analysis/index.mjs.map +1 -0
  210. package/dist/assertions/api.cjs +26 -0
  211. package/dist/assertions/api.cjs.map +1 -0
  212. package/dist/assertions/api.d.cts +395 -0
  213. package/dist/assertions/api.d.mts +395 -0
  214. package/dist/assertions/api.d.ts +395 -0
  215. package/dist/assertions/api.js +8 -0
  216. package/dist/assertions/api.js.map +1 -0
  217. package/dist/assertions/coverage.cjs +97 -0
  218. package/dist/assertions/coverage.cjs.map +1 -0
  219. package/dist/assertions/coverage.d.cts +23 -0
  220. package/dist/assertions/coverage.d.mts +23 -0
  221. package/dist/assertions/coverage.d.ts +1 -1
  222. package/dist/assertions/coverage.js +14 -94
  223. package/dist/assertions/coverage.js.map +1 -0
  224. package/dist/assertions/diff.cjs +249 -0
  225. package/dist/assertions/diff.cjs.map +1 -0
  226. package/dist/assertions/diff.d.cts +88 -0
  227. package/dist/assertions/diff.d.mts +88 -0
  228. package/dist/assertions/diff.d.ts +70 -2
  229. package/dist/assertions/diff.js +36 -116
  230. package/dist/assertions/diff.js.map +1 -0
  231. package/dist/assertions/display.cjs +79 -0
  232. package/dist/assertions/display.cjs.map +1 -0
  233. package/dist/assertions/display.d.cts +36 -0
  234. package/dist/assertions/display.d.mts +36 -0
  235. package/dist/assertions/display.d.ts +32 -32
  236. package/dist/assertions/display.js +14 -200
  237. package/dist/assertions/display.js.map +1 -0
  238. package/dist/assertions/identity.cjs +6 -0
  239. package/dist/assertions/identity.cjs.map +1 -0
  240. package/dist/assertions/identity.d.cts +4 -0
  241. package/dist/assertions/identity.d.mts +4 -0
  242. package/dist/assertions/identity.d.ts +4 -0
  243. package/dist/assertions/identity.js +6 -0
  244. package/dist/assertions/identity.js.map +1 -0
  245. package/dist/assertions/judge.cjs +342 -0
  246. package/dist/assertions/judge.cjs.map +1 -0
  247. package/dist/assertions/judge.d.cts +22 -0
  248. package/dist/assertions/judge.d.mts +22 -0
  249. package/dist/assertions/judge.d.ts +22 -0
  250. package/dist/assertions/judge.js +12 -0
  251. package/dist/assertions/judge.js.map +1 -0
  252. package/dist/assertions/limits.cjs +14 -0
  253. package/dist/assertions/limits.cjs.map +1 -0
  254. package/dist/assertions/limits.d.cts +10 -0
  255. package/dist/assertions/limits.d.mts +10 -0
  256. package/dist/assertions/limits.d.ts +10 -0
  257. package/dist/assertions/limits.js +6 -0
  258. package/dist/assertions/limits.js.map +1 -0
  259. package/dist/assertions/match.cjs +1314 -0
  260. package/dist/assertions/match.cjs.map +1 -0
  261. package/dist/assertions/match.d.cts +276 -0
  262. package/dist/assertions/match.d.mts +276 -0
  263. package/dist/assertions/match.d.ts +276 -0
  264. package/dist/assertions/match.js +82 -0
  265. package/dist/assertions/match.js.map +1 -0
  266. package/dist/assertions/record/attachment.cjs +448 -0
  267. package/dist/assertions/record/attachment.cjs.map +1 -0
  268. package/dist/assertions/record/attachment.d.cts +220 -0
  269. package/dist/assertions/record/attachment.d.mts +220 -0
  270. package/dist/assertions/record/attachment.d.ts +220 -0
  271. package/dist/assertions/record/attachment.js +20 -0
  272. package/dist/assertions/record/attachment.js.map +1 -0
  273. package/dist/assertions/record/codec.cjs +541 -0
  274. package/dist/assertions/record/codec.cjs.map +1 -0
  275. package/dist/assertions/record/codec.d.cts +146 -0
  276. package/dist/assertions/record/codec.d.mts +146 -0
  277. package/dist/assertions/record/codec.d.ts +146 -0
  278. package/dist/assertions/record/codec.js +42 -0
  279. package/dist/assertions/record/codec.js.map +1 -0
  280. package/dist/assertions/record/diff-model.cjs +120 -0
  281. package/dist/assertions/record/diff-model.cjs.map +1 -0
  282. package/dist/assertions/record/diff-model.d.cts +47 -0
  283. package/dist/assertions/record/diff-model.d.mts +47 -0
  284. package/dist/assertions/record/diff-model.d.ts +47 -0
  285. package/dist/assertions/record/diff-model.js +12 -0
  286. package/dist/assertions/record/diff-model.js.map +1 -0
  287. package/dist/assertions/record/diff.cjs +149 -0
  288. package/dist/assertions/record/diff.cjs.map +1 -0
  289. package/dist/assertions/record/diff.d.cts +27 -0
  290. package/dist/assertions/record/diff.d.mts +27 -0
  291. package/dist/assertions/record/diff.d.ts +27 -0
  292. package/dist/assertions/record/diff.js +18 -0
  293. package/dist/assertions/record/diff.js.map +1 -0
  294. package/dist/assertions/record/index.cjs +22 -0
  295. package/dist/assertions/record/index.cjs.map +1 -0
  296. package/dist/assertions/record/index.d.cts +5 -0
  297. package/dist/assertions/record/index.d.mts +5 -0
  298. package/dist/assertions/record/index.d.ts +5 -0
  299. package/dist/assertions/record/index.js +76 -0
  300. package/dist/assertions/record/index.js.map +1 -0
  301. package/dist/assertions/record/model.cjs +10 -0
  302. package/dist/assertions/record/model.cjs.map +1 -0
  303. package/dist/assertions/record/model.d.cts +257 -0
  304. package/dist/assertions/record/model.d.mts +257 -0
  305. package/dist/assertions/record/model.d.ts +257 -0
  306. package/dist/assertions/record/model.js +6 -0
  307. package/dist/assertions/record/model.js.map +1 -0
  308. package/dist/assertions/record/producer.cjs +55 -0
  309. package/dist/assertions/record/producer.cjs.map +1 -0
  310. package/dist/assertions/record/producer.d.cts +45 -0
  311. package/dist/assertions/record/producer.d.mts +45 -0
  312. package/dist/assertions/record/producer.d.ts +45 -0
  313. package/dist/assertions/record/producer.js +6 -0
  314. package/dist/assertions/record/producer.js.map +1 -0
  315. package/dist/assertions/runtime.cjs +1163 -0
  316. package/dist/assertions/runtime.cjs.map +1 -0
  317. package/dist/assertions/runtime.d.cts +45 -0
  318. package/dist/assertions/runtime.d.mts +45 -0
  319. package/dist/assertions/runtime.d.ts +45 -0
  320. package/dist/assertions/runtime.js +16 -0
  321. package/dist/assertions/runtime.js.map +1 -0
  322. package/dist/assertions/types.cjs +3 -0
  323. package/dist/assertions/types.cjs.map +1 -0
  324. package/dist/assertions/types.d.cts +238 -0
  325. package/dist/assertions/types.d.mts +238 -0
  326. package/dist/assertions/types.d.ts +166 -186
  327. package/dist/assertions/types.js +4 -2
  328. package/dist/assertions/types.js.map +1 -0
  329. package/dist/assertions/workspace-diff.cjs +237 -0
  330. package/dist/assertions/workspace-diff.cjs.map +1 -0
  331. package/dist/assertions/workspace-diff.d.cts +77 -0
  332. package/dist/assertions/workspace-diff.d.mts +77 -0
  333. package/dist/assertions/workspace-diff.d.ts +77 -0
  334. package/dist/assertions/workspace-diff.js +16 -0
  335. package/dist/assertions/workspace-diff.js.map +1 -0
  336. package/dist/attempt-locator-resolution.cjs +51 -0
  337. package/dist/attempt-locator-resolution.cjs.map +1 -0
  338. package/dist/attempt-locator-resolution.d.cts +18 -0
  339. package/dist/attempt-locator-resolution.d.mts +18 -0
  340. package/dist/attempt-locator-resolution.d.ts +18 -0
  341. package/dist/attempt-locator-resolution.js +6 -0
  342. package/dist/attempt-locator-resolution.js.map +1 -0
  343. package/dist/attempt-locator.cjs +122 -0
  344. package/dist/attempt-locator.cjs.map +1 -0
  345. package/dist/attempt-locator.d.cts +25 -0
  346. package/dist/attempt-locator.d.mts +25 -0
  347. package/dist/attempt-locator.d.ts +25 -0
  348. package/dist/attempt-locator.js +10 -0
  349. package/dist/attempt-locator.js.map +1 -0
  350. package/dist/cli/bootstrap.cjs +87 -0
  351. package/dist/cli/bootstrap.cjs.map +1 -0
  352. package/dist/cli/bootstrap.d.mts +1 -0
  353. package/dist/cli/bootstrap.d.ts +1 -0
  354. package/dist/cli/bootstrap.js +4 -0
  355. package/dist/cli/bootstrap.js.map +1 -0
  356. package/dist/cli/record.cjs +198 -0
  357. package/dist/cli/record.cjs.map +1 -0
  358. package/dist/cli/record.d.cts +28 -0
  359. package/dist/cli/record.d.mts +28 -0
  360. package/dist/cli/record.d.ts +28 -0
  361. package/dist/cli/record.js +12 -0
  362. package/dist/cli/record.js.map +1 -0
  363. package/dist/cli.cjs +2405 -0
  364. package/dist/cli.cjs.map +1 -0
  365. package/dist/cli.d.cts +139 -0
  366. package/dist/cli.d.mts +139 -0
  367. package/dist/cli.d.ts +139 -0
  368. package/dist/cli.js +34 -0
  369. package/dist/cli.js.map +1 -0
  370. package/dist/context/assert-first.cjs +1766 -0
  371. package/dist/context/assert-first.cjs.map +1 -0
  372. package/dist/context/assert-first.d.cts +204 -0
  373. package/dist/context/assert-first.d.mts +204 -0
  374. package/dist/context/assert-first.d.ts +204 -0
  375. package/dist/context/assert-first.js +6 -0
  376. package/dist/context/assert-first.js.map +1 -0
  377. package/dist/context/control-flow.cjs +15 -0
  378. package/dist/context/control-flow.cjs.map +1 -0
  379. package/dist/context/control-flow.d.cts +5 -0
  380. package/dist/context/control-flow.d.mts +5 -0
  381. package/dist/context/control-flow.d.ts +5 -0
  382. package/dist/context/control-flow.js +6 -0
  383. package/dist/context/control-flow.js.map +1 -0
  384. package/dist/context/send-failures.cjs +119 -0
  385. package/dist/context/send-failures.cjs.map +1 -0
  386. package/dist/context/send-failures.d.cts +45 -0
  387. package/dist/context/send-failures.d.mts +45 -0
  388. package/dist/context/send-failures.d.ts +3 -3
  389. package/dist/context/send-failures.js +18 -0
  390. package/dist/context/send-failures.js.map +1 -0
  391. package/dist/context/send-retry.cjs +105 -0
  392. package/dist/context/send-retry.cjs.map +1 -0
  393. package/dist/context/send-retry.d.cts +41 -0
  394. package/dist/context/send-retry.d.mts +41 -0
  395. package/dist/context/send-retry.d.ts +41 -0
  396. package/dist/context/send-retry.js +12 -0
  397. package/dist/context/send-retry.js.map +1 -0
  398. package/dist/context/session.cjs +503 -0
  399. package/dist/context/session.cjs.map +1 -0
  400. package/dist/context/session.d.cts +179 -0
  401. package/dist/context/session.d.mts +179 -0
  402. package/dist/context/session.d.ts +179 -0
  403. package/dist/context/session.js +12 -0
  404. package/dist/context/session.js.map +1 -0
  405. package/dist/context/types.cjs +3 -0
  406. package/dist/context/types.cjs.map +1 -0
  407. package/dist/context/types.d.cts +37 -0
  408. package/dist/context/types.d.mts +37 -0
  409. package/dist/context/types.d.ts +30 -387
  410. package/dist/context/types.js +4 -3
  411. package/dist/context/types.js.map +1 -0
  412. package/dist/define.cjs +246 -0
  413. package/dist/define.cjs.map +1 -0
  414. package/dist/define.d.cts +26 -0
  415. package/dist/define.d.mts +26 -0
  416. package/dist/define.d.ts +26 -0
  417. package/dist/define.js +22 -0
  418. package/dist/define.js.map +1 -0
  419. package/dist/eval/experiment-id.cjs +18 -0
  420. package/dist/eval/experiment-id.cjs.map +1 -0
  421. package/dist/eval/experiment-id.d.cts +10 -0
  422. package/dist/eval/experiment-id.d.mts +10 -0
  423. package/dist/eval/experiment-id.d.ts +10 -0
  424. package/dist/eval/experiment-id.js +10 -0
  425. package/dist/eval/experiment-id.js.map +1 -0
  426. package/dist/eval/record/attachment.cjs +60 -0
  427. package/dist/eval/record/attachment.cjs.map +1 -0
  428. package/dist/eval/record/attachment.d.cts +30 -0
  429. package/dist/eval/record/attachment.d.mts +30 -0
  430. package/dist/eval/record/attachment.d.ts +30 -0
  431. package/dist/eval/record/attachment.js +16 -0
  432. package/dist/eval/record/attachment.js.map +1 -0
  433. package/dist/eval/record/coherence.cjs +118 -0
  434. package/dist/eval/record/coherence.cjs.map +1 -0
  435. package/dist/eval/record/coherence.d.cts +61 -0
  436. package/dist/eval/record/coherence.d.mts +61 -0
  437. package/dist/eval/record/coherence.d.ts +61 -0
  438. package/dist/eval/record/coherence.js +6 -0
  439. package/dist/eval/record/coherence.js.map +1 -0
  440. package/dist/eval/record/eligibility.cjs +157 -0
  441. package/dist/eval/record/eligibility.cjs.map +1 -0
  442. package/dist/eval/record/eligibility.d.cts +151 -0
  443. package/dist/eval/record/eligibility.d.mts +151 -0
  444. package/dist/eval/record/eligibility.d.ts +151 -0
  445. package/dist/eval/record/eligibility.js +42 -0
  446. package/dist/eval/record/eligibility.js.map +1 -0
  447. package/dist/eval/record/evaluation-plan.cjs +26 -0
  448. package/dist/eval/record/evaluation-plan.cjs.map +1 -0
  449. package/dist/eval/record/evaluation-plan.d.cts +16 -0
  450. package/dist/eval/record/evaluation-plan.d.mts +16 -0
  451. package/dist/eval/record/evaluation-plan.d.ts +16 -0
  452. package/dist/eval/record/evaluation-plan.js +6 -0
  453. package/dist/eval/record/evaluation-plan.js.map +1 -0
  454. package/dist/eval/record/evaluation-record.cjs +540 -0
  455. package/dist/eval/record/evaluation-record.cjs.map +1 -0
  456. package/dist/eval/record/evaluation-record.d.cts +168 -0
  457. package/dist/eval/record/evaluation-record.d.mts +168 -0
  458. package/dist/eval/record/evaluation-record.d.ts +168 -0
  459. package/dist/eval/record/evaluation-record.js +22 -0
  460. package/dist/eval/record/evaluation-record.js.map +1 -0
  461. package/dist/eval/record/evaluation.cjs +220 -0
  462. package/dist/eval/record/evaluation.cjs.map +1 -0
  463. package/dist/eval/record/evaluation.d.cts +175 -0
  464. package/dist/eval/record/evaluation.d.mts +175 -0
  465. package/dist/eval/record/evaluation.d.ts +175 -0
  466. package/dist/eval/record/evaluation.js +36 -0
  467. package/dist/eval/record/evaluation.js.map +1 -0
  468. package/dist/eval/record/index.cjs +26 -0
  469. package/dist/eval/record/index.cjs.map +1 -0
  470. package/dist/eval/record/index.d.cts +9 -0
  471. package/dist/eval/record/index.d.mts +9 -0
  472. package/dist/eval/record/index.d.ts +9 -0
  473. package/dist/eval/record/index.js +242 -0
  474. package/dist/eval/record/index.js.map +1 -0
  475. package/dist/eval/record/membership-provenance.cjs +213 -0
  476. package/dist/eval/record/membership-provenance.cjs.map +1 -0
  477. package/dist/eval/record/membership-provenance.d.cts +855 -0
  478. package/dist/eval/record/membership-provenance.d.mts +855 -0
  479. package/dist/eval/record/membership-provenance.d.ts +855 -0
  480. package/dist/eval/record/membership-provenance.js +58 -0
  481. package/dist/eval/record/membership-provenance.js.map +1 -0
  482. package/dist/eval/record/score.cjs +248 -0
  483. package/dist/eval/record/score.cjs.map +1 -0
  484. package/dist/eval/record/score.d.cts +165 -0
  485. package/dist/eval/record/score.d.mts +165 -0
  486. package/dist/eval/record/score.d.ts +165 -0
  487. package/dist/eval/record/score.js +44 -0
  488. package/dist/eval/record/score.js.map +1 -0
  489. package/dist/eval/record/sealed-assertion.cjs +31 -0
  490. package/dist/eval/record/sealed-assertion.cjs.map +1 -0
  491. package/dist/eval/record/sealed-assertion.d.cts +32 -0
  492. package/dist/eval/record/sealed-assertion.d.mts +32 -0
  493. package/dist/eval/record/sealed-assertion.d.ts +32 -0
  494. package/dist/eval/record/sealed-assertion.js +14 -0
  495. package/dist/eval/record/sealed-assertion.js.map +1 -0
  496. package/dist/eval/record/verdict.cjs +89 -0
  497. package/dist/eval/record/verdict.cjs.map +1 -0
  498. package/dist/eval/record/verdict.d.cts +60 -0
  499. package/dist/eval/record/verdict.d.mts +60 -0
  500. package/dist/eval/record/verdict.d.ts +60 -0
  501. package/dist/eval/record/verdict.js +36 -0
  502. package/dist/eval/record/verdict.js.map +1 -0
  503. package/dist/expect/index.cjs +29 -0
  504. package/dist/expect/index.cjs.map +1 -0
  505. package/dist/expect/index.d.cts +2 -0
  506. package/dist/expect/index.d.mts +2 -0
  507. package/dist/expect/index.d.ts +2 -0
  508. package/dist/expect/index.js +50 -0
  509. package/dist/expect/index.js.map +1 -0
  510. package/dist/expect/index.mjs +50 -0
  511. package/dist/expect/index.mjs.map +1 -0
  512. package/dist/fresh-import.cjs +288 -0
  513. package/dist/fresh-import.cjs.map +1 -0
  514. package/dist/fresh-import.d.cts +20 -0
  515. package/dist/fresh-import.d.mts +20 -0
  516. package/dist/fresh-import.d.ts +20 -0
  517. package/dist/fresh-import.js +8 -0
  518. package/dist/fresh-import.js.map +1 -0
  519. package/dist/i18n/core.cjs +21 -0
  520. package/dist/i18n/core.cjs.map +1 -0
  521. package/dist/i18n/core.d.cts +11 -0
  522. package/dist/i18n/core.d.mts +11 -0
  523. package/dist/i18n/core.js +8 -19
  524. package/dist/i18n/core.js.map +1 -0
  525. package/dist/i18n/en.cjs +474 -0
  526. package/dist/i18n/en.cjs.map +1 -0
  527. package/dist/i18n/en.d.cts +391 -0
  528. package/dist/i18n/en.d.mts +391 -0
  529. package/dist/i18n/en.d.ts +389 -363
  530. package/dist/i18n/en.js +6 -455
  531. package/dist/i18n/en.js.map +1 -0
  532. package/dist/i18n/index.cjs +12 -0
  533. package/dist/i18n/index.cjs.map +1 -0
  534. package/dist/i18n/index.d.cts +5 -0
  535. package/dist/i18n/index.d.mts +5 -0
  536. package/dist/i18n/index.d.ts +4 -9
  537. package/dist/i18n/index.js +6 -30
  538. package/dist/i18n/index.js.map +1 -0
  539. package/dist/index.cjs +25 -0
  540. package/dist/index.cjs.map +1 -0
  541. package/dist/index.d.cts +10 -0
  542. package/dist/index.d.mts +10 -0
  543. package/dist/index.d.ts +10 -0
  544. package/dist/index.js +28 -0
  545. package/dist/index.js.map +1 -0
  546. package/dist/index.mjs +28 -0
  547. package/dist/index.mjs.map +1 -0
  548. package/dist/load-config.cjs +52 -0
  549. package/dist/load-config.cjs.map +1 -0
  550. package/dist/load-config.d.cts +4 -0
  551. package/dist/load-config.d.mts +4 -0
  552. package/dist/load-config.d.ts +4 -0
  553. package/dist/load-config.js +6 -0
  554. package/dist/load-config.js.map +1 -0
  555. package/dist/loaders/glob.cjs +150 -0
  556. package/dist/loaders/glob.cjs.map +1 -0
  557. package/dist/loaders/glob.d.cts +28 -0
  558. package/dist/loaders/glob.d.mts +28 -0
  559. package/dist/loaders/glob.d.ts +28 -0
  560. package/dist/loaders/glob.js +12 -0
  561. package/dist/loaders/glob.js.map +1 -0
  562. package/dist/loaders/index.cjs +281 -0
  563. package/dist/loaders/index.cjs.map +1 -0
  564. package/dist/loaders/index.d.cts +95 -0
  565. package/dist/loaders/index.d.mts +95 -0
  566. package/dist/loaders/index.d.ts +95 -0
  567. package/dist/loaders/index.js +16 -0
  568. package/dist/loaders/index.js.map +1 -0
  569. package/dist/loaders/index.mjs +16 -0
  570. package/dist/loaders/index.mjs.map +1 -0
  571. package/dist/o11y/command-projection.cjs +127 -0
  572. package/dist/o11y/command-projection.cjs.map +1 -0
  573. package/dist/o11y/command-projection.d.cts +29 -0
  574. package/dist/o11y/command-projection.d.mts +29 -0
  575. package/dist/o11y/command-projection.d.ts +29 -0
  576. package/dist/o11y/command-projection.js +18 -0
  577. package/dist/o11y/command-projection.js.map +1 -0
  578. package/dist/o11y/cost.cjs +76 -0
  579. package/dist/o11y/cost.cjs.map +1 -0
  580. package/dist/o11y/cost.d.cts +8 -0
  581. package/dist/o11y/cost.d.mts +8 -0
  582. package/dist/o11y/cost.d.ts +8 -0
  583. package/dist/o11y/cost.js +6 -0
  584. package/dist/o11y/cost.js.map +1 -0
  585. package/dist/o11y/derive.cjs +572 -0
  586. package/dist/o11y/derive.cjs.map +1 -0
  587. package/dist/o11y/derive.d.cts +24 -0
  588. package/dist/o11y/derive.d.mts +24 -0
  589. package/dist/o11y/derive.d.ts +16 -1
  590. package/dist/o11y/derive.js +14 -281
  591. package/dist/o11y/derive.js.map +1 -0
  592. package/dist/o11y/execution-tree.cjs +213 -0
  593. package/dist/o11y/execution-tree.cjs.map +1 -0
  594. package/dist/o11y/execution-tree.d.cts +113 -0
  595. package/dist/o11y/execution-tree.d.mts +113 -0
  596. package/dist/o11y/execution-tree.d.ts +1 -1
  597. package/dist/o11y/execution-tree.js +6 -254
  598. package/dist/o11y/execution-tree.js.map +1 -0
  599. package/dist/o11y/otlp/canonical.cjs +94 -0
  600. package/dist/o11y/otlp/canonical.cjs.map +1 -0
  601. package/dist/o11y/otlp/canonical.d.cts +34 -0
  602. package/dist/o11y/otlp/canonical.d.mts +34 -0
  603. package/dist/o11y/otlp/canonical.d.ts +34 -0
  604. package/dist/o11y/otlp/canonical.js +26 -0
  605. package/dist/o11y/otlp/canonical.js.map +1 -0
  606. package/dist/o11y/otlp/mappers/bub.cjs +24 -0
  607. package/dist/o11y/otlp/mappers/bub.cjs.map +1 -0
  608. package/dist/o11y/otlp/mappers/bub.d.cts +2 -0
  609. package/dist/o11y/otlp/mappers/bub.d.mts +2 -0
  610. package/dist/o11y/otlp/mappers/bub.d.ts +2 -0
  611. package/dist/o11y/otlp/mappers/bub.js +6 -0
  612. package/dist/o11y/otlp/mappers/bub.js.map +1 -0
  613. package/dist/o11y/otlp/mappers/claude-code.cjs +16 -0
  614. package/dist/o11y/otlp/mappers/claude-code.cjs.map +1 -0
  615. package/dist/o11y/otlp/mappers/claude-code.d.cts +2 -0
  616. package/dist/o11y/otlp/mappers/claude-code.d.mts +2 -0
  617. package/dist/o11y/otlp/mappers/claude-code.d.ts +2 -0
  618. package/dist/o11y/otlp/mappers/claude-code.js +6 -0
  619. package/dist/o11y/otlp/mappers/claude-code.js.map +1 -0
  620. package/dist/o11y/otlp/mappers/codex.cjs +31 -0
  621. package/dist/o11y/otlp/mappers/codex.cjs.map +1 -0
  622. package/dist/o11y/otlp/mappers/codex.d.cts +2 -0
  623. package/dist/o11y/otlp/mappers/codex.d.mts +2 -0
  624. package/dist/o11y/otlp/mappers/codex.d.ts +2 -0
  625. package/dist/o11y/otlp/mappers/codex.js +6 -0
  626. package/dist/o11y/otlp/mappers/codex.js.map +1 -0
  627. package/dist/o11y/otlp/mappers/index.cjs +21 -0
  628. package/dist/o11y/otlp/mappers/index.cjs.map +1 -0
  629. package/dist/o11y/otlp/mappers/index.d.cts +4 -0
  630. package/dist/o11y/otlp/mappers/index.d.mts +4 -0
  631. package/dist/o11y/otlp/mappers/index.d.ts +4 -0
  632. package/dist/o11y/otlp/mappers/index.js +12 -0
  633. package/dist/o11y/otlp/mappers/index.js.map +1 -0
  634. package/dist/o11y/otlp/parse.cjs +369 -0
  635. package/dist/o11y/otlp/parse.cjs.map +1 -0
  636. package/dist/o11y/otlp/parse.d.cts +3 -0
  637. package/dist/o11y/otlp/parse.d.mts +3 -0
  638. package/dist/o11y/otlp/parse.d.ts +1 -1
  639. package/dist/o11y/otlp/parse.js +6 -0
  640. package/dist/o11y/otlp/parse.js.map +1 -0
  641. package/dist/o11y/otlp/receiver.cjs +326 -0
  642. package/dist/o11y/otlp/receiver.cjs.map +1 -0
  643. package/dist/o11y/otlp/receiver.d.cts +27 -0
  644. package/dist/o11y/otlp/receiver.d.mts +27 -0
  645. package/dist/o11y/otlp/receiver.d.ts +16 -10
  646. package/dist/o11y/otlp/receiver.js +10 -0
  647. package/dist/o11y/otlp/receiver.js.map +1 -0
  648. package/dist/o11y/otlp/sandbox-receiver.cjs +226 -0
  649. package/dist/o11y/otlp/sandbox-receiver.cjs.map +1 -0
  650. package/dist/o11y/otlp/sandbox-receiver.d.cts +4 -0
  651. package/dist/o11y/otlp/sandbox-receiver.d.mts +4 -0
  652. package/dist/o11y/otlp/sandbox-receiver.d.ts +4 -0
  653. package/dist/o11y/otlp/sandbox-receiver.js +6 -0
  654. package/dist/o11y/otlp/sandbox-receiver.js.map +1 -0
  655. package/dist/o11y/otlp/select.cjs +82 -0
  656. package/dist/o11y/otlp/select.cjs.map +1 -0
  657. package/dist/o11y/otlp/select.d.cts +22 -0
  658. package/dist/o11y/otlp/select.d.mts +22 -0
  659. package/dist/o11y/otlp/select.d.ts +1 -1
  660. package/dist/o11y/otlp/select.js +12 -86
  661. package/dist/o11y/otlp/select.js.map +1 -0
  662. package/dist/o11y/otlp/turn-otel.cjs +180 -0
  663. package/dist/o11y/otlp/turn-otel.cjs.map +1 -0
  664. package/dist/o11y/otlp/turn-otel.d.cts +59 -0
  665. package/dist/o11y/otlp/turn-otel.d.mts +59 -0
  666. package/dist/o11y/otlp/turn-otel.d.ts +26 -10
  667. package/dist/o11y/otlp/turn-otel.js +8 -0
  668. package/dist/o11y/otlp/turn-otel.js.map +1 -0
  669. package/dist/o11y/parsers/bub.cjs +277 -0
  670. package/dist/o11y/parsers/bub.cjs.map +1 -0
  671. package/dist/o11y/parsers/bub.d.cts +7 -0
  672. package/dist/o11y/parsers/bub.d.mts +7 -0
  673. package/dist/o11y/parsers/bub.d.ts +7 -0
  674. package/dist/o11y/parsers/bub.js +10 -0
  675. package/dist/o11y/parsers/bub.js.map +1 -0
  676. package/dist/o11y/parsers/claude-code.cjs +309 -0
  677. package/dist/o11y/parsers/claude-code.cjs.map +1 -0
  678. package/dist/o11y/parsers/claude-code.d.cts +11 -0
  679. package/dist/o11y/parsers/claude-code.d.mts +11 -0
  680. package/dist/o11y/parsers/claude-code.d.ts +11 -0
  681. package/dist/o11y/parsers/claude-code.js +10 -0
  682. package/dist/o11y/parsers/claude-code.js.map +1 -0
  683. package/dist/o11y/parsers/codex.cjs +439 -0
  684. package/dist/o11y/parsers/codex.cjs.map +1 -0
  685. package/dist/o11y/parsers/codex.d.cts +7 -0
  686. package/dist/o11y/parsers/codex.d.mts +7 -0
  687. package/dist/o11y/parsers/codex.d.ts +7 -0
  688. package/dist/o11y/parsers/codex.js +10 -0
  689. package/dist/o11y/parsers/codex.js.map +1 -0
  690. package/dist/o11y/parsers/hermes.cjs +234 -0
  691. package/dist/o11y/parsers/hermes.cjs.map +1 -0
  692. package/dist/o11y/parsers/hermes.d.cts +9 -0
  693. package/dist/o11y/parsers/hermes.d.mts +9 -0
  694. package/dist/o11y/parsers/hermes.d.ts +9 -0
  695. package/dist/o11y/parsers/hermes.js +10 -0
  696. package/dist/o11y/parsers/hermes.js.map +1 -0
  697. package/dist/o11y/parsers/index.cjs +13 -0
  698. package/dist/o11y/parsers/index.cjs.map +1 -0
  699. package/dist/o11y/parsers/index.d.cts +12 -0
  700. package/dist/o11y/parsers/index.d.mts +12 -0
  701. package/dist/o11y/parsers/index.d.ts +12 -0
  702. package/dist/o11y/parsers/index.js +16 -0
  703. package/dist/o11y/parsers/index.js.map +1 -0
  704. package/dist/o11y/parsers/openclaw.cjs +320 -0
  705. package/dist/o11y/parsers/openclaw.cjs.map +1 -0
  706. package/dist/o11y/parsers/openclaw.d.cts +39 -0
  707. package/dist/o11y/parsers/openclaw.d.mts +39 -0
  708. package/dist/o11y/parsers/openclaw.d.ts +39 -0
  709. package/dist/o11y/parsers/openclaw.js +12 -0
  710. package/dist/o11y/parsers/openclaw.js.map +1 -0
  711. package/dist/o11y/parsers/opencode.cjs +337 -0
  712. package/dist/o11y/parsers/opencode.cjs.map +1 -0
  713. package/dist/o11y/parsers/opencode.d.cts +14 -0
  714. package/dist/o11y/parsers/opencode.d.mts +14 -0
  715. package/dist/o11y/parsers/opencode.d.ts +14 -0
  716. package/dist/o11y/parsers/opencode.js +12 -0
  717. package/dist/o11y/parsers/opencode.js.map +1 -0
  718. package/dist/o11y/prices.json +11649 -0
  719. package/dist/o11y/record/capture.cjs +232 -0
  720. package/dist/o11y/record/capture.cjs.map +1 -0
  721. package/dist/o11y/record/capture.d.cts +81 -0
  722. package/dist/o11y/record/capture.d.mts +81 -0
  723. package/dist/o11y/record/capture.d.ts +81 -0
  724. package/dist/o11y/record/capture.js +30 -0
  725. package/dist/o11y/record/capture.js.map +1 -0
  726. package/dist/o11y/record/codec.cjs +222 -0
  727. package/dist/o11y/record/codec.cjs.map +1 -0
  728. package/dist/o11y/record/codec.d.cts +661 -0
  729. package/dist/o11y/record/codec.d.mts +661 -0
  730. package/dist/o11y/record/codec.d.ts +661 -0
  731. package/dist/o11y/record/codec.js +66 -0
  732. package/dist/o11y/record/codec.js.map +1 -0
  733. package/dist/o11y/record/errors.cjs +71 -0
  734. package/dist/o11y/record/errors.cjs.map +1 -0
  735. package/dist/o11y/record/errors.d.cts +53 -0
  736. package/dist/o11y/record/errors.d.mts +53 -0
  737. package/dist/o11y/record/errors.d.ts +53 -0
  738. package/dist/o11y/record/errors.js +24 -0
  739. package/dist/o11y/record/errors.js.map +1 -0
  740. package/dist/o11y/record/families.cjs +699 -0
  741. package/dist/o11y/record/families.cjs.map +1 -0
  742. package/dist/o11y/record/families.d.cts +4298 -0
  743. package/dist/o11y/record/families.d.mts +4298 -0
  744. package/dist/o11y/record/families.d.ts +4298 -0
  745. package/dist/o11y/record/families.js +68 -0
  746. package/dist/o11y/record/families.js.map +1 -0
  747. package/dist/o11y/record/family-projectors.cjs +83 -0
  748. package/dist/o11y/record/family-projectors.cjs.map +1 -0
  749. package/dist/o11y/record/family-projectors.d.cts +46 -0
  750. package/dist/o11y/record/family-projectors.d.mts +46 -0
  751. package/dist/o11y/record/family-projectors.d.ts +46 -0
  752. package/dist/o11y/record/family-projectors.js +18 -0
  753. package/dist/o11y/record/family-projectors.js.map +1 -0
  754. package/dist/o11y/record/family-writers.cjs +371 -0
  755. package/dist/o11y/record/family-writers.cjs.map +1 -0
  756. package/dist/o11y/record/family-writers.d.cts +5293 -0
  757. package/dist/o11y/record/family-writers.d.mts +5293 -0
  758. package/dist/o11y/record/family-writers.d.ts +5293 -0
  759. package/dist/o11y/record/family-writers.js +60 -0
  760. package/dist/o11y/record/family-writers.js.map +1 -0
  761. package/dist/o11y/record/index.cjs +31 -0
  762. package/dist/o11y/record/index.cjs.map +1 -0
  763. package/dist/o11y/record/index.d.cts +14 -0
  764. package/dist/o11y/record/index.d.mts +14 -0
  765. package/dist/o11y/record/index.d.ts +14 -0
  766. package/dist/o11y/record/index.js +488 -0
  767. package/dist/o11y/record/index.js.map +1 -0
  768. package/dist/o11y/record/limits.cjs +69 -0
  769. package/dist/o11y/record/limits.cjs.map +1 -0
  770. package/dist/o11y/record/limits.d.cts +65 -0
  771. package/dist/o11y/record/limits.d.mts +65 -0
  772. package/dist/o11y/record/limits.d.ts +65 -0
  773. package/dist/o11y/record/limits.js +68 -0
  774. package/dist/o11y/record/limits.js.map +1 -0
  775. package/dist/o11y/record/model.cjs +590 -0
  776. package/dist/o11y/record/model.cjs.map +1 -0
  777. package/dist/o11y/record/model.d.cts +275 -0
  778. package/dist/o11y/record/model.d.mts +275 -0
  779. package/dist/o11y/record/model.d.ts +275 -0
  780. package/dist/o11y/record/model.js +158 -0
  781. package/dist/o11y/record/model.js.map +1 -0
  782. package/dist/o11y/record/runner-producer.cjs +1575 -0
  783. package/dist/o11y/record/runner-producer.cjs.map +1 -0
  784. package/dist/o11y/record/runner-producer.d.cts +103 -0
  785. package/dist/o11y/record/runner-producer.d.mts +103 -0
  786. package/dist/o11y/record/runner-producer.d.ts +103 -0
  787. package/dist/o11y/record/runner-producer.js +26 -0
  788. package/dist/o11y/record/runner-producer.js.map +1 -0
  789. package/dist/o11y/record/validation.cjs +323 -0
  790. package/dist/o11y/record/validation.cjs.map +1 -0
  791. package/dist/o11y/record/validation.d.cts +62 -0
  792. package/dist/o11y/record/validation.d.mts +62 -0
  793. package/dist/o11y/record/validation.d.ts +62 -0
  794. package/dist/o11y/record/validation.js +28 -0
  795. package/dist/o11y/record/validation.js.map +1 -0
  796. package/dist/o11y/tool-names.cjs +68 -0
  797. package/dist/o11y/tool-names.cjs.map +1 -0
  798. package/dist/o11y/tool-names.d.cts +11 -0
  799. package/dist/o11y/tool-names.d.mts +11 -0
  800. package/dist/o11y/tool-names.d.ts +11 -0
  801. package/dist/o11y/tool-names.js +8 -0
  802. package/dist/o11y/tool-names.js.map +1 -0
  803. package/dist/o11y/types.cjs +3 -0
  804. package/dist/o11y/types.cjs.map +1 -0
  805. package/dist/o11y/types.d.cts +387 -0
  806. package/dist/o11y/types.d.mts +387 -0
  807. package/dist/o11y/types.d.ts +142 -1
  808. package/dist/o11y/types.js +4 -3
  809. package/dist/o11y/types.js.map +1 -0
  810. package/dist/plugin/contracts.cjs +187 -0
  811. package/dist/plugin/contracts.cjs.map +1 -0
  812. package/dist/plugin/contracts.d.cts +109 -0
  813. package/dist/plugin/contracts.d.mts +109 -0
  814. package/dist/plugin/contracts.d.ts +109 -0
  815. package/dist/plugin/contracts.js +18 -0
  816. package/dist/plugin/contracts.js.map +1 -0
  817. package/dist/plugin/index.cjs +7 -0
  818. package/dist/plugin/index.cjs.map +1 -0
  819. package/dist/plugin/index.d.cts +2 -0
  820. package/dist/plugin/index.d.mts +2 -0
  821. package/dist/plugin/index.d.ts +2 -0
  822. package/dist/plugin/index.js +6 -0
  823. package/dist/plugin/index.js.map +1 -0
  824. package/dist/plugin/index.mjs +6 -0
  825. package/dist/plugin/index.mjs.map +1 -0
  826. package/dist/plugin/link.cjs +204 -0
  827. package/dist/plugin/link.cjs.map +1 -0
  828. package/dist/plugin/link.d.cts +68 -0
  829. package/dist/plugin/link.d.mts +68 -0
  830. package/dist/plugin/link.d.ts +68 -0
  831. package/dist/plugin/link.js +14 -0
  832. package/dist/plugin/link.js.map +1 -0
  833. package/dist/plugins/record/attachment.cjs +62 -0
  834. package/dist/plugins/record/attachment.cjs.map +1 -0
  835. package/dist/plugins/record/attachment.d.cts +14 -0
  836. package/dist/plugins/record/attachment.d.mts +14 -0
  837. package/dist/plugins/record/attachment.d.ts +14 -0
  838. package/dist/plugins/record/attachment.js +20 -0
  839. package/dist/plugins/record/attachment.js.map +1 -0
  840. package/dist/plugins/record/capability.cjs +258 -0
  841. package/dist/plugins/record/capability.cjs.map +1 -0
  842. package/dist/plugins/record/capability.d.cts +94 -0
  843. package/dist/plugins/record/capability.d.mts +94 -0
  844. package/dist/plugins/record/capability.d.ts +94 -0
  845. package/dist/plugins/record/capability.js +26 -0
  846. package/dist/plugins/record/capability.js.map +1 -0
  847. package/dist/plugins/record/codec.cjs +244 -0
  848. package/dist/plugins/record/codec.cjs.map +1 -0
  849. package/dist/plugins/record/codec.d.cts +28 -0
  850. package/dist/plugins/record/codec.d.mts +28 -0
  851. package/dist/plugins/record/codec.d.ts +28 -0
  852. package/dist/plugins/record/codec.js +48 -0
  853. package/dist/plugins/record/codec.js.map +1 -0
  854. package/dist/plugins/record/index.cjs +54 -0
  855. package/dist/plugins/record/index.cjs.map +1 -0
  856. package/dist/plugins/record/index.d.cts +9 -0
  857. package/dist/plugins/record/index.d.mts +9 -0
  858. package/dist/plugins/record/index.d.ts +9 -0
  859. package/dist/plugins/record/index.js +94 -0
  860. package/dist/plugins/record/index.js.map +1 -0
  861. package/dist/plugins/record/migration.cjs +33 -0
  862. package/dist/plugins/record/migration.cjs.map +1 -0
  863. package/dist/plugins/record/migration.d.cts +22 -0
  864. package/dist/plugins/record/migration.d.mts +22 -0
  865. package/dist/plugins/record/migration.d.ts +22 -0
  866. package/dist/plugins/record/migration.js +6 -0
  867. package/dist/plugins/record/migration.js.map +1 -0
  868. package/dist/plugins/record/model.cjs +3 -0
  869. package/dist/plugins/record/model.cjs.map +1 -0
  870. package/dist/plugins/record/model.d.cts +93 -0
  871. package/dist/plugins/record/model.d.mts +93 -0
  872. package/dist/plugins/record/model.d.ts +93 -0
  873. package/dist/plugins/record/model.js +4 -0
  874. package/dist/plugins/record/model.js.map +1 -0
  875. package/dist/plugins/record/provenance.cjs +319 -0
  876. package/dist/plugins/record/provenance.cjs.map +1 -0
  877. package/dist/plugins/record/provenance.d.cts +79 -0
  878. package/dist/plugins/record/provenance.d.mts +79 -0
  879. package/dist/plugins/record/provenance.d.ts +79 -0
  880. package/dist/plugins/record/provenance.js +24 -0
  881. package/dist/plugins/record/provenance.js.map +1 -0
  882. package/dist/projection/attachment-result.cjs +50 -0
  883. package/dist/projection/attachment-result.cjs.map +1 -0
  884. package/dist/projection/attachment-result.d.cts +38 -0
  885. package/dist/projection/attachment-result.d.mts +38 -0
  886. package/dist/projection/attachment-result.d.ts +38 -0
  887. package/dist/projection/attachment-result.js +6 -0
  888. package/dist/projection/attachment-result.js.map +1 -0
  889. package/dist/projection/attempt-selection.cjs +87 -0
  890. package/dist/projection/attempt-selection.cjs.map +1 -0
  891. package/dist/projection/attempt-selection.d.cts +40 -0
  892. package/dist/projection/attempt-selection.d.mts +40 -0
  893. package/dist/projection/attempt-selection.d.ts +40 -0
  894. package/dist/projection/attempt-selection.js +8 -0
  895. package/dist/projection/attempt-selection.js.map +1 -0
  896. package/dist/projection/coverage.cjs +106 -0
  897. package/dist/projection/coverage.cjs.map +1 -0
  898. package/dist/projection/coverage.d.cts +43 -0
  899. package/dist/projection/coverage.d.mts +43 -0
  900. package/dist/projection/coverage.d.ts +43 -0
  901. package/dist/projection/coverage.js +6 -0
  902. package/dist/projection/coverage.js.map +1 -0
  903. package/dist/projection/index.cjs +36 -0
  904. package/dist/projection/index.cjs.map +1 -0
  905. package/dist/projection/index.d.cts +25 -0
  906. package/dist/projection/index.d.mts +25 -0
  907. package/dist/projection/index.d.ts +25 -0
  908. package/dist/projection/index.js +46 -0
  909. package/dist/projection/index.js.map +1 -0
  910. package/dist/projection/index.mjs +46 -0
  911. package/dist/projection/index.mjs.map +1 -0
  912. package/dist/projection/model.cjs +3 -0
  913. package/dist/projection/model.cjs.map +1 -0
  914. package/dist/projection/model.d.cts +49 -0
  915. package/dist/projection/model.d.mts +49 -0
  916. package/dist/projection/model.d.ts +49 -0
  917. package/dist/projection/model.js +4 -0
  918. package/dist/projection/model.js.map +1 -0
  919. package/dist/projection/projector.cjs +111 -0
  920. package/dist/projection/projector.cjs.map +1 -0
  921. package/dist/projection/projector.d.cts +51 -0
  922. package/dist/projection/projector.d.mts +51 -0
  923. package/dist/projection/projector.d.ts +51 -0
  924. package/dist/projection/projector.js +16 -0
  925. package/dist/projection/projector.js.map +1 -0
  926. package/dist/projection/runtime.cjs +246 -0
  927. package/dist/projection/runtime.cjs.map +1 -0
  928. package/dist/projection/runtime.d.cts +14 -0
  929. package/dist/projection/runtime.d.mts +14 -0
  930. package/dist/projection/runtime.d.ts +14 -0
  931. package/dist/projection/runtime.js +6 -0
  932. package/dist/projection/runtime.js.map +1 -0
  933. package/dist/record/attachment/errors.cjs +71 -0
  934. package/dist/record/attachment/errors.cjs.map +1 -0
  935. package/dist/record/attachment/errors.d.cts +57 -0
  936. package/dist/record/attachment/errors.d.mts +57 -0
  937. package/dist/record/attachment/errors.d.ts +57 -0
  938. package/dist/record/attachment/errors.js +22 -0
  939. package/dist/record/attachment/errors.js.map +1 -0
  940. package/dist/record/attachment/index.cjs +14 -0
  941. package/dist/record/attachment/index.cjs.map +1 -0
  942. package/dist/record/attachment/index.d.cts +3 -0
  943. package/dist/record/attachment/index.d.mts +3 -0
  944. package/dist/record/attachment/index.d.ts +3 -0
  945. package/dist/record/attachment/index.js +22 -0
  946. package/dist/record/attachment/index.js.map +1 -0
  947. package/dist/record/attachment/internal.cjs +24 -0
  948. package/dist/record/attachment/internal.cjs.map +1 -0
  949. package/dist/record/attachment/internal.d.cts +6 -0
  950. package/dist/record/attachment/internal.d.mts +6 -0
  951. package/dist/record/attachment/internal.d.ts +6 -0
  952. package/dist/record/attachment/internal.js +34 -0
  953. package/dist/record/attachment/internal.js.map +1 -0
  954. package/dist/record/attachment/runtime.cjs +1017 -0
  955. package/dist/record/attachment/runtime.cjs.map +1 -0
  956. package/dist/record/attachment/runtime.d.cts +86 -0
  957. package/dist/record/attachment/runtime.d.mts +86 -0
  958. package/dist/record/attachment/runtime.d.ts +86 -0
  959. package/dist/record/attachment/runtime.js +52 -0
  960. package/dist/record/attachment/runtime.js.map +1 -0
  961. package/dist/record/attachment/types.cjs +47 -0
  962. package/dist/record/attachment/types.cjs.map +1 -0
  963. package/dist/record/attachment/types.d.cts +194 -0
  964. package/dist/record/attachment/types.d.mts +194 -0
  965. package/dist/record/attachment/types.d.ts +194 -0
  966. package/dist/record/attachment/types.js +28 -0
  967. package/dist/record/attachment/types.js.map +1 -0
  968. package/dist/record/codec/core.cjs +134 -0
  969. package/dist/record/codec/core.cjs.map +1 -0
  970. package/dist/record/codec/core.d.cts +63 -0
  971. package/dist/record/codec/core.d.mts +63 -0
  972. package/dist/record/codec/core.d.ts +63 -0
  973. package/dist/record/codec/core.js +46 -0
  974. package/dist/record/codec/core.js.map +1 -0
  975. package/dist/record/codec/identifiers.cjs +31 -0
  976. package/dist/record/codec/identifiers.cjs.map +1 -0
  977. package/dist/record/codec/identifiers.d.cts +11 -0
  978. package/dist/record/codec/identifiers.d.mts +11 -0
  979. package/dist/record/codec/identifiers.d.ts +11 -0
  980. package/dist/record/codec/identifiers.js +22 -0
  981. package/dist/record/codec/identifiers.js.map +1 -0
  982. package/dist/record/codec/index.cjs +19 -0
  983. package/dist/record/codec/index.cjs.map +1 -0
  984. package/dist/record/codec/index.d.cts +2 -0
  985. package/dist/record/codec/index.d.mts +2 -0
  986. package/dist/record/codec/index.d.ts +2 -0
  987. package/dist/record/codec/index.js +64 -0
  988. package/dist/record/codec/index.js.map +1 -0
  989. package/dist/record/errors/index.cjs +18 -0
  990. package/dist/record/errors/index.cjs.map +1 -0
  991. package/dist/record/errors/index.d.cts +1 -0
  992. package/dist/record/errors/index.d.mts +1 -0
  993. package/dist/record/errors/index.d.ts +1 -0
  994. package/dist/record/errors/index.js +28 -0
  995. package/dist/record/errors/index.js.map +1 -0
  996. package/dist/record/errors/record-errors.cjs +58 -0
  997. package/dist/record/errors/record-errors.cjs.map +1 -0
  998. package/dist/record/errors/record-errors.d.cts +64 -0
  999. package/dist/record/errors/record-errors.d.mts +64 -0
  1000. package/dist/record/errors/record-errors.d.ts +64 -0
  1001. package/dist/record/errors/record-errors.js +28 -0
  1002. package/dist/record/errors/record-errors.js.map +1 -0
  1003. package/dist/record/fact-record.cjs +199 -0
  1004. package/dist/record/fact-record.cjs.map +1 -0
  1005. package/dist/record/fact-record.d.cts +22 -0
  1006. package/dist/record/fact-record.d.mts +22 -0
  1007. package/dist/record/fact-record.d.ts +22 -0
  1008. package/dist/record/fact-record.js +18 -0
  1009. package/dist/record/fact-record.js.map +1 -0
  1010. package/dist/record/index.cjs +55 -0
  1011. package/dist/record/index.cjs.map +1 -0
  1012. package/dist/record/index.d.cts +11 -0
  1013. package/dist/record/index.d.mts +11 -0
  1014. package/dist/record/index.d.ts +11 -0
  1015. package/dist/record/index.js +314 -0
  1016. package/dist/record/index.js.map +1 -0
  1017. package/dist/record/locator.cjs +146 -0
  1018. package/dist/record/locator.cjs.map +1 -0
  1019. package/dist/record/locator.d.cts +71 -0
  1020. package/dist/record/locator.d.mts +71 -0
  1021. package/dist/record/locator.js +20 -136
  1022. package/dist/record/locator.js.map +1 -0
  1023. package/dist/record/maintenance/index.cjs +19 -0
  1024. package/dist/record/maintenance/index.cjs.map +1 -0
  1025. package/dist/record/maintenance/index.d.cts +2 -0
  1026. package/dist/record/maintenance/index.d.mts +2 -0
  1027. package/dist/record/maintenance/index.d.ts +2 -0
  1028. package/dist/record/maintenance/index.js +14 -0
  1029. package/dist/record/maintenance/index.js.map +1 -0
  1030. package/dist/record/maintenance/runtime.cjs +98 -0
  1031. package/dist/record/maintenance/runtime.cjs.map +1 -0
  1032. package/dist/record/maintenance/runtime.d.cts +24 -0
  1033. package/dist/record/maintenance/runtime.d.mts +24 -0
  1034. package/dist/record/maintenance/runtime.d.ts +24 -0
  1035. package/dist/record/maintenance/runtime.js +12 -0
  1036. package/dist/record/maintenance/runtime.js.map +1 -0
  1037. package/dist/record/maintenance/types.cjs +9 -0
  1038. package/dist/record/maintenance/types.cjs.map +1 -0
  1039. package/dist/record/maintenance/types.d.cts +34 -0
  1040. package/dist/record/maintenance/types.d.mts +34 -0
  1041. package/dist/record/maintenance/types.d.ts +34 -0
  1042. package/dist/record/maintenance/types.js +6 -0
  1043. package/dist/record/maintenance/types.js.map +1 -0
  1044. package/dist/record/manifest.cjs +44 -0
  1045. package/dist/record/manifest.cjs.map +1 -0
  1046. package/dist/record/manifest.d.cts +39 -0
  1047. package/dist/record/manifest.d.mts +39 -0
  1048. package/dist/record/manifest.d.ts +5 -3
  1049. package/dist/record/manifest.js +14 -0
  1050. package/dist/record/manifest.js.map +1 -0
  1051. package/dist/record/migration/errors.cjs +68 -0
  1052. package/dist/record/migration/errors.cjs.map +1 -0
  1053. package/dist/record/migration/errors.d.cts +73 -0
  1054. package/dist/record/migration/errors.d.mts +73 -0
  1055. package/dist/record/migration/errors.d.ts +73 -0
  1056. package/dist/record/migration/errors.js +22 -0
  1057. package/dist/record/migration/errors.js.map +1 -0
  1058. package/dist/record/migration/identity.cjs +27 -0
  1059. package/dist/record/migration/identity.cjs.map +1 -0
  1060. package/dist/record/migration/identity.d.cts +5 -0
  1061. package/dist/record/migration/identity.d.mts +5 -0
  1062. package/dist/record/migration/identity.d.ts +5 -0
  1063. package/dist/record/migration/identity.js +8 -0
  1064. package/dist/record/migration/identity.js.map +1 -0
  1065. package/dist/record/migration/index.cjs +28 -0
  1066. package/dist/record/migration/index.cjs.map +1 -0
  1067. package/dist/record/migration/index.d.cts +8 -0
  1068. package/dist/record/migration/index.d.mts +8 -0
  1069. package/dist/record/migration/index.d.ts +8 -0
  1070. package/dist/record/migration/index.js +48 -0
  1071. package/dist/record/migration/index.js.map +1 -0
  1072. package/dist/record/migration/internal.cjs +3 -0
  1073. package/dist/record/migration/internal.cjs.map +1 -0
  1074. package/dist/record/migration/internal.d.cts +111 -0
  1075. package/dist/record/migration/internal.d.mts +111 -0
  1076. package/dist/record/migration/internal.d.ts +111 -0
  1077. package/dist/record/migration/internal.js +4 -0
  1078. package/dist/record/migration/internal.js.map +1 -0
  1079. package/dist/record/migration/orchestrate.cjs +368 -0
  1080. package/dist/record/migration/orchestrate.cjs.map +1 -0
  1081. package/dist/record/migration/orchestrate.d.cts +113 -0
  1082. package/dist/record/migration/orchestrate.d.mts +113 -0
  1083. package/dist/record/migration/orchestrate.d.ts +113 -0
  1084. package/dist/record/migration/orchestrate.js +16 -0
  1085. package/dist/record/migration/orchestrate.js.map +1 -0
  1086. package/dist/record/migration/plan.cjs +63 -0
  1087. package/dist/record/migration/plan.cjs.map +1 -0
  1088. package/dist/record/migration/plan.d.cts +32 -0
  1089. package/dist/record/migration/plan.d.mts +32 -0
  1090. package/dist/record/migration/plan.d.ts +32 -0
  1091. package/dist/record/migration/plan.js +10 -0
  1092. package/dist/record/migration/plan.js.map +1 -0
  1093. package/dist/record/migration/registry.cjs +150 -0
  1094. package/dist/record/migration/registry.cjs.map +1 -0
  1095. package/dist/record/migration/registry.d.cts +61 -0
  1096. package/dist/record/migration/registry.d.mts +61 -0
  1097. package/dist/record/migration/registry.d.ts +61 -0
  1098. package/dist/record/migration/registry.js +14 -0
  1099. package/dist/record/migration/registry.js.map +1 -0
  1100. package/dist/record/migration/storage.cjs +382 -0
  1101. package/dist/record/migration/storage.cjs.map +1 -0
  1102. package/dist/record/migration/storage.d.cts +18 -0
  1103. package/dist/record/migration/storage.d.mts +18 -0
  1104. package/dist/record/migration/storage.d.ts +18 -0
  1105. package/dist/record/migration/storage.js +6 -0
  1106. package/dist/record/migration/storage.js.map +1 -0
  1107. package/dist/record/migration/types.cjs +3 -0
  1108. package/dist/record/migration/types.cjs.map +1 -0
  1109. package/dist/record/migration/types.d.cts +16 -0
  1110. package/dist/record/migration/types.d.mts +16 -0
  1111. package/dist/record/migration/types.d.ts +16 -0
  1112. package/dist/record/migration/types.js +4 -0
  1113. package/dist/record/migration/types.js.map +1 -0
  1114. package/dist/record/model/core.cjs +11 -0
  1115. package/dist/record/model/core.cjs.map +1 -0
  1116. package/dist/record/model/core.d.cts +53 -0
  1117. package/dist/record/model/core.d.mts +53 -0
  1118. package/dist/record/model/core.d.ts +53 -0
  1119. package/dist/record/model/core.js +6 -0
  1120. package/dist/record/model/core.js.map +1 -0
  1121. package/dist/record/model/identifiers.cjs +78 -0
  1122. package/dist/record/model/identifiers.cjs.map +1 -0
  1123. package/dist/record/model/identifiers.d.cts +44 -0
  1124. package/dist/record/model/identifiers.d.mts +44 -0
  1125. package/dist/record/model/identifiers.d.ts +44 -0
  1126. package/dist/record/model/identifiers.js +40 -0
  1127. package/dist/record/model/identifiers.js.map +1 -0
  1128. package/dist/record/model/index.cjs +21 -0
  1129. package/dist/record/model/index.cjs.map +1 -0
  1130. package/dist/record/model/index.d.cts +4 -0
  1131. package/dist/record/model/index.d.mts +4 -0
  1132. package/dist/record/model/index.d.ts +4 -0
  1133. package/dist/record/model/index.js +52 -0
  1134. package/dist/record/model/index.js.map +1 -0
  1135. package/dist/record/model/read-state.cjs +3 -0
  1136. package/dist/record/model/read-state.cjs.map +1 -0
  1137. package/dist/record/model/read-state.d.cts +45 -0
  1138. package/dist/record/model/read-state.d.mts +45 -0
  1139. package/dist/record/model/read-state.d.ts +45 -0
  1140. package/dist/record/model/read-state.js +4 -0
  1141. package/dist/record/model/read-state.js.map +1 -0
  1142. package/dist/record/model/validation.cjs +143 -0
  1143. package/dist/record/model/validation.cjs.map +1 -0
  1144. package/dist/record/model/validation.d.cts +16 -0
  1145. package/dist/record/model/validation.d.mts +16 -0
  1146. package/dist/record/model/validation.d.ts +16 -0
  1147. package/dist/record/model/validation.js +14 -0
  1148. package/dist/record/model/validation.js.map +1 -0
  1149. package/dist/record/platform/errors.cjs +101 -0
  1150. package/dist/record/platform/errors.cjs.map +1 -0
  1151. package/dist/record/platform/errors.d.cts +123 -0
  1152. package/dist/record/platform/errors.d.mts +123 -0
  1153. package/dist/record/platform/errors.d.ts +123 -0
  1154. package/dist/record/platform/errors.js +32 -0
  1155. package/dist/record/platform/errors.js.map +1 -0
  1156. package/dist/record/platform/index.cjs +21 -0
  1157. package/dist/record/platform/index.cjs.map +1 -0
  1158. package/dist/record/platform/index.d.cts +4 -0
  1159. package/dist/record/platform/index.d.mts +4 -0
  1160. package/dist/record/platform/index.d.ts +4 -0
  1161. package/dist/record/platform/index.js +60 -0
  1162. package/dist/record/platform/index.js.map +1 -0
  1163. package/dist/record/platform/node.cjs +715 -0
  1164. package/dist/record/platform/node.cjs.map +1 -0
  1165. package/dist/record/platform/node.d.cts +12 -0
  1166. package/dist/record/platform/node.d.mts +12 -0
  1167. package/dist/record/platform/node.d.ts +12 -0
  1168. package/dist/record/platform/node.js +16 -0
  1169. package/dist/record/platform/node.js.map +1 -0
  1170. package/dist/record/platform/root.cjs +79 -0
  1171. package/dist/record/platform/root.cjs.map +1 -0
  1172. package/dist/record/platform/root.d.cts +35 -0
  1173. package/dist/record/platform/root.d.mts +35 -0
  1174. package/dist/record/platform/root.d.ts +35 -0
  1175. package/dist/record/platform/root.js +8 -0
  1176. package/dist/record/platform/root.js.map +1 -0
  1177. package/dist/record/platform/services.cjs +24 -0
  1178. package/dist/record/platform/services.cjs.map +1 -0
  1179. package/dist/record/platform/services.d.cts +139 -0
  1180. package/dist/record/platform/services.d.mts +139 -0
  1181. package/dist/record/platform/services.d.ts +139 -0
  1182. package/dist/record/platform/services.js +16 -0
  1183. package/dist/record/platform/services.js.map +1 -0
  1184. package/dist/record/reader/errors.cjs +46 -0
  1185. package/dist/record/reader/errors.cjs.map +1 -0
  1186. package/dist/record/reader/errors.d.cts +58 -0
  1187. package/dist/record/reader/errors.d.mts +58 -0
  1188. package/dist/record/reader/errors.d.ts +58 -0
  1189. package/dist/record/reader/errors.js +16 -0
  1190. package/dist/record/reader/errors.js.map +1 -0
  1191. package/dist/record/reader/format.cjs +95 -0
  1192. package/dist/record/reader/format.cjs.map +1 -0
  1193. package/dist/record/reader/format.d.cts +17 -0
  1194. package/dist/record/reader/format.d.mts +17 -0
  1195. package/dist/record/reader/format.d.ts +17 -0
  1196. package/dist/record/reader/format.js +8 -0
  1197. package/dist/record/reader/format.js.map +1 -0
  1198. package/dist/record/reader/identity.cjs +47 -0
  1199. package/dist/record/reader/identity.cjs.map +1 -0
  1200. package/dist/record/reader/identity.d.cts +31 -0
  1201. package/dist/record/reader/identity.d.mts +31 -0
  1202. package/dist/record/reader/identity.d.ts +31 -0
  1203. package/dist/record/reader/identity.js +8 -0
  1204. package/dist/record/reader/identity.js.map +1 -0
  1205. package/dist/record/reader/index.cjs +21 -0
  1206. package/dist/record/reader/index.cjs.map +1 -0
  1207. package/dist/record/reader/index.d.cts +4 -0
  1208. package/dist/record/reader/index.d.mts +4 -0
  1209. package/dist/record/reader/index.d.ts +4 -0
  1210. package/dist/record/reader/index.js +42 -0
  1211. package/dist/record/reader/index.js.map +1 -0
  1212. package/dist/record/reader/internal.cjs +17 -0
  1213. package/dist/record/reader/internal.cjs.map +1 -0
  1214. package/dist/record/reader/internal.d.cts +26 -0
  1215. package/dist/record/reader/internal.d.mts +26 -0
  1216. package/dist/record/reader/internal.d.ts +26 -0
  1217. package/dist/record/reader/internal.js +8 -0
  1218. package/dist/record/reader/internal.js.map +1 -0
  1219. package/dist/record/reader/runtime.cjs +728 -0
  1220. package/dist/record/reader/runtime.cjs.map +1 -0
  1221. package/dist/record/reader/runtime.d.cts +22 -0
  1222. package/dist/record/reader/runtime.d.mts +22 -0
  1223. package/dist/record/reader/runtime.d.ts +22 -0
  1224. package/dist/record/reader/runtime.js +20 -0
  1225. package/dist/record/reader/runtime.js.map +1 -0
  1226. package/dist/record/reader/types.cjs +12 -0
  1227. package/dist/record/reader/types.cjs.map +1 -0
  1228. package/dist/record/reader/types.d.cts +50 -0
  1229. package/dist/record/reader/types.d.mts +50 -0
  1230. package/dist/record/reader/types.d.ts +50 -0
  1231. package/dist/record/reader/types.js +10 -0
  1232. package/dist/record/reader/types.js.map +1 -0
  1233. package/dist/record/source-hash.cjs +30 -0
  1234. package/dist/record/source-hash.cjs.map +1 -0
  1235. package/dist/record/source-hash.d.cts +9 -0
  1236. package/dist/record/source-hash.d.mts +9 -0
  1237. package/dist/record/source-hash.js +8 -25
  1238. package/dist/record/source-hash.js.map +1 -0
  1239. package/dist/record/writer/attachment-payload.cjs +81 -0
  1240. package/dist/record/writer/attachment-payload.cjs.map +1 -0
  1241. package/dist/record/writer/attachment-payload.d.cts +19 -0
  1242. package/dist/record/writer/attachment-payload.d.mts +19 -0
  1243. package/dist/record/writer/attachment-payload.d.ts +19 -0
  1244. package/dist/record/writer/attachment-payload.js +10 -0
  1245. package/dist/record/writer/attachment-payload.js.map +1 -0
  1246. package/dist/record/writer/errors.cjs +35 -0
  1247. package/dist/record/writer/errors.cjs.map +1 -0
  1248. package/dist/record/writer/errors.d.cts +35 -0
  1249. package/dist/record/writer/errors.d.mts +35 -0
  1250. package/dist/record/writer/errors.d.ts +35 -0
  1251. package/dist/record/writer/errors.js +14 -0
  1252. package/dist/record/writer/errors.js.map +1 -0
  1253. package/dist/record/writer/index.cjs +20 -0
  1254. package/dist/record/writer/index.cjs.map +1 -0
  1255. package/dist/record/writer/index.d.cts +3 -0
  1256. package/dist/record/writer/index.d.mts +3 -0
  1257. package/dist/record/writer/index.d.ts +3 -0
  1258. package/dist/record/writer/index.js +22 -0
  1259. package/dist/record/writer/index.js.map +1 -0
  1260. package/dist/record/writer/limits.cjs +16 -0
  1261. package/dist/record/writer/limits.cjs.map +1 -0
  1262. package/dist/record/writer/limits.d.cts +4 -0
  1263. package/dist/record/writer/limits.d.mts +4 -0
  1264. package/dist/record/writer/limits.d.ts +4 -0
  1265. package/dist/record/writer/limits.js +8 -0
  1266. package/dist/record/writer/limits.js.map +1 -0
  1267. package/dist/record/writer/runtime.cjs +656 -0
  1268. package/dist/record/writer/runtime.cjs.map +1 -0
  1269. package/dist/record/writer/runtime.d.cts +7 -0
  1270. package/dist/record/writer/runtime.d.mts +7 -0
  1271. package/dist/record/writer/runtime.d.ts +7 -0
  1272. package/dist/record/writer/runtime.js +6 -0
  1273. package/dist/record/writer/runtime.js.map +1 -0
  1274. package/dist/record/writer/types.cjs +7 -0
  1275. package/dist/record/writer/types.cjs.map +1 -0
  1276. package/dist/record/writer/types.d.cts +56 -0
  1277. package/dist/record/writer/types.d.mts +56 -0
  1278. package/dist/record/writer/types.d.ts +56 -0
  1279. package/dist/record/writer/types.js +10 -0
  1280. package/dist/record/writer/types.js.map +1 -0
  1281. package/dist/report/author/identity.cjs +268 -0
  1282. package/dist/report/author/identity.cjs.map +1 -0
  1283. package/dist/report/author/identity.d.cts +75 -0
  1284. package/dist/report/author/identity.d.mts +75 -0
  1285. package/dist/report/author/identity.d.ts +75 -0
  1286. package/dist/report/author/identity.js +34 -0
  1287. package/dist/report/author/identity.js.map +1 -0
  1288. package/dist/report/author/index.cjs +19 -0
  1289. package/dist/report/author/index.cjs.map +1 -0
  1290. package/dist/report/author/index.d.cts +4 -0
  1291. package/dist/report/author/index.d.mts +4 -0
  1292. package/dist/report/author/index.d.ts +4 -0
  1293. package/dist/report/author/index.js +30 -0
  1294. package/dist/report/author/index.js.map +1 -0
  1295. package/dist/report/author/internal.cjs +98 -0
  1296. package/dist/report/author/internal.cjs.map +1 -0
  1297. package/dist/report/author/internal.d.cts +91 -0
  1298. package/dist/report/author/internal.d.mts +91 -0
  1299. package/dist/report/author/internal.d.ts +91 -0
  1300. package/dist/report/author/internal.js +18 -0
  1301. package/dist/report/author/internal.js.map +1 -0
  1302. package/dist/report/author/model.cjs +467 -0
  1303. package/dist/report/author/model.cjs.map +1 -0
  1304. package/dist/report/author/model.d.cts +241 -0
  1305. package/dist/report/author/model.d.mts +241 -0
  1306. package/dist/report/author/model.d.ts +241 -0
  1307. package/dist/report/author/model.js +32 -0
  1308. package/dist/report/author/model.js.map +1 -0
  1309. package/dist/report/built-in/attempt-overview.cjs +395 -0
  1310. package/dist/report/built-in/attempt-overview.cjs.map +1 -0
  1311. package/dist/report/built-in/attempt-overview.d.cts +10 -0
  1312. package/dist/report/built-in/attempt-overview.d.mts +10 -0
  1313. package/dist/report/built-in/attempt-overview.d.ts +10 -0
  1314. package/dist/report/built-in/attempt-overview.js +9 -0
  1315. package/dist/report/built-in/attempt-overview.js.map +1 -0
  1316. package/dist/report/built-in/execution.cjs +766 -0
  1317. package/dist/report/built-in/execution.cjs.map +1 -0
  1318. package/dist/report/built-in/execution.d.cts +25 -0
  1319. package/dist/report/built-in/execution.d.mts +25 -0
  1320. package/dist/report/built-in/execution.d.ts +25 -0
  1321. package/dist/report/built-in/execution.js +12 -0
  1322. package/dist/report/built-in/execution.js.map +1 -0
  1323. package/dist/report/built-in/index.cjs +31 -0
  1324. package/dist/report/built-in/index.cjs.map +1 -0
  1325. package/dist/report/built-in/index.d.cts +6 -0
  1326. package/dist/report/built-in/index.d.mts +6 -0
  1327. package/dist/report/built-in/index.d.ts +6 -8
  1328. package/dist/report/built-in/index.js +35 -13
  1329. package/dist/report/built-in/index.js.map +1 -0
  1330. package/dist/report/built-in/index.mjs +35 -0
  1331. package/dist/report/built-in/index.mjs.map +1 -0
  1332. package/dist/report/built-in/overview.cjs +206 -0
  1333. package/dist/report/built-in/overview.cjs.map +1 -0
  1334. package/dist/report/built-in/overview.d.cts +6 -0
  1335. package/dist/report/built-in/overview.d.mts +6 -0
  1336. package/dist/report/built-in/overview.d.ts +6 -0
  1337. package/dist/report/built-in/overview.js +11 -0
  1338. package/dist/report/built-in/overview.js.map +1 -0
  1339. package/dist/report/built-in/run-membership-overview.cjs +194 -0
  1340. package/dist/report/built-in/run-membership-overview.cjs.map +1 -0
  1341. package/dist/report/built-in/run-membership-overview.d.cts +6 -0
  1342. package/dist/report/built-in/run-membership-overview.d.mts +6 -0
  1343. package/dist/report/built-in/run-membership-overview.d.ts +6 -0
  1344. package/dist/report/built-in/run-membership-overview.js +9 -0
  1345. package/dist/report/built-in/run-membership-overview.js.map +1 -0
  1346. package/dist/report/built-in/sandbox-history.cjs +384 -0
  1347. package/dist/report/built-in/sandbox-history.cjs.map +1 -0
  1348. package/dist/report/built-in/sandbox-history.d.cts +9 -0
  1349. package/dist/report/built-in/sandbox-history.d.mts +9 -0
  1350. package/dist/report/built-in/sandbox-history.d.ts +9 -0
  1351. package/dist/report/built-in/sandbox-history.js +9 -0
  1352. package/dist/report/built-in/sandbox-history.js.map +1 -0
  1353. package/dist/report/built-in/source.cjs +162 -0
  1354. package/dist/report/built-in/source.cjs.map +1 -0
  1355. package/dist/report/built-in/source.d.cts +11 -0
  1356. package/dist/report/built-in/source.d.mts +11 -0
  1357. package/dist/report/built-in/source.d.ts +11 -0
  1358. package/dist/report/built-in/source.js +8 -0
  1359. package/dist/report/built-in/source.js.map +1 -0
  1360. package/dist/report/execution/index.cjs +20 -0
  1361. package/dist/report/execution/index.cjs.map +1 -0
  1362. package/dist/report/execution/index.d.cts +3 -0
  1363. package/dist/report/execution/index.d.mts +3 -0
  1364. package/dist/report/execution/index.d.ts +3 -0
  1365. package/dist/report/execution/index.js +30 -0
  1366. package/dist/report/execution/index.js.map +1 -0
  1367. package/dist/report/execution/model.cjs +483 -0
  1368. package/dist/report/execution/model.cjs.map +1 -0
  1369. package/dist/report/execution/model.d.cts +50 -0
  1370. package/dist/report/execution/model.d.mts +50 -0
  1371. package/dist/report/execution/model.d.ts +50 -0
  1372. package/dist/report/execution/model.js +16 -0
  1373. package/dist/report/execution/model.js.map +1 -0
  1374. package/dist/report/execution/problems.cjs +210 -0
  1375. package/dist/report/execution/problems.cjs.map +1 -0
  1376. package/dist/report/execution/problems.d.cts +54 -0
  1377. package/dist/report/execution/problems.d.mts +54 -0
  1378. package/dist/report/execution/problems.d.ts +54 -0
  1379. package/dist/report/execution/problems.js +14 -0
  1380. package/dist/report/execution/problems.js.map +1 -0
  1381. package/dist/report/execution/results.cjs +26 -0
  1382. package/dist/report/execution/results.cjs.map +1 -0
  1383. package/dist/report/execution/results.d.cts +102 -0
  1384. package/dist/report/execution/results.d.mts +102 -0
  1385. package/dist/report/execution/results.d.ts +102 -0
  1386. package/dist/report/execution/results.js +8 -0
  1387. package/dist/report/execution/results.js.map +1 -0
  1388. package/dist/report/host/execute.cjs +1287 -0
  1389. package/dist/report/host/execute.cjs.map +1 -0
  1390. package/dist/report/host/execute.d.cts +23 -0
  1391. package/dist/report/host/execute.d.mts +23 -0
  1392. package/dist/report/host/execute.d.ts +23 -0
  1393. package/dist/report/host/execute.js +6 -0
  1394. package/dist/report/host/execute.js.map +1 -0
  1395. package/dist/report/host/from-record.cjs +47 -0
  1396. package/dist/report/host/from-record.cjs.map +1 -0
  1397. package/dist/report/host/from-record.d.cts +36 -0
  1398. package/dist/report/host/from-record.d.mts +36 -0
  1399. package/dist/report/host/from-record.d.ts +36 -0
  1400. package/dist/report/host/from-record.js +8 -0
  1401. package/dist/report/host/from-record.js.map +1 -0
  1402. package/dist/report/host/html.cjs +424 -0
  1403. package/dist/report/host/html.cjs.map +1 -0
  1404. package/dist/report/host/html.d.cts +28 -0
  1405. package/dist/report/host/html.d.mts +28 -0
  1406. package/dist/report/host/html.d.ts +28 -0
  1407. package/dist/report/host/html.js +6 -0
  1408. package/dist/report/host/html.js.map +1 -0
  1409. package/dist/report/host/index.cjs +21 -0
  1410. package/dist/report/host/index.cjs.map +1 -0
  1411. package/dist/report/host/index.d.cts +11 -0
  1412. package/dist/report/host/index.d.mts +11 -0
  1413. package/dist/report/host/index.d.ts +11 -0
  1414. package/dist/report/host/index.js +24 -0
  1415. package/dist/report/host/index.js.map +1 -0
  1416. package/dist/report/host/node/loader.cjs +210 -0
  1417. package/dist/report/host/node/loader.cjs.map +1 -0
  1418. package/dist/report/host/node/loader.d.cts +45 -0
  1419. package/dist/report/host/node/loader.d.mts +45 -0
  1420. package/dist/report/host/node/loader.d.ts +45 -0
  1421. package/dist/report/host/node/loader.js +14 -0
  1422. package/dist/report/host/node/loader.js.map +1 -0
  1423. package/dist/report/host/node/theme.cjs +21 -0
  1424. package/dist/report/host/node/theme.cjs.map +1 -0
  1425. package/dist/report/host/node/theme.d.cts +1 -0
  1426. package/dist/report/host/node/theme.d.mts +1 -0
  1427. package/dist/report/host/node/theme.d.ts +1 -0
  1428. package/dist/report/host/node/theme.js +14 -0
  1429. package/dist/report/host/node/theme.js.map +1 -0
  1430. package/dist/report/host/node.cjs +147 -0
  1431. package/dist/report/host/node.cjs.map +1 -0
  1432. package/dist/report/host/node.d.cts +36 -0
  1433. package/dist/report/host/node.d.mts +36 -0
  1434. package/dist/report/host/node.d.ts +36 -0
  1435. package/dist/report/host/node.js +36 -0
  1436. package/dist/report/host/node.js.map +1 -0
  1437. package/dist/report/host/presentation.cjs +423 -0
  1438. package/dist/report/host/presentation.cjs.map +1 -0
  1439. package/dist/report/host/presentation.d.cts +42 -0
  1440. package/dist/report/host/presentation.d.mts +42 -0
  1441. package/dist/report/host/presentation.d.ts +42 -0
  1442. package/dist/report/host/presentation.js +16 -0
  1443. package/dist/report/host/presentation.js.map +1 -0
  1444. package/dist/report/host/static.cjs +126 -0
  1445. package/dist/report/host/static.cjs.map +1 -0
  1446. package/dist/report/host/static.d.cts +55 -0
  1447. package/dist/report/host/static.d.mts +55 -0
  1448. package/dist/report/host/static.d.ts +55 -0
  1449. package/dist/report/host/static.js +8 -0
  1450. package/dist/report/host/static.js.map +1 -0
  1451. package/dist/report/host/theme.cjs +223 -0
  1452. package/dist/report/host/theme.cjs.map +1 -0
  1453. package/dist/report/host/theme.d.cts +64 -0
  1454. package/dist/report/host/theme.d.mts +64 -0
  1455. package/dist/report/host/theme.d.ts +64 -0
  1456. package/dist/report/host/theme.js +14 -0
  1457. package/dist/report/host/theme.js.map +1 -0
  1458. package/dist/report/host/view-session.cjs +82 -0
  1459. package/dist/report/host/view-session.cjs.map +1 -0
  1460. package/dist/report/host/view-session.d.cts +82 -0
  1461. package/dist/report/host/view-session.d.mts +82 -0
  1462. package/dist/report/host/view-session.d.ts +82 -0
  1463. package/dist/report/host/view-session.js +6 -0
  1464. package/dist/report/host/view-session.js.map +1 -0
  1465. package/dist/report/index.cjs +58 -0
  1466. package/dist/report/index.cjs.map +1 -0
  1467. package/dist/report/index.d.cts +11 -0
  1468. package/dist/report/index.d.mts +11 -0
  1469. package/dist/report/index.d.ts +11 -43
  1470. package/dist/report/index.js +120 -44
  1471. package/dist/report/index.js.map +1 -0
  1472. package/dist/report/index.mjs +120 -0
  1473. package/dist/report/index.mjs.map +1 -0
  1474. package/dist/report/model/panel.cjs +271 -0
  1475. package/dist/report/model/panel.cjs.map +1 -0
  1476. package/dist/report/model/panel.d.cts +109 -0
  1477. package/dist/report/model/panel.d.mts +109 -0
  1478. package/dist/report/model/panel.d.ts +2 -2
  1479. package/dist/report/model/panel.js +22 -260
  1480. package/dist/report/model/panel.js.map +1 -0
  1481. package/dist/report/model/text-layout.cjs +185 -0
  1482. package/dist/report/model/text-layout.cjs.map +1 -0
  1483. package/dist/report/model/text-layout.d.cts +75 -0
  1484. package/dist/report/model/text-layout.d.mts +75 -0
  1485. package/dist/report/model/text-layout.js +22 -173
  1486. package/dist/report/model/text-layout.js.map +1 -0
  1487. package/dist/report/semantic/document.cjs +593 -0
  1488. package/dist/report/semantic/document.cjs.map +1 -0
  1489. package/dist/report/semantic/document.d.cts +162 -0
  1490. package/dist/report/semantic/document.d.mts +162 -0
  1491. package/dist/report/semantic/document.d.ts +162 -0
  1492. package/dist/report/semantic/document.js +38 -0
  1493. package/dist/report/semantic/document.js.map +1 -0
  1494. package/dist/report/semantic/index.cjs +18 -0
  1495. package/dist/report/semantic/index.cjs.map +1 -0
  1496. package/dist/report/semantic/index.d.cts +1 -0
  1497. package/dist/report/semantic/index.d.mts +1 -0
  1498. package/dist/report/semantic/index.d.ts +1 -0
  1499. package/dist/report/semantic/index.js +38 -0
  1500. package/dist/report/semantic/index.js.map +1 -0
  1501. package/dist/runner/accept-prompt.cjs +50 -0
  1502. package/dist/runner/accept-prompt.cjs.map +1 -0
  1503. package/dist/runner/accept-prompt.d.cts +27 -0
  1504. package/dist/runner/accept-prompt.d.mts +27 -0
  1505. package/dist/runner/accept-prompt.d.ts +27 -0
  1506. package/dist/runner/accept-prompt.js +10 -0
  1507. package/dist/runner/accept-prompt.js.map +1 -0
  1508. package/dist/runner/accept.cjs +280 -0
  1509. package/dist/runner/accept.cjs.map +1 -0
  1510. package/dist/runner/accept.d.cts +75 -0
  1511. package/dist/runner/accept.d.mts +75 -0
  1512. package/dist/runner/accept.d.ts +75 -0
  1513. package/dist/runner/accept.js +16 -0
  1514. package/dist/runner/accept.js.map +1 -0
  1515. package/dist/runner/adoption.cjs +859 -0
  1516. package/dist/runner/adoption.cjs.map +1 -0
  1517. package/dist/runner/adoption.d.cts +214 -0
  1518. package/dist/runner/adoption.d.mts +214 -0
  1519. package/dist/runner/adoption.d.ts +214 -0
  1520. package/dist/runner/adoption.js +50 -0
  1521. package/dist/runner/adoption.js.map +1 -0
  1522. package/dist/runner/assert-first-bridge.cjs +203 -0
  1523. package/dist/runner/assert-first-bridge.cjs.map +1 -0
  1524. package/dist/runner/assert-first-bridge.d.cts +51 -0
  1525. package/dist/runner/assert-first-bridge.d.mts +51 -0
  1526. package/dist/runner/assert-first-bridge.d.ts +51 -0
  1527. package/dist/runner/assert-first-bridge.js +6 -0
  1528. package/dist/runner/assert-first-bridge.js.map +1 -0
  1529. package/dist/runner/assertions.cjs +77 -0
  1530. package/dist/runner/assertions.cjs.map +1 -0
  1531. package/dist/runner/assertions.d.cts +8 -0
  1532. package/dist/runner/assertions.d.mts +8 -0
  1533. package/dist/runner/assertions.d.ts +8 -0
  1534. package/dist/runner/assertions.js +6 -0
  1535. package/dist/runner/assertions.js.map +1 -0
  1536. package/dist/runner/attempt.cjs +2057 -0
  1537. package/dist/runner/attempt.cjs.map +1 -0
  1538. package/dist/runner/attempt.d.cts +90 -0
  1539. package/dist/runner/attempt.d.mts +90 -0
  1540. package/dist/runner/attempt.d.ts +90 -0
  1541. package/dist/runner/attempt.js +14 -0
  1542. package/dist/runner/attempt.js.map +1 -0
  1543. package/dist/runner/build-preparation.cjs +87 -0
  1544. package/dist/runner/build-preparation.cjs.map +1 -0
  1545. package/dist/runner/build-preparation.d.cts +23 -0
  1546. package/dist/runner/build-preparation.d.mts +23 -0
  1547. package/dist/runner/build-preparation.d.ts +23 -0
  1548. package/dist/runner/build-preparation.js +8 -0
  1549. package/dist/runner/build-preparation.js.map +1 -0
  1550. package/dist/runner/cleanup-timeout.cjs +40 -0
  1551. package/dist/runner/cleanup-timeout.cjs.map +1 -0
  1552. package/dist/runner/cleanup-timeout.d.cts +21 -0
  1553. package/dist/runner/cleanup-timeout.d.mts +21 -0
  1554. package/dist/runner/cleanup-timeout.d.ts +19 -1
  1555. package/dist/runner/cleanup-timeout.js +12 -0
  1556. package/dist/runner/cleanup-timeout.js.map +1 -0
  1557. package/dist/runner/command-plan.cjs +475 -0
  1558. package/dist/runner/command-plan.cjs.map +1 -0
  1559. package/dist/runner/command-plan.d.cts +106 -0
  1560. package/dist/runner/command-plan.d.mts +106 -0
  1561. package/dist/runner/command-plan.d.ts +106 -0
  1562. package/dist/runner/command-plan.js +6 -0
  1563. package/dist/runner/command-plan.js.map +1 -0
  1564. package/dist/runner/config-identity.cjs +259 -0
  1565. package/dist/runner/config-identity.cjs.map +1 -0
  1566. package/dist/runner/config-identity.d.cts +88 -0
  1567. package/dist/runner/config-identity.d.mts +88 -0
  1568. package/dist/runner/config-identity.d.ts +7 -5
  1569. package/dist/runner/config-identity.js +22 -0
  1570. package/dist/runner/config-identity.js.map +1 -0
  1571. package/dist/runner/direct-agent-sandbox.cjs +64 -0
  1572. package/dist/runner/direct-agent-sandbox.cjs.map +1 -0
  1573. package/dist/runner/direct-agent-sandbox.d.cts +5 -0
  1574. package/dist/runner/direct-agent-sandbox.d.mts +5 -0
  1575. package/dist/runner/direct-agent-sandbox.d.ts +5 -0
  1576. package/dist/runner/direct-agent-sandbox.js +8 -0
  1577. package/dist/runner/direct-agent-sandbox.js.map +1 -0
  1578. package/dist/runner/discover.cjs +628 -0
  1579. package/dist/runner/discover.cjs.map +1 -0
  1580. package/dist/runner/discover.d.cts +29 -0
  1581. package/dist/runner/discover.d.mts +29 -0
  1582. package/dist/runner/discover.d.ts +29 -0
  1583. package/dist/runner/discover.js +12 -0
  1584. package/dist/runner/discover.js.map +1 -0
  1585. package/dist/runner/eval-selection.cjs +95 -0
  1586. package/dist/runner/eval-selection.cjs.map +1 -0
  1587. package/dist/runner/eval-selection.d.cts +37 -0
  1588. package/dist/runner/eval-selection.d.mts +37 -0
  1589. package/dist/runner/eval-selection.d.ts +2 -7
  1590. package/dist/runner/eval-selection.js +12 -0
  1591. package/dist/runner/eval-selection.js.map +1 -0
  1592. package/dist/runner/eval-source.cjs +64 -0
  1593. package/dist/runner/eval-source.cjs.map +1 -0
  1594. package/dist/runner/eval-source.d.cts +28 -0
  1595. package/dist/runner/eval-source.d.mts +28 -0
  1596. package/dist/runner/eval-source.d.ts +1 -1
  1597. package/dist/runner/eval-source.js +26 -0
  1598. package/dist/runner/eval-source.js.map +1 -0
  1599. package/dist/runner/experiment-cleanup-registry.cjs +70 -0
  1600. package/dist/runner/experiment-cleanup-registry.cjs.map +1 -0
  1601. package/dist/runner/experiment-cleanup-registry.d.cts +19 -0
  1602. package/dist/runner/experiment-cleanup-registry.d.mts +19 -0
  1603. package/dist/runner/experiment-cleanup-registry.d.ts +19 -0
  1604. package/dist/runner/experiment-cleanup-registry.js +14 -0
  1605. package/dist/runner/experiment-cleanup-registry.js.map +1 -0
  1606. package/dist/runner/feedback/coordinator.cjs +404 -0
  1607. package/dist/runner/feedback/coordinator.cjs.map +1 -0
  1608. package/dist/runner/feedback/coordinator.d.cts +61 -0
  1609. package/dist/runner/feedback/coordinator.d.mts +61 -0
  1610. package/dist/runner/feedback/coordinator.d.ts +61 -0
  1611. package/dist/runner/feedback/coordinator.js +6 -0
  1612. package/dist/runner/feedback/coordinator.js.map +1 -0
  1613. package/dist/runner/feedback/eval-conclusions.cjs +75 -0
  1614. package/dist/runner/feedback/eval-conclusions.cjs.map +1 -0
  1615. package/dist/runner/feedback/eval-conclusions.d.cts +30 -0
  1616. package/dist/runner/feedback/eval-conclusions.d.mts +30 -0
  1617. package/dist/runner/feedback/eval-conclusions.d.ts +30 -0
  1618. package/dist/runner/feedback/eval-conclusions.js +8 -0
  1619. package/dist/runner/feedback/eval-conclusions.js.map +1 -0
  1620. package/dist/runner/feedback/failure.cjs +194 -0
  1621. package/dist/runner/feedback/failure.cjs.map +1 -0
  1622. package/dist/runner/feedback/failure.d.cts +13 -0
  1623. package/dist/runner/feedback/failure.d.mts +13 -0
  1624. package/dist/runner/feedback/failure.d.ts +13 -0
  1625. package/dist/runner/feedback/failure.js +8 -0
  1626. package/dist/runner/feedback/failure.js.map +1 -0
  1627. package/dist/runner/feedback/human.cjs +1469 -0
  1628. package/dist/runner/feedback/human.cjs.map +1 -0
  1629. package/dist/runner/feedback/human.d.cts +139 -0
  1630. package/dist/runner/feedback/human.d.mts +139 -0
  1631. package/dist/runner/feedback/human.d.ts +139 -0
  1632. package/dist/runner/feedback/human.js +18 -0
  1633. package/dist/runner/feedback/human.js.map +1 -0
  1634. package/dist/runner/feedback/index.cjs +51 -0
  1635. package/dist/runner/feedback/index.cjs.map +1 -0
  1636. package/dist/runner/feedback/index.d.cts +10 -0
  1637. package/dist/runner/feedback/index.d.mts +10 -0
  1638. package/dist/runner/feedback/index.d.ts +10 -0
  1639. package/dist/runner/feedback/index.js +58 -0
  1640. package/dist/runner/feedback/index.js.map +1 -0
  1641. package/dist/runner/feedback/input-guard.cjs +106 -0
  1642. package/dist/runner/feedback/input-guard.cjs.map +1 -0
  1643. package/dist/runner/feedback/input-guard.d.cts +43 -0
  1644. package/dist/runner/feedback/input-guard.d.mts +43 -0
  1645. package/dist/runner/feedback/input-guard.d.ts +43 -0
  1646. package/dist/runner/feedback/input-guard.js +8 -0
  1647. package/dist/runner/feedback/input-guard.js.map +1 -0
  1648. package/dist/runner/feedback/io.cjs +43 -0
  1649. package/dist/runner/feedback/io.cjs.map +1 -0
  1650. package/dist/runner/feedback/io.d.cts +38 -0
  1651. package/dist/runner/feedback/io.d.mts +38 -0
  1652. package/dist/runner/feedback/io.d.ts +38 -0
  1653. package/dist/runner/feedback/io.js +6 -0
  1654. package/dist/runner/feedback/io.js.map +1 -0
  1655. package/dist/runner/feedback/json.cjs +371 -0
  1656. package/dist/runner/feedback/json.cjs.map +1 -0
  1657. package/dist/runner/feedback/json.d.cts +242 -0
  1658. package/dist/runner/feedback/json.d.mts +242 -0
  1659. package/dist/runner/feedback/json.d.ts +242 -0
  1660. package/dist/runner/feedback/json.js +10 -0
  1661. package/dist/runner/feedback/json.js.map +1 -0
  1662. package/dist/runner/feedback/profile.cjs +8 -0
  1663. package/dist/runner/feedback/profile.cjs.map +1 -0
  1664. package/dist/runner/feedback/profile.d.cts +14 -0
  1665. package/dist/runner/feedback/profile.d.mts +14 -0
  1666. package/dist/runner/feedback/profile.d.ts +14 -0
  1667. package/dist/runner/feedback/profile.js +6 -0
  1668. package/dist/runner/feedback/profile.js.map +1 -0
  1669. package/dist/runner/feedback/reducer.cjs +372 -0
  1670. package/dist/runner/feedback/reducer.cjs.map +1 -0
  1671. package/dist/runner/feedback/reducer.d.cts +4 -0
  1672. package/dist/runner/feedback/reducer.d.mts +4 -0
  1673. package/dist/runner/feedback/reducer.d.ts +4 -0
  1674. package/dist/runner/feedback/reducer.js +8 -0
  1675. package/dist/runner/feedback/reducer.js.map +1 -0
  1676. package/dist/runner/feedback/renderer.cjs +3 -0
  1677. package/dist/runner/feedback/renderer.cjs.map +1 -0
  1678. package/dist/runner/feedback/renderer.d.cts +63 -0
  1679. package/dist/runner/feedback/renderer.d.mts +63 -0
  1680. package/dist/runner/feedback/renderer.d.ts +63 -0
  1681. package/dist/runner/feedback/renderer.js +4 -0
  1682. package/dist/runner/feedback/renderer.js.map +1 -0
  1683. package/dist/runner/feedback/sink.cjs +194 -0
  1684. package/dist/runner/feedback/sink.cjs.map +1 -0
  1685. package/dist/runner/feedback/sink.d.cts +187 -0
  1686. package/dist/runner/feedback/sink.d.mts +187 -0
  1687. package/dist/runner/feedback/sink.d.ts +7 -7
  1688. package/dist/runner/feedback/sink.js +34 -0
  1689. package/dist/runner/feedback/sink.js.map +1 -0
  1690. package/dist/runner/feedback/testing.cjs +69 -0
  1691. package/dist/runner/feedback/testing.cjs.map +1 -0
  1692. package/dist/runner/feedback/testing.d.cts +26 -0
  1693. package/dist/runner/feedback/testing.d.mts +26 -0
  1694. package/dist/runner/feedback/testing.d.ts +26 -0
  1695. package/dist/runner/feedback/testing.js +6 -0
  1696. package/dist/runner/feedback/testing.js.map +1 -0
  1697. package/dist/runner/fingerprint.cjs +379 -0
  1698. package/dist/runner/fingerprint.cjs.map +1 -0
  1699. package/dist/runner/fingerprint.d.cts +71 -0
  1700. package/dist/runner/fingerprint.d.mts +71 -0
  1701. package/dist/runner/fingerprint.d.ts +49 -167
  1702. package/dist/runner/fingerprint.js +22 -0
  1703. package/dist/runner/fingerprint.js.map +1 -0
  1704. package/dist/runner/gate-lease.cjs +271 -0
  1705. package/dist/runner/gate-lease.cjs.map +1 -0
  1706. package/dist/runner/gate-lease.d.cts +62 -0
  1707. package/dist/runner/gate-lease.d.mts +62 -0
  1708. package/dist/runner/gate-lease.d.ts +62 -0
  1709. package/dist/runner/gate-lease.js +22 -0
  1710. package/dist/runner/gate-lease.js.map +1 -0
  1711. package/dist/runner/judge-config.cjs +26 -0
  1712. package/dist/runner/judge-config.cjs.map +1 -0
  1713. package/dist/runner/judge-config.d.cts +8 -0
  1714. package/dist/runner/judge-config.d.mts +8 -0
  1715. package/dist/runner/judge-config.d.ts +6 -4
  1716. package/dist/runner/judge-config.js +6 -0
  1717. package/dist/runner/judge-config.js.map +1 -0
  1718. package/dist/runner/leak-gate.cjs +381 -0
  1719. package/dist/runner/leak-gate.cjs.map +1 -0
  1720. package/dist/runner/leak-gate.d.cts +124 -0
  1721. package/dist/runner/leak-gate.d.mts +124 -0
  1722. package/dist/runner/leak-gate.d.ts +36 -8
  1723. package/dist/runner/leak-gate.js +32 -0
  1724. package/dist/runner/leak-gate.js.map +1 -0
  1725. package/dist/runner/ledger.cjs +470 -0
  1726. package/dist/runner/ledger.cjs.map +1 -0
  1727. package/dist/runner/ledger.d.cts +35 -0
  1728. package/dist/runner/ledger.d.mts +35 -0
  1729. package/dist/runner/ledger.d.ts +35 -0
  1730. package/dist/runner/ledger.js +8 -0
  1731. package/dist/runner/ledger.js.map +1 -0
  1732. package/dist/runner/lock.cjs +236 -0
  1733. package/dist/runner/lock.cjs.map +1 -0
  1734. package/dist/runner/lock.d.cts +56 -0
  1735. package/dist/runner/lock.d.mts +56 -0
  1736. package/dist/runner/lock.d.ts +56 -0
  1737. package/dist/runner/lock.js +22 -0
  1738. package/dist/runner/lock.js.map +1 -0
  1739. package/dist/runner/manifest.cjs +179 -0
  1740. package/dist/runner/manifest.cjs.map +1 -0
  1741. package/dist/runner/manifest.d.cts +61 -0
  1742. package/dist/runner/manifest.d.mts +61 -0
  1743. package/dist/runner/manifest.d.ts +4 -4
  1744. package/dist/runner/manifest.js +22 -0
  1745. package/dist/runner/manifest.js.map +1 -0
  1746. package/dist/runner/project-current.cjs +117 -0
  1747. package/dist/runner/project-current.cjs.map +1 -0
  1748. package/dist/runner/project-current.d.cts +29 -0
  1749. package/dist/runner/project-current.d.mts +29 -0
  1750. package/dist/runner/project-current.d.ts +29 -0
  1751. package/dist/runner/project-current.js +8 -0
  1752. package/dist/runner/project-current.js.map +1 -0
  1753. package/dist/runner/project-target.cjs +3 -0
  1754. package/dist/runner/project-target.cjs.map +1 -0
  1755. package/dist/runner/project-target.d.cts +30 -0
  1756. package/dist/runner/project-target.d.mts +30 -0
  1757. package/dist/runner/project-target.d.ts +30 -0
  1758. package/dist/runner/project-target.js +4 -0
  1759. package/dist/runner/project-target.js.map +1 -0
  1760. package/dist/runner/record.cjs +883 -0
  1761. package/dist/runner/record.cjs.map +1 -0
  1762. package/dist/runner/record.d.cts +151 -0
  1763. package/dist/runner/record.d.mts +151 -0
  1764. package/dist/runner/record.d.ts +151 -0
  1765. package/dist/runner/record.js +10 -0
  1766. package/dist/runner/record.js.map +1 -0
  1767. package/dist/runner/rename-experiment.cjs +273 -0
  1768. package/dist/runner/rename-experiment.cjs.map +1 -0
  1769. package/dist/runner/rename-experiment.d.cts +123 -0
  1770. package/dist/runner/rename-experiment.d.mts +123 -0
  1771. package/dist/runner/rename-experiment.d.ts +123 -0
  1772. package/dist/runner/rename-experiment.js +14 -0
  1773. package/dist/runner/rename-experiment.js.map +1 -0
  1774. package/dist/runner/report.cjs +123 -0
  1775. package/dist/runner/report.cjs.map +1 -0
  1776. package/dist/runner/report.d.cts +27 -0
  1777. package/dist/runner/report.d.mts +27 -0
  1778. package/dist/runner/report.d.ts +27 -0
  1779. package/dist/runner/report.js +14 -0
  1780. package/dist/runner/report.js.map +1 -0
  1781. package/dist/runner/reporters/braintrust.cjs +302 -0
  1782. package/dist/runner/reporters/braintrust.cjs.map +1 -0
  1783. package/dist/runner/reporters/braintrust.d.cts +59 -0
  1784. package/dist/runner/reporters/braintrust.d.mts +59 -0
  1785. package/dist/runner/reporters/braintrust.d.ts +59 -0
  1786. package/dist/runner/reporters/braintrust.js +8 -0
  1787. package/dist/runner/reporters/braintrust.js.map +1 -0
  1788. package/dist/runner/reporters/index.cjs +12 -0
  1789. package/dist/runner/reporters/index.cjs.map +1 -0
  1790. package/dist/runner/reporters/index.d.cts +2 -0
  1791. package/dist/runner/reporters/index.d.mts +2 -0
  1792. package/dist/runner/reporters/index.d.ts +2 -0
  1793. package/dist/runner/reporters/index.js +10 -0
  1794. package/dist/runner/reporters/index.js.map +1 -0
  1795. package/dist/runner/reporters/index.mjs +10 -0
  1796. package/dist/runner/reporters/index.mjs.map +1 -0
  1797. package/dist/runner/reporters/json.cjs +116 -0
  1798. package/dist/runner/reporters/json.cjs.map +1 -0
  1799. package/dist/runner/reporters/json.d.cts +3 -0
  1800. package/dist/runner/reporters/json.d.mts +3 -0
  1801. package/dist/runner/reporters/json.d.ts +3 -0
  1802. package/dist/runner/reporters/json.js +8 -0
  1803. package/dist/runner/reporters/json.js.map +1 -0
  1804. package/dist/runner/reporters/shared.cjs +14 -0
  1805. package/dist/runner/reporters/shared.cjs.map +1 -0
  1806. package/dist/runner/reporters/shared.d.cts +3 -0
  1807. package/dist/runner/reporters/shared.d.mts +3 -0
  1808. package/dist/runner/reporters/shared.d.ts +3 -0
  1809. package/dist/runner/reporters/shared.js +8 -0
  1810. package/dist/runner/reporters/shared.js.map +1 -0
  1811. package/dist/runner/reuse-diagnostics.cjs +71 -0
  1812. package/dist/runner/reuse-diagnostics.cjs.map +1 -0
  1813. package/dist/runner/reuse-diagnostics.d.cts +21 -0
  1814. package/dist/runner/reuse-diagnostics.d.mts +21 -0
  1815. package/dist/runner/reuse-diagnostics.d.ts +21 -0
  1816. package/dist/runner/reuse-diagnostics.js +8 -0
  1817. package/dist/runner/reuse-diagnostics.js.map +1 -0
  1818. package/dist/runner/reuse-plan.cjs +739 -0
  1819. package/dist/runner/reuse-plan.cjs.map +1 -0
  1820. package/dist/runner/reuse-plan.d.cts +185 -0
  1821. package/dist/runner/reuse-plan.d.mts +185 -0
  1822. package/dist/runner/reuse-plan.d.ts +185 -0
  1823. package/dist/runner/reuse-plan.js +26 -0
  1824. package/dist/runner/reuse-plan.js.map +1 -0
  1825. package/dist/runner/reuse-readback.cjs +275 -0
  1826. package/dist/runner/reuse-readback.cjs.map +1 -0
  1827. package/dist/runner/reuse-readback.d.cts +169 -0
  1828. package/dist/runner/reuse-readback.d.mts +169 -0
  1829. package/dist/runner/reuse-readback.d.ts +169 -0
  1830. package/dist/runner/reuse-readback.js +20 -0
  1831. package/dist/runner/reuse-readback.js.map +1 -0
  1832. package/dist/runner/run.cjs +2362 -0
  1833. package/dist/runner/run.cjs.map +1 -0
  1834. package/dist/runner/run.d.cts +44 -0
  1835. package/dist/runner/run.d.mts +44 -0
  1836. package/dist/runner/run.d.ts +44 -0
  1837. package/dist/runner/run.js +12 -0
  1838. package/dist/runner/run.js.map +1 -0
  1839. package/dist/runner/sandbox-pool.cjs +312 -0
  1840. package/dist/runner/sandbox-pool.cjs.map +1 -0
  1841. package/dist/runner/sandbox-pool.d.cts +70 -0
  1842. package/dist/runner/sandbox-pool.d.mts +70 -0
  1843. package/dist/runner/sandbox-pool.d.ts +70 -0
  1844. package/dist/runner/sandbox-pool.js +6 -0
  1845. package/dist/runner/sandbox-pool.js.map +1 -0
  1846. package/dist/runner/sandbox-prep.cjs +57 -0
  1847. package/dist/runner/sandbox-prep.cjs.map +1 -0
  1848. package/dist/runner/sandbox-prep.d.cts +8 -0
  1849. package/dist/runner/sandbox-prep.d.mts +8 -0
  1850. package/dist/runner/sandbox-prep.d.ts +8 -0
  1851. package/dist/runner/sandbox-prep.js +8 -0
  1852. package/dist/runner/sandbox-prep.js.map +1 -0
  1853. package/dist/runner/sandbox-record-producer.cjs +142 -0
  1854. package/dist/runner/sandbox-record-producer.cjs.map +1 -0
  1855. package/dist/runner/sandbox-record-producer.d.cts +30 -0
  1856. package/dist/runner/sandbox-record-producer.d.mts +30 -0
  1857. package/dist/runner/sandbox-record-producer.d.ts +30 -0
  1858. package/dist/runner/sandbox-record-producer.js +6 -0
  1859. package/dist/runner/sandbox-record-producer.js.map +1 -0
  1860. package/dist/runner/sandbox-reuse.cjs +57 -0
  1861. package/dist/runner/sandbox-reuse.cjs.map +1 -0
  1862. package/dist/runner/sandbox-reuse.d.cts +43 -0
  1863. package/dist/runner/sandbox-reuse.d.mts +43 -0
  1864. package/dist/runner/sandbox-reuse.d.ts +43 -0
  1865. package/dist/runner/sandbox-reuse.js +8 -0
  1866. package/dist/runner/sandbox-reuse.js.map +1 -0
  1867. package/dist/runner/sandbox-selection.cjs +362 -0
  1868. package/dist/runner/sandbox-selection.cjs.map +1 -0
  1869. package/dist/runner/sandbox-selection.d.cts +87 -0
  1870. package/dist/runner/sandbox-selection.d.mts +87 -0
  1871. package/dist/runner/sandbox-selection.d.ts +17 -6
  1872. package/dist/runner/sandbox-selection.js +22 -0
  1873. package/dist/runner/sandbox-selection.js.map +1 -0
  1874. package/dist/runner/session.cjs +535 -0
  1875. package/dist/runner/session.cjs.map +1 -0
  1876. package/dist/runner/session.d.cts +116 -0
  1877. package/dist/runner/session.d.mts +116 -0
  1878. package/dist/runner/session.d.ts +44 -24
  1879. package/dist/runner/session.js +28 -0
  1880. package/dist/runner/session.js.map +1 -0
  1881. package/dist/runner/source-closure.cjs +51 -0
  1882. package/dist/runner/source-closure.cjs.map +1 -0
  1883. package/dist/runner/source-closure.d.cts +6 -0
  1884. package/dist/runner/source-closure.d.mts +6 -0
  1885. package/dist/runner/source-closure.d.ts +6 -0
  1886. package/dist/runner/source-closure.js +6 -0
  1887. package/dist/runner/source-closure.js.map +1 -0
  1888. package/dist/runner/source-producer.cjs +417 -0
  1889. package/dist/runner/source-producer.cjs.map +1 -0
  1890. package/dist/runner/source-producer.d.cts +70 -0
  1891. package/dist/runner/source-producer.d.mts +70 -0
  1892. package/dist/runner/source-producer.d.ts +70 -0
  1893. package/dist/runner/source-producer.js +10 -0
  1894. package/dist/runner/source-producer.js.map +1 -0
  1895. package/dist/runner/teardown-registry.cjs +112 -0
  1896. package/dist/runner/teardown-registry.cjs.map +1 -0
  1897. package/dist/runner/teardown-registry.d.cts +35 -0
  1898. package/dist/runner/teardown-registry.d.mts +35 -0
  1899. package/dist/runner/teardown-registry.d.ts +35 -0
  1900. package/dist/runner/teardown-registry.js +20 -0
  1901. package/dist/runner/teardown-registry.js.map +1 -0
  1902. package/dist/runner/timeout.cjs +31 -0
  1903. package/dist/runner/timeout.cjs.map +1 -0
  1904. package/dist/runner/timeout.d.cts +30 -0
  1905. package/dist/runner/timeout.d.mts +30 -0
  1906. package/dist/runner/timeout.d.ts +30 -0
  1907. package/dist/runner/timeout.js +8 -0
  1908. package/dist/runner/timeout.js.map +1 -0
  1909. package/dist/runner/timing.cjs +279 -0
  1910. package/dist/runner/timing.cjs.map +1 -0
  1911. package/dist/runner/timing.d.cts +97 -0
  1912. package/dist/runner/timing.d.mts +97 -0
  1913. package/dist/runner/timing.d.ts +2 -2
  1914. package/dist/runner/timing.js +26 -0
  1915. package/dist/runner/timing.js.map +1 -0
  1916. package/dist/runner/types.cjs +135 -0
  1917. package/dist/runner/types.cjs.map +1 -0
  1918. package/dist/runner/types.d.cts +1703 -0
  1919. package/dist/runner/types.d.mts +1703 -0
  1920. package/dist/runner/types.d.ts +214 -166
  1921. package/dist/runner/types.js +32 -109
  1922. package/dist/runner/types.js.map +1 -0
  1923. package/dist/sample/analysis.cjs +1068 -0
  1924. package/dist/sample/analysis.cjs.map +1 -0
  1925. package/dist/sample/analysis.d.cts +153 -0
  1926. package/dist/sample/analysis.d.mts +153 -0
  1927. package/dist/sample/analysis.d.ts +153 -0
  1928. package/dist/sample/analysis.js +30 -0
  1929. package/dist/sample/analysis.js.map +1 -0
  1930. package/dist/sample/index.cjs +16 -0
  1931. package/dist/sample/index.cjs.map +1 -0
  1932. package/dist/sample/index.d.cts +2 -0
  1933. package/dist/sample/index.d.mts +2 -0
  1934. package/dist/sample/index.d.ts +2 -102
  1935. package/dist/sample/index.js +28 -386
  1936. package/dist/sample/index.js.map +1 -0
  1937. package/dist/sandbox/backend.cjs +116 -0
  1938. package/dist/sandbox/backend.cjs.map +1 -0
  1939. package/dist/sandbox/backend.d.cts +58 -0
  1940. package/dist/sandbox/backend.d.mts +58 -0
  1941. package/dist/sandbox/backend.d.ts +9 -3
  1942. package/dist/sandbox/backend.js +26 -0
  1943. package/dist/sandbox/backend.js.map +1 -0
  1944. package/dist/sandbox/build-coordinator.cjs +309 -0
  1945. package/dist/sandbox/build-coordinator.cjs.map +1 -0
  1946. package/dist/sandbox/build-coordinator.d.cts +111 -0
  1947. package/dist/sandbox/build-coordinator.d.mts +111 -0
  1948. package/dist/sandbox/build-coordinator.d.ts +4 -4
  1949. package/dist/sandbox/build-coordinator.js +12 -0
  1950. package/dist/sandbox/build-coordinator.js.map +1 -0
  1951. package/dist/sandbox/case-types.cjs +3 -0
  1952. package/dist/sandbox/case-types.cjs.map +1 -0
  1953. package/dist/sandbox/case-types.d.cts +55 -0
  1954. package/dist/sandbox/case-types.d.mts +55 -0
  1955. package/dist/sandbox/case-types.d.ts +3 -3
  1956. package/dist/sandbox/case-types.js +4 -0
  1957. package/dist/sandbox/case-types.js.map +1 -0
  1958. package/dist/sandbox/checkpoint.cjs +65 -0
  1959. package/dist/sandbox/checkpoint.cjs.map +1 -0
  1960. package/dist/sandbox/checkpoint.d.cts +7 -0
  1961. package/dist/sandbox/checkpoint.d.mts +7 -0
  1962. package/dist/sandbox/checkpoint.d.ts +7 -0
  1963. package/dist/sandbox/checkpoint.js +8 -0
  1964. package/dist/sandbox/checkpoint.js.map +1 -0
  1965. package/dist/sandbox/cli-commands.cjs +535 -0
  1966. package/dist/sandbox/cli-commands.cjs.map +1 -0
  1967. package/dist/sandbox/cli-commands.d.cts +41 -0
  1968. package/dist/sandbox/cli-commands.d.mts +41 -0
  1969. package/dist/sandbox/cli-commands.d.ts +41 -0
  1970. package/dist/sandbox/cli-commands.js +14 -0
  1971. package/dist/sandbox/cli-commands.js.map +1 -0
  1972. package/dist/sandbox/commands.cjs +281 -0
  1973. package/dist/sandbox/commands.cjs.map +1 -0
  1974. package/dist/sandbox/commands.d.cts +141 -0
  1975. package/dist/sandbox/commands.d.mts +141 -0
  1976. package/dist/sandbox/commands.d.ts +64 -3
  1977. package/dist/sandbox/commands.js +20 -0
  1978. package/dist/sandbox/commands.js.map +1 -0
  1979. package/dist/sandbox/compose.cjs +1293 -0
  1980. package/dist/sandbox/compose.cjs.map +1 -0
  1981. package/dist/sandbox/compose.d.cts +215 -0
  1982. package/dist/sandbox/compose.d.mts +215 -0
  1983. package/dist/sandbox/compose.d.ts +32 -16
  1984. package/dist/sandbox/compose.js +38 -0
  1985. package/dist/sandbox/compose.js.map +1 -0
  1986. package/dist/sandbox/content.cjs +153 -0
  1987. package/dist/sandbox/content.cjs.map +1 -0
  1988. package/dist/sandbox/content.d.cts +35 -0
  1989. package/dist/sandbox/content.d.mts +35 -0
  1990. package/dist/sandbox/content.js +10 -0
  1991. package/dist/sandbox/content.js.map +1 -0
  1992. package/dist/sandbox/deadline.cjs +44 -0
  1993. package/dist/sandbox/deadline.cjs.map +1 -0
  1994. package/dist/sandbox/deadline.d.cts +45 -0
  1995. package/dist/sandbox/deadline.d.mts +45 -0
  1996. package/dist/sandbox/deadline.d.ts +2 -2
  1997. package/dist/sandbox/deadline.js +10 -0
  1998. package/dist/sandbox/deadline.js.map +1 -0
  1999. package/dist/sandbox/dind-supervisor.cjs +124 -0
  2000. package/dist/sandbox/dind-supervisor.cjs.map +1 -0
  2001. package/dist/sandbox/dind-supervisor.d.cts +12 -0
  2002. package/dist/sandbox/dind-supervisor.d.mts +12 -0
  2003. package/dist/sandbox/dind-supervisor.d.ts +12 -0
  2004. package/dist/sandbox/dind-supervisor.js +14 -0
  2005. package/dist/sandbox/dind-supervisor.js.map +1 -0
  2006. package/dist/sandbox/docker-agent-image.cjs +36 -0
  2007. package/dist/sandbox/docker-agent-image.cjs.map +1 -0
  2008. package/dist/sandbox/docker-agent-image.d.cts +22 -0
  2009. package/dist/sandbox/docker-agent-image.d.mts +22 -0
  2010. package/dist/sandbox/docker-agent-image.d.ts +22 -0
  2011. package/dist/sandbox/docker-agent-image.js +20 -0
  2012. package/dist/sandbox/docker-agent-image.js.map +1 -0
  2013. package/dist/sandbox/docker-profile/cli.cjs +193 -0
  2014. package/dist/sandbox/docker-profile/cli.cjs.map +1 -0
  2015. package/dist/sandbox/docker-profile/cli.d.cts +12 -0
  2016. package/dist/sandbox/docker-profile/cli.d.mts +12 -0
  2017. package/dist/sandbox/docker-profile/cli.d.ts +12 -0
  2018. package/dist/sandbox/docker-profile/cli.js +12 -0
  2019. package/dist/sandbox/docker-profile/cli.js.map +1 -0
  2020. package/dist/sandbox/docker-profile/errors.cjs +16 -0
  2021. package/dist/sandbox/docker-profile/errors.cjs.map +1 -0
  2022. package/dist/sandbox/docker-profile/errors.d.cts +25 -0
  2023. package/dist/sandbox/docker-profile/errors.d.mts +25 -0
  2024. package/dist/sandbox/docker-profile/errors.d.ts +25 -0
  2025. package/dist/sandbox/docker-profile/errors.js +8 -0
  2026. package/dist/sandbox/docker-profile/errors.js.map +1 -0
  2027. package/dist/sandbox/docker-profile/registry.cjs +377 -0
  2028. package/dist/sandbox/docker-profile/registry.cjs.map +1 -0
  2029. package/dist/sandbox/docker-profile/registry.d.cts +43 -0
  2030. package/dist/sandbox/docker-profile/registry.d.mts +43 -0
  2031. package/dist/sandbox/docker-profile/registry.d.ts +43 -0
  2032. package/dist/sandbox/docker-profile/registry.js +18 -0
  2033. package/dist/sandbox/docker-profile/registry.js.map +1 -0
  2034. package/dist/sandbox/docker-profile/runtime.cjs +198 -0
  2035. package/dist/sandbox/docker-profile/runtime.cjs.map +1 -0
  2036. package/dist/sandbox/docker-profile/runtime.d.cts +36 -0
  2037. package/dist/sandbox/docker-profile/runtime.d.mts +36 -0
  2038. package/dist/sandbox/docker-profile/runtime.d.ts +36 -0
  2039. package/dist/sandbox/docker-profile/runtime.js +20 -0
  2040. package/dist/sandbox/docker-profile/runtime.js.map +1 -0
  2041. package/dist/sandbox/docker-profile/schema.cjs +650 -0
  2042. package/dist/sandbox/docker-profile/schema.cjs.map +1 -0
  2043. package/dist/sandbox/docker-profile/schema.d.cts +129 -0
  2044. package/dist/sandbox/docker-profile/schema.d.mts +129 -0
  2045. package/dist/sandbox/docker-profile/schema.d.ts +129 -0
  2046. package/dist/sandbox/docker-profile/schema.js +38 -0
  2047. package/dist/sandbox/docker-profile/schema.js.map +1 -0
  2048. package/dist/sandbox/docker-stream.cjs +153 -0
  2049. package/dist/sandbox/docker-stream.cjs.map +1 -0
  2050. package/dist/sandbox/docker-stream.d.cts +33 -0
  2051. package/dist/sandbox/docker-stream.d.mts +33 -0
  2052. package/dist/sandbox/docker-stream.js +14 -0
  2053. package/dist/sandbox/docker-stream.js.map +1 -0
  2054. package/dist/sandbox/docker.cjs +1161 -0
  2055. package/dist/sandbox/docker.cjs.map +1 -0
  2056. package/dist/sandbox/docker.d.cts +288 -0
  2057. package/dist/sandbox/docker.d.mts +288 -0
  2058. package/dist/sandbox/docker.d.ts +84 -12
  2059. package/dist/sandbox/docker.js +20 -0
  2060. package/dist/sandbox/docker.js.map +1 -0
  2061. package/dist/sandbox/dockerfile-agent-cache.cjs +104 -0
  2062. package/dist/sandbox/dockerfile-agent-cache.cjs.map +1 -0
  2063. package/dist/sandbox/dockerfile-agent-cache.d.cts +45 -0
  2064. package/dist/sandbox/dockerfile-agent-cache.d.mts +45 -0
  2065. package/dist/sandbox/dockerfile-agent-cache.d.ts +8 -7
  2066. package/dist/sandbox/dockerfile-agent-cache.js +14 -0
  2067. package/dist/sandbox/dockerfile-agent-cache.js.map +1 -0
  2068. package/dist/sandbox/dockerfile-build.cjs +256 -0
  2069. package/dist/sandbox/dockerfile-build.cjs.map +1 -0
  2070. package/dist/sandbox/dockerfile-build.d.cts +59 -0
  2071. package/dist/sandbox/dockerfile-build.d.mts +59 -0
  2072. package/dist/sandbox/dockerfile-build.d.ts +21 -8
  2073. package/dist/sandbox/dockerfile-build.js +16 -0
  2074. package/dist/sandbox/dockerfile-build.js.map +1 -0
  2075. package/dist/sandbox/dockerfile-identity.cjs +124 -0
  2076. package/dist/sandbox/dockerfile-identity.cjs.map +1 -0
  2077. package/dist/sandbox/dockerfile-identity.d.cts +37 -0
  2078. package/dist/sandbox/dockerfile-identity.d.mts +37 -0
  2079. package/dist/sandbox/dockerfile-identity.d.ts +13 -3
  2080. package/dist/sandbox/dockerfile-identity.js +12 -0
  2081. package/dist/sandbox/dockerfile-identity.js.map +1 -0
  2082. package/dist/sandbox/download-directory.cjs +26 -0
  2083. package/dist/sandbox/download-directory.cjs.map +1 -0
  2084. package/dist/sandbox/download-directory.d.cts +9 -0
  2085. package/dist/sandbox/download-directory.d.mts +9 -0
  2086. package/dist/sandbox/download-directory.d.ts +1 -1
  2087. package/dist/sandbox/download-directory.js +6 -0
  2088. package/dist/sandbox/download-directory.js.map +1 -0
  2089. package/dist/sandbox/e2b-agent-template.cjs +140 -0
  2090. package/dist/sandbox/e2b-agent-template.cjs.map +1 -0
  2091. package/dist/sandbox/e2b-agent-template.d.cts +65 -0
  2092. package/dist/sandbox/e2b-agent-template.d.mts +65 -0
  2093. package/dist/sandbox/e2b-agent-template.d.ts +65 -0
  2094. package/dist/sandbox/e2b-agent-template.js +24 -0
  2095. package/dist/sandbox/e2b-agent-template.js.map +1 -0
  2096. package/dist/sandbox/e2b-agent-template.mjs +24 -0
  2097. package/dist/sandbox/e2b-agent-template.mjs.map +1 -0
  2098. package/dist/sandbox/e2b.cjs +664 -0
  2099. package/dist/sandbox/e2b.cjs.map +1 -0
  2100. package/dist/sandbox/e2b.d.cts +124 -0
  2101. package/dist/sandbox/e2b.d.mts +124 -0
  2102. package/dist/sandbox/e2b.d.ts +9 -9
  2103. package/dist/sandbox/e2b.js +10 -0
  2104. package/dist/sandbox/e2b.js.map +1 -0
  2105. package/dist/sandbox/errors.cjs +191 -0
  2106. package/dist/sandbox/errors.cjs.map +1 -0
  2107. package/dist/sandbox/errors.d.cts +60 -0
  2108. package/dist/sandbox/errors.d.mts +60 -0
  2109. package/dist/sandbox/errors.d.ts +1 -1
  2110. package/dist/sandbox/errors.js +20 -0
  2111. package/dist/sandbox/errors.js.map +1 -0
  2112. package/dist/sandbox/identity.cjs +140 -0
  2113. package/dist/sandbox/identity.cjs.map +1 -0
  2114. package/dist/sandbox/identity.d.cts +97 -0
  2115. package/dist/sandbox/identity.d.mts +97 -0
  2116. package/dist/sandbox/identity.d.ts +1 -1
  2117. package/dist/sandbox/identity.js +26 -0
  2118. package/dist/sandbox/identity.js.map +1 -0
  2119. package/dist/sandbox/index.cjs +93 -0
  2120. package/dist/sandbox/index.cjs.map +1 -0
  2121. package/dist/sandbox/index.d.cts +28 -0
  2122. package/dist/sandbox/index.d.mts +28 -0
  2123. package/dist/sandbox/index.d.ts +28 -0
  2124. package/dist/sandbox/index.js +144 -0
  2125. package/dist/sandbox/index.js.map +1 -0
  2126. package/dist/sandbox/index.mjs +144 -0
  2127. package/dist/sandbox/index.mjs.map +1 -0
  2128. package/dist/sandbox/io-retry.cjs +29 -0
  2129. package/dist/sandbox/io-retry.cjs.map +1 -0
  2130. package/dist/sandbox/io-retry.d.cts +17 -0
  2131. package/dist/sandbox/io-retry.d.mts +17 -0
  2132. package/dist/sandbox/io-retry.d.ts +1 -1
  2133. package/dist/sandbox/io-retry.js +6 -0
  2134. package/dist/sandbox/io-retry.js.map +1 -0
  2135. package/dist/sandbox/keep-registry.cjs +269 -0
  2136. package/dist/sandbox/keep-registry.cjs.map +1 -0
  2137. package/dist/sandbox/keep-registry.d.cts +78 -0
  2138. package/dist/sandbox/keep-registry.d.mts +78 -0
  2139. package/dist/sandbox/keep-registry.d.ts +78 -0
  2140. package/dist/sandbox/keep-registry.js +26 -0
  2141. package/dist/sandbox/keep-registry.js.map +1 -0
  2142. package/dist/sandbox/keep.cjs +448 -0
  2143. package/dist/sandbox/keep.cjs.map +1 -0
  2144. package/dist/sandbox/keep.d.cts +64 -0
  2145. package/dist/sandbox/keep.d.mts +64 -0
  2146. package/dist/sandbox/keep.d.ts +64 -0
  2147. package/dist/sandbox/keep.js +28 -0
  2148. package/dist/sandbox/keep.js.map +1 -0
  2149. package/dist/sandbox/layer.cjs +1639 -0
  2150. package/dist/sandbox/layer.cjs.map +1 -0
  2151. package/dist/sandbox/layer.d.cts +565 -0
  2152. package/dist/sandbox/layer.d.mts +565 -0
  2153. package/dist/sandbox/layer.d.ts +179 -32
  2154. package/dist/sandbox/layer.js +42 -0
  2155. package/dist/sandbox/layer.js.map +1 -0
  2156. package/dist/sandbox/ledger-paths.cjs +22 -0
  2157. package/dist/sandbox/ledger-paths.cjs.map +1 -0
  2158. package/dist/sandbox/ledger-paths.d.cts +14 -0
  2159. package/dist/sandbox/ledger-paths.d.mts +14 -0
  2160. package/dist/sandbox/ledger-paths.js +12 -0
  2161. package/dist/sandbox/ledger-paths.js.map +1 -0
  2162. package/dist/sandbox/link.cjs +395 -0
  2163. package/dist/sandbox/link.cjs.map +1 -0
  2164. package/dist/sandbox/link.d.cts +160 -0
  2165. package/dist/sandbox/link.d.mts +160 -0
  2166. package/dist/sandbox/link.d.ts +25 -8
  2167. package/dist/sandbox/link.js +18 -0
  2168. package/dist/sandbox/link.js.map +1 -0
  2169. package/dist/sandbox/local-files.cjs +31 -0
  2170. package/dist/sandbox/local-files.cjs.map +1 -0
  2171. package/dist/sandbox/local-files.d.cts +6 -0
  2172. package/dist/sandbox/local-files.d.mts +6 -0
  2173. package/dist/sandbox/local-files.js +6 -0
  2174. package/dist/sandbox/local-files.js.map +1 -0
  2175. package/dist/sandbox/local.cjs +297 -0
  2176. package/dist/sandbox/local.cjs.map +1 -0
  2177. package/dist/sandbox/local.d.cts +78 -0
  2178. package/dist/sandbox/local.d.mts +78 -0
  2179. package/dist/sandbox/local.d.ts +7 -7
  2180. package/dist/sandbox/local.js +6 -0
  2181. package/dist/sandbox/local.js.map +1 -0
  2182. package/dist/sandbox/operations.cjs +160 -0
  2183. package/dist/sandbox/operations.cjs.map +1 -0
  2184. package/dist/sandbox/operations.d.cts +10 -0
  2185. package/dist/sandbox/operations.d.mts +10 -0
  2186. package/dist/sandbox/operations.d.ts +2 -2
  2187. package/dist/sandbox/operations.js +10 -0
  2188. package/dist/sandbox/operations.js.map +1 -0
  2189. package/dist/sandbox/orphans.cjs +199 -0
  2190. package/dist/sandbox/orphans.cjs.map +1 -0
  2191. package/dist/sandbox/orphans.d.cts +45 -0
  2192. package/dist/sandbox/orphans.d.mts +45 -0
  2193. package/dist/sandbox/orphans.d.ts +45 -0
  2194. package/dist/sandbox/orphans.js +10 -0
  2195. package/dist/sandbox/orphans.js.map +1 -0
  2196. package/dist/sandbox/paths.cjs +102 -0
  2197. package/dist/sandbox/paths.cjs.map +1 -0
  2198. package/dist/sandbox/paths.d.cts +11 -0
  2199. package/dist/sandbox/paths.d.mts +11 -0
  2200. package/dist/sandbox/paths.d.ts +2 -2
  2201. package/dist/sandbox/paths.js +12 -0
  2202. package/dist/sandbox/paths.js.map +1 -0
  2203. package/dist/sandbox/plan.cjs +223 -0
  2204. package/dist/sandbox/plan.cjs.map +1 -0
  2205. package/dist/sandbox/plan.d.cts +88 -0
  2206. package/dist/sandbox/plan.d.mts +88 -0
  2207. package/dist/sandbox/plan.d.ts +4 -3
  2208. package/dist/sandbox/plan.js +20 -0
  2209. package/dist/sandbox/plan.js.map +1 -0
  2210. package/dist/sandbox/prepare-commands.cjs +280 -0
  2211. package/dist/sandbox/prepare-commands.cjs.map +1 -0
  2212. package/dist/sandbox/prepare-commands.d.cts +29 -0
  2213. package/dist/sandbox/prepare-commands.d.mts +29 -0
  2214. package/dist/sandbox/prepare-commands.d.ts +29 -0
  2215. package/dist/sandbox/prepare-commands.js +8 -0
  2216. package/dist/sandbox/prepare-commands.js.map +1 -0
  2217. package/dist/sandbox/record/attachment.cjs +72 -0
  2218. package/dist/sandbox/record/attachment.cjs.map +1 -0
  2219. package/dist/sandbox/record/attachment.d.cts +30 -0
  2220. package/dist/sandbox/record/attachment.d.mts +30 -0
  2221. package/dist/sandbox/record/attachment.d.ts +30 -0
  2222. package/dist/sandbox/record/attachment.js +10 -0
  2223. package/dist/sandbox/record/attachment.js.map +1 -0
  2224. package/dist/sandbox/record/codec.cjs +36 -0
  2225. package/dist/sandbox/record/codec.cjs.map +1 -0
  2226. package/dist/sandbox/record/codec.d.cts +30 -0
  2227. package/dist/sandbox/record/codec.d.mts +30 -0
  2228. package/dist/sandbox/record/codec.d.ts +30 -0
  2229. package/dist/sandbox/record/codec.js +10 -0
  2230. package/dist/sandbox/record/codec.js.map +1 -0
  2231. package/dist/sandbox/record/model.cjs +20 -0
  2232. package/dist/sandbox/record/model.cjs.map +1 -0
  2233. package/dist/sandbox/record/model.d.cts +33 -0
  2234. package/dist/sandbox/record/model.d.mts +33 -0
  2235. package/dist/sandbox/record/model.d.ts +33 -0
  2236. package/dist/sandbox/record/model.js +10 -0
  2237. package/dist/sandbox/record/model.js.map +1 -0
  2238. package/dist/sandbox/record/projector.cjs +29 -0
  2239. package/dist/sandbox/record/projector.cjs.map +1 -0
  2240. package/dist/sandbox/record/projector.d.cts +18 -0
  2241. package/dist/sandbox/record/projector.d.mts +18 -0
  2242. package/dist/sandbox/record/projector.d.ts +18 -0
  2243. package/dist/sandbox/record/projector.js +6 -0
  2244. package/dist/sandbox/record/projector.js.map +1 -0
  2245. package/dist/sandbox/redaction.cjs +59 -0
  2246. package/dist/sandbox/redaction.cjs.map +1 -0
  2247. package/dist/sandbox/redaction.d.cts +19 -0
  2248. package/dist/sandbox/redaction.d.mts +19 -0
  2249. package/dist/sandbox/redaction.js +14 -0
  2250. package/dist/sandbox/redaction.js.map +1 -0
  2251. package/dist/sandbox/registry.cjs +76 -0
  2252. package/dist/sandbox/registry.cjs.map +1 -0
  2253. package/dist/sandbox/registry.d.cts +16 -0
  2254. package/dist/sandbox/registry.d.mts +16 -0
  2255. package/dist/sandbox/registry.d.ts +4 -3
  2256. package/dist/sandbox/registry.js +14 -0
  2257. package/dist/sandbox/registry.js.map +1 -0
  2258. package/dist/sandbox/retry.cjs +82 -0
  2259. package/dist/sandbox/retry.cjs.map +1 -0
  2260. package/dist/sandbox/retry.d.cts +20 -0
  2261. package/dist/sandbox/retry.d.mts +20 -0
  2262. package/dist/sandbox/retry.d.ts +2 -2
  2263. package/dist/sandbox/retry.js +6 -0
  2264. package/dist/sandbox/retry.js.map +1 -0
  2265. package/dist/sandbox/run-identity.cjs +109 -0
  2266. package/dist/sandbox/run-identity.cjs.map +1 -0
  2267. package/dist/sandbox/run-identity.d.cts +38 -0
  2268. package/dist/sandbox/run-identity.d.mts +38 -0
  2269. package/dist/sandbox/run-identity.js +36 -0
  2270. package/dist/sandbox/run-identity.js.map +1 -0
  2271. package/dist/sandbox/runtime.cjs +873 -0
  2272. package/dist/sandbox/runtime.cjs.map +1 -0
  2273. package/dist/sandbox/runtime.d.cts +116 -0
  2274. package/dist/sandbox/runtime.d.mts +116 -0
  2275. package/dist/sandbox/runtime.d.ts +16 -16
  2276. package/dist/sandbox/runtime.js +40 -0
  2277. package/dist/sandbox/runtime.js.map +1 -0
  2278. package/dist/sandbox/shell.cjs +22 -0
  2279. package/dist/sandbox/shell.cjs.map +1 -0
  2280. package/dist/sandbox/shell.d.cts +11 -0
  2281. package/dist/sandbox/shell.d.mts +11 -0
  2282. package/dist/sandbox/shell.js +8 -0
  2283. package/dist/sandbox/shell.js.map +1 -0
  2284. package/dist/sandbox/transfer-errors.cjs +116 -0
  2285. package/dist/sandbox/transfer-errors.cjs.map +1 -0
  2286. package/dist/sandbox/transfer-errors.d.cts +25 -0
  2287. package/dist/sandbox/transfer-errors.d.mts +25 -0
  2288. package/dist/sandbox/transfer-errors.js +14 -0
  2289. package/dist/sandbox/transfer-errors.js.map +1 -0
  2290. package/dist/sandbox/types.cjs +3 -0
  2291. package/dist/sandbox/types.cjs.map +1 -0
  2292. package/dist/sandbox/types.d.cts +177 -0
  2293. package/dist/sandbox/types.d.mts +177 -0
  2294. package/dist/sandbox/types.d.ts +15 -10
  2295. package/dist/sandbox/types.js +4 -3
  2296. package/dist/sandbox/types.js.map +1 -0
  2297. package/dist/sandbox/vercel.cjs +335 -0
  2298. package/dist/sandbox/vercel.cjs.map +1 -0
  2299. package/dist/sandbox/vercel.d.cts +97 -0
  2300. package/dist/sandbox/vercel.d.mts +97 -0
  2301. package/dist/sandbox/vercel.d.ts +9 -9
  2302. package/dist/sandbox/vercel.js +8 -0
  2303. package/dist/sandbox/vercel.js.map +1 -0
  2304. package/dist/shared/aggregate.cjs +97 -0
  2305. package/dist/shared/aggregate.cjs.map +1 -0
  2306. package/dist/shared/aggregate.d.cts +45 -0
  2307. package/dist/shared/aggregate.d.mts +45 -0
  2308. package/dist/shared/aggregate.d.ts +4 -4
  2309. package/dist/shared/aggregate.js +24 -87
  2310. package/dist/shared/aggregate.js.map +1 -0
  2311. package/dist/shared/entry-file-store.cjs +126 -0
  2312. package/dist/shared/entry-file-store.cjs.map +1 -0
  2313. package/dist/shared/entry-file-store.d.cts +46 -0
  2314. package/dist/shared/entry-file-store.d.mts +46 -0
  2315. package/dist/shared/entry-file-store.d.ts +9 -6
  2316. package/dist/shared/entry-file-store.js +18 -0
  2317. package/dist/shared/entry-file-store.js.map +1 -0
  2318. package/dist/shared/external-cause.cjs +278 -0
  2319. package/dist/shared/external-cause.cjs.map +1 -0
  2320. package/dist/shared/external-cause.d.cts +51 -0
  2321. package/dist/shared/external-cause.d.mts +51 -0
  2322. package/dist/shared/external-cause.d.ts +1 -1
  2323. package/dist/shared/external-cause.js +12 -0
  2324. package/dist/shared/external-cause.js.map +1 -0
  2325. package/dist/shared/facts.cjs +24 -0
  2326. package/dist/shared/facts.cjs.map +1 -0
  2327. package/dist/shared/facts.d.cts +7 -0
  2328. package/dist/shared/facts.d.mts +7 -0
  2329. package/dist/shared/facts.d.ts +7 -0
  2330. package/dist/shared/facts.js +6 -0
  2331. package/dist/shared/facts.js.map +1 -0
  2332. package/dist/shared/failure-class.cjs +166 -0
  2333. package/dist/shared/failure-class.cjs.map +1 -0
  2334. package/dist/shared/failure-class.d.cts +92 -0
  2335. package/dist/shared/failure-class.d.mts +92 -0
  2336. package/dist/shared/failure-class.d.ts +2 -2
  2337. package/dist/shared/failure-class.js +20 -0
  2338. package/dist/shared/failure-class.js.map +1 -0
  2339. package/dist/shared/format.cjs +36 -0
  2340. package/dist/shared/format.cjs.map +1 -0
  2341. package/dist/shared/format.d.cts +3 -0
  2342. package/dist/shared/format.d.mts +3 -0
  2343. package/dist/shared/format.d.ts +3 -0
  2344. package/dist/shared/format.js +10 -0
  2345. package/dist/shared/format.js.map +1 -0
  2346. package/dist/shared/json-match.cjs +44 -0
  2347. package/dist/shared/json-match.cjs.map +1 -0
  2348. package/dist/shared/json-match.d.cts +3 -0
  2349. package/dist/shared/json-match.d.mts +3 -0
  2350. package/dist/shared/json-match.d.ts +3 -0
  2351. package/dist/shared/json-match.js +6 -0
  2352. package/dist/shared/json-match.js.map +1 -0
  2353. package/dist/shared/json-value.cjs +45 -0
  2354. package/dist/shared/json-value.cjs.map +1 -0
  2355. package/dist/shared/json-value.d.cts +11 -0
  2356. package/dist/shared/json-value.d.mts +11 -0
  2357. package/dist/shared/json-value.d.ts +11 -0
  2358. package/dist/shared/json-value.js +8 -0
  2359. package/dist/shared/json-value.js.map +1 -0
  2360. package/dist/shared/turn-label.cjs +19 -0
  2361. package/dist/shared/turn-label.cjs.map +1 -0
  2362. package/dist/shared/turn-label.d.cts +9 -0
  2363. package/dist/shared/turn-label.d.mts +9 -0
  2364. package/dist/shared/turn-label.js +8 -14
  2365. package/dist/shared/turn-label.js.map +1 -0
  2366. package/dist/shared/types.cjs +3 -0
  2367. package/dist/shared/types.cjs.map +1 -0
  2368. package/dist/shared/types.d.cts +80 -0
  2369. package/dist/shared/types.d.mts +80 -0
  2370. package/dist/shared/types.d.ts +0 -2
  2371. package/dist/shared/types.js +4 -4
  2372. package/dist/shared/types.js.map +1 -0
  2373. package/dist/shared/verdict.cjs +70 -0
  2374. package/dist/shared/verdict.cjs.map +1 -0
  2375. package/dist/shared/verdict.d.cts +36 -0
  2376. package/dist/shared/verdict.d.mts +36 -0
  2377. package/dist/shared/verdict.d.ts +21 -32
  2378. package/dist/shared/verdict.js +14 -53
  2379. package/dist/shared/verdict.js.map +1 -0
  2380. package/dist/show/command.cjs +20 -0
  2381. package/dist/show/command.cjs.map +1 -0
  2382. package/dist/show/command.d.cts +13 -0
  2383. package/dist/show/command.d.mts +13 -0
  2384. package/dist/show/command.d.ts +13 -0
  2385. package/dist/show/command.js +6 -0
  2386. package/dist/show/command.js.map +1 -0
  2387. package/dist/show/json.cjs +8 -0
  2388. package/dist/show/json.cjs.map +1 -0
  2389. package/dist/show/json.d.cts +2 -0
  2390. package/dist/show/json.d.mts +2 -0
  2391. package/dist/show/json.d.ts +2 -0
  2392. package/dist/show/json.js +8 -0
  2393. package/dist/show/json.js.map +1 -0
  2394. package/dist/show/render.cjs +7 -0
  2395. package/dist/show/render.cjs.map +1 -0
  2396. package/dist/show/render.d.cts +2 -0
  2397. package/dist/show/render.d.mts +2 -0
  2398. package/dist/show/render.d.ts +2 -0
  2399. package/dist/show/render.js +6 -0
  2400. package/dist/show/render.js.map +1 -0
  2401. package/dist/source-loc.cjs +137 -0
  2402. package/dist/source-loc.cjs.map +1 -0
  2403. package/dist/source-loc.d.cts +22 -0
  2404. package/dist/source-loc.d.mts +22 -0
  2405. package/dist/source-loc.d.ts +22 -0
  2406. package/dist/source-loc.js +10 -0
  2407. package/dist/source-loc.js.map +1 -0
  2408. package/dist/sources/assemble.cjs +634 -0
  2409. package/dist/sources/assemble.cjs.map +1 -0
  2410. package/dist/sources/assemble.d.cts +6 -0
  2411. package/dist/sources/assemble.d.mts +6 -0
  2412. package/dist/sources/assemble.d.ts +6 -0
  2413. package/dist/sources/assemble.js +6 -0
  2414. package/dist/sources/assemble.js.map +1 -0
  2415. package/dist/sources/attachment.cjs +272 -0
  2416. package/dist/sources/attachment.cjs.map +1 -0
  2417. package/dist/sources/attachment.d.cts +331 -0
  2418. package/dist/sources/attachment.d.mts +331 -0
  2419. package/dist/sources/attachment.d.ts +331 -0
  2420. package/dist/sources/attachment.js +22 -0
  2421. package/dist/sources/attachment.js.map +1 -0
  2422. package/dist/sources/codec.cjs +220 -0
  2423. package/dist/sources/codec.cjs.map +1 -0
  2424. package/dist/sources/codec.d.cts +408 -0
  2425. package/dist/sources/codec.d.mts +408 -0
  2426. package/dist/sources/codec.d.ts +408 -0
  2427. package/dist/sources/codec.js +56 -0
  2428. package/dist/sources/codec.js.map +1 -0
  2429. package/dist/sources/identity.cjs +10 -0
  2430. package/dist/sources/identity.cjs.map +1 -0
  2431. package/dist/sources/identity.d.cts +10 -0
  2432. package/dist/sources/identity.d.mts +10 -0
  2433. package/dist/sources/identity.d.ts +10 -0
  2434. package/dist/sources/identity.js +10 -0
  2435. package/dist/sources/identity.js.map +1 -0
  2436. package/dist/sources/index.cjs +24 -0
  2437. package/dist/sources/index.cjs.map +1 -0
  2438. package/dist/sources/index.d.cts +7 -0
  2439. package/dist/sources/index.d.mts +7 -0
  2440. package/dist/sources/index.d.ts +7 -0
  2441. package/dist/sources/index.js +90 -0
  2442. package/dist/sources/index.js.map +1 -0
  2443. package/dist/sources/model.cjs +6 -0
  2444. package/dist/sources/model.cjs.map +1 -0
  2445. package/dist/sources/model.d.cts +92 -0
  2446. package/dist/sources/model.d.mts +92 -0
  2447. package/dist/sources/model.d.ts +92 -0
  2448. package/dist/sources/model.js +6 -0
  2449. package/dist/sources/model.js.map +1 -0
  2450. package/dist/sources/projection-model.cjs +3 -0
  2451. package/dist/sources/projection-model.cjs.map +1 -0
  2452. package/dist/sources/projection-model.d.cts +327 -0
  2453. package/dist/sources/projection-model.d.mts +327 -0
  2454. package/dist/sources/projection-model.d.ts +327 -0
  2455. package/dist/sources/projection-model.js +4 -0
  2456. package/dist/sources/projection-model.js.map +1 -0
  2457. package/dist/sources/projector.cjs +282 -0
  2458. package/dist/sources/projector.cjs.map +1 -0
  2459. package/dist/sources/projector.d.cts +8 -0
  2460. package/dist/sources/projector.d.mts +8 -0
  2461. package/dist/sources/projector.d.ts +8 -0
  2462. package/dist/sources/projector.js +10 -0
  2463. package/dist/sources/projector.js.map +1 -0
  2464. package/dist/tty-line.cjs +17 -0
  2465. package/dist/tty-line.cjs.map +1 -0
  2466. package/dist/tty-line.d.cts +2 -0
  2467. package/dist/tty-line.d.mts +2 -0
  2468. package/dist/tty-line.js +6 -0
  2469. package/dist/tty-line.js.map +1 -0
  2470. package/dist/types.cjs +38 -0
  2471. package/dist/types.cjs.map +1 -0
  2472. package/dist/types.d.cts +9 -0
  2473. package/dist/types.d.mts +9 -0
  2474. package/dist/types.d.ts +9 -9
  2475. package/dist/types.js +32 -21
  2476. package/dist/types.js.map +1 -0
  2477. package/dist/util.cjs +193 -0
  2478. package/dist/util.cjs.map +1 -0
  2479. package/dist/util.d.cts +46 -0
  2480. package/dist/util.d.mts +46 -0
  2481. package/dist/util.js +22 -132
  2482. package/dist/util.js.map +1 -0
  2483. package/dist/vendor/remark/remark-gfm.cjs +3484 -0
  2484. package/dist/vendor/remark/remark-gfm.cjs.map +7 -0
  2485. package/dist/vendor/remark/remark-parse.cjs +6975 -0
  2486. package/dist/vendor/remark/remark-parse.cjs.map +7 -0
  2487. package/dist/vendor/remark/remark.cjs +10151 -0
  2488. package/dist/vendor/remark/remark.cjs.map +7 -0
  2489. package/dist/view/data.cjs +3 -0
  2490. package/dist/view/data.cjs.map +1 -0
  2491. package/dist/view/data.d.cts +8 -0
  2492. package/dist/view/data.d.mts +8 -0
  2493. package/dist/view/data.d.ts +8 -0
  2494. package/dist/view/data.js +4 -0
  2495. package/dist/view/data.js.map +1 -0
  2496. package/dist/view/index.cjs +25 -0
  2497. package/dist/view/index.cjs.map +1 -0
  2498. package/dist/view/index.d.cts +9 -0
  2499. package/dist/view/index.d.mts +9 -0
  2500. package/dist/view/index.d.ts +9 -0
  2501. package/dist/view/index.js +30 -0
  2502. package/dist/view/index.js.map +1 -0
  2503. package/dist/view/server.cjs +658 -0
  2504. package/dist/view/server.cjs.map +1 -0
  2505. package/dist/view/server.d.cts +49 -0
  2506. package/dist/view/server.d.mts +49 -0
  2507. package/dist/view/server.d.ts +49 -0
  2508. package/dist/view/server.js +6 -0
  2509. package/dist/view/server.js.map +1 -0
  2510. package/dist/view/shared/types.cjs +3 -0
  2511. package/dist/view/shared/types.cjs.map +1 -0
  2512. package/dist/view/shared/types.d.cts +51 -0
  2513. package/dist/view/shared/types.d.mts +51 -0
  2514. package/dist/view/shared/types.d.ts +51 -0
  2515. package/dist/view/shared/types.js +4 -0
  2516. package/dist/view/shared/types.js.map +1 -0
  2517. package/dist/view/site.cjs +40 -0
  2518. package/dist/view/site.cjs.map +1 -0
  2519. package/dist/view/site.d.cts +26 -0
  2520. package/dist/view/site.d.mts +26 -0
  2521. package/dist/view/site.d.ts +26 -0
  2522. package/dist/view/site.js +10 -0
  2523. package/dist/view/site.js.map +1 -0
  2524. package/dist/view/styles.css +170 -0
  2525. package/docs-site/zh/README.md +6 -6
  2526. package/docs-site/zh/examples/ai-agent-application.mdx +3 -3
  2527. package/docs-site/zh/examples/coding-agent-extensions.mdx +3 -3
  2528. package/docs-site/zh/examples/index.mdx +10 -3
  2529. package/docs-site/zh/examples/integrations/ai-sdk-v7.mdx +10 -9
  2530. package/docs-site/zh/examples/integrations/claude-sdk.mdx +11 -9
  2531. package/docs-site/zh/examples/integrations/codex-sdk.mdx +14 -13
  2532. package/docs-site/zh/examples/integrations/langgraph.mdx +13 -11
  2533. package/docs-site/zh/examples/integrations/pi-sdk.mdx +11 -9
  2534. package/docs-site/zh/explanation/adapter.mdx +27 -27
  2535. package/docs-site/zh/explanation/assert.mdx +51 -198
  2536. package/docs-site/zh/explanation/drive.mdx +14 -12
  2537. package/docs-site/zh/explanation/evals.mdx +16 -12
  2538. package/docs-site/zh/explanation/experiment.mdx +7 -3
  2539. package/docs-site/zh/explanation/hitl.mdx +7 -7
  2540. package/docs-site/zh/explanation/judge.mdx +67 -96
  2541. package/docs-site/zh/explanation/overview.mdx +59 -100
  2542. package/docs-site/zh/explanation/record.mdx +60 -0
  2543. package/docs-site/zh/explanation/runner.mdx +47 -123
  2544. package/docs-site/zh/explanation/tier.mdx +2 -2
  2545. package/docs-site/zh/index.mdx +15 -13
  2546. package/docs-site/zh/introduction.mdx +15 -13
  2547. package/docs-site/zh/reference/builtin-agents.mdx +60 -37
  2548. package/docs-site/zh/reference/capabilities.mdx +7 -7
  2549. package/docs-site/zh/reference/cli.mdx +146 -80
  2550. package/docs-site/zh/reference/define-agent.mdx +29 -20
  2551. package/docs-site/zh/reference/define-config.mdx +6 -15
  2552. package/docs-site/zh/reference/define-eval.mdx +78 -326
  2553. package/docs-site/zh/reference/events.mdx +70 -21
  2554. package/docs-site/zh/reference/expect.mdx +148 -117
  2555. package/docs-site/zh/reference/official-adapters.mdx +33 -22
  2556. package/docs-site/zh/reference/report-components.mdx +78 -362
  2557. package/docs-site/zh/reference/results-data.mdx +53 -270
  2558. package/docs-site/zh/troubleshooting/debug-sandbox.mdx +8 -6
  2559. package/docs-site/zh/troubleshooting/debugging.mdx +48 -218
  2560. package/docs-site/zh/troubleshooting/recover-after-kill.mdx +3 -3
  2561. package/docs-site/zh/tutorials/agent-feedback-loop.mdx +48 -290
  2562. package/docs-site/zh/tutorials/agent-onboarding.mdx +22 -20
  2563. package/docs-site/zh/tutorials/authoring.mdx +9 -9
  2564. package/docs-site/zh/tutorials/ci-integration.mdx +40 -117
  2565. package/docs-site/zh/tutorials/concurrency.mdx +44 -56
  2566. package/docs-site/zh/tutorials/configuration.mdx +10 -14
  2567. package/docs-site/zh/tutorials/connect-otel.mdx +21 -21
  2568. package/docs-site/zh/tutorials/connect-your-agent.mdx +29 -24
  2569. package/docs-site/zh/tutorials/criteria-files.mdx +2 -2
  2570. package/docs-site/zh/tutorials/custom-reports.mdx +69 -343
  2571. package/docs-site/zh/tutorials/dataset-fanout.mdx +1 -1
  2572. package/docs-site/zh/tutorials/deploy-report-site.mdx +34 -136
  2573. package/docs-site/zh/tutorials/docker-in-docker.mdx +295 -0
  2574. package/docs-site/zh/tutorials/eval-groups.mdx +207 -0
  2575. package/docs-site/zh/tutorials/evaluation-kinds.mdx +67 -103
  2576. package/docs-site/zh/tutorials/experiments.mdx +4 -4
  2577. package/docs-site/zh/tutorials/fixtures.mdx +3 -3
  2578. package/docs-site/zh/tutorials/handle-execution-failures.mdx +114 -0
  2579. package/docs-site/zh/tutorials/install-custom-sandbox-agent.mdx +102 -0
  2580. package/docs-site/zh/tutorials/plugins.mdx +110 -0
  2581. package/docs-site/zh/tutorials/publish-report.mdx +40 -121
  2582. package/docs-site/zh/tutorials/quickstart.mdx +15 -9
  2583. package/docs-site/zh/tutorials/reporters.mdx +40 -90
  2584. package/docs-site/zh/tutorials/rerun-and-cache.mdx +44 -225
  2585. package/docs-site/zh/tutorials/sandbox-agent.mdx +47 -40
  2586. package/docs-site/zh/tutorials/sandbox-providers.mdx +49 -39
  2587. package/docs-site/zh/tutorials/sandbox-reuse.mdx +37 -15
  2588. package/docs-site/zh/tutorials/theming.mdx +21 -156
  2589. package/docs-site/zh/tutorials/viewing-results.mdx +73 -666
  2590. package/docs-site/zh/tutorials/write-experiment.mdx +22 -21
  2591. package/docs-site/zh/tutorials/write-send.mdx +38 -35
  2592. package/package.json +127 -65
  2593. package/dist/context/deferred-file-content.d.ts +0 -15
  2594. package/dist/i18n/zh-CN.d.ts +0 -367
  2595. package/dist/i18n/zh-CN.js +0 -458
  2596. package/dist/record/annotated-source.d.ts +0 -126
  2597. package/dist/record/annotated-source.js +0 -511
  2598. package/dist/record/attempt-evidence.d.ts +0 -84
  2599. package/dist/record/attempt-evidence.js +0 -108
  2600. package/dist/record/attempt-source.d.ts +0 -4
  2601. package/dist/record/attempt-source.js +0 -28
  2602. package/dist/record/format.d.ts +0 -39
  2603. package/dist/record/format.js +0 -75
  2604. package/dist/record/open.d.ts +0 -62
  2605. package/dist/record/open.js +0 -683
  2606. package/dist/record/types.d.ts +0 -297
  2607. package/dist/record/types.js +0 -9
  2608. package/dist/report/assets/colors.d.ts +0 -22
  2609. package/dist/report/assets/colors.js +0 -61
  2610. package/dist/report/assets/series-encoding.d.ts +0 -36
  2611. package/dist/report/assets/series-encoding.js +0 -104
  2612. package/dist/report/built-in/failures.d.ts +0 -1
  2613. package/dist/report/built-in/failures.js +0 -18
  2614. package/dist/report/built-in/result-components.d.ts +0 -10
  2615. package/dist/report/built-in/result-components.js +0 -199
  2616. package/dist/report/built-in/stability.d.ts +0 -1
  2617. package/dist/report/built-in/stability.js +0 -20
  2618. package/dist/report/built-in/standard.d.ts +0 -50
  2619. package/dist/report/built-in/standard.js +0 -93
  2620. package/dist/report/components/attempt-detail/compute.d.ts +0 -51
  2621. package/dist/report/components/attempt-detail/compute.js +0 -512
  2622. package/dist/report/components/attempt-detail/content.d.ts +0 -28
  2623. package/dist/report/components/attempt-detail/content.js +0 -575
  2624. package/dist/report/components/attempt-detail/index.d.ts +0 -15
  2625. package/dist/report/components/attempt-detail/index.js +0 -154
  2626. package/dist/report/components/attempt-detail/validate.d.ts +0 -11
  2627. package/dist/report/components/attempt-detail/validate.js +0 -417
  2628. package/dist/report/components/cell.d.ts +0 -12
  2629. package/dist/report/components/cell.js +0 -10
  2630. package/dist/report/components/entity-lists/compute.d.ts +0 -35
  2631. package/dist/report/components/entity-lists/compute.js +0 -333
  2632. package/dist/report/components/entity-lists/content.d.ts +0 -7
  2633. package/dist/report/components/entity-lists/content.js +0 -483
  2634. package/dist/report/components/entity-lists/index.d.ts +0 -48
  2635. package/dist/report/components/entity-lists/index.js +0 -81
  2636. package/dist/report/components/entity-lists/validate.d.ts +0 -4
  2637. package/dist/report/components/entity-lists/validate.js +0 -155
  2638. package/dist/report/components/experiment-detail/compute.d.ts +0 -7
  2639. package/dist/report/components/experiment-detail/compute.js +0 -32
  2640. package/dist/report/components/experiment-detail/index.d.ts +0 -9
  2641. package/dist/report/components/experiment-detail/index.js +0 -41
  2642. package/dist/report/components/fixtures.d.ts +0 -10
  2643. package/dist/report/components/fixtures.js +0 -341
  2644. package/dist/report/components/shared-compute.d.ts +0 -23
  2645. package/dist/report/components/shared-compute.js +0 -48
  2646. package/dist/report/components/shared-faces.d.ts +0 -8
  2647. package/dist/report/components/shared-faces.js +0 -21
  2648. package/dist/report/components/shared.d.ts +0 -52
  2649. package/dist/report/components/shared.js +0 -95
  2650. package/dist/report/components/site-components/HeroCard.d.ts +0 -14
  2651. package/dist/report/components/site-components/HeroCard.js +0 -35
  2652. package/dist/report/components/site-components/PoweredBy.d.ts +0 -5
  2653. package/dist/report/components/site-components/PoweredBy.js +0 -7
  2654. package/dist/report/components/site-components/compute.d.ts +0 -34
  2655. package/dist/report/components/site-components/compute.js +0 -144
  2656. package/dist/report/components/site-components/content.d.ts +0 -1
  2657. package/dist/report/components/site-components/content.js +0 -2
  2658. package/dist/report/components/site-components/faces.d.ts +0 -9
  2659. package/dist/report/components/site-components/faces.js +0 -34
  2660. package/dist/report/components/site-components/hero-types.d.ts +0 -17
  2661. package/dist/report/components/site-components/index.d.ts +0 -34
  2662. package/dist/report/components/site-components/index.js +0 -55
  2663. package/dist/report/components/site-components/projections.d.ts +0 -12
  2664. package/dist/report/components/site-components/projections.js +0 -67
  2665. package/dist/report/components/site-components/scope-warnings.d.ts +0 -44
  2666. package/dist/report/components/site-components/scope-warnings.js +0 -115
  2667. package/dist/report/components/site-components/snapshot-diagnostics.d.ts +0 -18
  2668. package/dist/report/components/site-components/snapshot-diagnostics.js +0 -42
  2669. package/dist/report/components/site-components/validators.d.ts +0 -6
  2670. package/dist/report/components/site-components/validators.js +0 -115
  2671. package/dist/report/components/summaries/compute.d.ts +0 -7
  2672. package/dist/report/components/summaries/compute.js +0 -60
  2673. package/dist/report/components/summaries/index.d.ts +0 -29
  2674. package/dist/report/components/summaries/index.js +0 -122
  2675. package/dist/report/components/summaries/stability-overview.d.ts +0 -13
  2676. package/dist/report/components/summaries/stability-overview.js +0 -73
  2677. package/dist/report/components/summaries/validate.d.ts +0 -2
  2678. package/dist/report/components/summaries/validate.js +0 -29
  2679. package/dist/report/definition/cell.d.ts +0 -118
  2680. package/dist/report/definition/cell.js +0 -96
  2681. package/dist/report/definition/grid-layout.d.ts +0 -77
  2682. package/dist/report/definition/grid-layout.js +0 -147
  2683. package/dist/report/definition/primitives/callouts-logic.d.ts +0 -26
  2684. package/dist/report/definition/primitives/callouts-logic.js +0 -102
  2685. package/dist/report/definition/primitives/callouts.d.ts +0 -9
  2686. package/dist/report/definition/primitives/callouts.js +0 -101
  2687. package/dist/report/definition/primitives/chart-map.d.ts +0 -74
  2688. package/dist/report/definition/primitives/chart-map.js +0 -124
  2689. package/dist/report/definition/primitives/chart.d.ts +0 -43
  2690. package/dist/report/definition/primitives/chart.js +0 -619
  2691. package/dist/report/definition/primitives/conversation.d.ts +0 -55
  2692. package/dist/report/definition/primitives/conversation.js +0 -216
  2693. package/dist/report/definition/primitives/copy-block.d.ts +0 -19
  2694. package/dist/report/definition/primitives/copy-block.js +0 -51
  2695. package/dist/report/definition/primitives/diff-lines.d.ts +0 -68
  2696. package/dist/report/definition/primitives/diff-lines.js +0 -149
  2697. package/dist/report/definition/primitives/diff-view.d.ts +0 -14
  2698. package/dist/report/definition/primitives/diff-view.js +0 -156
  2699. package/dist/report/definition/primitives/markdown.d.ts +0 -29
  2700. package/dist/report/definition/primitives/markdown.js +0 -278
  2701. package/dist/report/definition/primitives/marks.d.ts +0 -124
  2702. package/dist/report/definition/primitives/marks.js +0 -91
  2703. package/dist/report/definition/primitives/points-dataset.d.ts +0 -17
  2704. package/dist/report/definition/primitives/points-dataset.js +0 -121
  2705. package/dist/report/definition/primitives/source-view.d.ts +0 -43
  2706. package/dist/report/definition/primitives/source-view.js +0 -179
  2707. package/dist/report/definition/primitives/waterfall.d.ts +0 -34
  2708. package/dist/report/definition/primitives/waterfall.js +0 -201
  2709. package/dist/report/definition/primitives.d.ts +0 -154
  2710. package/dist/report/definition/primitives.js +0 -691
  2711. package/dist/report/definition/report.d.ts +0 -200
  2712. package/dist/report/definition/report.js +0 -275
  2713. package/dist/report/definition/table-text.d.ts +0 -14
  2714. package/dist/report/definition/table-text.js +0 -187
  2715. package/dist/report/definition/tree.d.ts +0 -233
  2716. package/dist/report/definition/tree.js +0 -566
  2717. package/dist/report/extension/assets.d.ts +0 -16
  2718. package/dist/report/extension/assets.js +0 -124
  2719. package/dist/report/extension/define.d.ts +0 -9
  2720. package/dist/report/extension/define.js +0 -137
  2721. package/dist/report/extension/index.d.ts +0 -6
  2722. package/dist/report/extension/index.js +0 -5
  2723. package/dist/report/extension/meta.d.ts +0 -9
  2724. package/dist/report/extension/meta.js +0 -11
  2725. package/dist/report/extension/types.d.ts +0 -52
  2726. package/dist/report/extension/types.js +0 -3
  2727. package/dist/report/model/aggregate.d.ts +0 -111
  2728. package/dist/report/model/aggregate.js +0 -396
  2729. package/dist/report/model/calculation.d.ts +0 -139
  2730. package/dist/report/model/calculation.js +0 -447
  2731. package/dist/report/model/chart/math.d.ts +0 -73
  2732. package/dist/report/model/chart/math.js +0 -198
  2733. package/dist/report/model/chart/plot.d.ts +0 -52
  2734. package/dist/report/model/chart/plot.js +0 -89
  2735. package/dist/report/model/conversions.d.ts +0 -40
  2736. package/dist/report/model/conversions.js +0 -88
  2737. package/dist/report/model/dataset.d.ts +0 -18
  2738. package/dist/report/model/dataset.js +0 -74
  2739. package/dist/report/model/evaluation-kind.d.ts +0 -19
  2740. package/dist/report/model/evaluation-kind.js +0 -32
  2741. package/dist/report/model/flag.d.ts +0 -52
  2742. package/dist/report/model/flag.js +0 -157
  2743. package/dist/report/model/format.d.ts +0 -96
  2744. package/dist/report/model/format.js +0 -339
  2745. package/dist/report/model/locale.d.ts +0 -219
  2746. package/dist/report/model/locale.js +0 -426
  2747. package/dist/report/model/metrics.d.ts +0 -44
  2748. package/dist/report/model/metrics.js +0 -255
  2749. package/dist/report/model/types.d.ts +0 -784
  2750. package/dist/report/model/types.js +0 -5
  2751. package/dist/report/presentation.d.ts +0 -114
  2752. package/dist/report/presentation.js +0 -210
  2753. package/dist/report/react/index.d.ts +0 -13
  2754. package/dist/report/react/index.js +0 -18
  2755. package/dist/report/runtime/load.d.ts +0 -17
  2756. package/dist/report/runtime/load.js +0 -146
  2757. package/dist/report/runtime/page-render.d.ts +0 -47
  2758. package/dist/report/runtime/page-render.js +0 -95
  2759. package/dist/report/runtime/resolved-page.d.ts +0 -35
  2760. package/dist/report/runtime/resolved-page.js +0 -122
  2761. package/dist/report/runtime/target.d.ts +0 -19
  2762. package/dist/report/runtime/target.js +0 -42
  2763. package/dist/report/runtime/text.d.ts +0 -76
  2764. package/dist/report/runtime/text.js +0 -78
  2765. package/dist/report/runtime/web.d.ts +0 -37
  2766. package/dist/report/runtime/web.js +0 -34
  2767. package/dist/report/slices/compute.d.ts +0 -83
  2768. package/dist/report/slices/compute.js +0 -808
  2769. package/dist/report/slices/content.d.ts +0 -17
  2770. package/dist/report/slices/content.js +0 -132
  2771. package/dist/report/slices/validate.d.ts +0 -6
  2772. package/dist/report/slices/validate.js +0 -296
  2773. package/dist/report/tasks.d.ts +0 -144
  2774. package/dist/report/tasks.js +0 -313
  2775. package/dist/report/theme.d.ts +0 -51
  2776. package/dist/report/theme.js +0 -112
  2777. package/src/agents/ai-sdk-otel.ts +0 -62
  2778. package/src/agents/ai-sdk.test.ts +0 -35
  2779. package/src/agents/ai-sdk.ts +0 -603
  2780. package/src/agents/bub-install-spec.ts +0 -50
  2781. package/src/agents/bub.ts +0 -293
  2782. package/src/agents/builtin.ts +0 -16
  2783. package/src/agents/cache-marker.ts +0 -6
  2784. package/src/agents/claude-code.ts +0 -439
  2785. package/src/agents/codex-env.test.ts +0 -153
  2786. package/src/agents/codex.ts +0 -727
  2787. package/src/agents/coding-cli-versions.ts +0 -87
  2788. package/src/agents/command-redaction.test.ts +0 -96
  2789. package/src/agents/hermes.ts +0 -269
  2790. package/src/agents/index.ts +0 -149
  2791. package/src/agents/langgraph.test.ts +0 -30
  2792. package/src/agents/langgraph.ts +0 -508
  2793. package/src/agents/marketplace.ts +0 -96
  2794. package/src/agents/mcp.test.ts +0 -41
  2795. package/src/agents/mcp.ts +0 -31
  2796. package/src/agents/native-config.ts +0 -267
  2797. package/src/agents/npm-staged.ts +0 -370
  2798. package/src/agents/openai-compat.test.ts +0 -69
  2799. package/src/agents/openai-compat.ts +0 -205
  2800. package/src/agents/openclaw.ts +0 -275
  2801. package/src/agents/opencode.ts +0 -198
  2802. package/src/agents/post-setup.test.ts +0 -118
  2803. package/src/agents/post-setup.ts +0 -116
  2804. package/src/agents/provisioner.test.ts +0 -291
  2805. package/src/agents/provisioner.ts +0 -593
  2806. package/src/agents/sdk-streams.test.ts +0 -66
  2807. package/src/agents/sdk-streams.ts +0 -542
  2808. package/src/agents/session-slot.ts +0 -15
  2809. package/src/agents/shared.ts +0 -250
  2810. package/src/agents/skills.ts +0 -309
  2811. package/src/agents/streaming.ts +0 -203
  2812. package/src/agents/types.ts +0 -612
  2813. package/src/agents/ui-message-stream.ts +0 -398
  2814. package/src/assertions/collector.test.ts +0 -457
  2815. package/src/assertions/collector.ts +0 -452
  2816. package/src/assertions/coverage.ts +0 -118
  2817. package/src/assertions/diff.ts +0 -120
  2818. package/src/assertions/display.test.ts +0 -175
  2819. package/src/assertions/display.ts +0 -213
  2820. package/src/assertions/evidence.test.ts +0 -194
  2821. package/src/assertions/judge.test.ts +0 -623
  2822. package/src/assertions/judge.ts +0 -448
  2823. package/src/assertions/match.ts +0 -79
  2824. package/src/assertions/scoped.test.ts +0 -359
  2825. package/src/assertions/scoped.ts +0 -551
  2826. package/src/assertions/types.ts +0 -286
  2827. package/src/cli.ts +0 -1762
  2828. package/src/context/context.test.ts +0 -759
  2829. package/src/context/context.ts +0 -816
  2830. package/src/context/control-flow.ts +0 -17
  2831. package/src/context/deferred-file-content.ts +0 -16
  2832. package/src/context/send-failures.test.ts +0 -122
  2833. package/src/context/send-failures.ts +0 -164
  2834. package/src/context/send-retry.test.ts +0 -112
  2835. package/src/context/send-retry.ts +0 -145
  2836. package/src/context/session.test.ts +0 -477
  2837. package/src/context/session.ts +0 -516
  2838. package/src/context/types.ts +0 -409
  2839. package/src/define-agent.test.ts +0 -99
  2840. package/src/define-eval.test.ts +0 -213
  2841. package/src/define-experiment.test.ts +0 -44
  2842. package/src/define.test.ts +0 -25
  2843. package/src/define.ts +0 -238
  2844. package/src/expect/index.test.ts +0 -39
  2845. package/src/expect/index.ts +0 -252
  2846. package/src/fresh-import.ts +0 -34
  2847. package/src/i18n/core.ts +0 -28
  2848. package/src/i18n/en.ts +0 -532
  2849. package/src/i18n/index.ts +0 -40
  2850. package/src/i18n/locale.test.ts +0 -41
  2851. package/src/i18n/zh-CN.ts +0 -533
  2852. package/src/index.ts +0 -91
  2853. package/src/load-config.ts +0 -39
  2854. package/src/loaders/criteria.test.ts +0 -305
  2855. package/src/loaders/glob.ts +0 -149
  2856. package/src/loaders/index.test.ts +0 -166
  2857. package/src/loaders/index.ts +0 -256
  2858. package/src/loaders/private.test.ts +0 -110
  2859. package/src/o11y/cost.test.ts +0 -41
  2860. package/src/o11y/cost.ts +0 -81
  2861. package/src/o11y/derive.test.ts +0 -161
  2862. package/src/o11y/derive.ts +0 -301
  2863. package/src/o11y/execution-tree.test.ts +0 -390
  2864. package/src/o11y/execution-tree.ts +0 -391
  2865. package/src/o11y/otlp/canonical.ts +0 -113
  2866. package/src/o11y/otlp/mappers/bub.ts +0 -30
  2867. package/src/o11y/otlp/mappers/claude-code.ts +0 -24
  2868. package/src/o11y/otlp/mappers/codex.ts +0 -40
  2869. package/src/o11y/otlp/mappers/index.ts +0 -14
  2870. package/src/o11y/otlp/parse.ts +0 -334
  2871. package/src/o11y/otlp/receiver.ts +0 -118
  2872. package/src/o11y/otlp/sandbox-receiver.test.ts +0 -301
  2873. package/src/o11y/otlp/sandbox-receiver.ts +0 -255
  2874. package/src/o11y/otlp/select.ts +0 -86
  2875. package/src/o11y/otlp/turn-otel.ts +0 -132
  2876. package/src/o11y/parsers/bub.test.ts +0 -30
  2877. package/src/o11y/parsers/bub.ts +0 -264
  2878. package/src/o11y/parsers/claude-code.ts +0 -302
  2879. package/src/o11y/parsers/codex.test.ts +0 -19
  2880. package/src/o11y/parsers/codex.ts +0 -476
  2881. package/src/o11y/parsers/hermes.ts +0 -199
  2882. package/src/o11y/parsers/index.ts +0 -28
  2883. package/src/o11y/parsers/openclaw.ts +0 -340
  2884. package/src/o11y/parsers/opencode.ts +0 -300
  2885. package/src/o11y/prices.json +0 -10812
  2886. package/src/o11y/tool-names.ts +0 -74
  2887. package/src/o11y/types.ts +0 -221
  2888. package/src/record/annotated-source.test.ts +0 -329
  2889. package/src/record/annotated-source.ts +0 -643
  2890. package/src/record/attempt-evidence.test.ts +0 -208
  2891. package/src/record/attempt-evidence.ts +0 -184
  2892. package/src/record/attempt-source.ts +0 -37
  2893. package/src/record/copy.ts +0 -303
  2894. package/src/record/evidence-schema.test.ts +0 -85
  2895. package/src/record/format.ts +0 -91
  2896. package/src/record/host-equivalence.test.ts +0 -539
  2897. package/src/record/index.ts +0 -119
  2898. package/src/record/locator.test.ts +0 -125
  2899. package/src/record/locator.ts +0 -178
  2900. package/src/record/manifest.ts +0 -72
  2901. package/src/record/open.ts +0 -758
  2902. package/src/record/publish.ts +0 -7
  2903. package/src/record/results.test.ts +0 -1563
  2904. package/src/record/skipped-notice.ts +0 -44
  2905. package/src/record/source-hash.ts +0 -28
  2906. package/src/record/timing-activity.test.ts +0 -395
  2907. package/src/record/truncate.ts +0 -116
  2908. package/src/record/types.ts +0 -319
  2909. package/src/record/writer.ts +0 -549
  2910. package/src/report/assets/colors.ts +0 -69
  2911. package/src/report/assets/enhance.js +0 -214
  2912. package/src/report/assets/series-encoding.tsx +0 -177
  2913. package/src/report/assets/styles.css +0 -1780
  2914. package/src/report/built-in/failures.tsx +0 -29
  2915. package/src/report/built-in/index.tsx +0 -66
  2916. package/src/report/built-in/result-components.tsx +0 -404
  2917. package/src/report/built-in/stability.tsx +0 -30
  2918. package/src/report/built-in/standard.tsx +0 -132
  2919. package/src/report/components/attempt-detail/attempt-components.test.tsx +0 -706
  2920. package/src/report/components/attempt-detail/compute.ts +0 -544
  2921. package/src/report/components/attempt-detail/content.tsx +0 -633
  2922. package/src/report/components/attempt-detail/index.tsx +0 -285
  2923. package/src/report/components/attempt-detail/validate.test.ts +0 -253
  2924. package/src/report/components/attempt-detail/validate.tsx +0 -361
  2925. package/src/report/components/cell.tsx +0 -79
  2926. package/src/report/components/compute.test.ts +0 -1540
  2927. package/src/report/components/entity-lists/compute.test.ts +0 -38
  2928. package/src/report/components/entity-lists/compute.ts +0 -383
  2929. package/src/report/components/entity-lists/content.test.ts +0 -611
  2930. package/src/report/components/entity-lists/content.ts +0 -591
  2931. package/src/report/components/entity-lists/index.tsx +0 -169
  2932. package/src/report/components/entity-lists/validate.test.ts +0 -161
  2933. package/src/report/components/entity-lists/validate.ts +0 -121
  2934. package/src/report/components/experiment-detail/compute.ts +0 -40
  2935. package/src/report/components/experiment-detail/experiment-detail.test.tsx +0 -181
  2936. package/src/report/components/experiment-detail/index.tsx +0 -89
  2937. package/src/report/components/fixtures.ts +0 -366
  2938. package/src/report/components/scope.harness.ts +0 -83
  2939. package/src/report/components/shared-compute.ts +0 -60
  2940. package/src/report/components/shared-faces.ts +0 -25
  2941. package/src/report/components/shared.test.ts +0 -62
  2942. package/src/report/components/shared.ts +0 -127
  2943. package/src/report/components/site-components/HeroCard.tsx +0 -87
  2944. package/src/report/components/site-components/PoweredBy.tsx +0 -20
  2945. package/src/report/components/site-components/compute.ts +0 -165
  2946. package/src/report/components/site-components/content.ts +0 -8
  2947. package/src/report/components/site-components/faces.ts +0 -46
  2948. package/src/report/components/site-components/hero-types.ts +0 -20
  2949. package/src/report/components/site-components/index.tsx +0 -109
  2950. package/src/report/components/site-components/projections.ts +0 -74
  2951. package/src/report/components/site-components/scope-warnings.ts +0 -160
  2952. package/src/report/components/site-components/site-components.test.tsx +0 -460
  2953. package/src/report/components/site-components/snapshot-diagnostics.ts +0 -69
  2954. package/src/report/components/site-components/validate.test.ts +0 -121
  2955. package/src/report/components/site-components/validators.ts +0 -97
  2956. package/src/report/components/summaries/compute.ts +0 -66
  2957. package/src/report/components/summaries/index.tsx +0 -255
  2958. package/src/report/components/summaries/stability-overview.test.tsx +0 -141
  2959. package/src/report/components/summaries/stability-overview.tsx +0 -105
  2960. package/src/report/components/summaries/validate.test.ts +0 -49
  2961. package/src/report/components/summaries/validate.ts +0 -21
  2962. package/src/report/definition/callouts.test.tsx +0 -146
  2963. package/src/report/definition/cell.ts +0 -203
  2964. package/src/report/definition/chart.test.tsx +0 -285
  2965. package/src/report/definition/conversation.test.tsx +0 -150
  2966. package/src/report/definition/copy-block.test.tsx +0 -71
  2967. package/src/report/definition/diff-view.test.tsx +0 -209
  2968. package/src/report/definition/grid-layout.test.tsx +0 -262
  2969. package/src/report/definition/grid-layout.ts +0 -203
  2970. package/src/report/definition/markdown.test.tsx +0 -179
  2971. package/src/report/definition/primitives/callouts-logic.ts +0 -117
  2972. package/src/report/definition/primitives/callouts.tsx +0 -185
  2973. package/src/report/definition/primitives/chart-map.ts +0 -214
  2974. package/src/report/definition/primitives/chart.tsx +0 -1012
  2975. package/src/report/definition/primitives/conversation.tsx +0 -345
  2976. package/src/report/definition/primitives/copy-block.tsx +0 -87
  2977. package/src/report/definition/primitives/diff-lines.ts +0 -212
  2978. package/src/report/definition/primitives/diff-view.tsx +0 -332
  2979. package/src/report/definition/primitives/markdown.tsx +0 -365
  2980. package/src/report/definition/primitives/marks-contract.test.tsx +0 -45
  2981. package/src/report/definition/primitives/marks.tsx +0 -254
  2982. package/src/report/definition/primitives/points-dataset.test.ts +0 -117
  2983. package/src/report/definition/primitives/points-dataset.ts +0 -168
  2984. package/src/report/definition/primitives/source-view.tsx +0 -359
  2985. package/src/report/definition/primitives/waterfall.tsx +0 -386
  2986. package/src/report/definition/primitives.test.tsx +0 -186
  2987. package/src/report/definition/primitives.tsx +0 -1150
  2988. package/src/report/definition/report-contract.test.ts +0 -119
  2989. package/src/report/definition/report.ts +0 -562
  2990. package/src/report/definition/shell-head.test.ts +0 -100
  2991. package/src/report/definition/source-view.test.tsx +0 -119
  2992. package/src/report/definition/stat.test.tsx +0 -45
  2993. package/src/report/definition/table-text.ts +0 -228
  2994. package/src/report/definition/table.test.tsx +0 -633
  2995. package/src/report/definition/tree.ts +0 -852
  2996. package/src/report/definition/waterfall.test.tsx +0 -581
  2997. package/src/report/extension/assets.ts +0 -154
  2998. package/src/report/extension/define.test.tsx +0 -228
  2999. package/src/report/extension/define.ts +0 -182
  3000. package/src/report/extension/index.ts +0 -23
  3001. package/src/report/extension/meta.ts +0 -21
  3002. package/src/report/extension/types.ts +0 -64
  3003. package/src/report/index.ts +0 -410
  3004. package/src/report/model/aggregate.ts +0 -463
  3005. package/src/report/model/calculation.test.ts +0 -354
  3006. package/src/report/model/calculation.ts +0 -659
  3007. package/src/report/model/chart/math.test.ts +0 -189
  3008. package/src/report/model/chart/math.ts +0 -245
  3009. package/src/report/model/chart/plot.ts +0 -144
  3010. package/src/report/model/conversions.ts +0 -150
  3011. package/src/report/model/dataset.ts +0 -80
  3012. package/src/report/model/evaluation-kind.ts +0 -35
  3013. package/src/report/model/flag.ts +0 -174
  3014. package/src/report/model/format.ts +0 -375
  3015. package/src/report/model/locale.ts +0 -510
  3016. package/src/report/model/metrics.ts +0 -256
  3017. package/src/report/model/panel.test.ts +0 -272
  3018. package/src/report/model/panel.ts +0 -340
  3019. package/src/report/model/presentation.test.ts +0 -141
  3020. package/src/report/model/text-layout.ts +0 -190
  3021. package/src/report/model/types.ts +0 -824
  3022. package/src/report/presentation.test.tsx +0 -474
  3023. package/src/report/presentation.ts +0 -354
  3024. package/src/report/react/index.tsx +0 -96
  3025. package/src/report/runtime/dual-render.test.tsx +0 -1088
  3026. package/src/report/runtime/host.test.ts +0 -86
  3027. package/src/report/runtime/host.ts +0 -317
  3028. package/src/report/runtime/load.test.ts +0 -34
  3029. package/src/report/runtime/load.ts +0 -159
  3030. package/src/report/runtime/page-render.test.tsx +0 -247
  3031. package/src/report/runtime/page-render.ts +0 -147
  3032. package/src/report/runtime/resolved-page.test.tsx +0 -81
  3033. package/src/report/runtime/resolved-page.ts +0 -169
  3034. package/src/report/runtime/target.ts +0 -50
  3035. package/src/report/runtime/text.ts +0 -155
  3036. package/src/report/runtime/web.ts +0 -65
  3037. package/src/report/slices/compute.ts +0 -979
  3038. package/src/report/slices/content.ts +0 -157
  3039. package/src/report/slices/delta-table.test.ts +0 -423
  3040. package/src/report/slices/stability-matrix.test.ts +0 -169
  3041. package/src/report/slices/validate.test.ts +0 -236
  3042. package/src/report/slices/validate.ts +0 -216
  3043. package/src/report/tasks.test.ts +0 -82
  3044. package/src/report/tasks.ts +0 -553
  3045. package/src/report/theme.test.ts +0 -32
  3046. package/src/report/theme.ts +0 -141
  3047. package/src/runner/accept-prompt.test.ts +0 -51
  3048. package/src/runner/accept-prompt.ts +0 -67
  3049. package/src/runner/accept.test.ts +0 -592
  3050. package/src/runner/accept.ts +0 -705
  3051. package/src/runner/attempt.test.ts +0 -1989
  3052. package/src/runner/attempt.ts +0 -1912
  3053. package/src/runner/build-preparation-plan.test.ts +0 -119
  3054. package/src/runner/build-preparation.ts +0 -104
  3055. package/src/runner/cleanup-timeout.test.ts +0 -16
  3056. package/src/runner/cleanup-timeout.ts +0 -23
  3057. package/src/runner/config-identity.test.ts +0 -277
  3058. package/src/runner/config-identity.ts +0 -318
  3059. package/src/runner/direct-agent-sandbox.test.ts +0 -48
  3060. package/src/runner/direct-agent-sandbox.ts +0 -68
  3061. package/src/runner/discover.test.ts +0 -262
  3062. package/src/runner/discover.ts +0 -469
  3063. package/src/runner/eval-selection.test.ts +0 -241
  3064. package/src/runner/eval-selection.ts +0 -139
  3065. package/src/runner/eval-source.test.ts +0 -108
  3066. package/src/runner/eval-source.ts +0 -82
  3067. package/src/runner/experiment-cleanup-registry.test.ts +0 -89
  3068. package/src/runner/experiment-cleanup-registry.ts +0 -39
  3069. package/src/runner/experiment-labels.test.ts +0 -100
  3070. package/src/runner/feedback/coordinator.test.ts +0 -367
  3071. package/src/runner/feedback/coordinator.ts +0 -511
  3072. package/src/runner/feedback/eval-conclusions.test.ts +0 -135
  3073. package/src/runner/feedback/eval-conclusions.ts +0 -115
  3074. package/src/runner/feedback/failure.test.ts +0 -104
  3075. package/src/runner/feedback/failure.ts +0 -60
  3076. package/src/runner/feedback/human.test.ts +0 -1722
  3077. package/src/runner/feedback/human.ts +0 -1499
  3078. package/src/runner/feedback/index.ts +0 -94
  3079. package/src/runner/feedback/input-guard.test.ts +0 -251
  3080. package/src/runner/feedback/input-guard.ts +0 -171
  3081. package/src/runner/feedback/io.ts +0 -82
  3082. package/src/runner/feedback/json.test.ts +0 -617
  3083. package/src/runner/feedback/json.ts +0 -708
  3084. package/src/runner/feedback/profile.test.ts +0 -28
  3085. package/src/runner/feedback/profile.ts +0 -23
  3086. package/src/runner/feedback/reducer.test.ts +0 -908
  3087. package/src/runner/feedback/reducer.ts +0 -411
  3088. package/src/runner/feedback/renderer.ts +0 -83
  3089. package/src/runner/feedback/sink.ts +0 -332
  3090. package/src/runner/feedback/testing.ts +0 -109
  3091. package/src/runner/fingerprint.test.ts +0 -1406
  3092. package/src/runner/fingerprint.ts +0 -924
  3093. package/src/runner/gate-lease.test.ts +0 -555
  3094. package/src/runner/gate-lease.ts +0 -398
  3095. package/src/runner/judge-config.test.ts +0 -32
  3096. package/src/runner/judge-config.ts +0 -26
  3097. package/src/runner/leak-gate.test.ts +0 -195
  3098. package/src/runner/leak-gate.ts +0 -364
  3099. package/src/runner/ledger.test.ts +0 -577
  3100. package/src/runner/ledger.ts +0 -533
  3101. package/src/runner/lock.test.ts +0 -498
  3102. package/src/runner/lock.ts +0 -334
  3103. package/src/runner/manifest.ts +0 -282
  3104. package/src/runner/report.test.ts +0 -238
  3105. package/src/runner/report.ts +0 -127
  3106. package/src/runner/reporters/artifacts.ts +0 -120
  3107. package/src/runner/reporters/braintrust.test.ts +0 -109
  3108. package/src/runner/reporters/braintrust.ts +0 -211
  3109. package/src/runner/reporters/index.ts +0 -7
  3110. package/src/runner/reporters/json.test.ts +0 -163
  3111. package/src/runner/reporters/json.ts +0 -79
  3112. package/src/runner/reporters/shared.ts +0 -14
  3113. package/src/runner/reuse-diagnostics.test.ts +0 -114
  3114. package/src/runner/reuse-diagnostics.ts +0 -92
  3115. package/src/runner/reuse-pool-key.test.ts +0 -22
  3116. package/src/runner/run.test.ts +0 -5319
  3117. package/src/runner/run.ts +0 -2656
  3118. package/src/runner/sandbox-pool-plan.test.ts +0 -180
  3119. package/src/runner/sandbox-pool.test.ts +0 -278
  3120. package/src/runner/sandbox-pool.ts +0 -337
  3121. package/src/runner/sandbox-prep.ts +0 -55
  3122. package/src/runner/sandbox-selection.test.ts +0 -288
  3123. package/src/runner/sandbox-selection.ts +0 -351
  3124. package/src/runner/session.test.ts +0 -112
  3125. package/src/runner/session.ts +0 -466
  3126. package/src/runner/teardown-registry.test.ts +0 -156
  3127. package/src/runner/teardown-registry.ts +0 -146
  3128. package/src/runner/timeout-attribution.test.ts +0 -34
  3129. package/src/runner/timeout.ts +0 -54
  3130. package/src/runner/timing.ts +0 -379
  3131. package/src/runner/types.ts +0 -1733
  3132. package/src/sample/index.ts +0 -483
  3133. package/src/sample/sample.test.ts +0 -622
  3134. package/src/sandbox/backend.ts +0 -140
  3135. package/src/sandbox/build-coordinator.test.ts +0 -333
  3136. package/src/sandbox/build-coordinator.ts +0 -444
  3137. package/src/sandbox/case-types.ts +0 -67
  3138. package/src/sandbox/checkpoint.test.ts +0 -55
  3139. package/src/sandbox/checkpoint.ts +0 -64
  3140. package/src/sandbox/cli-commands.test.ts +0 -524
  3141. package/src/sandbox/cli-commands.ts +0 -593
  3142. package/src/sandbox/commands.ts +0 -287
  3143. package/src/sandbox/compose.test.ts +0 -625
  3144. package/src/sandbox/compose.ts +0 -1291
  3145. package/src/sandbox/content.ts +0 -202
  3146. package/src/sandbox/deadline.ts +0 -73
  3147. package/src/sandbox/docker-agent-image.ts +0 -36
  3148. package/src/sandbox/docker-stream.ts +0 -116
  3149. package/src/sandbox/docker.test.ts +0 -263
  3150. package/src/sandbox/docker.ts +0 -836
  3151. package/src/sandbox/dockerfile-agent-cache.test.ts +0 -157
  3152. package/src/sandbox/dockerfile-agent-cache.ts +0 -155
  3153. package/src/sandbox/dockerfile-agent-runtime.test.ts +0 -166
  3154. package/src/sandbox/dockerfile-build.test.ts +0 -27
  3155. package/src/sandbox/dockerfile-build.ts +0 -269
  3156. package/src/sandbox/dockerfile-identity.ts +0 -129
  3157. package/src/sandbox/download-directory.test.ts +0 -68
  3158. package/src/sandbox/download-directory.ts +0 -36
  3159. package/src/sandbox/e2b-agent-template.test.ts +0 -107
  3160. package/src/sandbox/e2b-agent-template.ts +0 -194
  3161. package/src/sandbox/e2b-reconcile.test.ts +0 -126
  3162. package/src/sandbox/e2b.test.ts +0 -629
  3163. package/src/sandbox/e2b.ts +0 -781
  3164. package/src/sandbox/errors.test.ts +0 -72
  3165. package/src/sandbox/errors.ts +0 -203
  3166. package/src/sandbox/identity.ts +0 -203
  3167. package/src/sandbox/index.ts +0 -138
  3168. package/src/sandbox/io-retry.test.ts +0 -58
  3169. package/src/sandbox/io-retry.ts +0 -45
  3170. package/src/sandbox/keep-registry.test.ts +0 -141
  3171. package/src/sandbox/keep-registry.ts +0 -271
  3172. package/src/sandbox/keep.test.ts +0 -538
  3173. package/src/sandbox/keep.ts +0 -405
  3174. package/src/sandbox/layer.test.ts +0 -343
  3175. package/src/sandbox/layer.ts +0 -1641
  3176. package/src/sandbox/ledger-paths.ts +0 -37
  3177. package/src/sandbox/link.test.ts +0 -321
  3178. package/src/sandbox/link.ts +0 -484
  3179. package/src/sandbox/local-files.ts +0 -31
  3180. package/src/sandbox/local.test.ts +0 -216
  3181. package/src/sandbox/local.ts +0 -364
  3182. package/src/sandbox/official-baselines.test.ts +0 -175
  3183. package/src/sandbox/operations.test.ts +0 -391
  3184. package/src/sandbox/operations.ts +0 -187
  3185. package/src/sandbox/orphans.test.ts +0 -470
  3186. package/src/sandbox/orphans.ts +0 -261
  3187. package/src/sandbox/paths.test.ts +0 -141
  3188. package/src/sandbox/paths.ts +0 -132
  3189. package/src/sandbox/plan.test.ts +0 -487
  3190. package/src/sandbox/plan.ts +0 -353
  3191. package/src/sandbox/prepare-commands.test.ts +0 -168
  3192. package/src/sandbox/prepare-commands.ts +0 -342
  3193. package/src/sandbox/redaction.test.ts +0 -48
  3194. package/src/sandbox/redaction.ts +0 -50
  3195. package/src/sandbox/registry.ts +0 -78
  3196. package/src/sandbox/retry.test.ts +0 -138
  3197. package/src/sandbox/retry.ts +0 -86
  3198. package/src/sandbox/run-identity.ts +0 -120
  3199. package/src/sandbox/runtime.test.ts +0 -551
  3200. package/src/sandbox/runtime.ts +0 -984
  3201. package/src/sandbox/shell.test.ts +0 -23
  3202. package/src/sandbox/shell.ts +0 -18
  3203. package/src/sandbox/transfer-errors.test.ts +0 -116
  3204. package/src/sandbox/transfer-errors.ts +0 -118
  3205. package/src/sandbox/types.ts +0 -196
  3206. package/src/sandbox/vercel.test.ts +0 -180
  3207. package/src/sandbox/vercel.ts +0 -400
  3208. package/src/shared/aggregate.test.ts +0 -52
  3209. package/src/shared/aggregate.ts +0 -99
  3210. package/src/shared/entry-file-store.test.ts +0 -193
  3211. package/src/shared/entry-file-store.ts +0 -145
  3212. package/src/shared/external-cause.ts +0 -322
  3213. package/src/shared/facts.ts +0 -36
  3214. package/src/shared/failure-class.test.ts +0 -195
  3215. package/src/shared/failure-class.ts +0 -206
  3216. package/src/shared/format.ts +0 -26
  3217. package/src/shared/json-match.ts +0 -42
  3218. package/src/shared/json-value.test.ts +0 -24
  3219. package/src/shared/json-value.ts +0 -36
  3220. package/src/shared/turn-label.test.ts +0 -20
  3221. package/src/shared/turn-label.ts +0 -15
  3222. package/src/shared/types.ts +0 -101
  3223. package/src/shared/verdict.ts +0 -82
  3224. package/src/show/command.test.ts +0 -36
  3225. package/src/show/command.ts +0 -18
  3226. package/src/show/compose.ts +0 -89
  3227. package/src/show/index.test.ts +0 -95
  3228. package/src/show/index.ts +0 -1226
  3229. package/src/show/json.test.ts +0 -412
  3230. package/src/show/json.ts +0 -106
  3231. package/src/show/render.test.ts +0 -857
  3232. package/src/show/render.ts +0 -1510
  3233. package/src/source-loc.ts +0 -134
  3234. package/src/tty-line.ts +0 -14
  3235. package/src/types.ts +0 -37
  3236. package/src/util.test.ts +0 -77
  3237. package/src/util.ts +0 -138
  3238. package/src/view/app/App.tsx +0 -351
  3239. package/src/view/app/components/ui/dialog.tsx +0 -36
  3240. package/src/view/app/components/ui/tabs.tsx +0 -30
  3241. package/src/view/app/css.d.ts +0 -3
  3242. package/src/view/app/i18n.ts +0 -65
  3243. package/src/view/app/index.html +0 -13
  3244. package/src/view/app/lib/cn.ts +0 -7
  3245. package/src/view/app/lib/target-dialog.test.ts +0 -105
  3246. package/src/view/app/lib/target-dialog.ts +0 -110
  3247. package/src/view/app/main.tsx +0 -109
  3248. package/src/view/app/types.ts +0 -15
  3249. package/src/view/app/vite.config.ts +0 -26
  3250. package/src/view/data.test.ts +0 -541
  3251. package/src/view/data.ts +0 -950
  3252. package/src/view/index.ts +0 -91
  3253. package/src/view/server-rebuild.test.ts +0 -323
  3254. package/src/view/server-watch.test.ts +0 -106
  3255. package/src/view/server.ts +0 -484
  3256. package/src/view/shared/types.ts +0 -93
  3257. package/src/view/site-base.test.ts +0 -51
  3258. package/src/view/site-head.test.ts +0 -142
  3259. package/src/view/site-param-pages.test.ts +0 -186
  3260. package/src/view/site-renderer-assets.test.ts +0 -68
  3261. package/src/view/site.ts +0 -484
  3262. package/src/view/styles.css +0 -170
  3263. /package/dist/{report/components/site-components/hero-types.js → cli/bootstrap.d.cts} +0 -0
  3264. /package/{src → dist}/view/client-dist/app.css +0 -0
  3265. /package/{src → dist}/view/client-dist/app.js +0 -0
  3266. /package/{src → dist}/view/template.html +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.js","sourceRoot":"","sources":["runtime.ts"],"names":[],"mappings":";;AA6JA,8CAEC;AAED,oD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A+D;AAC/D,SAAgB,wBAAwB,CAAC,KAAc;IACnD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAClD,CAAC;AACD,qFAAqF;AACrF,SAAgB,uCAAuC,CAA+C,MAA8C;IAChJ,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IACtC,OAAO,OAAO,EAAE,OAAO,CAAC,UAAmF,CAAC;AAChH,CAAC;AACD,wEAAwE;AACxE,SAAgB,2BAA2B,CAA+C,MAA8C;IACpI,OAAO,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,KAA0B,CAAC;AACrE,CAAC;AACD,gEAAgE;AAChE,SAAgB,0BAA0B,CAAC,KAAc;IACrD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACpD,CAAC","sourcesContent":["import { Effect, Either, Schema, Stream } from \"effect\";\nimport { RecordExactParseOptions } from \"../codec/core.ts\";\nimport { RecordAttachmentNameSchema, RecordAttachmentSchemaIdSchema, } from \"../codec/identifiers.ts\";\nimport type { RecordAttachmentOwner } from \"../model/core.ts\";\nimport { isNiceEvalRecordAttachmentName, parseRecordAttachmentSchemaId, recordAttachmentNameTextOfSchemaId, type RecordAttachmentName, type RecordAttachmentSchemaId, } from \"../model/identifiers.ts\";\nimport { recordAttachmentClosureInvalid, recordAttachmentDefinitionInvalid, recordAttachmentFamilyInvalid, recordAttachmentIssue, recordAttachmentMigrationDefinitionInvalid, recordAttachmentPayloadInvalid, recordAttachmentRegistryInvalid, type RecordAttachmentClosureInvalid, type RecordAttachmentDefinitionError, type RecordAttachmentFamilyError, type RecordAttachmentIssue, type RecordAttachmentMigrationDefinitionError, type RecordAttachmentPayloadInvalid, type RecordAttachmentRegistryError, } from \"./errors.ts\";\nimport { recordAttachmentBlobBuilderBrand, recordAttachmentBlobDraftBrand, recordAttachmentBlobRefBrand, recordAttachmentBlobSourceBrand, recordAttachmentDefinitionBrand, recordAttachmentFamilyBrand, recordAttachmentMigrationBrand, recordAttachmentMigrationEdgeBrand, recordAttachmentRegistryBrand, recordAttachmentTypeWitness, recordAttachmentValueBrand, recordAttachmentWriteBrand, type AnyRecordAttachmentFamily, type DeclareRecordAttachmentMigrationUnavailableInput, type DefineJsonRecordAttachmentInput, type DefineRecordAttachmentFamilyInput, type DefineRecordAttachmentMigrationInput, type JsonRecordAttachmentDefinition, type RecordAttachmentBlobBuild, type RecordAttachmentBlobBuilder, type RecordAttachmentBlobDraft, type RecordAttachmentBlobs, type RecordAttachmentFamily, type RecordAttachmentJson, type RecordAttachmentMigration, type RecordAttachmentMigrationEdge, type RecordAttachmentMigrationResolution, type RecordAttachmentMigrationTarget, type RecordAttachmentPayloadSnapshot, type RecordAttachmentRegistry, type RecordAttachmentValue, type RecordAttachmentWrite, type RecordBlobDrafts, type RecordBlobRef, type RecordBlobSource, type RecordBlobErrors, type RecordBlobRequirements, } from \"./types.ts\";\ntype ObjectRecord = Record<PropertyKey, unknown>;\ninterface BlobRefRuntime {\n readonly builder: BuilderRuntime | undefined;\n}\ninterface BlobSourceRuntime {\n readonly stream: Stream.Stream<Uint8Array, unknown, unknown>;\n}\ninterface BuilderRuntime {\n readonly drafts: RecordAttachmentBlobDraft<unknown, unknown>[];\n}\ninterface DraftRuntime {\n readonly builder: BuilderRuntime;\n readonly ref: RecordBlobRef;\n readonly source: BlobSourceRuntime | undefined;\n}\ninterface DefinitionRuntime {\n readonly definition: JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown>;\n readonly owner: RecordAttachmentOwner;\n readonly name: RecordAttachmentName;\n readonly schemaId: RecordAttachmentSchemaId;\n readonly schema: Schema.Schema.AnyNoContext;\n readonly blobRefs: (payload: unknown) => readonly RecordBlobRef[];\n readonly builtIn: boolean;\n}\ninterface WriteRuntime {\n readonly definition: DefinitionRuntime | undefined;\n readonly builder: BuilderRuntime | undefined;\n readonly build: {\n readonly payload: unknown;\n readonly blobs: unknown;\n } | undefined;\n}\ninterface MigrationEdgeRuntime {\n readonly edge: RecordAttachmentMigrationEdge<RecordAttachmentOwner>;\n readonly from: DefinitionRuntime | undefined;\n readonly to: DefinitionRuntime | undefined;\n readonly kind: \"converter\" | \"unavailable\";\n readonly convert: ((source: RecordAttachmentValue<unknown>, target: RecordAttachmentMigrationTarget<RecordAttachmentOwner, unknown>) => Effect.Effect<RecordAttachmentWrite<RecordAttachmentOwner, unknown, unknown>, unknown, unknown>) | undefined;\n readonly reason: string | undefined;\n readonly valid: boolean;\n}\ninterface FamilyRuntime {\n readonly current: DefinitionRuntime;\n readonly bySchemaId: ReadonlyMap<string, DefinitionRuntime>;\n readonly edgesFrom: ReadonlyMap<string, MigrationEdgeRuntime>;\n}\ninterface RegistryRuntime {\n readonly families: ReadonlyMap<string, AnyRecordAttachmentFamily>;\n}\ninterface ValueRuntime {\n readonly definition: DefinitionRuntime;\n readonly refs: readonly RecordBlobRef[];\n readonly bytes: ReadonlyMap<RecordBlobRef, Uint8Array>;\n}\nconst blobRefs = new WeakMap<object, BlobRefRuntime>();\nconst blobSources = new WeakMap<object, BlobSourceRuntime>();\nconst blobDrafts = new WeakMap<object, DraftRuntime>();\nconst definitions = new WeakMap<object, DefinitionRuntime>();\nconst writes = new WeakMap<object, WriteRuntime>();\nconst migrationEdges = new WeakMap<object, MigrationEdgeRuntime>();\nconst families = new WeakMap<object, FamilyRuntime>();\nconst registries = new WeakMap<object, RegistryRuntime>();\nconst values = new WeakMap<object, ValueRuntime>();\nconst recordBlobHandleInvalid = Object.freeze({\n code: \"record-blob-handle-invalid\" as const,\n});\nfunction isObject(value: unknown): value is object {\n return typeof value === \"object\" && value !== null;\n}\nfunction isObjectRecord(value: unknown): value is ObjectRecord {\n return isObject(value);\n}\nfunction readOwn(value: unknown, key: PropertyKey): unknown {\n if (!isObjectRecord(value)) {\n return undefined;\n }\n return Object.prototype.hasOwnProperty.call(value, key) ? value[key] : undefined;\n}\nfunction freezeArray<Value>(items: readonly Value[]): readonly Value[] {\n return Object.freeze([...items]);\n}\nfunction definitionRuntime<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>): DefinitionRuntime | undefined {\n return isObject(definition) ? definitions.get(definition) : undefined;\n}\nfunction familyRuntime<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): FamilyRuntime | undefined {\n return isObject(family) ? families.get(family) : undefined;\n}\nfunction isRecordBlobRef(value: unknown): value is RecordBlobRef {\n return isObject(value) && blobRefs.has(value);\n}\nfunction isRecordAttachmentBlobDraft(value: unknown): value is RecordAttachmentBlobDraft<unknown, unknown> {\n return isObject(value) && blobDrafts.has(value);\n}\nfunction payloadInvalidForDefinition(): RecordAttachmentPayloadInvalid {\n return recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-schema-invalid\", [\"definition\"]),\n ]);\n}\nfunction closureInvalidForWrite(): RecordAttachmentClosureInvalid {\n return recordAttachmentClosureInvalid([\n recordAttachmentIssue(\"record-attachment-closure-mismatch\", [\"write\"]),\n ]);\n}\nfunction validOwner(value: unknown): value is RecordAttachmentOwner {\n return value === \"run\" || value === \"attempt\";\n}\nfunction decimalCompare(left: string, right: string): number {\n if (left.length !== right.length) {\n return left.length < right.length ? -1 : 1;\n }\n if (left === right) {\n return 0;\n }\n return left < right ? -1 : 1;\n}\nfunction incrementDecimal(value: string): string {\n const digits = value.split(\"\");\n let carry = 1;\n for (let index = digits.length - 1; index >= 0; index -= 1) {\n const digit = digits[index];\n if (digit === undefined) {\n break;\n }\n const next = Number(digit) + carry;\n if (next === 10) {\n digits[index] = \"0\";\n carry = 1;\n }\n else {\n digits[index] = String(next);\n carry = 0;\n break;\n }\n }\n return carry === 1 ? `1${digits.join(\"\")}` : digits.join(\"\");\n}\nfunction schemaVersion(schemaId: RecordAttachmentSchemaId): string | undefined {\n return parseRecordAttachmentSchemaId(schemaId)?.version;\n}\nfunction makeBlobRef(builder: BuilderRuntime | undefined): RecordBlobRef {\n const ref = {\n [recordAttachmentBlobRefBrand]: () => recordAttachmentTypeWitness<void>(),\n } as unknown as RecordBlobRef;\n blobRefs.set(ref, Object.freeze({ builder }));\n return Object.freeze(ref);\n}\n/**\n * @internal Reader/storage integration mints hydrated refs without accepting a\n * disk key at the public API boundary.\n */\nexport function makeRecordBlobRef(): RecordBlobRef {\n return makeBlobRef(undefined);\n}\n/** Build a source capability from an Effect stream; raw bytes never enter this API. */\nexport function makeRecordBlobSource<E, R>(stream: Stream.Stream<Uint8Array, E, R>): RecordBlobSource<E, R> {\n const source = {\n stream,\n [recordAttachmentBlobSourceBrand]: () => recordAttachmentTypeWitness<{\n readonly error: E;\n readonly requirements: R;\n }>(),\n } as unknown as RecordBlobSource<E, R>;\n blobSources.set(source, Object.freeze({\n stream: stream as Stream.Stream<Uint8Array, unknown, unknown>,\n }));\n return Object.freeze(source);\n}\nfunction makeBuilder(): {\n readonly builder: RecordAttachmentBlobBuilder;\n readonly runtime: BuilderRuntime;\n} {\n const runtime: BuilderRuntime = { drafts: [] };\n const builder = {\n add<E, R>(source: RecordBlobSource<E, R>): RecordAttachmentBlobDraft<E, R> {\n const sourceRuntime = isObject(source) ? blobSources.get(source) : undefined;\n const ref = makeBlobRef(runtime);\n const draft = {\n ref,\n [recordAttachmentBlobDraftBrand]: () => recordAttachmentTypeWitness<{\n readonly error: E;\n readonly requirements: R;\n }>(),\n } as unknown as RecordAttachmentBlobDraft<E, R>;\n const untypedDraft = draft as RecordAttachmentBlobDraft<unknown, unknown>;\n blobDrafts.set(draft, Object.freeze({ builder: runtime, ref, source: sourceRuntime }));\n runtime.drafts.push(untypedDraft);\n return Object.freeze(draft);\n },\n [recordAttachmentBlobBuilderBrand]: () => recordAttachmentTypeWitness<void>(),\n } as unknown as RecordAttachmentBlobBuilder;\n return Object.freeze({ builder: Object.freeze(builder), runtime });\n}\nfunction isJsonArrayIndex(key: string): boolean {\n if (key === \"0\") {\n return true;\n }\n if (!/^[1-9][0-9]*$/.test(key)) {\n return false;\n }\n const index = Number(key);\n return Number.isSafeInteger(index) && index >= 0 && index < 4294967295;\n}\n/**\n * Schema validates the declared shape. This guard additionally keeps the\n * encoded boundary JSON-only: no functions, symbols, exotic prototypes,\n * native bytes, sparse arrays, or accessor properties. Package refs are the\n * intentional in-memory exception until storage assigns owner-local keys.\n */\nfunction isAttachmentJson(value: unknown, active = new WeakSet<object>()): boolean {\n if (isRecordBlobRef(value)) {\n return true;\n }\n switch (typeof value) {\n case \"string\":\n case \"boolean\":\n return true;\n case \"number\":\n return Number.isFinite(value);\n case \"object\":\n break;\n default:\n return false;\n }\n if (value === null || !isObject(value)) {\n return value === null;\n }\n if (active.has(value)) {\n return false;\n }\n active.add(value);\n try {\n if (Array.isArray(value)) {\n if (Object.getPrototypeOf(value) !== Array.prototype) {\n return false;\n }\n for (const key of Reflect.ownKeys(value)) {\n if (key === \"length\") {\n continue;\n }\n if (typeof key !== \"string\" || !isJsonArrayIndex(key)) {\n return false;\n }\n const descriptor = Object.getOwnPropertyDescriptor(value, key);\n if (descriptor === undefined || !descriptor.enumerable || !(\"value\" in descriptor)) {\n return false;\n }\n }\n for (let index = 0; index < value.length; index += 1) {\n if (!Object.prototype.hasOwnProperty.call(value, index) || !isAttachmentJson(value[index], active)) {\n return false;\n }\n }\n return true;\n }\n if (Object.getPrototypeOf(value) !== Object.prototype) {\n return false;\n }\n for (const key of Reflect.ownKeys(value)) {\n if (typeof key !== \"string\") {\n return false;\n }\n const descriptor = Object.getOwnPropertyDescriptor(value, key);\n if (descriptor === undefined || !descriptor.enumerable || !(\"value\" in descriptor)) {\n return false;\n }\n if (!isAttachmentJson(descriptor.value, active)) {\n return false;\n }\n }\n return true;\n }\n catch {\n return false;\n }\n finally {\n active.delete(value);\n }\n}\nfunction cloneAttachmentJson(value: RecordAttachmentJson): RecordAttachmentJson {\n if (isRecordBlobRef(value) || value === null || typeof value !== \"object\") {\n return value;\n }\n if (Array.isArray(value)) {\n return value.map(cloneAttachmentJson);\n }\n const clone: Record<string, RecordAttachmentJson> = {};\n for (const [key, child] of Object.entries(value)) {\n Object.defineProperty(clone, key, {\n value: cloneAttachmentJson(child),\n enumerable: true,\n configurable: true,\n writable: true,\n });\n }\n return clone;\n}\nfunction deepFreezePayload<Payload>(value: Payload, seen = new WeakSet<object>()): RecordAttachmentPayloadSnapshot<Payload> {\n if (!isObject(value) || isRecordBlobRef(value) || seen.has(value)) {\n return value as RecordAttachmentPayloadSnapshot<Payload>;\n }\n seen.add(value);\n if (Array.isArray(value)) {\n for (const item of value) {\n deepFreezePayload(item, seen);\n }\n }\n else {\n for (const key of Reflect.ownKeys(value)) {\n const descriptor = Object.getOwnPropertyDescriptor(value, key);\n if (descriptor !== undefined && \"value\" in descriptor) {\n deepFreezePayload(descriptor.value, seen);\n }\n }\n }\n Object.freeze(value);\n return value as RecordAttachmentPayloadSnapshot<Payload>;\n}\nfunction definitionErrorForInput(input: unknown, builtIn: boolean): Either.Either<{\n readonly owner: RecordAttachmentOwner;\n readonly name: RecordAttachmentName;\n readonly schemaId: RecordAttachmentSchemaId;\n readonly schema: Schema.Schema.AnyNoContext;\n readonly blobRefs: (payload: unknown) => readonly RecordBlobRef[];\n}, RecordAttachmentDefinitionError> {\n const rawOwner = readOwn(input, \"owner\");\n const rawName = readOwn(input, \"name\");\n const rawSchemaId = readOwn(input, \"schemaId\");\n const rawSchema = readOwn(input, \"schema\");\n const rawBlobRefs = readOwn(input, \"blobRefs\");\n const nameText = typeof rawName === \"string\" ? rawName : \"\";\n const name = Schema.decodeUnknownEither(RecordAttachmentNameSchema, RecordExactParseOptions)(rawName);\n if (Either.isLeft(name)) {\n return Either.left(Object.freeze({ code: \"record-attachment-name-invalid\" as const, name: nameText }));\n }\n const schemaIdText = typeof rawSchemaId === \"string\" ? rawSchemaId : \"\";\n const schemaId = Schema.decodeUnknownEither(RecordAttachmentSchemaIdSchema, RecordExactParseOptions)(rawSchemaId);\n if (Either.isLeft(schemaId)) {\n return Either.left(Object.freeze({\n code: \"record-attachment-schema-id-invalid\" as const,\n schemaId: schemaIdText,\n }));\n }\n if (!builtIn && isNiceEvalRecordAttachmentName(name.right)) {\n return Either.left(Object.freeze({ code: \"niceeval-namespace-reserved\" as const, name: nameText }));\n }\n if (builtIn && !isNiceEvalRecordAttachmentName(name.right)) {\n return Either.left(recordAttachmentDefinitionInvalid([\n recordAttachmentIssue(\"record-attachment-schema-id-mismatch\", [\"name\"]),\n ]));\n }\n const schemaName = recordAttachmentNameTextOfSchemaId(schemaId.right);\n const owner = validOwner(rawOwner) ? rawOwner : undefined;\n const schema = Schema.isSchema(rawSchema)\n ? (rawSchema as Schema.Schema.AnyNoContext)\n : undefined;\n const blobRefsCallback = typeof rawBlobRefs === \"function\"\n ? (rawBlobRefs as (payload: unknown) => readonly RecordBlobRef[])\n : undefined;\n const issues: RecordAttachmentIssue[] = [];\n if (owner === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-owner-invalid\", [\"owner\"]));\n }\n if (schemaName !== name.right) {\n issues.push(recordAttachmentIssue(\"record-attachment-schema-id-mismatch\", [\"schemaId\"]));\n }\n if (schema === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-schema-invalid\", [\"schema\"]));\n }\n if (blobRefsCallback === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-refs-invalid\", [\"blobRefs\"]));\n }\n if (issues.length > 0 ||\n owner === undefined ||\n schema === undefined ||\n blobRefsCallback === undefined) {\n return Either.left(recordAttachmentDefinitionInvalid(issues));\n }\n return Either.right({\n owner,\n name: name.right,\n schemaId: schemaId.right,\n schema,\n blobRefs: blobRefsCallback,\n });\n}\nfunction defineJsonRecordAttachmentWithNamespace<Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>, builtIn: boolean): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError> {\n const parsed = definitionErrorForInput(input, builtIn);\n if (Either.isLeft(parsed)) {\n return Either.left(parsed.left);\n }\n const definition = {\n owner: parsed.right.owner as Owner,\n name: parsed.right.name,\n schemaId: parsed.right.schemaId,\n blobRefs: input.blobRefs,\n [recordAttachmentDefinitionBrand]: () => recordAttachmentTypeWitness<{\n readonly owner: Owner;\n readonly payload: Schema.Schema.Type<S>;\n }>(),\n } as unknown as JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>;\n definitions.set(definition, Object.freeze({\n definition: definition as unknown as JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown>,\n owner: parsed.right.owner,\n name: parsed.right.name,\n schemaId: parsed.right.schemaId,\n schema: parsed.right.schema,\n blobRefs: parsed.right.blobRefs as (payload: unknown) => readonly RecordBlobRef[],\n builtIn,\n }));\n return Either.right(Object.freeze(definition));\n}\n/** Define a third-party JSON Attachment. `niceeval.*` remains package-reserved. */\nexport function defineJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError> {\n return defineJsonRecordAttachmentWithNamespace(input, false);\n}\n/** @internal Built-ins use the same validation but are the only `niceeval.*` authority. */\nexport function defineBuiltinJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError> {\n return defineJsonRecordAttachmentWithNamespace(input, true);\n}\n/** Exact decode at the JSON boundary. Registered in-memory refs are allowed only for integration hydration. */\nexport function decodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, input: unknown): Either.Either<Payload, RecordAttachmentPayloadInvalid> {\n const runtime = definitionRuntime(definition);\n if (runtime === undefined) {\n return Either.left(payloadInvalidForDefinition());\n }\n if (!isAttachmentJson(input)) {\n return Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-json-invalid\", []),\n ]));\n }\n const decoded = Schema.decodeUnknownEither(runtime.schema, RecordExactParseOptions)(input);\n return Either.isLeft(decoded)\n ? Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-schema-invalid\", []),\n ]))\n : Either.right(decoded.right as Payload);\n}\n/** Exact encode at the JSON boundary. No Schema parse tree is leaked as public data. */\nexport function encodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload): Either.Either<RecordAttachmentJson, RecordAttachmentPayloadInvalid> {\n const runtime = definitionRuntime(definition);\n if (runtime === undefined) {\n return Either.left(payloadInvalidForDefinition());\n }\n const encoded = Schema.encodeUnknownEither(runtime.schema, RecordExactParseOptions)(payload);\n if (Either.isLeft(encoded)) {\n return Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-schema-invalid\", []),\n ]));\n }\n if (!isAttachmentJson(encoded.right)) {\n return Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-json-invalid\", []),\n ]));\n }\n return Either.right(encoded.right as RecordAttachmentJson);\n}\nfunction appendIssues(destination: RecordAttachmentIssue[], source: readonly RecordAttachmentIssue[], prefix: readonly string[] = []): void {\n for (const issue of source) {\n destination.push(recordAttachmentIssue(issue.code, [...prefix, ...issue.path]));\n }\n}\nfunction validateProjectedRefs(definition: DefinitionRuntime, payload: unknown, builder: BuilderRuntime | undefined, issues: RecordAttachmentIssue[]): readonly RecordBlobRef[] | undefined {\n // `blobRefs` is a trusted extension callback. Deliberately do not catch it:\n // a callback throw is a defect, not an Attachment data state.\n const projected = definition.blobRefs(payload);\n if (!Array.isArray(projected)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-refs-invalid\", [\"blobRefs\"]));\n return undefined;\n }\n const refs: RecordBlobRef[] = [];\n const seen = new Set<RecordBlobRef>();\n for (const [index, ref] of projected.entries()) {\n const runtime = isObject(ref) ? blobRefs.get(ref) : undefined;\n if (runtime === undefined || (builder !== undefined && runtime.builder !== builder)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-illegal\", [\"payload\", String(index)]));\n continue;\n }\n if (seen.has(ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-duplicate\", [\"payload\", String(index)]));\n continue;\n }\n seen.add(ref);\n refs.push(ref);\n }\n return refs;\n}\nfunction validateWriteRuntime(runtime: WriteRuntime): Either.Either<void, RecordAttachmentClosureInvalid> {\n if (runtime.definition === undefined || runtime.builder === undefined || runtime.build === undefined) {\n return Either.left(closureInvalidForWrite());\n }\n const issues: RecordAttachmentIssue[] = [];\n const encoded = Schema.encodeUnknownEither(runtime.definition.schema, RecordExactParseOptions)(runtime.build.payload);\n if (Either.isLeft(encoded)) {\n issues.push(recordAttachmentIssue(\"record-attachment-payload-invalid\", [\"payload\"]));\n }\n else if (!isAttachmentJson(encoded.right)) {\n issues.push(recordAttachmentIssue(\"record-attachment-json-invalid\", [\"payload\"]));\n }\n const projected = validateProjectedRefs(runtime.definition, runtime.build.payload, runtime.builder, issues);\n const projectedSet = new Set<RecordBlobRef>(projected ?? []);\n if (!Array.isArray(runtime.build.blobs)) {\n issues.push(recordAttachmentIssue(\"record-attachment-closure-mismatch\", [\"blobs\"]));\n }\n else {\n const submitted = new Map<RecordBlobRef, number>();\n for (const [index, draft] of runtime.build.blobs.entries()) {\n const draftRuntime = isObject(draft) ? blobDrafts.get(draft) : undefined;\n if (draftRuntime === undefined ||\n draftRuntime.builder !== runtime.builder ||\n !isRecordBlobRef(draftRuntime.ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-illegal\", [\"blobs\", String(index)]));\n continue;\n }\n if (draftRuntime.source === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-closure-mismatch\", [\"blobs\", String(index)]));\n continue;\n }\n const count = (submitted.get(draftRuntime.ref) ?? 0) + 1;\n submitted.set(draftRuntime.ref, count);\n if (count > 1) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-duplicate\", [\"blobs\", String(index)]));\n }\n if (!projectedSet.has(draftRuntime.ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-extra\", [\"blobs\", String(index)]));\n }\n }\n if (projected !== undefined) {\n for (const [index, ref] of projected.entries()) {\n if ((submitted.get(ref) ?? 0) === 0) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-missing\", [\"payload\", String(index)]));\n }\n }\n }\n for (const draft of runtime.builder.drafts) {\n const draftRuntime = blobDrafts.get(draft);\n if (draftRuntime === undefined) {\n throw new Error(\"RecordAttachment builder registry lost a draft it minted\");\n }\n if (!projectedSet.has(draftRuntime.ref) && (submitted.get(draftRuntime.ref) ?? 0) === 0) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-extra\", [\"builder\"]));\n }\n }\n }\n return issues.length === 0\n ? Either.right(undefined)\n : Either.left(recordAttachmentClosureInvalid(issues));\n}\nfunction makeRecordAttachmentWriteForDefinition<Owner extends RecordAttachmentOwner, Payload, const Blobs extends RecordBlobDrafts>(definition: JsonRecordAttachmentDefinition<Owner, Payload> | undefined, build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<Payload, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>> {\n const builder = definition === undefined ? undefined : makeBuilder();\n // Do not execute a builder for a forged family/definition. For a genuine\n // builder, its callback is trusted and a throw must remain a defect.\n const result = builder === undefined ? undefined : build(builder.builder);\n const buildRuntime = isObjectRecord(result)\n ? Object.freeze({\n payload: readOwn(result, \"payload\"),\n blobs: readOwn(result, \"blobs\"),\n })\n : undefined;\n const write = {\n [recordAttachmentWriteBrand]: () => recordAttachmentTypeWitness<{\n readonly owner: Owner;\n readonly error: RecordBlobErrors<Blobs>;\n readonly requirements: RecordBlobRequirements<Blobs>;\n }>(),\n } as unknown as RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>>;\n writes.set(write, Object.freeze({\n definition: definition === undefined ? undefined : definitionRuntime(definition),\n builder: builder?.runtime,\n build: buildRuntime,\n }));\n return Object.freeze(write);\n}\n/**\n * The only public generic writer builder. It captures its family, minted refs,\n * and sources; callers cannot provide a name, path, key, or raw bytes.\n */\nexport function makeRecordAttachmentWrite<Owner extends RecordAttachmentOwner, Payload, const Blobs extends RecordBlobDrafts>(family: RecordAttachmentFamily<Owner, Payload>, build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<Payload, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>> {\n const runtime = familyRuntime(family);\n const definition = runtime?.current.definition as JsonRecordAttachmentDefinition<Owner, Payload> | undefined;\n return makeRecordAttachmentWriteForDefinition(definition, build);\n}\n/** Pure closure check used by the writer before any Stream is consumed. */\nexport function validateRecordAttachmentWrite<Owner extends RecordAttachmentOwner, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<void, RecordAttachmentClosureInvalid> {\n return isObject(write)\n ? validateWriteRuntime(writes.get(write) ?? Object.freeze({\n definition: undefined,\n builder: undefined,\n build: undefined,\n }))\n : Either.left(closureInvalidForWrite());\n}\n/** @internal The integration writer consumes this only after closure validation. */\nexport interface RecordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R> {\n readonly definition: JsonRecordAttachmentDefinition<Owner, Payload>;\n readonly payload: Payload;\n readonly blobs: readonly {\n readonly ref: RecordBlobRef;\n readonly stream: Stream.Stream<Uint8Array, E, R>;\n }[];\n}\n/** @internal Extract captured sources without exposing a raw write facade. */\nexport function recordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<RecordAttachmentWriteContents<Owner, Payload, E, R>, RecordAttachmentClosureInvalid> {\n const checked = validateRecordAttachmentWrite(write);\n if (Either.isLeft(checked) || !isObject(write)) {\n return Either.left(Either.isLeft(checked) ? checked.left : closureInvalidForWrite());\n }\n const runtime = writes.get(write);\n if (runtime?.definition === undefined || runtime.build === undefined || !Array.isArray(runtime.build.blobs)) {\n throw new Error(\"RecordAttachment write passed closure validation without retained contents\");\n }\n const captured: {\n readonly ref: RecordBlobRef;\n readonly stream: Stream.Stream<Uint8Array, E, R>;\n }[] = [];\n for (const draft of runtime.build.blobs) {\n const draftRuntime = isObject(draft) ? blobDrafts.get(draft) : undefined;\n if (draftRuntime?.source === undefined) {\n throw new Error(\"RecordAttachment write passed closure validation with an invalid source\");\n }\n captured.push(Object.freeze({\n ref: draftRuntime.ref,\n stream: draftRuntime.source.stream as Stream.Stream<Uint8Array, E, R>,\n }));\n }\n return Either.right(Object.freeze({\n definition: runtime.definition.definition as unknown as JsonRecordAttachmentDefinition<Owner, Payload>,\n payload: runtime.build.payload as Payload,\n blobs: freezeArray(captured),\n }));\n}\n/** @internal Materialized owner-local bytes supplied by the reader integration. */\nexport interface RecordAttachmentMaterializedBlob {\n readonly ref: RecordBlobRef;\n readonly bytes: Uint8Array;\n}\nfunction isUint8Array(value: unknown): value is Uint8Array {\n return value instanceof Uint8Array;\n}\nfunction validateMaterializedClosure(definition: DefinitionRuntime, payload: unknown, blobs: unknown): Either.Either<{\n readonly payload: unknown;\n readonly refs: readonly RecordBlobRef[];\n readonly bytes: ReadonlyMap<RecordBlobRef, Uint8Array>;\n}, RecordAttachmentPayloadInvalid | RecordAttachmentClosureInvalid> {\n const encoded = Schema.encodeUnknownEither(definition.schema, RecordExactParseOptions)(payload);\n if (Either.isLeft(encoded)) {\n return Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-schema-invalid\", []),\n ]));\n }\n if (!isAttachmentJson(encoded.right)) {\n return Either.left(recordAttachmentPayloadInvalid([\n recordAttachmentIssue(\"record-attachment-json-invalid\", []),\n ]));\n }\n const normalizedEncoded = cloneAttachmentJson(encoded.right as RecordAttachmentJson);\n const decoded = Schema.decodeUnknownEither(definition.schema, RecordExactParseOptions)(normalizedEncoded);\n if (Either.isLeft(decoded)) {\n throw new Error(\"RecordAttachment Schema encoded a value it cannot decode\");\n }\n const issues: RecordAttachmentIssue[] = [];\n const projected = validateProjectedRefs(definition, decoded.right, undefined, issues);\n const expected = new Set<RecordBlobRef>(projected ?? []);\n const materialized = new Map<RecordBlobRef, Uint8Array>();\n if (!Array.isArray(blobs)) {\n issues.push(recordAttachmentIssue(\"record-attachment-closure-mismatch\", [\"blobs\"]));\n }\n else {\n for (const [index, entry] of blobs.entries()) {\n const ref = readOwn(entry, \"ref\");\n const bytes = readOwn(entry, \"bytes\");\n if (!isRecordBlobRef(ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-illegal\", [\"blobs\", String(index), \"ref\"]));\n continue;\n }\n if (!isUint8Array(bytes)) {\n issues.push(recordAttachmentIssue(\"record-attachment-snapshot-bytes-invalid\", [\"blobs\", String(index), \"bytes\"]));\n continue;\n }\n if (materialized.has(ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-duplicate\", [\"blobs\", String(index)]));\n continue;\n }\n materialized.set(ref, new Uint8Array(bytes));\n if (!expected.has(ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-extra\", [\"blobs\", String(index)]));\n }\n }\n }\n if (projected !== undefined) {\n for (const [index, ref] of projected.entries()) {\n if (!materialized.has(ref)) {\n issues.push(recordAttachmentIssue(\"record-attachment-blob-ref-missing\", [\"payload\", String(index)]));\n }\n }\n }\n return issues.length === 0\n ? Either.right(Object.freeze({\n payload: decoded.right,\n refs: freezeArray(projected ?? []),\n bytes: materialized,\n }))\n : Either.left(recordAttachmentClosureInvalid(issues));\n}\n/**\n * @internal Create the self-contained value returned by an available reader\n * state. It performs no I/O and defensively copies all supplied bytes.\n */\nexport function makeRecordAttachmentValue<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload, blobs: readonly RecordAttachmentMaterializedBlob[]): Either.Either<RecordAttachmentValue<Payload>, RecordAttachmentPayloadInvalid | RecordAttachmentClosureInvalid> {\n const runtime = definitionRuntime(definition);\n if (runtime === undefined) {\n return Either.left(payloadInvalidForDefinition());\n }\n const checked = validateMaterializedClosure(runtime, payload, blobs);\n if (Either.isLeft(checked)) {\n return Either.left(checked.left);\n }\n const snapshotBytes = new Map<RecordBlobRef, Uint8Array>();\n for (const [ref, bytes] of checked.right.bytes) {\n snapshotBytes.set(ref, bytes);\n }\n const refs = freezeArray(checked.right.refs);\n const snapshotBlobs: RecordAttachmentBlobs = Object.freeze({\n refs: () => freezeArray(refs),\n bytes: (ref: RecordBlobRef) => {\n const bytes = isObject(ref) ? snapshotBytes.get(ref) : undefined;\n return bytes === undefined\n ? Either.left(recordBlobHandleInvalid)\n : Either.right(new Uint8Array(bytes));\n },\n });\n const value = {\n payload: deepFreezePayload(checked.right.payload as Payload),\n blobs: snapshotBlobs,\n [recordAttachmentValueBrand]: () => recordAttachmentTypeWitness<Payload>(),\n } as unknown as RecordAttachmentValue<Payload>;\n values.set(value, Object.freeze({ definition: runtime, refs, bytes: snapshotBytes }));\n return Either.right(Object.freeze(value));\n}\n/** @internal Rejects a forged value before storage/migration integration accesses it. */\nexport function isRecordAttachmentValue(value: unknown): value is RecordAttachmentValue<unknown> {\n return isObject(value) && values.has(value);\n}\n/** @internal Exact runtime accessor for migration and projection integration. */\nexport function recordAttachmentValueDefinition<Payload>(value: RecordAttachmentValue<Payload>): JsonRecordAttachmentDefinition<RecordAttachmentOwner, Payload> | undefined {\n const runtime = isObject(value) ? values.get(value) : undefined;\n if (runtime === undefined) {\n return undefined;\n }\n return runtime.definition.definition as unknown as JsonRecordAttachmentDefinition<RecordAttachmentOwner, Payload>;\n}\nfunction migrationPairIssues(from: DefinitionRuntime | undefined, to: DefinitionRuntime | undefined): RecordAttachmentIssue[] {\n const issues: RecordAttachmentIssue[] = [];\n if (from === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"from\"]));\n }\n if (to === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"to\"]));\n }\n if (from === undefined || to === undefined) {\n return issues;\n }\n if (from.owner !== to.owner) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"owner\"]));\n }\n if (from.name !== to.name) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"name\"]));\n }\n const fromVersion = schemaVersion(from.schemaId);\n const toVersion = schemaVersion(to.schemaId);\n if (fromVersion === undefined ||\n toVersion === undefined ||\n incrementDecimal(fromVersion) !== toVersion) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"schemaId\"]));\n }\n return issues;\n}\nfunction migrationInputDefinitions(input: unknown): {\n readonly from: DefinitionRuntime | undefined;\n readonly to: DefinitionRuntime | undefined;\n} {\n const fromValue = readOwn(input, \"from\");\n const toValue = readOwn(input, \"to\");\n return Object.freeze({\n from: isObject(fromValue) ? definitions.get(fromValue) : undefined,\n to: isObject(toValue) ? definitions.get(toValue) : undefined,\n });\n}\nfunction migrationTarget<Owner extends RecordAttachmentOwner, To>(definition: JsonRecordAttachmentDefinition<Owner, To>): RecordAttachmentMigrationTarget<Owner, To> {\n const target: RecordAttachmentMigrationTarget<Owner, To> = {\n create<const Blobs extends RecordBlobDrafts>(build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<To, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>> {\n return makeRecordAttachmentWriteForDefinition(definition, build);\n },\n };\n return Object.freeze(target);\n}\n/** Define one lossless adjacent edge. The converter is stored but never run here. */\nexport function defineRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, To, E, R>(input: DefineRecordAttachmentMigrationInput<Owner, From, To, E, R>): Either.Either<RecordAttachmentMigration<Owner, E, R>, RecordAttachmentMigrationDefinitionError> {\n const pair = migrationInputDefinitions(input);\n const convert = readOwn(input, \"convert\");\n const issues = migrationPairIssues(pair.from, pair.to);\n if (typeof convert !== \"function\") {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"convert\"]));\n }\n if (issues.length > 0 || pair.from === undefined || pair.to === undefined || typeof convert !== \"function\") {\n return Either.left(recordAttachmentMigrationDefinitionInvalid(issues));\n }\n const migration = {\n [recordAttachmentMigrationEdgeBrand]: () => recordAttachmentTypeWitness<Owner>(),\n [recordAttachmentMigrationBrand]: () => recordAttachmentTypeWitness<{\n readonly error: E;\n readonly requirements: R;\n }>(),\n } as unknown as RecordAttachmentMigration<Owner, E, R>;\n migrationEdges.set(migration, Object.freeze({\n edge: migration as unknown as RecordAttachmentMigrationEdge<RecordAttachmentOwner>,\n from: pair.from,\n to: pair.to,\n kind: \"converter\" as const,\n convert: convert as unknown as MigrationEdgeRuntime[\"convert\"],\n reason: undefined,\n valid: true,\n }));\n return Either.right(Object.freeze(migration));\n}\n/** Declare a settled, adjacent non-lossless edge. Family construction validates it. */\nexport function declareRecordAttachmentMigrationUnavailable<Owner extends RecordAttachmentOwner, From, To>(input: DeclareRecordAttachmentMigrationUnavailableInput<Owner, From, To>): RecordAttachmentMigrationEdge<Owner> {\n const pair = migrationInputDefinitions(input);\n const rawReason = readOwn(input, \"reason\");\n const reason = typeof rawReason === \"string\" ? rawReason : undefined;\n const issues = migrationPairIssues(pair.from, pair.to);\n if (reason === undefined || reason.trim().length === 0) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"reason\"]));\n }\n const edge = {\n [recordAttachmentMigrationEdgeBrand]: () => recordAttachmentTypeWitness<Owner>(),\n } as unknown as RecordAttachmentMigrationEdge<Owner>;\n migrationEdges.set(edge, Object.freeze({\n edge: edge as unknown as RecordAttachmentMigrationEdge<RecordAttachmentOwner>,\n from: pair.from,\n to: pair.to,\n kind: \"unavailable\" as const,\n convert: undefined,\n reason,\n valid: issues.length === 0,\n }));\n return Object.freeze(edge);\n}\nfunction familyEdgeIssues(current: DefinitionRuntime, edge: MigrationEdgeRuntime, path: readonly string[]): RecordAttachmentIssue[] {\n const issues: RecordAttachmentIssue[] = [];\n if (!edge.valid || edge.from === undefined || edge.to === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", path));\n return issues;\n }\n if (edge.from.owner !== current.owner || edge.to.owner !== current.owner) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [...path, \"owner\"]));\n }\n if (edge.from.name !== current.name || edge.to.name !== current.name) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [...path, \"name\"]));\n }\n const fromVersion = schemaVersion(edge.from.schemaId);\n const toVersion = schemaVersion(edge.to.schemaId);\n const currentVersion = schemaVersion(current.schemaId);\n if (fromVersion === undefined ||\n toVersion === undefined ||\n currentVersion === undefined ||\n incrementDecimal(fromVersion) !== toVersion ||\n decimalCompare(toVersion, currentVersion) > 0) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [...path, \"schemaId\"]));\n }\n return issues;\n}\n/**\n * Define one complete family. Every historic version to the current definition\n * must be linked by exactly one adjacent edge; disconnected, duplicate, forked,\n * skipped, reverse, and future edges are all rejected before storage observes it.\n */\nexport function defineRecordAttachmentFamily<Owner extends RecordAttachmentOwner, Current>(input: DefineRecordAttachmentFamilyInput<Owner, Current>): Either.Either<RecordAttachmentFamily<Owner, Current>, RecordAttachmentFamilyError> {\n const currentValue = readOwn(input, \"current\");\n const current = isObject(currentValue) ? definitions.get(currentValue) : undefined;\n const migrationsValue = readOwn(input, \"migrations\");\n const issues: RecordAttachmentIssue[] = [];\n if (current === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-family-invalid\", [\"current\"]));\n }\n if (!Array.isArray(migrationsValue)) {\n issues.push(recordAttachmentIssue(\"record-attachment-family-invalid\", [\"migrations\"]));\n }\n if (current === undefined || !Array.isArray(migrationsValue)) {\n return Either.left(recordAttachmentFamilyInvalid(issues));\n }\n const byFrom = new Map<string, MigrationEdgeRuntime>();\n const bySchemaId = new Map<string, DefinitionRuntime>();\n bySchemaId.set(current.schemaId, current);\n for (const [index, candidate] of migrationsValue.entries()) {\n const edge = isObject(candidate) ? migrationEdges.get(candidate) : undefined;\n const path = [\"migrations\", String(index)];\n if (edge === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", path));\n continue;\n }\n appendIssues(issues, familyEdgeIssues(current, edge, path));\n if (!edge.valid || edge.from === undefined || edge.to === undefined) {\n continue;\n }\n const fromVersion = schemaVersion(edge.from.schemaId);\n if (fromVersion === undefined) {\n continue;\n }\n const prior = byFrom.get(fromVersion);\n if (prior !== undefined) {\n const code = prior.to?.definition === edge.to.definition\n ? \"record-attachment-migration-edge-duplicate\"\n : \"record-attachment-migration-edge-fork\";\n issues.push(recordAttachmentIssue(code, path));\n continue;\n }\n byFrom.set(fromVersion, edge);\n for (const definition of [edge.from, edge.to]) {\n const priorDefinition = bySchemaId.get(definition.schemaId);\n if (priorDefinition !== undefined && priorDefinition.definition !== definition.definition) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-fork\", path));\n }\n else {\n bySchemaId.set(definition.schemaId, definition);\n }\n }\n }\n const currentVersion = schemaVersion(current.schemaId);\n if (currentVersion === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-family-invalid\", [\"current\", \"schemaId\"]));\n }\n else {\n let version = \"1\";\n let traversed = 0;\n let lastEdge: MigrationEdgeRuntime | undefined;\n while (version !== currentVersion) {\n const edge = byFrom.get(version);\n if (edge === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-missing\", [\"migrations\", version]));\n break;\n }\n const next = edge.to === undefined ? undefined : schemaVersion(edge.to.schemaId);\n if (next === undefined || decimalCompare(next, version) <= 0) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"migrations\", version]));\n break;\n }\n traversed += 1;\n lastEdge = edge;\n version = next;\n }\n if (traversed !== byFrom.size) {\n issues.push(recordAttachmentIssue(\"record-attachment-family-invalid\", [\"migrations\"]));\n }\n if (currentVersion !== \"1\" &&\n (lastEdge?.to === undefined || lastEdge.to.definition !== current.definition)) {\n issues.push(recordAttachmentIssue(\"record-attachment-migration-edge-invalid\", [\"migrations\", \"current\"]));\n }\n }\n if (issues.length > 0) {\n return Either.left(recordAttachmentFamilyInvalid(issues));\n }\n const family = {\n [recordAttachmentFamilyBrand]: () => recordAttachmentTypeWitness<{\n readonly owner: Owner;\n readonly payload: Current;\n }>(),\n } as unknown as RecordAttachmentFamily<Owner, Current>;\n families.set(family, Object.freeze({ current, bySchemaId, edgesFrom: byFrom }));\n return Either.right(Object.freeze(family));\n}\n/** Resolve a known historical schema against a genuine current family. */\nexport function resolveRecordAttachmentMigration<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>, sourceSchemaId: RecordAttachmentSchemaId): RecordAttachmentMigrationResolution | undefined {\n const runtime = familyRuntime(family);\n if (runtime === undefined) {\n return undefined;\n }\n if (sourceSchemaId === runtime.current.schemaId) {\n return Object.freeze({ state: \"current\" as const });\n }\n const source = runtime.bySchemaId.get(sourceSchemaId);\n if (source === undefined || source.name !== runtime.current.name) {\n return Object.freeze({ state: \"unsupported\" as const });\n }\n const edges: RecordAttachmentMigrationEdge<RecordAttachmentOwner>[] = [];\n let schemaId = source.schemaId;\n while (schemaId !== runtime.current.schemaId) {\n const version = schemaVersion(schemaId);\n const edge = version === undefined ? undefined : runtime.edgesFrom.get(version);\n if (edge === undefined || edge.to === undefined) {\n throw new Error(\"RecordAttachment family registry lost a validated migration edge\");\n }\n if (edge.kind === \"unavailable\") {\n return Object.freeze({\n state: \"migration-unavailable\" as const,\n from: sourceSchemaId,\n to: runtime.current.schemaId,\n reason: edge.reason ?? \"migration unavailable\",\n });\n }\n edges.push(edge.edge);\n schemaId = edge.to.schemaId;\n }\n return Object.freeze({\n state: \"migration-required\" as const,\n from: sourceSchemaId,\n to: runtime.current.schemaId,\n edges: freezeArray(edges),\n });\n}\n/**\n * @internal Run one trusted converter at the integration boundary. `suspend`\n * turns a callback throw into an Effect defect while preserving its explicit E\n * failures and any fiber interruption without catch/recovery.\n */\nexport function runRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, E, R>(migration: RecordAttachmentMigration<Owner, E, R>, source: RecordAttachmentValue<From>): Effect.Effect<RecordAttachmentWrite<Owner, E, R>, E, R> {\n return Effect.suspend(() => {\n const runtime = isObject(migration) ? migrationEdges.get(migration) : undefined;\n if (runtime === undefined ||\n !runtime.valid ||\n runtime.kind !== \"converter\" ||\n runtime.to === undefined ||\n runtime.convert === undefined ||\n !isRecordAttachmentValue(source)) {\n return Effect.die(new Error(\"RecordAttachment migration capability is invalid\"));\n }\n const target = migrationTarget(runtime.to.definition as unknown as JsonRecordAttachmentDefinition<Owner, unknown>);\n return runtime.convert(source as unknown as RecordAttachmentValue<unknown>, target as unknown as RecordAttachmentMigrationTarget<RecordAttachmentOwner, unknown>) as Effect.Effect<RecordAttachmentWrite<Owner, E, R>, E, R>;\n });\n}\nfunction registryKey(owner: RecordAttachmentOwner, name: RecordAttachmentName): string {\n return `${owner}\\u0000${name}`;\n}\n/** Define a pure installed-family registry without touching storage or services. */\nexport function defineRecordAttachmentRegistry(input: readonly AnyRecordAttachmentFamily[] | {\n readonly families: readonly AnyRecordAttachmentFamily[];\n}): Either.Either<RecordAttachmentRegistry, RecordAttachmentRegistryError> {\n const candidates = Array.isArray(input) ? input : readOwn(input, \"families\");\n const issues: RecordAttachmentIssue[] = [];\n if (!Array.isArray(candidates)) {\n return Either.left(recordAttachmentRegistryInvalid([\n recordAttachmentIssue(\"record-attachment-family-invalid\", [\"families\"]),\n ]));\n }\n const registered = new Map<string, AnyRecordAttachmentFamily>();\n for (const [index, candidate] of candidates.entries()) {\n const runtime = isObject(candidate) ? families.get(candidate) : undefined;\n if (runtime === undefined) {\n issues.push(recordAttachmentIssue(\"record-attachment-family-invalid\", [\"families\", String(index)]));\n continue;\n }\n const key = registryKey(runtime.current.owner, runtime.current.name);\n if (registered.has(key)) {\n issues.push(recordAttachmentIssue(\"record-attachment-registry-family-duplicate\", [\"families\", String(index)]));\n continue;\n }\n registered.set(key, candidate as AnyRecordAttachmentFamily);\n }\n if (issues.length > 0) {\n return Either.left(recordAttachmentRegistryInvalid(issues));\n }\n const registry = {\n [recordAttachmentRegistryBrand]: () => recordAttachmentTypeWitness<void>(),\n } as unknown as RecordAttachmentRegistry;\n registries.set(registry, Object.freeze({ families: registered }));\n return Either.right(Object.freeze(registry));\n}\n/** @internal Exact lookup used by reader/migration integration. */\nexport function recordAttachmentRegistryFamily(registry: RecordAttachmentRegistry, owner: RecordAttachmentOwner, name: RecordAttachmentName): AnyRecordAttachmentFamily | undefined {\n const runtime = isObject(registry) ? registries.get(registry) : undefined;\n return runtime?.families.get(registryKey(owner, name));\n}\n/** @internal Runtime guard for package-private integration boundaries. */\nexport function isJsonRecordAttachmentDefinition(value: unknown): value is JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown> {\n return isObject(value) && definitions.has(value);\n}\n/** @internal Runtime guard for genuine family capabilities. */\nexport function isRecordAttachmentFamily(value: unknown): value is RecordAttachmentFamily<RecordAttachmentOwner, unknown> {\n return isObject(value) && families.has(value);\n}\n/** @internal Returns the exact registered current definition, never a field copy. */\nexport function recordAttachmentFamilyCurrentDefinition<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): JsonRecordAttachmentDefinition<Owner, Payload> | undefined {\n const runtime = familyRuntime(family);\n return runtime?.current.definition as unknown as JsonRecordAttachmentDefinition<Owner, Payload> | undefined;\n}\n/** @internal Reads owner only from a genuine family registry record. */\nexport function recordAttachmentFamilyOwner<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): Owner | undefined {\n return familyRuntime(family)?.current.owner as Owner | undefined;\n}\n/** @internal Runtime guard for a genuine installed registry. */\nexport function isRecordAttachmentRegistry(value: unknown): value is RecordAttachmentRegistry {\n return isObject(value) && registries.has(value);\n}\n"]}
@@ -0,0 +1,86 @@
1
+ import { Effect, Either, Schema, Stream } from "effect";
2
+ import type { RecordAttachmentOwner } from "../model/core.cjs";
3
+ import { type RecordAttachmentName, type RecordAttachmentSchemaId } from "../model/identifiers.cjs";
4
+ import { type RecordAttachmentClosureInvalid, type RecordAttachmentDefinitionError, type RecordAttachmentFamilyError, type RecordAttachmentMigrationDefinitionError, type RecordAttachmentPayloadInvalid, type RecordAttachmentRegistryError } from "./errors.cjs";
5
+ import { type AnyRecordAttachmentFamily, type DeclareRecordAttachmentMigrationUnavailableInput, type DefineJsonRecordAttachmentInput, type DefineRecordAttachmentFamilyInput, type DefineRecordAttachmentMigrationInput, type JsonRecordAttachmentDefinition, type RecordAttachmentBlobBuild, type RecordAttachmentBlobBuilder, type RecordAttachmentFamily, type RecordAttachmentJson, type RecordAttachmentMigration, type RecordAttachmentMigrationEdge, type RecordAttachmentMigrationResolution, type RecordAttachmentRegistry, type RecordAttachmentValue, type RecordAttachmentWrite, type RecordBlobDrafts, type RecordBlobRef, type RecordBlobSource, type RecordBlobErrors, type RecordBlobRequirements } from "./types.cjs";
6
+ /**
7
+ * @internal Reader/storage integration mints hydrated refs without accepting a
8
+ * disk key at the public API boundary.
9
+ */
10
+ export declare function makeRecordBlobRef(): RecordBlobRef;
11
+ /** Build a source capability from an Effect stream; raw bytes never enter this API. */
12
+ export declare function makeRecordBlobSource<E, R>(stream: Stream.Stream<Uint8Array, E, R>): RecordBlobSource<E, R>;
13
+ /** Define a third-party JSON Attachment. `niceeval.*` remains package-reserved. */
14
+ export declare function defineJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
15
+ /** @internal Built-ins use the same validation but are the only `niceeval.*` authority. */
16
+ export declare function defineBuiltinJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
17
+ /** Exact decode at the JSON boundary. Registered in-memory refs are allowed only for integration hydration. */
18
+ export declare function decodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, input: unknown): Either.Either<Payload, RecordAttachmentPayloadInvalid>;
19
+ /** Exact encode at the JSON boundary. No Schema parse tree is leaked as public data. */
20
+ export declare function encodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload): Either.Either<RecordAttachmentJson, RecordAttachmentPayloadInvalid>;
21
+ /**
22
+ * The only public generic writer builder. It captures its family, minted refs,
23
+ * and sources; callers cannot provide a name, path, key, or raw bytes.
24
+ */
25
+ export declare function makeRecordAttachmentWrite<Owner extends RecordAttachmentOwner, Payload, const Blobs extends RecordBlobDrafts>(family: RecordAttachmentFamily<Owner, Payload>, build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<Payload, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>>;
26
+ /** Pure closure check used by the writer before any Stream is consumed. */
27
+ export declare function validateRecordAttachmentWrite<Owner extends RecordAttachmentOwner, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<void, RecordAttachmentClosureInvalid>;
28
+ /** @internal The integration writer consumes this only after closure validation. */
29
+ export interface RecordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R> {
30
+ readonly definition: JsonRecordAttachmentDefinition<Owner, Payload>;
31
+ readonly payload: Payload;
32
+ readonly blobs: readonly {
33
+ readonly ref: RecordBlobRef;
34
+ readonly stream: Stream.Stream<Uint8Array, E, R>;
35
+ }[];
36
+ }
37
+ /** @internal Extract captured sources without exposing a raw write facade. */
38
+ export declare function recordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<RecordAttachmentWriteContents<Owner, Payload, E, R>, RecordAttachmentClosureInvalid>;
39
+ /** @internal Materialized owner-local bytes supplied by the reader integration. */
40
+ export interface RecordAttachmentMaterializedBlob {
41
+ readonly ref: RecordBlobRef;
42
+ readonly bytes: Uint8Array;
43
+ }
44
+ /**
45
+ * @internal Create the self-contained value returned by an available reader
46
+ * state. It performs no I/O and defensively copies all supplied bytes.
47
+ */
48
+ export declare function makeRecordAttachmentValue<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload, blobs: readonly RecordAttachmentMaterializedBlob[]): Either.Either<RecordAttachmentValue<Payload>, RecordAttachmentPayloadInvalid | RecordAttachmentClosureInvalid>;
49
+ /** @internal Rejects a forged value before storage/migration integration accesses it. */
50
+ export declare function isRecordAttachmentValue(value: unknown): value is RecordAttachmentValue<unknown>;
51
+ /** @internal Exact runtime accessor for migration and projection integration. */
52
+ export declare function recordAttachmentValueDefinition<Payload>(value: RecordAttachmentValue<Payload>): JsonRecordAttachmentDefinition<RecordAttachmentOwner, Payload> | undefined;
53
+ /** Define one lossless adjacent edge. The converter is stored but never run here. */
54
+ export declare function defineRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, To, E, R>(input: DefineRecordAttachmentMigrationInput<Owner, From, To, E, R>): Either.Either<RecordAttachmentMigration<Owner, E, R>, RecordAttachmentMigrationDefinitionError>;
55
+ /** Declare a settled, adjacent non-lossless edge. Family construction validates it. */
56
+ export declare function declareRecordAttachmentMigrationUnavailable<Owner extends RecordAttachmentOwner, From, To>(input: DeclareRecordAttachmentMigrationUnavailableInput<Owner, From, To>): RecordAttachmentMigrationEdge<Owner>;
57
+ /**
58
+ * Define one complete family. Every historic version to the current definition
59
+ * must be linked by exactly one adjacent edge; disconnected, duplicate, forked,
60
+ * skipped, reverse, and future edges are all rejected before storage observes it.
61
+ */
62
+ export declare function defineRecordAttachmentFamily<Owner extends RecordAttachmentOwner, Current>(input: DefineRecordAttachmentFamilyInput<Owner, Current>): Either.Either<RecordAttachmentFamily<Owner, Current>, RecordAttachmentFamilyError>;
63
+ /** Resolve a known historical schema against a genuine current family. */
64
+ export declare function resolveRecordAttachmentMigration<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>, sourceSchemaId: RecordAttachmentSchemaId): RecordAttachmentMigrationResolution | undefined;
65
+ /**
66
+ * @internal Run one trusted converter at the integration boundary. `suspend`
67
+ * turns a callback throw into an Effect defect while preserving its explicit E
68
+ * failures and any fiber interruption without catch/recovery.
69
+ */
70
+ export declare function runRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, E, R>(migration: RecordAttachmentMigration<Owner, E, R>, source: RecordAttachmentValue<From>): Effect.Effect<RecordAttachmentWrite<Owner, E, R>, E, R>;
71
+ /** Define a pure installed-family registry without touching storage or services. */
72
+ export declare function defineRecordAttachmentRegistry(input: readonly AnyRecordAttachmentFamily[] | {
73
+ readonly families: readonly AnyRecordAttachmentFamily[];
74
+ }): Either.Either<RecordAttachmentRegistry, RecordAttachmentRegistryError>;
75
+ /** @internal Exact lookup used by reader/migration integration. */
76
+ export declare function recordAttachmentRegistryFamily(registry: RecordAttachmentRegistry, owner: RecordAttachmentOwner, name: RecordAttachmentName): AnyRecordAttachmentFamily | undefined;
77
+ /** @internal Runtime guard for package-private integration boundaries. */
78
+ export declare function isJsonRecordAttachmentDefinition(value: unknown): value is JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown>;
79
+ /** @internal Runtime guard for genuine family capabilities. */
80
+ export declare function isRecordAttachmentFamily(value: unknown): value is RecordAttachmentFamily<RecordAttachmentOwner, unknown>;
81
+ /** @internal Returns the exact registered current definition, never a field copy. */
82
+ export declare function recordAttachmentFamilyCurrentDefinition<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): JsonRecordAttachmentDefinition<Owner, Payload> | undefined;
83
+ /** @internal Reads owner only from a genuine family registry record. */
84
+ export declare function recordAttachmentFamilyOwner<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): Owner | undefined;
85
+ /** @internal Runtime guard for a genuine installed registry. */
86
+ export declare function isRecordAttachmentRegistry(value: unknown): value is RecordAttachmentRegistry;
@@ -0,0 +1,86 @@
1
+ import { Effect, Either, Schema, Stream } from "effect";
2
+ import type { RecordAttachmentOwner } from "../model/core.mjs";
3
+ import { type RecordAttachmentName, type RecordAttachmentSchemaId } from "../model/identifiers.mjs";
4
+ import { type RecordAttachmentClosureInvalid, type RecordAttachmentDefinitionError, type RecordAttachmentFamilyError, type RecordAttachmentMigrationDefinitionError, type RecordAttachmentPayloadInvalid, type RecordAttachmentRegistryError } from "./errors.mjs";
5
+ import { type AnyRecordAttachmentFamily, type DeclareRecordAttachmentMigrationUnavailableInput, type DefineJsonRecordAttachmentInput, type DefineRecordAttachmentFamilyInput, type DefineRecordAttachmentMigrationInput, type JsonRecordAttachmentDefinition, type RecordAttachmentBlobBuild, type RecordAttachmentBlobBuilder, type RecordAttachmentFamily, type RecordAttachmentJson, type RecordAttachmentMigration, type RecordAttachmentMigrationEdge, type RecordAttachmentMigrationResolution, type RecordAttachmentRegistry, type RecordAttachmentValue, type RecordAttachmentWrite, type RecordBlobDrafts, type RecordBlobRef, type RecordBlobSource, type RecordBlobErrors, type RecordBlobRequirements } from "./types.mjs";
6
+ /**
7
+ * @internal Reader/storage integration mints hydrated refs without accepting a
8
+ * disk key at the public API boundary.
9
+ */
10
+ export declare function makeRecordBlobRef(): RecordBlobRef;
11
+ /** Build a source capability from an Effect stream; raw bytes never enter this API. */
12
+ export declare function makeRecordBlobSource<E, R>(stream: Stream.Stream<Uint8Array, E, R>): RecordBlobSource<E, R>;
13
+ /** Define a third-party JSON Attachment. `niceeval.*` remains package-reserved. */
14
+ export declare function defineJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
15
+ /** @internal Built-ins use the same validation but are the only `niceeval.*` authority. */
16
+ export declare function defineBuiltinJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
17
+ /** Exact decode at the JSON boundary. Registered in-memory refs are allowed only for integration hydration. */
18
+ export declare function decodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, input: unknown): Either.Either<Payload, RecordAttachmentPayloadInvalid>;
19
+ /** Exact encode at the JSON boundary. No Schema parse tree is leaked as public data. */
20
+ export declare function encodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload): Either.Either<RecordAttachmentJson, RecordAttachmentPayloadInvalid>;
21
+ /**
22
+ * The only public generic writer builder. It captures its family, minted refs,
23
+ * and sources; callers cannot provide a name, path, key, or raw bytes.
24
+ */
25
+ export declare function makeRecordAttachmentWrite<Owner extends RecordAttachmentOwner, Payload, const Blobs extends RecordBlobDrafts>(family: RecordAttachmentFamily<Owner, Payload>, build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<Payload, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>>;
26
+ /** Pure closure check used by the writer before any Stream is consumed. */
27
+ export declare function validateRecordAttachmentWrite<Owner extends RecordAttachmentOwner, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<void, RecordAttachmentClosureInvalid>;
28
+ /** @internal The integration writer consumes this only after closure validation. */
29
+ export interface RecordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R> {
30
+ readonly definition: JsonRecordAttachmentDefinition<Owner, Payload>;
31
+ readonly payload: Payload;
32
+ readonly blobs: readonly {
33
+ readonly ref: RecordBlobRef;
34
+ readonly stream: Stream.Stream<Uint8Array, E, R>;
35
+ }[];
36
+ }
37
+ /** @internal Extract captured sources without exposing a raw write facade. */
38
+ export declare function recordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<RecordAttachmentWriteContents<Owner, Payload, E, R>, RecordAttachmentClosureInvalid>;
39
+ /** @internal Materialized owner-local bytes supplied by the reader integration. */
40
+ export interface RecordAttachmentMaterializedBlob {
41
+ readonly ref: RecordBlobRef;
42
+ readonly bytes: Uint8Array;
43
+ }
44
+ /**
45
+ * @internal Create the self-contained value returned by an available reader
46
+ * state. It performs no I/O and defensively copies all supplied bytes.
47
+ */
48
+ export declare function makeRecordAttachmentValue<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload, blobs: readonly RecordAttachmentMaterializedBlob[]): Either.Either<RecordAttachmentValue<Payload>, RecordAttachmentPayloadInvalid | RecordAttachmentClosureInvalid>;
49
+ /** @internal Rejects a forged value before storage/migration integration accesses it. */
50
+ export declare function isRecordAttachmentValue(value: unknown): value is RecordAttachmentValue<unknown>;
51
+ /** @internal Exact runtime accessor for migration and projection integration. */
52
+ export declare function recordAttachmentValueDefinition<Payload>(value: RecordAttachmentValue<Payload>): JsonRecordAttachmentDefinition<RecordAttachmentOwner, Payload> | undefined;
53
+ /** Define one lossless adjacent edge. The converter is stored but never run here. */
54
+ export declare function defineRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, To, E, R>(input: DefineRecordAttachmentMigrationInput<Owner, From, To, E, R>): Either.Either<RecordAttachmentMigration<Owner, E, R>, RecordAttachmentMigrationDefinitionError>;
55
+ /** Declare a settled, adjacent non-lossless edge. Family construction validates it. */
56
+ export declare function declareRecordAttachmentMigrationUnavailable<Owner extends RecordAttachmentOwner, From, To>(input: DeclareRecordAttachmentMigrationUnavailableInput<Owner, From, To>): RecordAttachmentMigrationEdge<Owner>;
57
+ /**
58
+ * Define one complete family. Every historic version to the current definition
59
+ * must be linked by exactly one adjacent edge; disconnected, duplicate, forked,
60
+ * skipped, reverse, and future edges are all rejected before storage observes it.
61
+ */
62
+ export declare function defineRecordAttachmentFamily<Owner extends RecordAttachmentOwner, Current>(input: DefineRecordAttachmentFamilyInput<Owner, Current>): Either.Either<RecordAttachmentFamily<Owner, Current>, RecordAttachmentFamilyError>;
63
+ /** Resolve a known historical schema against a genuine current family. */
64
+ export declare function resolveRecordAttachmentMigration<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>, sourceSchemaId: RecordAttachmentSchemaId): RecordAttachmentMigrationResolution | undefined;
65
+ /**
66
+ * @internal Run one trusted converter at the integration boundary. `suspend`
67
+ * turns a callback throw into an Effect defect while preserving its explicit E
68
+ * failures and any fiber interruption without catch/recovery.
69
+ */
70
+ export declare function runRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, E, R>(migration: RecordAttachmentMigration<Owner, E, R>, source: RecordAttachmentValue<From>): Effect.Effect<RecordAttachmentWrite<Owner, E, R>, E, R>;
71
+ /** Define a pure installed-family registry without touching storage or services. */
72
+ export declare function defineRecordAttachmentRegistry(input: readonly AnyRecordAttachmentFamily[] | {
73
+ readonly families: readonly AnyRecordAttachmentFamily[];
74
+ }): Either.Either<RecordAttachmentRegistry, RecordAttachmentRegistryError>;
75
+ /** @internal Exact lookup used by reader/migration integration. */
76
+ export declare function recordAttachmentRegistryFamily(registry: RecordAttachmentRegistry, owner: RecordAttachmentOwner, name: RecordAttachmentName): AnyRecordAttachmentFamily | undefined;
77
+ /** @internal Runtime guard for package-private integration boundaries. */
78
+ export declare function isJsonRecordAttachmentDefinition(value: unknown): value is JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown>;
79
+ /** @internal Runtime guard for genuine family capabilities. */
80
+ export declare function isRecordAttachmentFamily(value: unknown): value is RecordAttachmentFamily<RecordAttachmentOwner, unknown>;
81
+ /** @internal Returns the exact registered current definition, never a field copy. */
82
+ export declare function recordAttachmentFamilyCurrentDefinition<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): JsonRecordAttachmentDefinition<Owner, Payload> | undefined;
83
+ /** @internal Reads owner only from a genuine family registry record. */
84
+ export declare function recordAttachmentFamilyOwner<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): Owner | undefined;
85
+ /** @internal Runtime guard for a genuine installed registry. */
86
+ export declare function isRecordAttachmentRegistry(value: unknown): value is RecordAttachmentRegistry;
@@ -0,0 +1,86 @@
1
+ import { Effect, Either, Schema, Stream } from "effect";
2
+ import type { RecordAttachmentOwner } from "../model/core.js";
3
+ import { type RecordAttachmentName, type RecordAttachmentSchemaId } from "../model/identifiers.js";
4
+ import { type RecordAttachmentClosureInvalid, type RecordAttachmentDefinitionError, type RecordAttachmentFamilyError, type RecordAttachmentMigrationDefinitionError, type RecordAttachmentPayloadInvalid, type RecordAttachmentRegistryError } from "./errors.js";
5
+ import { type AnyRecordAttachmentFamily, type DeclareRecordAttachmentMigrationUnavailableInput, type DefineJsonRecordAttachmentInput, type DefineRecordAttachmentFamilyInput, type DefineRecordAttachmentMigrationInput, type JsonRecordAttachmentDefinition, type RecordAttachmentBlobBuild, type RecordAttachmentBlobBuilder, type RecordAttachmentFamily, type RecordAttachmentJson, type RecordAttachmentMigration, type RecordAttachmentMigrationEdge, type RecordAttachmentMigrationResolution, type RecordAttachmentRegistry, type RecordAttachmentValue, type RecordAttachmentWrite, type RecordBlobDrafts, type RecordBlobRef, type RecordBlobSource, type RecordBlobErrors, type RecordBlobRequirements } from "./types.js";
6
+ /**
7
+ * @internal Reader/storage integration mints hydrated refs without accepting a
8
+ * disk key at the public API boundary.
9
+ */
10
+ export declare function makeRecordBlobRef(): RecordBlobRef;
11
+ /** Build a source capability from an Effect stream; raw bytes never enter this API. */
12
+ export declare function makeRecordBlobSource<E, R>(stream: Stream.Stream<Uint8Array, E, R>): RecordBlobSource<E, R>;
13
+ /** Define a third-party JSON Attachment. `niceeval.*` remains package-reserved. */
14
+ export declare function defineJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
15
+ /** @internal Built-ins use the same validation but are the only `niceeval.*` authority. */
16
+ export declare function defineBuiltinJsonRecordAttachment<const Owner extends RecordAttachmentOwner, S extends Schema.Schema.AnyNoContext>(input: DefineJsonRecordAttachmentInput<Owner, S>): Either.Either<JsonRecordAttachmentDefinition<Owner, Schema.Schema.Type<S>>, RecordAttachmentDefinitionError>;
17
+ /** Exact decode at the JSON boundary. Registered in-memory refs are allowed only for integration hydration. */
18
+ export declare function decodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, input: unknown): Either.Either<Payload, RecordAttachmentPayloadInvalid>;
19
+ /** Exact encode at the JSON boundary. No Schema parse tree is leaked as public data. */
20
+ export declare function encodeJsonRecordAttachmentPayload<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload): Either.Either<RecordAttachmentJson, RecordAttachmentPayloadInvalid>;
21
+ /**
22
+ * The only public generic writer builder. It captures its family, minted refs,
23
+ * and sources; callers cannot provide a name, path, key, or raw bytes.
24
+ */
25
+ export declare function makeRecordAttachmentWrite<Owner extends RecordAttachmentOwner, Payload, const Blobs extends RecordBlobDrafts>(family: RecordAttachmentFamily<Owner, Payload>, build: (blobs: RecordAttachmentBlobBuilder) => RecordAttachmentBlobBuild<Payload, Blobs>): RecordAttachmentWrite<Owner, RecordBlobErrors<Blobs>, RecordBlobRequirements<Blobs>>;
26
+ /** Pure closure check used by the writer before any Stream is consumed. */
27
+ export declare function validateRecordAttachmentWrite<Owner extends RecordAttachmentOwner, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<void, RecordAttachmentClosureInvalid>;
28
+ /** @internal The integration writer consumes this only after closure validation. */
29
+ export interface RecordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R> {
30
+ readonly definition: JsonRecordAttachmentDefinition<Owner, Payload>;
31
+ readonly payload: Payload;
32
+ readonly blobs: readonly {
33
+ readonly ref: RecordBlobRef;
34
+ readonly stream: Stream.Stream<Uint8Array, E, R>;
35
+ }[];
36
+ }
37
+ /** @internal Extract captured sources without exposing a raw write facade. */
38
+ export declare function recordAttachmentWriteContents<Owner extends RecordAttachmentOwner, Payload, E, R>(write: RecordAttachmentWrite<Owner, E, R>): Either.Either<RecordAttachmentWriteContents<Owner, Payload, E, R>, RecordAttachmentClosureInvalid>;
39
+ /** @internal Materialized owner-local bytes supplied by the reader integration. */
40
+ export interface RecordAttachmentMaterializedBlob {
41
+ readonly ref: RecordBlobRef;
42
+ readonly bytes: Uint8Array;
43
+ }
44
+ /**
45
+ * @internal Create the self-contained value returned by an available reader
46
+ * state. It performs no I/O and defensively copies all supplied bytes.
47
+ */
48
+ export declare function makeRecordAttachmentValue<Owner extends RecordAttachmentOwner, Payload>(definition: JsonRecordAttachmentDefinition<Owner, Payload>, payload: Payload, blobs: readonly RecordAttachmentMaterializedBlob[]): Either.Either<RecordAttachmentValue<Payload>, RecordAttachmentPayloadInvalid | RecordAttachmentClosureInvalid>;
49
+ /** @internal Rejects a forged value before storage/migration integration accesses it. */
50
+ export declare function isRecordAttachmentValue(value: unknown): value is RecordAttachmentValue<unknown>;
51
+ /** @internal Exact runtime accessor for migration and projection integration. */
52
+ export declare function recordAttachmentValueDefinition<Payload>(value: RecordAttachmentValue<Payload>): JsonRecordAttachmentDefinition<RecordAttachmentOwner, Payload> | undefined;
53
+ /** Define one lossless adjacent edge. The converter is stored but never run here. */
54
+ export declare function defineRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, To, E, R>(input: DefineRecordAttachmentMigrationInput<Owner, From, To, E, R>): Either.Either<RecordAttachmentMigration<Owner, E, R>, RecordAttachmentMigrationDefinitionError>;
55
+ /** Declare a settled, adjacent non-lossless edge. Family construction validates it. */
56
+ export declare function declareRecordAttachmentMigrationUnavailable<Owner extends RecordAttachmentOwner, From, To>(input: DeclareRecordAttachmentMigrationUnavailableInput<Owner, From, To>): RecordAttachmentMigrationEdge<Owner>;
57
+ /**
58
+ * Define one complete family. Every historic version to the current definition
59
+ * must be linked by exactly one adjacent edge; disconnected, duplicate, forked,
60
+ * skipped, reverse, and future edges are all rejected before storage observes it.
61
+ */
62
+ export declare function defineRecordAttachmentFamily<Owner extends RecordAttachmentOwner, Current>(input: DefineRecordAttachmentFamilyInput<Owner, Current>): Either.Either<RecordAttachmentFamily<Owner, Current>, RecordAttachmentFamilyError>;
63
+ /** Resolve a known historical schema against a genuine current family. */
64
+ export declare function resolveRecordAttachmentMigration<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>, sourceSchemaId: RecordAttachmentSchemaId): RecordAttachmentMigrationResolution | undefined;
65
+ /**
66
+ * @internal Run one trusted converter at the integration boundary. `suspend`
67
+ * turns a callback throw into an Effect defect while preserving its explicit E
68
+ * failures and any fiber interruption without catch/recovery.
69
+ */
70
+ export declare function runRecordAttachmentMigration<Owner extends RecordAttachmentOwner, From, E, R>(migration: RecordAttachmentMigration<Owner, E, R>, source: RecordAttachmentValue<From>): Effect.Effect<RecordAttachmentWrite<Owner, E, R>, E, R>;
71
+ /** Define a pure installed-family registry without touching storage or services. */
72
+ export declare function defineRecordAttachmentRegistry(input: readonly AnyRecordAttachmentFamily[] | {
73
+ readonly families: readonly AnyRecordAttachmentFamily[];
74
+ }): Either.Either<RecordAttachmentRegistry, RecordAttachmentRegistryError>;
75
+ /** @internal Exact lookup used by reader/migration integration. */
76
+ export declare function recordAttachmentRegistryFamily(registry: RecordAttachmentRegistry, owner: RecordAttachmentOwner, name: RecordAttachmentName): AnyRecordAttachmentFamily | undefined;
77
+ /** @internal Runtime guard for package-private integration boundaries. */
78
+ export declare function isJsonRecordAttachmentDefinition(value: unknown): value is JsonRecordAttachmentDefinition<RecordAttachmentOwner, unknown>;
79
+ /** @internal Runtime guard for genuine family capabilities. */
80
+ export declare function isRecordAttachmentFamily(value: unknown): value is RecordAttachmentFamily<RecordAttachmentOwner, unknown>;
81
+ /** @internal Returns the exact registered current definition, never a field copy. */
82
+ export declare function recordAttachmentFamilyCurrentDefinition<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): JsonRecordAttachmentDefinition<Owner, Payload> | undefined;
83
+ /** @internal Reads owner only from a genuine family registry record. */
84
+ export declare function recordAttachmentFamilyOwner<Owner extends RecordAttachmentOwner, Payload>(family: RecordAttachmentFamily<Owner, Payload>): Owner | undefined;
85
+ /** @internal Runtime guard for a genuine installed registry. */
86
+ export declare function isRecordAttachmentRegistry(value: unknown): value is RecordAttachmentRegistry;
@@ -0,0 +1,52 @@
1
+ import { createRequire as __niceevalCreateRequire } from "node:module";
2
+ const __niceevalRequire = __niceevalCreateRequire(import.meta.url);
3
+ const __niceevalCanonical = __niceevalRequire("./runtime.cjs");
4
+ const __niceevalExport0 = __niceevalCanonical["declareRecordAttachmentMigrationUnavailable"];
5
+ export { __niceevalExport0 as declareRecordAttachmentMigrationUnavailable };
6
+ const __niceevalExport1 = __niceevalCanonical["decodeJsonRecordAttachmentPayload"];
7
+ export { __niceevalExport1 as decodeJsonRecordAttachmentPayload };
8
+ const __niceevalExport2 = __niceevalCanonical["defineBuiltinJsonRecordAttachment"];
9
+ export { __niceevalExport2 as defineBuiltinJsonRecordAttachment };
10
+ const __niceevalExport3 = __niceevalCanonical["defineJsonRecordAttachment"];
11
+ export { __niceevalExport3 as defineJsonRecordAttachment };
12
+ const __niceevalExport4 = __niceevalCanonical["defineRecordAttachmentFamily"];
13
+ export { __niceevalExport4 as defineRecordAttachmentFamily };
14
+ const __niceevalExport5 = __niceevalCanonical["defineRecordAttachmentMigration"];
15
+ export { __niceevalExport5 as defineRecordAttachmentMigration };
16
+ const __niceevalExport6 = __niceevalCanonical["defineRecordAttachmentRegistry"];
17
+ export { __niceevalExport6 as defineRecordAttachmentRegistry };
18
+ const __niceevalExport7 = __niceevalCanonical["encodeJsonRecordAttachmentPayload"];
19
+ export { __niceevalExport7 as encodeJsonRecordAttachmentPayload };
20
+ const __niceevalExport8 = __niceevalCanonical["isJsonRecordAttachmentDefinition"];
21
+ export { __niceevalExport8 as isJsonRecordAttachmentDefinition };
22
+ const __niceevalExport9 = __niceevalCanonical["isRecordAttachmentFamily"];
23
+ export { __niceevalExport9 as isRecordAttachmentFamily };
24
+ const __niceevalExport10 = __niceevalCanonical["isRecordAttachmentRegistry"];
25
+ export { __niceevalExport10 as isRecordAttachmentRegistry };
26
+ const __niceevalExport11 = __niceevalCanonical["isRecordAttachmentValue"];
27
+ export { __niceevalExport11 as isRecordAttachmentValue };
28
+ const __niceevalExport12 = __niceevalCanonical["makeRecordAttachmentValue"];
29
+ export { __niceevalExport12 as makeRecordAttachmentValue };
30
+ const __niceevalExport13 = __niceevalCanonical["makeRecordAttachmentWrite"];
31
+ export { __niceevalExport13 as makeRecordAttachmentWrite };
32
+ const __niceevalExport14 = __niceevalCanonical["makeRecordBlobRef"];
33
+ export { __niceevalExport14 as makeRecordBlobRef };
34
+ const __niceevalExport15 = __niceevalCanonical["makeRecordBlobSource"];
35
+ export { __niceevalExport15 as makeRecordBlobSource };
36
+ const __niceevalExport16 = __niceevalCanonical["recordAttachmentFamilyCurrentDefinition"];
37
+ export { __niceevalExport16 as recordAttachmentFamilyCurrentDefinition };
38
+ const __niceevalExport17 = __niceevalCanonical["recordAttachmentFamilyOwner"];
39
+ export { __niceevalExport17 as recordAttachmentFamilyOwner };
40
+ const __niceevalExport18 = __niceevalCanonical["recordAttachmentRegistryFamily"];
41
+ export { __niceevalExport18 as recordAttachmentRegistryFamily };
42
+ const __niceevalExport19 = __niceevalCanonical["recordAttachmentValueDefinition"];
43
+ export { __niceevalExport19 as recordAttachmentValueDefinition };
44
+ const __niceevalExport20 = __niceevalCanonical["recordAttachmentWriteContents"];
45
+ export { __niceevalExport20 as recordAttachmentWriteContents };
46
+ const __niceevalExport21 = __niceevalCanonical["resolveRecordAttachmentMigration"];
47
+ export { __niceevalExport21 as resolveRecordAttachmentMigration };
48
+ const __niceevalExport22 = __niceevalCanonical["runRecordAttachmentMigration"];
49
+ export { __niceevalExport22 as runRecordAttachmentMigration };
50
+ const __niceevalExport23 = __niceevalCanonical["validateRecordAttachmentWrite"];
51
+ export { __niceevalExport23 as validateRecordAttachmentWrite };
52
+ //# sourceMappingURL=runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime.js","sources":[],"names":[],"mappings":""}