tessl install tessl/npm-babel--preset-stage-0@7.8.0Deprecated Babel preset for stage 0 plugins that provides migration guidelines to explicit plugin configurations
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.21x
Baseline
Agent success rate without this tile
66%
Transforms JavaScript modules by instrumenting named functions and normalizing debug logging in a consistent, AST-driven way.
track("<name>") call as the first statement of every named function declaration or named function/arrow expression bound to a variable when the body is a block statement; the tracking string uses the function's declared identifier or the variable name, and nested functions follow the same rule. @testtrack unchanged to avoid duplicate instrumentation. @testconsole.log and console.debug calls inside instrumented functions to logger.debug, preserving the original argument order and count. @testimport { track, logger } from "telemetry"; at the top of the module whenever instrumentation or log normalization occurs, merging with an existing import from that source instead of duplicating specifiers. @test@generates
/**
* Transforms a JavaScript module string by instrumenting named functions and normalizing debug logging.
* Returns the transformed source text.
*/
export function transformModule(sourceCode);Provides AST traversal and mutation utilities for walking module structure.
Parses JavaScript/TypeScript source text into an AST compatible with traversal.
Constructs and compares AST nodes used while mutating the tree.
Converts a transformed AST back into source text while preserving valid syntax.