Skip to content

Transform

Domain: transform

AST/string transform domain plus crypto extraction, harnessing, and comparison tooling.

Profiles

  • workflow
  • full

Typical scenarios

  • Preview transforms
  • Extract standalone crypto code
  • Compare implementations

Common combinations

  • core + transform

Representative tools

  • ast_transform_preview — Preview lightweight AST-like transforms (string/regex based) and return before/after diff.
  • ast_transform_chain — Create and store an in-memory transform chain.
  • ast_transform_apply — Apply transforms to input code or a live page scriptId.
  • crypto_extract_standalone — Extract crypto/sign/encrypt function from current page and generate standalone runnable code.
  • crypto_test_harness — Run extracted crypto code in worker_threads + vm sandbox and return deterministic test results.
  • crypto_compare — Compare two crypto implementations against identical test vectors.

Full tool list (6)

ToolDescription
ast_transform_previewPreview lightweight AST-like transforms (string/regex based) and return before/after diff.
ast_transform_chainCreate and store an in-memory transform chain.
ast_transform_applyApply transforms to input code or a live page scriptId.
crypto_extract_standaloneExtract crypto/sign/encrypt function from current page and generate standalone runnable code.
crypto_test_harnessRun extracted crypto code in worker_threads + vm sandbox and return deterministic test results.
crypto_compareCompare two crypto implementations against identical test vectors.

Released under AGPL-3.0-only