skillfit 0.9.1 → 0.10.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 (332) hide show
  1. package/README.md +48 -14
  2. package/README.zh-CN.md +48 -14
  3. package/benches/README.md +23 -0
  4. package/benches/contrib/README.md +1 -0
  5. package/benches/contrib/oss-skill-independent/README.md +60 -0
  6. package/benches/contrib/oss-skill-independent/bench.json +79 -0
  7. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/LICENSE +22 -0
  8. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/Readme.md +1015 -0
  9. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/esm.mjs +15 -0
  10. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/index.js +27 -0
  11. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/argument.js +147 -0
  12. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/command.js +1944 -0
  13. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/error.js +45 -0
  14. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/help.js +396 -0
  15. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/option.js +208 -0
  16. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/lib/suggestSimilar.js +100 -0
  17. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package-support.json +16 -0
  18. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/package.json +63 -0
  19. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test-clock.mjs +65 -0
  20. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/test.mjs +4 -0
  21. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.d.ts +774 -0
  22. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/typings/index.test-d.ts +416 -0
  23. package/benches/contrib/oss-skill-independent/fixtures/commander-async-listener-order/upstream-package.json +69 -0
  24. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/LICENSE +22 -0
  25. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/Readme.md +1149 -0
  26. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/esm.mjs +16 -0
  27. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/index.js +24 -0
  28. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/argument.js +149 -0
  29. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/command.js +2662 -0
  30. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/error.js +39 -0
  31. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/help.js +713 -0
  32. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/option.js +367 -0
  33. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/lib/suggestSimilar.js +101 -0
  34. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package-support.json +16 -0
  35. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/package.json +71 -0
  36. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test-clock.mjs +65 -0
  37. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/test.mjs +4 -0
  38. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/esm.d.mts +3 -0
  39. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.d.ts +1045 -0
  40. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/typings/index.test-d.ts +737 -0
  41. package/benches/contrib/oss-skill-independent/fixtures/commander-output-isolation/upstream-package.json +82 -0
  42. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.d.ts +40 -0
  43. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/index.js +68 -0
  44. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/license +9 -0
  45. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/package.json +54 -0
  46. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/readme.md +99 -0
  47. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test-clock.mjs +65 -0
  48. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/test.mjs +4 -0
  49. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/upstream-package.json +54 -0
  50. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/index.js +67 -0
  51. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/license +9 -0
  52. package/benches/contrib/oss-skill-independent/fixtures/limit-async-context/vendor/yocto-queue/package.json +46 -0
  53. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.d.ts +136 -0
  54. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/index.js +132 -0
  55. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/license +9 -0
  56. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/package.json +57 -0
  57. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/readme.md +181 -0
  58. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test-clock.mjs +65 -0
  59. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/test.mjs +4 -0
  60. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/upstream-package.json +58 -0
  61. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
  62. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
  63. package/benches/contrib/oss-skill-independent/fixtures/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
  64. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.d.ts +136 -0
  65. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/index.js +116 -0
  66. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/license +9 -0
  67. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/package.json +60 -0
  68. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/readme.md +170 -0
  69. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test-clock.mjs +65 -0
  70. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/test.mjs +4 -0
  71. package/benches/contrib/oss-skill-independent/fixtures/throttle-sync-throw/upstream-package.json +60 -0
  72. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.d.ts +149 -0
  73. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/index.js +93 -0
  74. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/license +9 -0
  75. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/package.json +52 -0
  76. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/readme.md +192 -0
  77. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test-clock.mjs +65 -0
  78. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/test.mjs +4 -0
  79. package/benches/contrib/oss-skill-independent/fixtures/timeout-custom-timers/upstream-package.json +52 -0
  80. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.d.ts +151 -0
  81. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/index.js +114 -0
  82. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/license +9 -0
  83. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/package.json +48 -0
  84. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/readme.md +158 -0
  85. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test-clock.mjs +65 -0
  86. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/test.mjs +4 -0
  87. package/benches/contrib/oss-skill-independent/fixtures/timeout-infinity-abort/upstream-package.json +48 -0
  88. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.d.ts +151 -0
  89. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/index.js +122 -0
  90. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/license +9 -0
  91. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/package.json +50 -0
  92. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/readme.md +190 -0
  93. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test-clock.mjs +65 -0
  94. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/test.mjs +4 -0
  95. package/benches/contrib/oss-skill-independent/fixtures/timeout-rejection-listener/upstream-package.json +50 -0
  96. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/LICENSE +22 -0
  97. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/Readme.md +1015 -0
  98. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/esm.mjs +15 -0
  99. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/index.js +27 -0
  100. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/argument.js +147 -0
  101. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/command.js +1948 -0
  102. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/error.js +45 -0
  103. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/help.js +396 -0
  104. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/option.js +208 -0
  105. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/lib/suggestSimilar.js +100 -0
  106. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package-support.json +16 -0
  107. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/package.json +63 -0
  108. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/regression.test.mjs +5 -0
  109. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test-clock.mjs +65 -0
  110. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/test.mjs +4 -0
  111. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.d.ts +774 -0
  112. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/typings/index.test-d.ts +416 -0
  113. package/benches/contrib/oss-skill-independent/ground-truth/commander-async-listener-order/upstream-package.json +69 -0
  114. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/LICENSE +22 -0
  115. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/Readme.md +1149 -0
  116. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/esm.mjs +16 -0
  117. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/index.js +24 -0
  118. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/argument.js +149 -0
  119. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/command.js +2666 -0
  120. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/error.js +39 -0
  121. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/help.js +713 -0
  122. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/option.js +367 -0
  123. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/lib/suggestSimilar.js +101 -0
  124. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package-support.json +16 -0
  125. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/package.json +71 -0
  126. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/regression.test.mjs +5 -0
  127. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test-clock.mjs +65 -0
  128. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/test.mjs +4 -0
  129. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/esm.d.mts +3 -0
  130. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.d.ts +1045 -0
  131. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/typings/index.test-d.ts +737 -0
  132. package/benches/contrib/oss-skill-independent/ground-truth/commander-output-isolation/upstream-package.json +82 -0
  133. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/async-hooks-stub.js +15 -0
  134. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.d.ts +40 -0
  135. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/index.js +71 -0
  136. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/license +9 -0
  137. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/package.json +61 -0
  138. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/readme.md +99 -0
  139. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/regression.test.mjs +6 -0
  140. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test-clock.mjs +65 -0
  141. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/test.mjs +4 -0
  142. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/upstream-package.json +54 -0
  143. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/index.js +67 -0
  144. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/license +9 -0
  145. package/benches/contrib/oss-skill-independent/ground-truth/limit-async-context/vendor/yocto-queue/package.json +46 -0
  146. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.d.ts +136 -0
  147. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/index.js +148 -0
  148. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/license +9 -0
  149. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/package.json +57 -0
  150. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/readme.md +181 -0
  151. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/regression.test.mjs +5 -0
  152. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test-clock.mjs +65 -0
  153. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/test.mjs +4 -0
  154. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/upstream-package.json +58 -0
  155. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/index.js +84 -0
  156. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/license +9 -0
  157. package/benches/contrib/oss-skill-independent/ground-truth/limit-map-iteration-rejection/vendor/yocto-queue/package.json +48 -0
  158. package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-async-listener-order.mjs +1 -0
  159. package/benches/contrib/oss-skill-independent/ground-truth/oracle-commander-output-isolation.mjs +1 -0
  160. package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-async-context.mjs +1 -0
  161. package/benches/contrib/oss-skill-independent/ground-truth/oracle-limit-map-iteration-rejection.mjs +1 -0
  162. package/benches/contrib/oss-skill-independent/ground-truth/oracle-throttle-sync-throw.mjs +1 -0
  163. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-custom-timers.mjs +1 -0
  164. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-infinity-abort.mjs +1 -0
  165. package/benches/contrib/oss-skill-independent/ground-truth/oracle-timeout-rejection-listener.mjs +1 -0
  166. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.d.ts +136 -0
  167. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/index.js +121 -0
  168. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/license +9 -0
  169. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/package.json +60 -0
  170. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/readme.md +170 -0
  171. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/regression.test.mjs +6 -0
  172. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test-clock.mjs +65 -0
  173. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/test.mjs +4 -0
  174. package/benches/contrib/oss-skill-independent/ground-truth/throttle-sync-throw/upstream-package.json +60 -0
  175. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.d.ts +149 -0
  176. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/index.js +95 -0
  177. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/license +9 -0
  178. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/package.json +52 -0
  179. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/readme.md +192 -0
  180. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/regression.test.mjs +5 -0
  181. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test-clock.mjs +65 -0
  182. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/test.mjs +4 -0
  183. package/benches/contrib/oss-skill-independent/ground-truth/timeout-custom-timers/upstream-package.json +52 -0
  184. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.d.ts +151 -0
  185. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/index.js +114 -0
  186. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/license +9 -0
  187. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/package.json +48 -0
  188. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/readme.md +158 -0
  189. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/regression.test.mjs +5 -0
  190. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test-clock.mjs +65 -0
  191. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/test.mjs +4 -0
  192. package/benches/contrib/oss-skill-independent/ground-truth/timeout-infinity-abort/upstream-package.json +48 -0
  193. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.d.ts +151 -0
  194. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/index.js +122 -0
  195. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/license +9 -0
  196. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/package.json +50 -0
  197. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/readme.md +190 -0
  198. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/regression.test.mjs +5 -0
  199. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test-clock.mjs +65 -0
  200. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/test.mjs +4 -0
  201. package/benches/contrib/oss-skill-independent/ground-truth/timeout-rejection-listener/upstream-package.json +50 -0
  202. package/benches/contrib/oss-skill-independent/prompts/commander-async-listener-order.md +3 -0
  203. package/benches/contrib/oss-skill-independent/prompts/commander-output-isolation.md +3 -0
  204. package/benches/contrib/oss-skill-independent/prompts/limit-async-context.md +3 -0
  205. package/benches/contrib/oss-skill-independent/prompts/limit-map-iteration-rejection.md +3 -0
  206. package/benches/contrib/oss-skill-independent/prompts/throttle-sync-throw.md +3 -0
  207. package/benches/contrib/oss-skill-independent/prompts/timeout-custom-timers.md +3 -0
  208. package/benches/contrib/oss-skill-independent/prompts/timeout-infinity-abort.md +3 -0
  209. package/benches/contrib/oss-skill-independent/prompts/timeout-rejection-listener.md +3 -0
  210. package/benches/contrib/oss-skill-independent/provenance.json +1903 -0
  211. package/benches/contrib/oss-skill-independent/task-specs.json +63 -0
  212. package/benches/contrib/oss-skill-independent/test-clock.mjs +65 -0
  213. package/benches/contrib/oss-skill-independent/verifiers/cases.mjs +197 -0
  214. package/benches/contrib/oss-skill-independent/verifiers/commander-async-listener-order.mjs +1 -0
  215. package/benches/contrib/oss-skill-independent/verifiers/commander-output-isolation.mjs +1 -0
  216. package/benches/contrib/oss-skill-independent/verifiers/grade.mjs +48 -0
  217. package/benches/contrib/oss-skill-independent/verifiers/limit-async-context.mjs +1 -0
  218. package/benches/contrib/oss-skill-independent/verifiers/limit-map-iteration-rejection.mjs +1 -0
  219. package/benches/contrib/oss-skill-independent/verifiers/probe.mjs +16 -0
  220. package/benches/contrib/oss-skill-independent/verifiers/regression-evidence.mjs +105 -0
  221. package/benches/contrib/oss-skill-independent/verifiers/test-reporter.mjs +29 -0
  222. package/benches/contrib/oss-skill-independent/verifiers/throttle-sync-throw.mjs +1 -0
  223. package/benches/contrib/oss-skill-independent/verifiers/timeout-custom-timers.mjs +1 -0
  224. package/benches/contrib/oss-skill-independent/verifiers/timeout-infinity-abort.mjs +1 -0
  225. package/benches/contrib/oss-skill-independent/verifiers/timeout-rejection-listener.mjs +1 -0
  226. package/dist/cli.js +183 -64
  227. package/dist/commands/bench-check-json.test.js +221 -0
  228. package/dist/commands/bench-check-report.js +48 -0
  229. package/dist/commands/bench-command-template.js +129 -0
  230. package/dist/commands/bench-manage.js +91 -0
  231. package/dist/commands/bench-manage.test.js +87 -0
  232. package/dist/commands/bench.js +166 -128
  233. package/dist/commands/bench.test.js +101 -0
  234. package/dist/commands/eval-component.js +25 -1
  235. package/dist/commands/eval-export.js +178 -0
  236. package/dist/commands/eval-export.test.js +279 -0
  237. package/dist/commands/eval-interruption.test.js +238 -0
  238. package/dist/commands/eval-preflight.js +61 -0
  239. package/dist/commands/eval-preflight.test.js +239 -0
  240. package/dist/commands/eval-report.js +44 -13
  241. package/dist/commands/eval-report.test.js +2 -2
  242. package/dist/commands/eval.js +94 -61
  243. package/dist/commands/eval.test.js +58 -1
  244. package/dist/harness/bench.js +21 -2
  245. package/dist/harness/eval-audit.js +45 -5
  246. package/dist/harness/eval-budget.js +51 -0
  247. package/dist/harness/eval-budget.test.js +212 -0
  248. package/dist/harness/eval-component.test.js +36 -0
  249. package/dist/harness/eval-contract.js +5 -1
  250. package/dist/harness/executors/api.js +10 -1
  251. package/dist/harness/executors/api.test.js +43 -0
  252. package/dist/harness/executors/cli.js +24 -3
  253. package/dist/harness/experiment-session.js +60 -9
  254. package/dist/harness/experiment-session.test.js +43 -1
  255. package/dist/harness/input-snapshot.js +150 -0
  256. package/dist/harness/interruption.js +48 -0
  257. package/dist/harness/interruption.test.js +31 -0
  258. package/dist/harness/replay-package.js +85 -0
  259. package/dist/harness/runner.js +74 -15
  260. package/dist/harness/trigger.js +20 -4
  261. package/docs/bench-authoring.md +40 -0
  262. package/docs/bench-check-json.md +122 -0
  263. package/docs/case-management.md +65 -0
  264. package/docs/eval-case-preflight.md +110 -0
  265. package/docs/eval-component.md +88 -49
  266. package/docs/eval-costs.md +9 -0
  267. package/docs/evaluation-input-snapshots.md +124 -0
  268. package/docs/evaluation-interruption.md +89 -0
  269. package/docs/evaluation-reports.md +49 -0
  270. package/docs/examples/check-receiver-mechanism-proposal.mjs +124 -0
  271. package/docs/examples/prepare-native-diff-probe.mjs +75 -0
  272. package/docs/examples/reproduce-independent-comparison-budget.mjs +73 -0
  273. package/docs/experiment-workflow.md +9 -2
  274. package/docs/first-real-eval.md +10 -1
  275. package/docs/growth-roadmap-2026-10.md +62 -93
  276. package/docs/metrics.md +52 -0
  277. package/docs/plans/2026-10-14-evidence-and-release-sequence.md +29 -12
  278. package/docs/plans/2026-10-15-independent-comparison-budget.json +1769 -0
  279. package/docs/plans/2026-10-15-independent-comparison-inputs.json +373 -0
  280. package/docs/plans/2026-10-15-independent-comparison-proposal.md +177 -0
  281. package/docs/plans/2026-10-15-native-diff-mechanism.md +105 -0
  282. package/docs/plans/2026-10-15-receiver-mechanism-proposal.json +342 -0
  283. package/docs/plans/2026-10-15-receiver-mechanism-proposal.md +146 -0
  284. package/docs/plans/2026-10-15-receiver-mechanism-verification.json +105 -0
  285. package/docs/plans/2026-10-16-case-workflow-and-release.md +49 -0
  286. package/docs/releases/0.10.0-ci-registry-install.json +140 -0
  287. package/docs/releases/0.10.0-feature-smoke.json +22 -0
  288. package/docs/releases/0.10.0-feature-smoke.mjs +62 -0
  289. package/docs/releases/0.10.0-signatures.txt +7 -0
  290. package/docs/releases/0.10.0-verification.json +76 -0
  291. package/docs/releases/0.10.0.md +81 -0
  292. package/docs/releases/0.10.1-feature-smoke.mjs +95 -0
  293. package/docs/releases/0.10.1.md +38 -0
  294. package/docs/releases/0.9.1-first-publication.json +249 -0
  295. package/docs/releases/0.9.1-verification.json +122 -0
  296. package/docs/releases/0.9.1.md +33 -1
  297. package/docs/releases/trusted-publishing.md +61 -0
  298. package/docs/replay-packages.md +97 -0
  299. package/docs/schemas/bench-check.schema.json +109 -0
  300. package/docs/schemas/eval-preflight.schema.json +57 -0
  301. package/docs/schemas/eval-request.schema.json +12 -0
  302. package/docs/schemas/eval-result.schema.json +11 -0
  303. package/docs/sharing-results.md +11 -2
  304. package/docs/skill-evaluation-evidence.md +52 -0
  305. package/evidence/2026-10-15-diagnosing-receiver-correction.md +140 -0
  306. package/evidence/2026-10-15-independent-comparison-regression-stop.md +162 -0
  307. package/evidence/2026-10-15-independent-offline-readiness.md +144 -0
  308. package/evidence/2026-10-15-native-diff-mechanism.md +196 -0
  309. package/evidence/2026-10-15-receiver-mechanism-stop.md +154 -0
  310. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/README.md +35 -0
  311. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/expected.json +577 -0
  312. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/receiver-contract.test.mjs +138 -0
  313. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/replay.mjs +127 -0
  314. package/evidence/artifacts/2026-10-15-diagnosing-receiver-correction/verification.json +105 -0
  315. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/README.md +32 -0
  316. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/checks.json +32 -0
  317. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/package.tar.gz +0 -0
  318. package/evidence/artifacts/2026-10-15-independent-comparison-regression-stop/verification.json +25 -0
  319. package/evidence/artifacts/2026-10-15-independent-offline-readiness/README.md +17 -0
  320. package/evidence/artifacts/2026-10-15-independent-offline-readiness/verification.json +1548 -0
  321. package/evidence/artifacts/2026-10-15-native-diff-mechanism/README.md +48 -0
  322. package/evidence/artifacts/2026-10-15-native-diff-mechanism/package.tar.gz +0 -0
  323. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/README.md +38 -0
  324. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/checks.json +118 -0
  325. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/package.tar.gz +0 -0
  326. package/evidence/artifacts/2026-10-15-receiver-mechanism-stop/verification.json +36 -0
  327. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/LICENSE +21 -0
  328. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/SKILL.md +51 -0
  329. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/agents/openai.yaml +3 -0
  330. package/evidence/inputs/diagnosing-bugs-compact-v4.1-receiver/scripts/hitl-loop.template.sh +44 -0
  331. package/package.json +1 -1
  332. package/skills/skillfit/SKILL.md +17 -5
