Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.223 Home All releases olderv2.1.222 v2.1.224newer

Workflow scripts reject dynamic import()

You'll notice
Useful2 Signal0
Elsewhere

Workflow scripts using dynamic import() now fail immediately with a clear syntax error instead of mid-run.

What

A workflow script containing import() now fails at compile time with a SyntaxError instead of failing later when the VM refuses the module load.

Details
  • The validator walks for ImportExpression nodes and throws before execution, matching the existing VM-level importModuleDynamically refusal.
  • Previously only with statements and reserved identifiers were rejected up front.
Evidence

import() is not available in workflow scripts.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.223 →