runtime.analyzeChanges() is an experimental source-analysis helper for editor and tooling integrations.

Signature

TypeScript
runtime.analyzeChanges(changesSource, options?): ChangesAnalysis
Parameter Type Required Default Purpose
changesSource string Yes Empty text for non-string input Source to inspect
options.taskIds iterable of strings No No task-ID check Known Starting State task IDs

The result contains taskReferences, handlers, targetReferences, and diagnostics.

The analyzer identifies supported static source forms. Dynamic references can remain for runtime resolution and produce informational diagnostics.

Do not use this helper as an authorization boundary or as a replacement for runtime execution.