skillfit 0.14.0 → 0.15.1

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 (882) hide show
  1. package/CHANGELOG.md +78 -4
  2. package/README.md +129 -54
  3. package/README.zh-CN.md +124 -51
  4. package/benches/README.md +1 -3
  5. package/dist/agents/accounting.js +27 -10
  6. package/dist/agents/adapters/api.js +59 -32
  7. package/dist/agents/adapters/cli.js +239 -110
  8. package/dist/agents/adapters/codex-usage.js +54 -25
  9. package/dist/agents/adapters/kimi-usage.js +28 -19
  10. package/dist/agents/call-budget.js +76 -27
  11. package/dist/agents/call-limits.js +11 -7
  12. package/dist/agents/contracts.js +2 -2
  13. package/dist/agents/environment.js +46 -22
  14. package/dist/agents/execution.js +35 -17
  15. package/dist/agents/health.js +93 -68
  16. package/dist/agents/installed-skills.js +28 -9
  17. package/dist/agents/matrix.js +5 -3
  18. package/dist/agents/mcp-probe.js +157 -146
  19. package/dist/agents/observation/model-identity.js +96 -49
  20. package/dist/agents/observation/trigger-contract.js +40 -21
  21. package/dist/agents/observation/trigger-detection.js +100 -61
  22. package/dist/agents/preflight-contract.js +40 -20
  23. package/dist/agents/preflight.js +136 -70
  24. package/dist/agents/session-observation.js +39 -29
  25. package/dist/agents/timeout.js +19 -3
  26. package/dist/bench/authoring.js +324 -201
  27. package/dist/bench/claims.js +6 -3
  28. package/dist/bench/constants.js +1 -1
  29. package/dist/bench/controls.js +123 -91
  30. package/dist/bench/diagnostics.js +57 -24
  31. package/dist/bench/draft.js +136 -68
  32. package/dist/bench/gates/check.js +79 -69
  33. package/dist/bench/gates/error.js +26 -17
  34. package/dist/bench/gates/summary.js +7 -7
  35. package/dist/bench/gates/timeout.js +2 -2
  36. package/dist/bench/gates/verifier.js +12 -5
  37. package/dist/bench/location.js +18 -10
  38. package/dist/bench/output-layout.js +5 -5
  39. package/dist/bench/read.js +74 -42
  40. package/dist/bench/scope.js +56 -34
  41. package/dist/bench/source.js +32 -20
  42. package/dist/bench/templates.js +30 -22
  43. package/dist/cli/bench-check-report.js +34 -10
  44. package/dist/cli/bench-manage.js +6 -6
  45. package/dist/cli/bench.js +51 -37
  46. package/dist/cli/confirm.js +3 -3
  47. package/dist/cli/definition.js +172 -114
  48. package/dist/cli/doctor.js +14 -14
  49. package/dist/cli/eval-cli.js +3 -3
  50. package/dist/cli/eval-component.js +21 -7
  51. package/dist/cli/eval-display.js +87 -61
  52. package/dist/cli/eval-plan.js +7 -2
  53. package/dist/cli/eval-report.js +114 -83
  54. package/dist/cli/eval-single-arm-report.js +53 -33
  55. package/dist/cli/eval.js +2 -2
  56. package/dist/cli/evaluation-host.js +5 -5
  57. package/dist/cli/evaluation-report.js +1 -1
  58. package/dist/cli/main.js +351 -205
  59. package/dist/cli/mcp.js +7 -7
  60. package/dist/cli/report.js +40 -17
  61. package/dist/cli/trigger-summary.js +23 -23
  62. package/dist/cli.js +1 -1
  63. package/dist/commands/bench-draft.test.js +226 -96
  64. package/dist/commands/bench-source.test.js +70 -53
  65. package/dist/commands/bench.js +1 -1
  66. package/dist/commands/bundle.js +1 -1
  67. package/dist/commands/eval-api-failure.test.js +61 -28
  68. package/dist/commands/eval-cli.js +1 -1
  69. package/dist/commands/eval-export.js +1 -1
  70. package/dist/commands/eval-layout.test.js +148 -70
  71. package/dist/commands/eval-single-arm-replay.js +1 -1
  72. package/dist/commands/eval.js +1 -1
  73. package/dist/commands/evaluation-report.js +1 -1
  74. package/dist/commands/install.js +1 -1
  75. package/dist/composition.js +41 -20
  76. package/dist/configuration/bundle.js +109 -89
  77. package/dist/configuration/constants.js +1 -1
  78. package/dist/configuration/install.js +184 -112
  79. package/dist/configuration/setup.js +64 -41
  80. package/dist/configuration/transaction.js +13 -11
  81. package/dist/configuration/upstream.js +61 -43
  82. package/dist/evaluation/application/calibration.js +233 -84
  83. package/dist/evaluation/application/evaluation.js +166 -56
  84. package/dist/evaluation/application/export.js +107 -67
  85. package/dist/evaluation/application/planning.js +292 -114
  86. package/dist/evaluation/application/preflight-error.js +11 -4
  87. package/dist/evaluation/application/preflight.js +54 -21
  88. package/dist/evaluation/application/read.js +1 -1
  89. package/dist/evaluation/application/request.js +45 -21
  90. package/dist/evaluation/application/self-test.js +188 -75
  91. package/dist/evaluation/execution/activation.js +99 -69
  92. package/dist/evaluation/execution/budget.js +20 -9
  93. package/dist/evaluation/execution/control-executor.js +34 -16
  94. package/dist/evaluation/execution/interrupted.js +2 -2
  95. package/dist/evaluation/execution/judge.js +55 -28
  96. package/dist/evaluation/execution/mock-executor.js +8 -8
  97. package/dist/evaluation/execution/paired.js +112 -76
  98. package/dist/evaluation/execution/prompt.js +21 -15
  99. package/dist/evaluation/measurement/acceptance.js +143 -68
  100. package/dist/evaluation/measurement/costs.js +39 -29
  101. package/dist/evaluation/measurement/efficiency.js +51 -18
  102. package/dist/evaluation/measurement/invocation-costs.js +50 -29
  103. package/dist/evaluation/measurement/judge-protocol.js +16 -18
  104. package/dist/evaluation/measurement/paired-contract.js +4 -3
  105. package/dist/evaluation/measurement/policy.js +48 -31
  106. package/dist/evaluation/measurement/report.js +51 -43
  107. package/dist/evaluation/measurement/scope.js +25 -7
  108. package/dist/evaluation/measurement/statistics.js +7 -3
  109. package/dist/evaluation/measurement/trial-summary.js +20 -12
  110. package/dist/evaluation/measurement/trigger-summary.js +1 -1
  111. package/dist/evaluation/records/assess.js +4 -2
  112. package/dist/evaluation/records/audit.js +336 -202
  113. package/dist/evaluation/records/contracts.js +44 -21
  114. package/dist/evaluation/records/formats.js +36 -19
  115. package/dist/evaluation/records/input-snapshot.js +88 -53
  116. package/dist/evaluation/records/judge-audit.js +37 -31
  117. package/dist/evaluation/records/manifest.js +302 -223
  118. package/dist/evaluation/records/model-identity.js +39 -29
  119. package/dist/evaluation/records/read.js +125 -42
  120. package/dist/evaluation/records/replay-package.js +81 -48
  121. package/dist/evaluation/records/session.js +216 -92
  122. package/dist/evaluation/records/single-arm-audit.js +313 -195
  123. package/dist/evaluation/records/single-arm-read.js +235 -112
  124. package/dist/evaluation/targets/native-diff.js +22 -13
  125. package/dist/evaluation/targets/output-layout.js +6 -6
  126. package/dist/evaluation/targets/skill.js +16 -13
  127. package/dist/evaluation/targets/workspace.js +19 -19
  128. package/dist/harness/bench-location.test.js +21 -21
  129. package/dist/harness/executors/cli.js +1 -1
  130. package/dist/harness/hash.js +1 -1
  131. package/dist/harness/interruption.js +1 -1
  132. package/dist/harness/replay-package.js +1 -1
  133. package/dist/harness/single-arm-audit.js +1 -1
  134. package/dist/harness/verifier-timeout.test.js +63 -32
  135. package/dist/matrix/agents.json +29 -6
  136. package/dist/matrix/agents.schema.json +17 -3
  137. package/dist/resources/experiment.js +18 -16
  138. package/dist/resources/frontmatter.js +6 -6
  139. package/dist/resources/installed-skill.js +32 -22
  140. package/dist/resources/skill.js +10 -10
  141. package/dist/shared/backup.js +1 -1
  142. package/dist/shared/cancellation.js +10 -4
  143. package/dist/shared/command.js +8 -7
  144. package/dist/shared/digest.js +2 -2
  145. package/dist/shared/hash.js +9 -9
  146. package/dist/shared/input-directories.js +6 -5
  147. package/dist/shared/json.js +10 -6
  148. package/dist/shared/local-files.js +8 -10
  149. package/dist/shared/output-path.js +4 -4
  150. package/dist/shared/package-root.js +7 -5
  151. package/dist/shared/process-tree.js +38 -10
  152. package/dist/shared/process.js +20 -15
  153. package/dist/shared/read-json.js +3 -3
  154. package/dist/shared/timing.js +22 -11
  155. package/dist/shared/version.js +3 -3
  156. package/dist/usage/receipts.js +41 -27
  157. package/docs/README.md +18 -31
  158. package/docs/assets/skillfit-report.svg +17 -0
  159. package/docs/guides/bench-authoring.md +9 -4
  160. package/docs/guides/experiment-workflow.md +57 -20
  161. package/docs/guides/first-real-eval.md +59 -19
  162. package/docs/guides/selectable-codex.md +0 -2
  163. package/docs/maintainers/architecture.md +184 -222
  164. package/docs/maintainers/releases.md +11 -4
  165. package/docs/reference/eval-component.md +11 -7
  166. package/docs/reference/evaluation-reports.md +75 -88
  167. package/docs/reference/metrics.md +23 -10
  168. package/docs/schemas/eval-request.schema.json +2 -2
  169. package/package.json +10 -5
  170. package/skills/skillfit/SKILL.md +46 -25
  171. package/tools/verify/recipes/0.11.0-feature-smoke.mjs +491 -140
  172. package/tools/verify/recipes/release-docs-smoke.mjs +38 -21
  173. package/tools/verify/recipes/release-feature-smoke.mjs +187 -88
  174. package/benches/contrib/README.md +0 -73
  175. package/benches/contrib/oss-lru-cache/README.md +0 -27
  176. package/benches/contrib/oss-lru-cache/bench.json +0 -37
  177. package/benches/contrib/oss-lru-cache/provenance.json +0 -62
  178. package/benches/contrib/oss-lru-cache/runtime.mjs +0 -32
  179. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/LICENSE +0 -15
  180. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/README.md +0 -3
  181. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/index.js +0 -1044
  182. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/package.json +0 -11
  183. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/runtime.mjs +0 -32
  184. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/fixture/test.mjs +0 -11
  185. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/prompt.md +0 -5
  186. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/LICENSE +0 -15
  187. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/answer.md +0 -11
  188. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/index.js +0 -1053
  189. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/reference/oracle.mjs +0 -8
  190. package/benches/contrib/oss-lru-cache/tasks/fetch-abort/verify.mjs +0 -3
  191. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/LICENSE.md +0 -55
  192. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/README.md +0 -3
  193. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/package.json +0 -11
  194. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/runtime.mjs +0 -32
  195. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-browser.ts +0 -11
  196. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-cjs.cts +0 -11
  197. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-esm.mts +0 -29
  198. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel-node.ts +0 -7
  199. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/diagnostics-channel.ts +0 -6
  200. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/index.ts +0 -3148
  201. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/src/perf.ts +0 -17
  202. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/fixture/test.mjs +0 -11
  203. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/prompt.md +0 -5
  204. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/LICENSE.md +0 -55
  205. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/answer.md +0 -11
  206. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/oracle.mjs +0 -7
  207. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-browser.ts +0 -11
  208. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-cjs.cts +0 -11
  209. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-esm.mts +0 -29
  210. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel-node.ts +0 -7
  211. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/diagnostics-channel.ts +0 -6
  212. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/index.ts +0 -3174
  213. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/reference/src/perf.ts +0 -17
  214. package/benches/contrib/oss-lru-cache/tasks/fetch-lifecycle/verify.mjs +0 -3
  215. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/LICENSE +0 -15
  216. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/README.md +0 -3
  217. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/index.js +0 -1028
  218. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/package.json +0 -11
  219. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/runtime.mjs +0 -32
  220. package/benches/contrib/oss-lru-cache/tasks/fetch-size/fixture/test.mjs +0 -11
  221. package/benches/contrib/oss-lru-cache/tasks/fetch-size/prompt.md +0 -5
  222. package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/LICENSE +0 -15
  223. package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/answer.md +0 -11
  224. package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/index.js +0 -1028
  225. package/benches/contrib/oss-lru-cache/tasks/fetch-size/reference/oracle.mjs +0 -7
  226. package/benches/contrib/oss-lru-cache/tasks/fetch-size/verify.mjs +0 -3
  227. package/benches/contrib/oss-lru-cache/verifiers/cases.mjs +0 -74
  228. package/benches/contrib/oss-lru-cache/verifiers/oracle.mjs +0 -9
  229. package/benches/contrib/oss-lru-cache/verifiers/probe.mjs +0 -14
  230. package/benches/contrib/oss-lru-cache/verifiers/shared.mjs +0 -131
  231. package/benches/contrib/oss-lru-cache/verifiers/test-reporter.mjs +0 -29
  232. package/benches/contrib/oss-mcp-use-utf8/LICENSE.upstream +0 -21
  233. package/benches/contrib/oss-mcp-use-utf8/README.md +0 -57
  234. package/benches/contrib/oss-mcp-use-utf8/bench.json +0 -16
  235. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/LICENSE +0 -21
  236. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/package.json +0 -3
  237. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/ext-apps-bridge.js +0 -3
  238. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/src/resolve-view-resource.ts +0 -96
  239. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/fixture/test/basic.test.mjs +0 -13
  240. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/prompt.md +0 -8
  241. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/README.md +0 -5
  242. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/oracle.mjs +0 -11
  243. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/src/resolve-view-resource.ts +0 -96
  244. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/reference/solutions/view-utf8/test/utf8.regression.test.mjs +0 -14
  245. package/benches/contrib/oss-mcp-use-utf8/tasks/view-utf8/verify.mjs +0 -120
  246. package/benches/contrib/oss-minipass/README.md +0 -32
  247. package/benches/contrib/oss-minipass/bench.json +0 -43
  248. package/benches/contrib/oss-minipass/provenance.json +0 -87
  249. package/benches/contrib/oss-minipass/tasks/async-end/fixture/LICENSE +0 -15
  250. package/benches/contrib/oss-minipass/tasks/async-end/fixture/README.md +0 -717
  251. package/benches/contrib/oss-minipass/tasks/async-end/fixture/UPSTREAM.package.json +0 -39
  252. package/benches/contrib/oss-minipass/tasks/async-end/fixture/index.js +0 -615
  253. package/benches/contrib/oss-minipass/tasks/async-end/fixture/package.json +0 -8
  254. package/benches/contrib/oss-minipass/tasks/async-end/fixture/runtime.cjs +0 -11
  255. package/benches/contrib/oss-minipass/tasks/async-end/fixture/test.mjs +0 -16
  256. package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/LICENSE +0 -15
  257. package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/README.md +0 -204
  258. package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/iterator.js +0 -8
  259. package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/package.json +0 -29
  260. package/benches/contrib/oss-minipass/tasks/async-end/fixture/vendor/yallist/yallist.js +0 -426
  261. package/benches/contrib/oss-minipass/tasks/async-end/prompt.md +0 -3
  262. package/benches/contrib/oss-minipass/tasks/async-end/reference/LICENSE +0 -15
  263. package/benches/contrib/oss-minipass/tasks/async-end/reference/README.md +0 -717
  264. package/benches/contrib/oss-minipass/tasks/async-end/reference/UPSTREAM.package.json +0 -39
  265. package/benches/contrib/oss-minipass/tasks/async-end/reference/index.js +0 -622
  266. package/benches/contrib/oss-minipass/tasks/async-end/reference/oracle.mjs +0 -4
  267. package/benches/contrib/oss-minipass/tasks/async-end/reference/package.json +0 -8
  268. package/benches/contrib/oss-minipass/tasks/async-end/reference/regression.test.mjs +0 -10
  269. package/benches/contrib/oss-minipass/tasks/async-end/reference/runtime.cjs +0 -11
  270. package/benches/contrib/oss-minipass/tasks/async-end/reference/test.mjs +0 -16
  271. package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/LICENSE +0 -15
  272. package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/README.md +0 -204
  273. package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/iterator.js +0 -8
  274. package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/package.json +0 -29
  275. package/benches/contrib/oss-minipass/tasks/async-end/reference/vendor/yallist/yallist.js +0 -426
  276. package/benches/contrib/oss-minipass/tasks/async-end/verify.mjs +0 -2
  277. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/LICENSE +0 -15
  278. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/README.md +0 -613
  279. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/UPSTREAM.package.json +0 -39
  280. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/index.js +0 -594
  281. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/package.json +0 -8
  282. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/runtime.cjs +0 -11
  283. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/test.mjs +0 -16
  284. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/LICENSE +0 -15
  285. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/README.md +0 -204
  286. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/iterator.js +0 -8
  287. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/package.json +0 -29
  288. package/benches/contrib/oss-minipass/tasks/buffered-readable/fixture/vendor/yallist/yallist.js +0 -426
  289. package/benches/contrib/oss-minipass/tasks/buffered-readable/prompt.md +0 -3
  290. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/LICENSE +0 -15
  291. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/README.md +0 -613
  292. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/UPSTREAM.package.json +0 -39
  293. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/index.js +0 -596
  294. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/oracle.mjs +0 -4
  295. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/package.json +0 -8
  296. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/regression.test.mjs +0 -9
  297. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/runtime.cjs +0 -11
  298. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/test.mjs +0 -16
  299. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/LICENSE +0 -15
  300. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/README.md +0 -204
  301. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/iterator.js +0 -8
  302. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/package.json +0 -29
  303. package/benches/contrib/oss-minipass/tasks/buffered-readable/reference/vendor/yallist/yallist.js +0 -426
  304. package/benches/contrib/oss-minipass/tasks/buffered-readable/verify.mjs +0 -2
  305. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/LICENSE +0 -15
  306. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/README.md +0 -205
  307. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/UPSTREAM.package.json +0 -34
  308. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/index.js +0 -415
  309. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/package.json +0 -8
  310. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/runtime.cjs +0 -11
  311. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/test.mjs +0 -16
  312. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/LICENSE +0 -15
  313. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/README.md +0 -204
  314. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/iterator.js +0 -8
  315. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/package.json +0 -29
  316. package/benches/contrib/oss-minipass/tasks/end-listeners/fixture/vendor/yallist/yallist.js +0 -426
  317. package/benches/contrib/oss-minipass/tasks/end-listeners/prompt.md +0 -3
  318. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/LICENSE +0 -15
  319. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/README.md +0 -205
  320. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/UPSTREAM.package.json +0 -34
  321. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/index.js +0 -407
  322. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/oracle.mjs +0 -4
  323. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/package.json +0 -8
  324. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/regression.test.mjs +0 -9
  325. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/runtime.cjs +0 -11
  326. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/test.mjs +0 -16
  327. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/LICENSE +0 -15
  328. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/README.md +0 -204
  329. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/iterator.js +0 -8
  330. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/package.json +0 -29
  331. package/benches/contrib/oss-minipass/tasks/end-listeners/reference/vendor/yallist/yallist.js +0 -426
  332. package/benches/contrib/oss-minipass/tasks/end-listeners/verify.mjs +0 -2
  333. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/LICENSE +0 -15
  334. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/README.md +0 -613
  335. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/UPSTREAM.package.json +0 -39
  336. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/index.js +0 -538
  337. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/package.json +0 -8
  338. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/runtime.cjs +0 -11
  339. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/test.mjs +0 -16
  340. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/LICENSE +0 -15
  341. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/README.md +0 -204
  342. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/iterator.js +0 -8
  343. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/package.json +0 -29
  344. package/benches/contrib/oss-minipass/tasks/pipeline-order/fixture/vendor/yallist/yallist.js +0 -426
  345. package/benches/contrib/oss-minipass/tasks/pipeline-order/prompt.md +0 -3
  346. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/LICENSE +0 -15
  347. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/README.md +0 -613
  348. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/UPSTREAM.package.json +0 -39
  349. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/index.js +0 -545
  350. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/oracle.mjs +0 -4
  351. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/package.json +0 -8
  352. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/regression.test.mjs +0 -19
  353. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/runtime.cjs +0 -11
  354. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/test.mjs +0 -16
  355. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/LICENSE +0 -15
  356. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/README.md +0 -204
  357. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/iterator.js +0 -8
  358. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/package.json +0 -29
  359. package/benches/contrib/oss-minipass/tasks/pipeline-order/reference/vendor/yallist/yallist.js +0 -426
  360. package/benches/contrib/oss-minipass/tasks/pipeline-order/verify.mjs +0 -2
  361. package/benches/contrib/oss-minipass/upstream/async-end.patch +0 -83
  362. package/benches/contrib/oss-minipass/upstream/buffered-readable.patch +0 -79
  363. package/benches/contrib/oss-minipass/upstream/end-listeners.patch +0 -77
  364. package/benches/contrib/oss-minipass/upstream/pipeline-order.patch +0 -173
  365. package/benches/contrib/oss-minipass/verifiers/cases.mjs +0 -88
  366. package/benches/contrib/oss-minipass/verifiers/grade.mjs +0 -35
  367. package/benches/contrib/oss-minipass/verifiers/probe.mjs +0 -10
  368. package/benches/contrib/oss-minipass/verifiers/regression-evidence.mjs +0 -98
  369. package/benches/contrib/oss-minipass/verifiers/test-reporter.mjs +0 -29
  370. package/benches/contrib/oss-normalize-url/README.md +0 -31
  371. package/benches/contrib/oss-normalize-url/bench.json +0 -16
  372. package/benches/contrib/oss-normalize-url/provenance.json +0 -41
  373. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.d.ts +0 -303
  374. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/index.js +0 -285
  375. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/license +0 -9
  376. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/package.json +0 -57
  377. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/readme.md +0 -312
  378. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.js +0 -427
  379. package/benches/contrib/oss-normalize-url/tasks/query-shape/fixture/test.mjs +0 -4
  380. package/benches/contrib/oss-normalize-url/tasks/query-shape/prompt.md +0 -7
  381. package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/index.js +0 -294
  382. package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/license +0 -9
  383. package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/oracle.mjs +0 -7
  384. package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.md +0 -12
  385. package/benches/contrib/oss-normalize-url/tasks/query-shape/reference/query-shape.regression.test.mjs +0 -6
  386. package/benches/contrib/oss-normalize-url/tasks/query-shape/verify.mjs +0 -40
  387. package/benches/contrib/oss-normalize-url/verifiers/cases.mjs +0 -26
  388. package/benches/contrib/oss-normalize-url/verifiers/probe.mjs +0 -10
  389. package/benches/contrib/oss-normalize-url/verifiers/regression-evidence.mjs +0 -98
  390. package/benches/contrib/oss-normalize-url/verifiers/test-reporter.mjs +0 -29
  391. package/benches/contrib/oss-skill-followup/README.md +0 -54
  392. package/benches/contrib/oss-skill-followup/bench.json +0 -79
  393. package/benches/contrib/oss-skill-followup/provenance.json +0 -730
  394. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/LICENSE +0 -11
  395. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/README.md +0 -61
  396. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/index.js +0 -93
  397. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/package.json +0 -9
  398. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test-clock.mjs +0 -64
  399. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/test.mjs +0 -22
  400. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/fixture/upstream-package.json +0 -47
  401. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/prompt.md +0 -3
  402. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/index.js +0 -97
  403. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/oracle.mjs +0 -1
  404. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/reference/regression.test.mjs +0 -2
  405. package/benches/contrib/oss-skill-followup/tasks/debounce-context-classes/verify.mjs +0 -1
  406. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/LICENSE +0 -21
  407. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/README.md +0 -69
  408. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/index.js +0 -70
  409. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/package.json +0 -9
  410. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test-clock.mjs +0 -64
  411. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/test.mjs +0 -22
  412. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/fixture/upstream-package.json +0 -27
  413. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/prompt.md +0 -3
  414. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/index.js +0 -72
  415. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/oracle.mjs +0 -1
  416. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/reference/regression.test.mjs +0 -2
  417. package/benches/contrib/oss-skill-followup/tasks/debounce-recursive-args/verify.mjs +0 -1
  418. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/LICENSE +0 -23
  419. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/README.md +0 -46
  420. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/index.js +0 -56
  421. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/package.json +0 -9
  422. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test-clock.mjs +0 -64
  423. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/test.mjs +0 -22
  424. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/fixture/upstream-package.json +0 -22
  425. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/prompt.md +0 -3
  426. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/index.js +0 -56
  427. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/oracle.mjs +0 -1
  428. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/reference/regression.test.mjs +0 -2
  429. package/benches/contrib/oss-skill-followup/tasks/debounce-timer-boundary/verify.mjs +0 -1
  430. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/LICENSE +0 -24
  431. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/README.md +0 -469
  432. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/index.js +0 -1645
  433. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/package.json +0 -9
  434. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test-clock.mjs +0 -64
  435. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/test.mjs +0 -22
  436. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/fixture/upstream-package.json +0 -86
  437. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/prompt.md +0 -3
  438. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/index.js +0 -1643
  439. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/oracle.mjs +0 -1
  440. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/reference/regression.test.mjs +0 -2
  441. package/benches/contrib/oss-skill-followup/tasks/duration-large-digits/verify.mjs +0 -1
  442. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/LICENSE +0 -24
  443. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/README.md +0 -470
  444. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/index.js +0 -1676
  445. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/package.json +0 -9
  446. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test-clock.mjs +0 -64
  447. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/test.mjs +0 -22
  448. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/fixture/upstream-package.json +0 -86
  449. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/prompt.md +0 -3
  450. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/index.js +0 -1676
  451. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/oracle.mjs +0 -1
  452. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/reference/regression.test.mjs +0 -2
  453. package/benches/contrib/oss-skill-followup/tasks/duration-plural-count/verify.mjs +0 -1
  454. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/LICENSE +0 -9
  455. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/README.md +0 -136
  456. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/index.js +0 -153
  457. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/package.json +0 -9
  458. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test-clock.mjs +0 -64
  459. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/test.mjs +0 -22
  460. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/fixture/upstream-package.json +0 -53
  461. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/prompt.md +0 -3
  462. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/index.js +0 -155
  463. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/oracle.mjs +0 -1
  464. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/reference/regression.test.mjs +0 -2
  465. package/benches/contrib/oss-skill-followup/tasks/promise-falsy-rejection/verify.mjs +0 -1
  466. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/LICENSE +0 -9
  467. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/README.md +0 -92
  468. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/index.js +0 -57
  469. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/package.json +0 -9
  470. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test-clock.mjs +0 -64
  471. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/test.mjs +0 -22
  472. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/fixture/upstream-package.json +0 -53
  473. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/prompt.md +0 -3
  474. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/index.js +0 -57
  475. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/oracle.mjs +0 -1
  476. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/reference/regression.test.mjs +0 -2
  477. package/benches/contrib/oss-skill-followup/tasks/promise-method-context/verify.mjs +0 -1
  478. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/LICENSE +0 -9
  479. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/README.md +0 -102
  480. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/index.js +0 -117
  481. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/package.json +0 -9
  482. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test-clock.mjs +0 -64
  483. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/test.mjs +0 -22
  484. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/fixture/upstream-package.json +0 -53
  485. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/prompt.md +0 -3
  486. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/index.js +0 -112
  487. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/oracle.mjs +0 -1
  488. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/reference/regression.test.mjs +0 -2
  489. package/benches/contrib/oss-skill-followup/tasks/promise-overlap-results/verify.mjs +0 -1
  490. package/benches/contrib/oss-skill-followup/test-clock.mjs +0 -64
  491. package/benches/contrib/oss-skill-followup/verifiers/cases.mjs +0 -214
  492. package/benches/contrib/oss-skill-followup/verifiers/grade.mjs +0 -35
  493. package/benches/contrib/oss-skill-followup/verifiers/probe.mjs +0 -10
  494. package/benches/contrib/oss-skill-followup/verifiers/regression-evidence.mjs +0 -98
  495. package/benches/contrib/oss-skill-followup/verifiers/test-reporter.mjs +0 -29
  496. package/benches/contrib/oss-skill-independent/README.md +0 -61
  497. package/benches/contrib/oss-skill-independent/bench.json +0 -79
  498. package/benches/contrib/oss-skill-independent/provenance.json +0 -1903
  499. package/benches/contrib/oss-skill-independent/task-specs.json +0 -63
  500. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/LICENSE +0 -22
  501. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/Readme.md +0 -1015
  502. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/esm.mjs +0 -15
  503. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/index.js +0 -27
  504. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/argument.js +0 -147
  505. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/command.js +0 -1944
  506. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/error.js +0 -45
  507. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/help.js +0 -396
  508. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/option.js +0 -208
  509. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/lib/suggestSimilar.js +0 -100
  510. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package-support.json +0 -16
  511. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/package.json +0 -63
  512. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test-clock.mjs +0 -65
  513. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/test.mjs +0 -4
  514. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.d.ts +0 -774
  515. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/typings/index.test-d.ts +0 -416
  516. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/fixture/upstream-package.json +0 -69
  517. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/prompt.md +0 -3
  518. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/LICENSE +0 -22
  519. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/Readme.md +0 -1015
  520. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/esm.mjs +0 -15
  521. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/index.js +0 -27
  522. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/argument.js +0 -147
  523. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/command.js +0 -1948
  524. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/error.js +0 -45
  525. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/help.js +0 -396
  526. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/option.js +0 -208
  527. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/lib/suggestSimilar.js +0 -100
  528. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/oracle.mjs +0 -1
  529. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package-support.json +0 -16
  530. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/package.json +0 -63
  531. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/regression.test.mjs +0 -5
  532. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test-clock.mjs +0 -65
  533. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/test.mjs +0 -4
  534. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.d.ts +0 -774
  535. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/typings/index.test-d.ts +0 -416
  536. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/reference/upstream-package.json +0 -69
  537. package/benches/contrib/oss-skill-independent/tasks/commander-async-listener-order/verify.mjs +0 -1
  538. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/LICENSE +0 -22
  539. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/Readme.md +0 -1149
  540. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/esm.mjs +0 -16
  541. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/index.js +0 -24
  542. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/argument.js +0 -149
  543. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/command.js +0 -2662
  544. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/error.js +0 -39
  545. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/help.js +0 -713
  546. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/option.js +0 -367
  547. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/lib/suggestSimilar.js +0 -101
  548. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package-support.json +0 -16
  549. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/package.json +0 -71
  550. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test-clock.mjs +0 -65
  551. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/test.mjs +0 -4
  552. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/esm.d.mts +0 -3
  553. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.d.ts +0 -1045
  554. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/typings/index.test-d.ts +0 -737
  555. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/fixture/upstream-package.json +0 -82
  556. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/prompt.md +0 -3
  557. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/LICENSE +0 -22
  558. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/Readme.md +0 -1149
  559. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/esm.mjs +0 -16
  560. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/index.js +0 -24
  561. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/argument.js +0 -149
  562. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/command.js +0 -2666
  563. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/error.js +0 -39
  564. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/help.js +0 -713
  565. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/option.js +0 -367
  566. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/lib/suggestSimilar.js +0 -101
  567. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/oracle.mjs +0 -1
  568. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package-support.json +0 -16
  569. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/package.json +0 -71
  570. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/regression.test.mjs +0 -5
  571. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test-clock.mjs +0 -65
  572. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/test.mjs +0 -4
  573. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/esm.d.mts +0 -3
  574. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.d.ts +0 -1045
  575. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/typings/index.test-d.ts +0 -737
  576. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/reference/upstream-package.json +0 -82
  577. package/benches/contrib/oss-skill-independent/tasks/commander-output-isolation/verify.mjs +0 -1
  578. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.d.ts +0 -40
  579. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/index.js +0 -68
  580. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/license +0 -9
  581. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/package.json +0 -54
  582. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/readme.md +0 -99
  583. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test-clock.mjs +0 -65
  584. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/test.mjs +0 -4
  585. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/upstream-package.json +0 -54
  586. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/index.js +0 -67
  587. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/license +0 -9
  588. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/fixture/vendor/yocto-queue/package.json +0 -46
  589. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/prompt.md +0 -3
  590. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/async-hooks-stub.js +0 -15
  591. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.d.ts +0 -40
  592. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/index.js +0 -71
  593. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/license +0 -9
  594. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/oracle.mjs +0 -1
  595. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/package.json +0 -61
  596. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/readme.md +0 -99
  597. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/regression.test.mjs +0 -6
  598. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test-clock.mjs +0 -65
  599. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/test.mjs +0 -4
  600. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/upstream-package.json +0 -54
  601. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/index.js +0 -67
  602. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/license +0 -9
  603. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/reference/vendor/yocto-queue/package.json +0 -46
  604. package/benches/contrib/oss-skill-independent/tasks/limit-async-context/verify.mjs +0 -1
  605. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.d.ts +0 -136
  606. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/index.js +0 -132
  607. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/license +0 -9
  608. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/package.json +0 -57
  609. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/readme.md +0 -181
  610. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test-clock.mjs +0 -65
  611. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/test.mjs +0 -4
  612. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/upstream-package.json +0 -58
  613. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/index.js +0 -84
  614. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/license +0 -9
  615. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/fixture/vendor/yocto-queue/package.json +0 -48
  616. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/prompt.md +0 -3
  617. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.d.ts +0 -136
  618. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/index.js +0 -148
  619. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/license +0 -9
  620. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/oracle.mjs +0 -1
  621. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/package.json +0 -57
  622. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/readme.md +0 -181
  623. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/regression.test.mjs +0 -5
  624. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test-clock.mjs +0 -65
  625. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/test.mjs +0 -4
  626. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/upstream-package.json +0 -58
  627. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/index.js +0 -84
  628. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/license +0 -9
  629. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/reference/vendor/yocto-queue/package.json +0 -48
  630. package/benches/contrib/oss-skill-independent/tasks/limit-map-iteration-rejection/verify.mjs +0 -1
  631. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.d.ts +0 -136
  632. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/index.js +0 -116
  633. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/license +0 -9
  634. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/package.json +0 -60
  635. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/readme.md +0 -170
  636. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test-clock.mjs +0 -65
  637. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/test.mjs +0 -4
  638. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/fixture/upstream-package.json +0 -60
  639. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/prompt.md +0 -3
  640. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.d.ts +0 -136
  641. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/index.js +0 -121
  642. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/license +0 -9
  643. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/oracle.mjs +0 -1
  644. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/package.json +0 -60
  645. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/readme.md +0 -170
  646. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/regression.test.mjs +0 -6
  647. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test-clock.mjs +0 -65
  648. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/test.mjs +0 -4
  649. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/reference/upstream-package.json +0 -60
  650. package/benches/contrib/oss-skill-independent/tasks/throttle-sync-throw/verify.mjs +0 -1
  651. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.d.ts +0 -149
  652. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/index.js +0 -93
  653. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/license +0 -9
  654. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/package.json +0 -52
  655. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/readme.md +0 -192
  656. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test-clock.mjs +0 -65
  657. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/test.mjs +0 -4
  658. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/fixture/upstream-package.json +0 -52
  659. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/prompt.md +0 -3
  660. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.d.ts +0 -149
  661. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/index.js +0 -95
  662. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/license +0 -9
  663. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/oracle.mjs +0 -1
  664. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/package.json +0 -52
  665. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/readme.md +0 -192
  666. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/regression.test.mjs +0 -5
  667. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test-clock.mjs +0 -65
  668. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/test.mjs +0 -4
  669. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/reference/upstream-package.json +0 -52
  670. package/benches/contrib/oss-skill-independent/tasks/timeout-custom-timers/verify.mjs +0 -1
  671. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.d.ts +0 -151
  672. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/index.js +0 -114
  673. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/license +0 -9
  674. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/package.json +0 -48
  675. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/readme.md +0 -158
  676. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test-clock.mjs +0 -65
  677. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/test.mjs +0 -4
  678. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/fixture/upstream-package.json +0 -48
  679. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/prompt.md +0 -3
  680. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.d.ts +0 -151
  681. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/index.js +0 -114
  682. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/license +0 -9
  683. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/oracle.mjs +0 -1
  684. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/package.json +0 -48
  685. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/readme.md +0 -158
  686. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/regression.test.mjs +0 -5
  687. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test-clock.mjs +0 -65
  688. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/test.mjs +0 -4
  689. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/reference/upstream-package.json +0 -48
  690. package/benches/contrib/oss-skill-independent/tasks/timeout-infinity-abort/verify.mjs +0 -1
  691. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.d.ts +0 -151
  692. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/index.js +0 -122
  693. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/license +0 -9
  694. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/package.json +0 -50
  695. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/readme.md +0 -190
  696. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test-clock.mjs +0 -65
  697. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/test.mjs +0 -4
  698. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/fixture/upstream-package.json +0 -50
  699. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/prompt.md +0 -3
  700. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.d.ts +0 -151
  701. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/index.js +0 -122
  702. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/license +0 -9
  703. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/oracle.mjs +0 -1
  704. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/package.json +0 -50
  705. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/readme.md +0 -190
  706. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/regression.test.mjs +0 -5
  707. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test-clock.mjs +0 -65
  708. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/test.mjs +0 -4
  709. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/reference/upstream-package.json +0 -50
  710. package/benches/contrib/oss-skill-independent/tasks/timeout-rejection-listener/verify.mjs +0 -1
  711. package/benches/contrib/oss-skill-independent/test-clock.mjs +0 -65
  712. package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +0 -197
  713. package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +0 -48
  714. package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +0 -16
  715. package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +0 -105
  716. package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +0 -29
  717. package/benches/contrib/oss-skill-validation/README.md +0 -32
  718. package/benches/contrib/oss-skill-validation/bench.json +0 -79
  719. package/benches/contrib/oss-skill-validation/provenance.json +0 -119
  720. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/UPSTREAM.package.json +0 -57
  721. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/index.js +0 -281
  722. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/license +0 -9
  723. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/package.json +0 -8
  724. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/readme.md +0 -169
  725. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/fixture/test.mjs +0 -5
  726. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/prompt.md +0 -3
  727. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/UPSTREAM.package.json +0 -57
  728. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/index.js +0 -281
  729. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/license +0 -9
  730. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/oracle.mjs +0 -4
  731. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/package.json +0 -8
  732. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/readme.md +0 -169
  733. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/regression.test.mjs +0 -115
  734. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/reference/test.mjs +0 -5
  735. package/benches/contrib/oss-skill-validation/tasks/async-concurrency/verify.mjs +0 -2
  736. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/UPSTREAM.package.json +0 -57
  737. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/index.js +0 -661
  738. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/license +0 -9
  739. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/package.json +0 -8
  740. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/readme.md +0 -404
  741. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/fixture/test.mjs +0 -5
  742. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/prompt.md +0 -3
  743. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/UPSTREAM.package.json +0 -57
  744. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/index.js +0 -663
  745. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/license +0 -9
  746. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/oracle.mjs +0 -4
  747. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/package.json +0 -8
  748. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/readme.md +0 -404
  749. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/regression.test.mjs +0 -115
  750. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/reference/test.mjs +0 -5
  751. package/benches/contrib/oss-skill-validation/tasks/cold-thenable/verify.mjs +0 -2
  752. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/UPSTREAM.package.json +0 -57
  753. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/index.js +0 -288
  754. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/license +0 -9
  755. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/package.json +0 -8
  756. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/readme.md +0 -190
  757. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/fixture/test.mjs +0 -5
  758. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/prompt.md +0 -3
  759. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/UPSTREAM.package.json +0 -57
  760. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/index.js +0 -293
  761. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/license +0 -9
  762. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/oracle.mjs +0 -4
  763. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/package.json +0 -8
  764. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/readme.md +0 -190
  765. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/regression.test.mjs +0 -115
  766. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/reference/test.mjs +0 -5
  767. package/benches/contrib/oss-skill-validation/tasks/consumer-stop/verify.mjs +0 -2
  768. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/UPSTREAM.package.json +0 -57
  769. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/index.js +0 -283
  770. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/license +0 -9
  771. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/package.json +0 -8
  772. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/readme.md +0 -190
  773. package/benches/contrib/oss-skill-validation/tasks/mapper-index/fixture/test.mjs +0 -5
  774. package/benches/contrib/oss-skill-validation/tasks/mapper-index/prompt.md +0 -3
  775. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/UPSTREAM.package.json +0 -57
  776. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/index.js +0 -284
  777. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/license +0 -9
  778. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/oracle.mjs +0 -4
  779. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/package.json +0 -8
  780. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/readme.md +0 -190
  781. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/regression.test.mjs +0 -115
  782. package/benches/contrib/oss-skill-validation/tasks/mapper-index/reference/test.mjs +0 -5
  783. package/benches/contrib/oss-skill-validation/tasks/mapper-index/verify.mjs +0 -2
  784. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/UPSTREAM.package.json +0 -57
  785. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/index.js +0 -300
  786. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/license +0 -9
  787. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/package.json +0 -8
  788. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/readme.md +0 -190
  789. package/benches/contrib/oss-skill-validation/tasks/source-close/fixture/test.mjs +0 -5
  790. package/benches/contrib/oss-skill-validation/tasks/source-close/prompt.md +0 -3
  791. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/UPSTREAM.package.json +0 -57
  792. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/index.js +0 -310
  793. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/license +0 -9
  794. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/oracle.mjs +0 -4
  795. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/package.json +0 -8
  796. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/readme.md +0 -190
  797. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/regression.test.mjs +0 -115
  798. package/benches/contrib/oss-skill-validation/tasks/source-close/reference/test.mjs +0 -5
  799. package/benches/contrib/oss-skill-validation/tasks/source-close/verify.mjs +0 -2
  800. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/UPSTREAM.package.json +0 -57
  801. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/index.js +0 -293
  802. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/license +0 -9
  803. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/package.json +0 -8
  804. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/readme.md +0 -190
  805. package/benches/contrib/oss-skill-validation/tasks/source-error/fixture/test.mjs +0 -5
  806. package/benches/contrib/oss-skill-validation/tasks/source-error/prompt.md +0 -3
  807. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/UPSTREAM.package.json +0 -57
  808. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/index.js +0 -292
  809. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/license +0 -9
  810. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/oracle.mjs +0 -4
  811. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/package.json +0 -8
  812. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/readme.md +0 -190
  813. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/regression.test.mjs +0 -115
  814. package/benches/contrib/oss-skill-validation/tasks/source-error/reference/test.mjs +0 -5
  815. package/benches/contrib/oss-skill-validation/tasks/source-error/verify.mjs +0 -2
  816. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/UPSTREAM.package.json +0 -51
  817. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/index.js +0 -261
  818. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/license +0 -9
  819. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/package.json +0 -8
  820. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/readme.md +0 -143
  821. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/fixture/test.mjs +0 -5
  822. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/prompt.md +0 -3
  823. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/UPSTREAM.package.json +0 -51
  824. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/index.js +0 -265
  825. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/license +0 -9
  826. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/oracle.mjs +0 -4
  827. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/package.json +0 -8
  828. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/readme.md +0 -143
  829. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/regression.test.mjs +0 -115
  830. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/reference/test.mjs +0 -5
  831. package/benches/contrib/oss-skill-validation/tasks/ttl-duration/verify.mjs +0 -2
  832. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/UPSTREAM.package.json +0 -51
  833. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/index.js +0 -261
  834. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/license +0 -9
  835. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/package.json +0 -8
  836. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/readme.md +0 -143
  837. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/fixture/test.mjs +0 -5
  838. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/prompt.md +0 -3
  839. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/UPSTREAM.package.json +0 -51
  840. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/index.js +0 -261
  841. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/license +0 -9
  842. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/oracle.mjs +0 -4
  843. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/package.json +0 -8
  844. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/readme.md +0 -143
  845. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/regression.test.mjs +0 -115
  846. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/reference/test.mjs +0 -5
  847. package/benches/contrib/oss-skill-validation/tasks/ttl-refresh/verify.mjs +0 -2
  848. package/benches/contrib/oss-skill-validation/upstream/async-concurrency.patch +0 -77
  849. package/benches/contrib/oss-skill-validation/upstream/cold-thenable.patch +0 -162
  850. package/benches/contrib/oss-skill-validation/upstream/consumer-stop.patch +0 -217
  851. package/benches/contrib/oss-skill-validation/upstream/mapper-index.patch +0 -48
  852. package/benches/contrib/oss-skill-validation/upstream/source-close.patch +0 -179
  853. package/benches/contrib/oss-skill-validation/upstream/source-error.patch +0 -132
  854. package/benches/contrib/oss-skill-validation/upstream/ttl-duration.patch +0 -73
  855. package/benches/contrib/oss-skill-validation/upstream/ttl-refresh.patch +0 -41
  856. package/benches/contrib/oss-skill-validation/verifiers/cases.mjs +0 -111
  857. package/benches/contrib/oss-skill-validation/verifiers/grade.mjs +0 -35
  858. package/benches/contrib/oss-skill-validation/verifiers/probe.mjs +0 -10
  859. package/benches/contrib/oss-skill-validation/verifiers/regression-evidence.mjs +0 -98
  860. package/benches/contrib/oss-skill-validation/verifiers/test-reporter.mjs +0 -29
  861. package/benches/contrib/waza-behavior/LICENSE.upstream +0 -21
  862. package/benches/contrib/waza-behavior/README.md +0 -36
  863. package/benches/contrib/waza-behavior/bench.json +0 -34
  864. package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/README.md +0 -1
  865. package/benches/contrib/waza-behavior/tasks/explicit-hold/fixture/notes.txt +0 -1
  866. package/benches/contrib/waza-behavior/tasks/explicit-hold/prompt.md +0 -1
  867. package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/README.md +0 -1
  868. package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/docs/guide.md +0 -2
  869. package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/notes.txt +0 -1
  870. package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/scripts/check-links.mjs +0 -16
  871. package/benches/contrib/waza-behavior/tasks/receipt-current/fixture/validation-receipt.json +0 -10
  872. package/benches/contrib/waza-behavior/tasks/receipt-current/prompt.md +0 -1
  873. package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/README.md +0 -1
  874. package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/docs/guide.md +0 -3
  875. package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/notes.txt +0 -1
  876. package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/scripts/check-links.mjs +0 -16
  877. package/benches/contrib/waza-behavior/tasks/receipt-stale/fixture/validation-receipt.json +0 -10
  878. package/benches/contrib/waza-behavior/tasks/receipt-stale/prompt.md +0 -1
  879. package/benches/contrib/waza-behavior/verifiers/behavior.mjs +0 -59
  880. package/benches/contrib/waza-behavior/verifiers/oracle.mjs +0 -24
  881. package/docs/examples/documentation-policy.invalid.json +0 -40
  882. package/docs/examples/documentation-policy.valid.json +0 -40