@@ -0,0 +1,15 @@
1
+ import commander from './index.js';
2
+
3
+ // wrapper to provide named exports for ESM.
4
+ export const {
5
+ program,
6
+ createCommand,
7
+ createArgument,
8
+ createOption,
9
+ CommanderError,
10
+ InvalidArgumentError,
11
+ Command,
12
+ Argument,
13
+ Option,
14
+ Help
15
+ } = commander;
@@ -0,0 +1,27 @@
1
+ const { Argument } = require('./lib/argument.js');
2
+ const { Command } = require('./lib/command.js');
3
+ const { CommanderError, InvalidArgumentError } = require('./lib/error.js');
4
+ const { Help } = require('./lib/help.js');
5
+ const { Option } = require('./lib/option.js');
6
+
7
+ // @ts-check
8
+
9
+ /**
10
+ * Expose the root command.
11
+ */
12
+
13
+ exports = module.exports = new Command();
14
+ exports.program = exports; // More explicit access to global command.
15
+ // Implicit export of createArgument, createCommand, and createOption.
16
+
17
+ /**
18
+ * Expose classes
19
+ */
20
+
21
+ exports.Argument = Argument;
22
+ exports.Command = Command;
23
+ exports.CommanderError = CommanderError;
24
+ exports.Help = Help;
25
+ exports.InvalidArgumentError = InvalidArgumentError;
26
+ exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
27
+ exports.Option = Option;
@@ -0,0 +1,147 @@
1
+ const { InvalidArgumentError } = require('./error.js');
2
+
3
+ // @ts-check
4
+
5
+ class Argument {
6
+ /**
7
+ * Initialize a new command argument with the given name and description.
8
+ * The default is that the argument is required, and you can explicitly
9
+ * indicate this with <> around the name. Put [] around the name for an optional argument.
10
+ *
11
+ * @param {string} name
12
+ * @param {string} [description]
13
+ */
14
+
15
+ constructor(name, description) {
16
+ this.description = description || '';
17
+ this.variadic = false;
18
+ this.parseArg = undefined;
19
+ this.defaultValue = undefined;
20
+ this.defaultValueDescription = undefined;
21
+ this.argChoices = undefined;
22
+
23
+ switch (name[0]) {
24
+ case '<': // e.g. <required>
25
+ this.required = true;
26
+ this._name = name.slice(1, -1);
27
+ break;
28
+ case '[': // e.g. [optional]
29
+ this.required = false;
30
+ this._name = name.slice(1, -1);
31
+ break;
32
+ default:
33
+ this.required = true;
34
+ this._name = name;
35
+ break;
36
+ }
37
+
38
+ if (this._name.length > 3 && this._name.slice(-3) === '...') {
39
+ this.variadic = true;
40
+ this._name = this._name.slice(0, -3);
41
+ }
42
+ }
43
+
44
+ /**
45
+ * Return argument name.
46
+ *
47
+ * @return {string}
48
+ */
49
+
50
+ name() {
51
+ return this._name;
52
+ };
53
+
54
+ /**
55
+ * @api private
56
+ */
57
+
58
+ _concatValue(value, previous) {
59
+ if (previous === this.defaultValue || !Array.isArray(previous)) {
60
+ return [value];
61
+ }
62
+
63
+ return previous.concat(value);
64
+ }
65
+
66
+ /**
67
+ * Set the default value, and optionally supply the description to be displayed in the help.
68
+ *
69
+ * @param {any} value
70
+ * @param {string} [description]
71
+ * @return {Argument}
72
+ */
73
+
74
+ default(value, description) {
75
+ this.defaultValue = value;
76
+ this.defaultValueDescription = description;
77
+ return this;
78
+ };
79
+
80
+ /**
81
+ * Set the custom handler for processing CLI command arguments into argument values.
82
+ *
83
+ * @param {Function} [fn]
84
+ * @return {Argument}
85
+ */
86
+
87
+ argParser(fn) {
88
+ this.parseArg = fn;
89
+ return this;
90
+ };
91
+
92
+ /**
93
+ * Only allow argument value to be one of choices.
94
+ *
95
+ * @param {string[]} values
96
+ * @return {Argument}
97
+ */
98
+
99
+ choices(values) {
100
+ this.argChoices = values;
101
+ this.parseArg = (arg, previous) => {
102
+ if (!values.includes(arg)) {
103
+ throw new InvalidArgumentError(`Allowed choices are ${values.join(', ')}.`);
104
+ }
105
+ if (this.variadic) {
106
+ return this._concatValue(arg, previous);
107
+ }
108
+ return arg;
109
+ };
110
+ return this;
111
+ };
112
+
113
+ /**
114
+ * Make argument required.
115
+ */
116
+ argRequired() {
117
+ this.required = true;
118
+ return this;
119
+ }
120
+
121
+ /**
122
+ * Make argument optional.
123
+ */
124
+ argOptional() {
125
+ this.required = false;
126
+ return this;
127
+ }
128
+ }
129
+
130
+ /**
131
+ * Takes an argument and returns its human readable equivalent for help usage.
132
+ *
133
+ * @param {Argument} arg
134
+ * @return {string}
135
+ * @api private
136
+ */
137
+
138
+ function humanReadableArgName(arg) {
139
+ const nameOutput = arg.name() + (arg.variadic === true ? '...' : '');
140
+
141
+ return arg.required
142
+ ? '<' + nameOutput + '>'
143
+ : '[' + nameOutput + ']';
144
+ }
145
+
146
+ exports.Argument = Argument;
147
+ exports.humanReadableArgName = humanReadableArgName;