@@ -1,1044 +0,0 @@
1
- const perf =
2
- typeof performance === 'object' &&
3
- performance &&
4
- typeof performance.now === 'function'
5
- ? performance
6
- : Date
7
-
8
- const hasAbortController = typeof AbortController === 'function'
9
-
10
- // minimal backwards-compatibility polyfill
11
- // this doesn't have nearly all the checks and whatnot that
12
- // actual AbortController/Signal has, but it's enough for
13
- // our purposes, and if used properly, behaves the same.
14
- const AC = hasAbortController
15
- ? AbortController
16
- : class AbortController {
17
- constructor() {
18
- this.signal = new AS()
19
- }
20
- abort() {
21
- this.signal.dispatchEvent({
22
- type: 'abort',
23
- target: this.signal,
24
- })
25
- }
26
- }
27
-
28
- const hasAbortSignal = typeof AbortSignal === 'function'
29
- // Some polyfills put this on the AC class, not global
30
- const hasACAbortSignal = typeof AC.AbortSignal === 'function'
31
- const AS = hasAbortSignal
32
- ? AbortSignal
33
- : hasACAbortSignal
34
- ? AC.AbortController
35
- : class AbortSignal {
36
- constructor() {
37
- this.aborted = false
38
- this._listeners = []
39
- }
40
- dispatchEvent(e) {
41
- if (e.type === 'abort') {
42
- this.aborted = true
43
- this.onabort(e)
44
- this._listeners.forEach(f => f(e), this)
45
- }
46
- }
47
- onabort() {}
48
- addEventListener(ev, fn) {
49
- if (ev === 'abort') {
50
- this._listeners.push(fn)
51
- }
52
- }
53
- removeEventListener(ev, fn) {
54
- if (ev === 'abort') {
55
- this._listeners = this._listeners.filter(f => f !== fn)
56
- }
57
- }
58
- }
59
-
60
- const warned = new Set()
61
- const deprecatedOption = (opt, instead) => {
62
- const code = `LRU_CACHE_OPTION_${opt}`
63
- if (shouldWarn(code)) {
64
- warn(code, `${opt} option`, `options.${instead}`, LRUCache)
65
- }
66
- }
67
- const deprecatedMethod = (method, instead) => {
68
- const code = `LRU_CACHE_METHOD_${method}`
69
- if (shouldWarn(code)) {
70
- const { prototype } = LRUCache
71
- const { get } = Object.getOwnPropertyDescriptor(prototype, method)
72
- warn(code, `${method} method`, `cache.${instead}()`, get)
73
- }
74
- }
75
- const deprecatedProperty = (field, instead) => {
76
- const code = `LRU_CACHE_PROPERTY_${field}`
77
- if (shouldWarn(code)) {
78
- const { prototype } = LRUCache
79
- const { get } = Object.getOwnPropertyDescriptor(prototype, field)
80
- warn(code, `${field} property`, `cache.${instead}`, get)
81
- }
82
- }
83
-
84
- const emitWarning = (...a) => {
85
- typeof process === 'object' &&
86
- process &&
87
- typeof process.emitWarning === 'function'
88
- ? process.emitWarning(...a)
89
- : console.error(...a)
90
- }
91
-
92
- const shouldWarn = code => !warned.has(code)
93
-
94
- const warn = (code, what, instead, fn) => {
95
- warned.add(code)
96
- const msg = `The ${what} is deprecated. Please use ${instead} instead.`
97
- emitWarning(msg, 'DeprecationWarning', code, fn)
98
- }
99
-
100
- const isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)
101
-
102
- /* istanbul ignore next - This is a little bit ridiculous, tbh.
103
- * The maximum array length is 2^32-1 or thereabouts on most JS impls.
104
- * And well before that point, you're caching the entire world, I mean,
105
- * that's ~32GB of just integers for the next/prev links, plus whatever
106
- * else to hold that many keys and values. Just filling the memory with
107
- * zeroes at init time is brutal when you get that big.
108
- * But why not be complete?
109
- * Maybe in the future, these limits will have expanded. */
110
- const getUintArray = max =>
111
- !isPosInt(max)
112
- ? null
113
- : max <= Math.pow(2, 8)
114
- ? Uint8Array
115
- : max <= Math.pow(2, 16)
116
- ? Uint16Array
117
- : max <= Math.pow(2, 32)
118
- ? Uint32Array
119
- : max <= Number.MAX_SAFE_INTEGER
120
- ? ZeroArray
121
- : null
122
-
123
- class ZeroArray extends Array {
124
- constructor(size) {
125
- super(size)
126
- this.fill(0)
127
- }
128
- }
129
-
130
- class Stack {
131
- constructor(max) {
132
- if (max === 0) {
133
- return []
134
- }
135
- const UintArray = getUintArray(max)
136
- this.heap = new UintArray(max)
137
- this.length = 0
138
- }
139
- push(n) {
140
- this.heap[this.length++] = n
141
- }
142
- pop() {
143
- return this.heap[--this.length]
144
- }
145
- }
146
-
147
- class LRUCache {
148
- constructor(options = {}) {
149
- const {
150
- max = 0,
151
- ttl,
152
- ttlResolution = 1,
153
- ttlAutopurge,
154
- updateAgeOnGet,
155
- updateAgeOnHas,
156
- allowStale,
157
- dispose,
158
- disposeAfter,
159
- noDisposeOnSet,
160
- noUpdateTTL,
161
- maxSize = 0,
162
- maxEntrySize = 0,
163
- sizeCalculation,
164
- fetchMethod,
165
- fetchContext,
166
- noDeleteOnFetchRejection,
167
- noDeleteOnStaleGet,
168
- allowStaleOnFetchRejection,
169
- } = options
170
-
171
- // deprecated options, don't trigger a warning for getting them if
172
- // the thing being passed in is another LRUCache we're copying.
173
- const { length, maxAge, stale } =
174
- options instanceof LRUCache ? {} : options
175
-
176
- if (max !== 0 && !isPosInt(max)) {
177
- throw new TypeError('max option must be a nonnegative integer')
178
- }
179
-
180
- const UintArray = max ? getUintArray(max) : Array
181
- if (!UintArray) {
182
- throw new Error('invalid max value: ' + max)
183
- }
184
-
185
- this.max = max
186
- this.maxSize = maxSize
187
- this.maxEntrySize = maxEntrySize || this.maxSize
188
- this.sizeCalculation = sizeCalculation || length
189
- if (this.sizeCalculation) {
190
- if (!this.maxSize && !this.maxEntrySize) {
191
- throw new TypeError(
192
- 'cannot set sizeCalculation without setting maxSize or maxEntrySize'
193
- )
194
- }
195
- if (typeof this.sizeCalculation !== 'function') {
196
- throw new TypeError('sizeCalculation set to non-function')
197
- }
198
- }
199
-
200
- this.fetchMethod = fetchMethod || null
201
- if (this.fetchMethod && typeof this.fetchMethod !== 'function') {
202
- throw new TypeError(
203
- 'fetchMethod must be a function if specified'
204
- )
205
- }
206
-
207
- this.fetchContext = fetchContext
208
- if (!this.fetchMethod && fetchContext !== undefined) {
209
- throw new TypeError(
210
- 'cannot set fetchContext without fetchMethod'
211
- )
212
- }
213
-
214
- this.keyMap = new Map()
215
- this.keyList = new Array(max).fill(null)
216
- this.valList = new Array(max).fill(null)
217
- this.next = new UintArray(max)
218
- this.prev = new UintArray(max)
219
- this.head = 0
220
- this.tail = 0
221
- this.free = new Stack(max)
222
- this.initialFill = 1
223
- this.size = 0
224
-
225
- if (typeof dispose === 'function') {
226
- this.dispose = dispose
227
- }
228
- if (typeof disposeAfter === 'function') {
229
- this.disposeAfter = disposeAfter
230
- this.disposed = []
231
- } else {
232
- this.disposeAfter = null
233
- this.disposed = null
234
- }
235
- this.noDisposeOnSet = !!noDisposeOnSet
236
- this.noUpdateTTL = !!noUpdateTTL
237
- this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection
238
- this.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection
239
-
240
- // NB: maxEntrySize is set to maxSize if it's set
241
- if (this.maxEntrySize !== 0) {
242
- if (this.maxSize !== 0) {
243
- if (!isPosInt(this.maxSize)) {
244
- throw new TypeError(
245
- 'maxSize must be a positive integer if specified'
246
- )
247
- }
248
- }
249
- if (!isPosInt(this.maxEntrySize)) {
250
- throw new TypeError(
251
- 'maxEntrySize must be a positive integer if specified'
252
- )
253
- }
254
- this.initializeSizeTracking()
255
- }
256
-
257
- this.allowStale = !!allowStale || !!stale
258
- this.noDeleteOnStaleGet = !!noDeleteOnStaleGet
259
- this.updateAgeOnGet = !!updateAgeOnGet
260
- this.updateAgeOnHas = !!updateAgeOnHas
261
- this.ttlResolution =
262
- isPosInt(ttlResolution) || ttlResolution === 0
263
- ? ttlResolution
264
- : 1
265
- this.ttlAutopurge = !!ttlAutopurge
266
- this.ttl = ttl || maxAge || 0
267
- if (this.ttl) {
268
- if (!isPosInt(this.ttl)) {
269
- throw new TypeError(
270
- 'ttl must be a positive integer if specified'
271
- )
272
- }
273
- this.initializeTTLTracking()
274
- }
275
-
276
- // do not allow completely unbounded caches
277
- if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {
278
- throw new TypeError(
279
- 'At least one of max, maxSize, or ttl is required'
280
- )
281
- }
282
- if (!this.ttlAutopurge && !this.max && !this.maxSize) {
283
- const code = 'LRU_CACHE_UNBOUNDED'
284
- if (shouldWarn(code)) {
285
- warned.add(code)
286
- const msg =
287
- 'TTL caching without ttlAutopurge, max, or maxSize can ' +
288
- 'result in unbounded memory consumption.'
289
- emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)
290
- }
291
- }
292
-
293
- if (stale) {
294
- deprecatedOption('stale', 'allowStale')
295
- }
296
- if (maxAge) {
297
- deprecatedOption('maxAge', 'ttl')
298
- }
299
- if (length) {
300
- deprecatedOption('length', 'sizeCalculation')
301
- }
302
- }
303
-
304
- getRemainingTTL(key) {
305
- return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0
306
- }
307
-
308
- initializeTTLTracking() {
309
- this.ttls = new ZeroArray(this.max)
310
- this.starts = new ZeroArray(this.max)
311
-
312
- this.setItemTTL = (index, ttl, start = perf.now()) => {
313
- this.starts[index] = ttl !== 0 ? start : 0
314
- this.ttls[index] = ttl
315
- if (ttl !== 0 && this.ttlAutopurge) {
316
- const t = setTimeout(() => {
317
- if (this.isStale(index)) {
318
- this.delete(this.keyList[index])
319
- }
320
- }, ttl + 1)
321
- /* istanbul ignore else - unref() not supported on all platforms */
322
- if (t.unref) {
323
- t.unref()
324
- }
325
- }
326
- }
327
-
328
- this.updateItemAge = index => {
329
- this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0
330
- }
331
-
332
- // debounce calls to perf.now() to 1s so we're not hitting
333
- // that costly call repeatedly.
334
- let cachedNow = 0
335
- const getNow = () => {
336
- const n = perf.now()
337
- if (this.ttlResolution > 0) {
338
- cachedNow = n
339
- const t = setTimeout(
340
- () => (cachedNow = 0),
341
- this.ttlResolution
342
- )
343
- /* istanbul ignore else - not available on all platforms */
344
- if (t.unref) {
345
- t.unref()
346
- }
347
- }
348
- return n
349
- }
350
-
351
- this.getRemainingTTL = key => {
352
- const index = this.keyMap.get(key)
353
- if (index === undefined) {
354
- return 0
355
- }
356
- return this.ttls[index] === 0 || this.starts[index] === 0
357
- ? Infinity
358
- : this.starts[index] +
359
- this.ttls[index] -
360
- (cachedNow || getNow())
361
- }
362
-
363
- this.isStale = index => {
364
- return (
365
- this.ttls[index] !== 0 &&
366
- this.starts[index] !== 0 &&
367
- (cachedNow || getNow()) - this.starts[index] >
368
- this.ttls[index]
369
- )
370
- }
371
- }
372
- updateItemAge(index) {}
373
- setItemTTL(index, ttl, start) {}
374
- isStale(index) {
375
- return false
376
- }
377
-
378
- initializeSizeTracking() {
379
- this.calculatedSize = 0
380
- this.sizes = new ZeroArray(this.max)
381
- this.removeItemSize = index => {
382
- this.calculatedSize -= this.sizes[index]
383
- this.sizes[index] = 0
384
- }
385
- this.requireSize = (k, v, size, sizeCalculation) => {
386
- // provisionally accept background fetches.
387
- // actual value size will be checked when they return.
388
- if (this.isBackgroundFetch(v)) {
389
- return 0
390
- }
391
- if (!isPosInt(size)) {
392
- if (sizeCalculation) {
393
- if (typeof sizeCalculation !== 'function') {
394
- throw new TypeError('sizeCalculation must be a function')
395
- }
396
- size = sizeCalculation(v, k)
397
- if (!isPosInt(size)) {
398
- throw new TypeError(
399
- 'sizeCalculation return invalid (expect positive integer)'
400
- )
401
- }
402
- } else {
403
- throw new TypeError(
404
- 'invalid size value (must be positive integer). ' +
405
- 'When maxSize or maxEntrySize is used, sizeCalculation or size ' +
406
- 'must be set.'
407
- )
408
- }
409
- }
410
- return size
411
- }
412
- this.addItemSize = (index, size) => {
413
- this.sizes[index] = size
414
- if (this.maxSize) {
415
- const maxSize = this.maxSize - this.sizes[index]
416
- while (this.calculatedSize > maxSize) {
417
- this.evict(true)
418
- }
419
- }
420
- this.calculatedSize += this.sizes[index]
421
- }
422
- }
423
- removeItemSize(index) {}
424
- addItemSize(index, size) {}
425
- requireSize(k, v, size, sizeCalculation) {
426
- if (size || sizeCalculation) {
427
- throw new TypeError(
428
- 'cannot set size without setting maxSize or maxEntrySize on cache'
429
- )
430
- }
431
- }
432
-
433
- *indexes({ allowStale = this.allowStale } = {}) {
434
- if (this.size) {
435
- for (let i = this.tail; true; ) {
436
- if (!this.isValidIndex(i)) {
437
- break
438
- }
439
- if (allowStale || !this.isStale(i)) {
440
- yield i
441
- }
442
- if (i === this.head) {
443
- break
444
- } else {
445
- i = this.prev[i]
446
- }
447
- }
448
- }
449
- }
450
-
451
- *rindexes({ allowStale = this.allowStale } = {}) {
452
- if (this.size) {
453
- for (let i = this.head; true; ) {
454
- if (!this.isValidIndex(i)) {
455
- break
456
- }
457
- if (allowStale || !this.isStale(i)) {
458
- yield i
459
- }
460
- if (i === this.tail) {
461
- break
462
- } else {
463
- i = this.next[i]
464
- }
465
- }
466
- }
467
- }
468
-
469
- isValidIndex(index) {
470
- return this.keyMap.get(this.keyList[index]) === index
471
- }
472
-
473
- *entries() {
474
- for (const i of this.indexes()) {
475
- if (!this.isBackgroundFetch(this.valList[i])) {
476
- yield [this.keyList[i], this.valList[i]]
477
- }
478
- }
479
- }
480
- *rentries() {
481
- for (const i of this.rindexes()) {
482
- if (!this.isBackgroundFetch(this.valList[i])) {
483
- yield [this.keyList[i], this.valList[i]]
484
- }
485
- }
486
- }
487
-
488
- *keys() {
489
- for (const i of this.indexes()) {
490
- if (!this.isBackgroundFetch(this.valList[i])) {
491
- yield this.keyList[i]
492
- }
493
- }
494
- }
495
- *rkeys() {
496
- for (const i of this.rindexes()) {
497
- if (!this.isBackgroundFetch(this.valList[i])) {
498
- yield this.keyList[i]
499
- }
500
- }
501
- }
502
-
503
- *values() {
504
- for (const i of this.indexes()) {
505
- if (!this.isBackgroundFetch(this.valList[i])) {
506
- yield this.valList[i]
507
- }
508
- }
509
- }
510
- *rvalues() {
511
- for (const i of this.rindexes()) {
512
- if (!this.isBackgroundFetch(this.valList[i])) {
513
- yield this.valList[i]
514
- }
515
- }
516
- }
517
-
518
- [Symbol.iterator]() {
519
- return this.entries()
520
- }
521
-
522
- find(fn, getOptions = {}) {
523
- for (const i of this.indexes()) {
524
- if (fn(this.valList[i], this.keyList[i], this)) {
525
- return this.get(this.keyList[i], getOptions)
526
- }
527
- }
528
- }
529
-
530
- forEach(fn, thisp = this) {
531
- for (const i of this.indexes()) {
532
- fn.call(thisp, this.valList[i], this.keyList[i], this)
533
- }
534
- }
535
-
536
- rforEach(fn, thisp = this) {
537
- for (const i of this.rindexes()) {
538
- fn.call(thisp, this.valList[i], this.keyList[i], this)
539
- }
540
- }
541
-
542
- get prune() {
543
- deprecatedMethod('prune', 'purgeStale')
544
- return this.purgeStale
545
- }
546
-
547
- purgeStale() {
548
- let deleted = false
549
- for (const i of this.rindexes({ allowStale: true })) {
550
- if (this.isStale(i)) {
551
- this.delete(this.keyList[i])
552
- deleted = true
553
- }
554
- }
555
- return deleted
556
- }
557
-
558
- dump() {
559
- const arr = []
560
- for (const i of this.indexes({ allowStale: true })) {
561
- const key = this.keyList[i]
562
- const v = this.valList[i]
563
- const value = this.isBackgroundFetch(v)
564
- ? v.__staleWhileFetching
565
- : v
566
- if (value === undefined) continue
567
- const entry = { value }
568
- if (this.ttls) {
569
- entry.ttl = this.ttls[i]
570
- // always dump the start relative to a portable timestamp
571
- // it's ok for this to be a bit slow, it's a rare operation.
572
- const age = perf.now() - this.starts[i]
573
- entry.start = Math.floor(Date.now() - age)
574
- }
575
- if (this.sizes) {
576
- entry.size = this.sizes[i]
577
- }
578
- arr.unshift([key, entry])
579
- }
580
- return arr
581
- }
582
-
583
- load(arr) {
584
- this.clear()
585
- for (const [key, entry] of arr) {
586
- if (entry.start) {
587
- // entry.start is a portable timestamp, but we may be using
588
- // node's performance.now(), so calculate the offset.
589
- // it's ok for this to be a bit slow, it's a rare operation.
590
- const age = Date.now() - entry.start
591
- entry.start = perf.now() - age
592
- }
593
- this.set(key, entry.value, entry)
594
- }
595
- }
596
-
597
- dispose(v, k, reason) {}
598
-
599
- set(
600
- k,
601
- v,
602
- {
603
- ttl = this.ttl,
604
- start,
605
- noDisposeOnSet = this.noDisposeOnSet,
606
- size = 0,
607
- sizeCalculation = this.sizeCalculation,
608
- noUpdateTTL = this.noUpdateTTL,
609
- } = {}
610
- ) {
611
- size = this.requireSize(k, v, size, sizeCalculation)
612
- // if the item doesn't fit, don't do anything
613
- // NB: maxEntrySize set to maxSize by default
614
- if (this.maxEntrySize && size > this.maxEntrySize) {
615
- // have to delete, in case a background fetch is there already.
616
- // in non-async cases, this is a no-op
617
- this.delete(k)
618
- return this
619
- }
620
- let index = this.size === 0 ? undefined : this.keyMap.get(k)
621
- if (index === undefined) {
622
- // addition
623
- index = this.newIndex()
624
- this.keyList[index] = k
625
- this.valList[index] = v
626
- this.keyMap.set(k, index)
627
- this.next[this.tail] = index
628
- this.prev[index] = this.tail
629
- this.tail = index
630
- this.size++
631
- this.addItemSize(index, size)
632
- noUpdateTTL = false
633
- } else {
634
- // update
635
- this.moveToTail(index)
636
- const oldVal = this.valList[index]
637
- if (v !== oldVal) {
638
- if (this.isBackgroundFetch(oldVal)) {
639
- oldVal.__abortController.abort()
640
- } else {
641
- if (!noDisposeOnSet) {
642
- this.dispose(oldVal, k, 'set')
643
- if (this.disposeAfter) {
644
- this.disposed.push([oldVal, k, 'set'])
645
- }
646
- }
647
- }
648
- this.removeItemSize(index)
649
- this.valList[index] = v
650
- this.addItemSize(index, size)
651
- }
652
- }
653
- if (ttl !== 0 && this.ttl === 0 && !this.ttls) {
654
- this.initializeTTLTracking()
655
- }
656
- if (!noUpdateTTL) {
657
- this.setItemTTL(index, ttl, start)
658
- }
659
- if (this.disposeAfter) {
660
- while (this.disposed.length) {
661
- this.disposeAfter(...this.disposed.shift())
662
- }
663
- }
664
- return this
665
- }
666
-
667
- newIndex() {
668
- if (this.size === 0) {
669
- return this.tail
670
- }
671
- if (this.size === this.max && this.max !== 0) {
672
- return this.evict(false)
673
- }
674
- if (this.free.length !== 0) {
675
- return this.free.pop()
676
- }
677
- // initial fill, just keep writing down the list
678
- return this.initialFill++
679
- }
680
-
681
- pop() {
682
- if (this.size) {
683
- const val = this.valList[this.head]
684
- this.evict(true)
685
- return val
686
- }
687
- }
688
-
689
- evict(free) {
690
- const head = this.head
691
- const k = this.keyList[head]
692
- const v = this.valList[head]
693
- if (this.isBackgroundFetch(v)) {
694
- v.__abortController.abort()
695
- } else {
696
- this.dispose(v, k, 'evict')
697
- if (this.disposeAfter) {
698
- this.disposed.push([v, k, 'evict'])
699
- }
700
- }
701
- this.removeItemSize(head)
702
- // if we aren't about to use the index, then null these out
703
- if (free) {
704
- this.keyList[head] = null
705
- this.valList[head] = null
706
- this.free.push(head)
707
- }
708
- this.head = this.next[head]
709
- this.keyMap.delete(k)
710
- this.size--
711
- return head
712
- }
713
-
714
- has(k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {
715
- const index = this.keyMap.get(k)
716
- if (index !== undefined) {
717
- if (!this.isStale(index)) {
718
- if (updateAgeOnHas) {
719
- this.updateItemAge(index)
720
- }
721
- return true
722
- }
723
- }
724
- return false
725
- }
726
-
727
- // like get(), but without any LRU updating or TTL expiration
728
- peek(k, { allowStale = this.allowStale } = {}) {
729
- const index = this.keyMap.get(k)
730
- if (index !== undefined && (allowStale || !this.isStale(index))) {
731
- const v = this.valList[index]
732
- // either stale and allowed, or forcing a refresh of non-stale value
733
- return this.isBackgroundFetch(v) ? v.__staleWhileFetching : v
734
- }
735
- }
736
-
737
- backgroundFetch(k, index, options, context) {
738
- const v = index === undefined ? undefined : this.valList[index]
739
- if (this.isBackgroundFetch(v)) {
740
- return v
741
- }
742
- const ac = new AC()
743
- const fetchOpts = {
744
- signal: ac.signal,
745
- options,
746
- context,
747
- }
748
- const cb = v => {
749
- if (!ac.signal.aborted) {
750
- this.set(k, v, fetchOpts.options)
751
- }
752
- return v
753
- }
754
- const eb = er => {
755
- if (this.valList[index] === p) {
756
- // if we allow stale on fetch rejections, then we need to ensure that
757
- // the stale value is not removed from the cache when the fetch fails.
758
- const noDelete =
759
- options.noDeleteOnFetchRejection ||
760
- options.allowStaleOnFetchRejection
761
- const del = !noDelete || p.__staleWhileFetching === undefined
762
- if (del) {
763
- this.delete(k)
764
- } else {
765
- // still replace the *promise* with the stale value,
766
- // since we are done with the promise at this point.
767
- this.valList[index] = p.__staleWhileFetching
768
- }
769
- }
770
- if (options.allowStaleOnFetchRejection) {
771
- return p.__staleWhileFetching
772
- } else if (p.__returned === p) {
773
- throw er
774
- }
775
- }
776
- const pcall = res => res(this.fetchMethod(k, v, fetchOpts))
777
- const p = new Promise(pcall).then(cb, eb)
778
- p.__abortController = ac
779
- p.__staleWhileFetching = v
780
- p.__returned = null
781
- if (index === undefined) {
782
- this.set(k, p, fetchOpts.options)
783
- index = this.keyMap.get(k)
784
- } else {
785
- this.valList[index] = p
786
- }
787
- return p
788
- }
789
-
790
- isBackgroundFetch(p) {
791
- return (
792
- p &&
793
- typeof p === 'object' &&
794
- typeof p.then === 'function' &&
795
- Object.prototype.hasOwnProperty.call(
796
- p,
797
- '__staleWhileFetching'
798
- ) &&
799
- Object.prototype.hasOwnProperty.call(p, '__returned') &&
800
- (p.__returned === p || p.__returned === null)
801
- )
802
- }
803
-
804
- // this takes the union of get() and set() opts, because it does both
805
- async fetch(
806
- k,
807
- {
808
- // get options
809
- allowStale = this.allowStale,
810
- updateAgeOnGet = this.updateAgeOnGet,
811
- noDeleteOnStaleGet = this.noDeleteOnStaleGet,
812
- // set options
813
- ttl = this.ttl,
814
- noDisposeOnSet = this.noDisposeOnSet,
815
- size = 0,
816
- sizeCalculation = this.sizeCalculation,
817
- noUpdateTTL = this.noUpdateTTL,
818
- // fetch exclusive options
819
- noDeleteOnFetchRejection = this.noDeleteOnFetchRejection,
820
- allowStaleOnFetchRejection = this.allowStaleOnFetchRejection,
821
- fetchContext = this.fetchContext,
822
- forceRefresh = false,
823
- } = {}
824
- ) {
825
- if (!this.fetchMethod) {
826
- return this.get(k, {
827
- allowStale,
828
- updateAgeOnGet,
829
- noDeleteOnStaleGet,
830
- })
831
- }
832
-
833
- const options = {
834
- allowStale,
835
- updateAgeOnGet,
836
- noDeleteOnStaleGet,
837
- ttl,
838
- noDisposeOnSet,
839
- size,
840
- sizeCalculation,
841
- noUpdateTTL,
842
- noDeleteOnFetchRejection,
843
- allowStaleOnFetchRejection,
844
- }
845
-
846
- let index = this.keyMap.get(k)
847
- if (index === undefined) {
848
- const p = this.backgroundFetch(k, index, options, fetchContext)
849
- return (p.__returned = p)
850
- } else {
851
- // in cache, maybe already fetching
852
- const v = this.valList[index]
853
- if (this.isBackgroundFetch(v)) {
854
- return allowStale && v.__staleWhileFetching !== undefined
855
- ? v.__staleWhileFetching
856
- : (v.__returned = v)
857
- }
858
-
859
- // if we force a refresh, that means do NOT serve the cached value,
860
- // unless we are already in the process of refreshing the cache.
861
- if (!forceRefresh && !this.isStale(index)) {
862
- this.moveToTail(index)
863
- if (updateAgeOnGet) {
864
- this.updateItemAge(index)
865
- }
866
- return v
867
- }
868
-
869
- // ok, it is stale or a forced refresh, and not already fetching.
870
- // refresh the cache.
871
- const p = this.backgroundFetch(k, index, options, fetchContext)
872
- return allowStale && p.__staleWhileFetching !== undefined
873
- ? p.__staleWhileFetching
874
- : (p.__returned = p)
875
- }
876
- }
877
-
878
- get(
879
- k,
880
- {
881
- allowStale = this.allowStale,
882
- updateAgeOnGet = this.updateAgeOnGet,
883
- noDeleteOnStaleGet = this.noDeleteOnStaleGet,
884
- } = {}
885
- ) {
886
- const index = this.keyMap.get(k)
887
- if (index !== undefined) {
888
- const value = this.valList[index]
889
- const fetching = this.isBackgroundFetch(value)
890
- if (this.isStale(index)) {
891
- // delete only if not an in-flight background fetch
892
- if (!fetching) {
893
- if (!noDeleteOnStaleGet) {
894
- this.delete(k)
895
- }
896
- return allowStale ? value : undefined
897
- } else {
898
- return allowStale ? value.__staleWhileFetching : undefined
899
- }
900
- } else {
901
- // if we're currently fetching it, we don't actually have it yet
902
- // it's not stale, which means this isn't a staleWhileRefetching,
903
- // so we just return undefined
904
- if (fetching) {
905
- return undefined
906
- }
907
- this.moveToTail(index)
908
- if (updateAgeOnGet) {
909
- this.updateItemAge(index)
910
- }
911
- return value
912
- }
913
- }
914
- }
915
-
916
- connect(p, n) {
917
- this.prev[n] = p
918
- this.next[p] = n
919
- }
920
-
921
- moveToTail(index) {
922
- // if tail already, nothing to do
923
- // if head, move head to next[index]
924
- // else
925
- // move next[prev[index]] to next[index] (head has no prev)
926
- // move prev[next[index]] to prev[index]
927
- // prev[index] = tail
928
- // next[tail] = index
929
- // tail = index
930
- if (index !== this.tail) {
931
- if (index === this.head) {
932
- this.head = this.next[index]
933
- } else {
934
- this.connect(this.prev[index], this.next[index])
935
- }
936
- this.connect(this.tail, index)
937
- this.tail = index
938
- }
939
- }
940
-
941
- get del() {
942
- deprecatedMethod('del', 'delete')
943
- return this.delete
944
- }
945
-
946
- delete(k) {
947
- let deleted = false
948
- if (this.size !== 0) {
949
- const index = this.keyMap.get(k)
950
- if (index !== undefined) {
951
- deleted = true
952
- if (this.size === 1) {
953
- this.clear()
954
- } else {
955
- this.removeItemSize(index)
956
- const v = this.valList[index]
957
- if (this.isBackgroundFetch(v)) {
958
- v.__abortController.abort()
959
- } else {
960
- this.dispose(v, k, 'delete')
961
- if (this.disposeAfter) {
962
- this.disposed.push([v, k, 'delete'])
963
- }
964
- }
965
- this.keyMap.delete(k)
966
- this.keyList[index] = null
967
- this.valList[index] = null
968
- if (index === this.tail) {
969
- this.tail = this.prev[index]
970
- } else if (index === this.head) {
971
- this.head = this.next[index]
972
- } else {
973
- this.next[this.prev[index]] = this.next[index]
974
- this.prev[this.next[index]] = this.prev[index]
975
- }
976
- this.size--
977
- this.free.push(index)
978
- }
979
- }
980
- }
981
- if (this.disposed) {
982
- while (this.disposed.length) {
983
- this.disposeAfter(...this.disposed.shift())
984
- }
985
- }
986
- return deleted
987
- }
988
-
989
- clear() {
990
- for (const index of this.rindexes({ allowStale: true })) {
991
- const v = this.valList[index]
992
- if (this.isBackgroundFetch(v)) {
993
- v.__abortController.abort()
994
- } else {
995
- const k = this.keyList[index]
996
- this.dispose(v, k, 'delete')
997
- if (this.disposeAfter) {
998
- this.disposed.push([v, k, 'delete'])
999
- }
1000
- }
1001
- }
1002
-
1003
- this.keyMap.clear()
1004
- this.valList.fill(null)
1005
- this.keyList.fill(null)
1006
- if (this.ttls) {
1007
- this.ttls.fill(0)
1008
- this.starts.fill(0)
1009
- }
1010
- if (this.sizes) {
1011
- this.sizes.fill(0)
1012
- }
1013
- this.head = 0
1014
- this.tail = 0
1015
- this.initialFill = 1
1016
- this.free.length = 0
1017
- this.calculatedSize = 0
1018
- this.size = 0
1019
- if (this.disposed) {
1020
- while (this.disposed.length) {
1021
- this.disposeAfter(...this.disposed.shift())
1022
- }
1023
- }
1024
- }
1025
-
1026
- get reset() {
1027
- deprecatedMethod('reset', 'clear')
1028
- return this.clear
1029
- }
1030
-
1031
- get length() {
1032
- deprecatedProperty('length', 'size')
1033
- return this.size
1034
- }
1035
-
1036
- static get AbortController() {
1037
- return AC
1038
- }
1039
- static get AbortSignal() {
1040
- return AS
1041
- }
1042
- }
1043
-
1044
- module.exports = LRUCache