Repository navigation
v1.5.4
ArkTS analysis boundary
- ArkTS declarative components now preserve
structmembers,build()scope,
UI call ownership, and member-call receivers through byte-stable parser
normalization. ArkUI trailing blocks may still reportpartial, but their
usable structural facts no longer collapse to global calls. Query-time trace
addsStateFlowfrom ArkTSAppStorage.set/setOrCreatevalues to matching
@StorageProp/@StorageLinkfield reads and UI call arguments. Matching is
syntactic but preserves literal-vs-expression identity and requires an exact
this.<field>read. Cold Focus traces add a state-channel closure, materialize
cross-directory writer dataflow, and converge throughresume_query.
Reverse links, default initialization, timing, and process boundaries remain
explicitly unmodeled. - ArkTS parameterized component decorators plus trailing ArkUI chains can make
the TypeScript grammar emit a fallbackclassexpression instead of
class_declaration. ArkTS-owned definition/manifest/scope queries now cover
both forms; struct scope range recovery balances braces while excluding
parsed strings, templates, regexes, and comments. Focus rejects persisted
type ranges with inverted line intervals, andSourceExtractorrejects
truncated AST definitions in favor of the complete stored range. - ArkTS declaration extraction now rejects nested ArkUI recovery methods by
ownership instead of a narrow object shape. A byte-stable declaration-only
recovery tree restores post-build@Stylesmethods and top-level@Extend
functions without changing the primary references/dataflow/CFG tree.
TypeScript-compatible abstract classes, interface properties/methods, enum
members, async flags, and decorator references now populate existing IR;
member source extraction includes field decorators, types, and initializers. - Declaration recovery rewrites complete fake ArkUI method headers to valid,
byte-stable control headers. DeepNavigation/Listcomponent trees no
longer erase their owning struct,build()method, fields, or following
@Builderfunctions. - ArkTS keeps callable signatures limited to interface shape: decorators remain
Decorationreferences, field types remain in complete member source ranges,
andasyncremains inSymbolDef.async_.ScopedSearchServiceowns exact
@Decoratorsearch, including scope-wide structural coverage, lazy
refinement, kind/language filters, limits, and total counts. Mixed
manifest/structural scopes no longer report incomplete decorator totals as
complete. Decorator source recovery skips parser-recognized strings,
templates, regexes, and comments while balancing parameter lists. - Decorated declaration ranges now cover stacked decorators across languages;
Python decoration references preserve the full decorator range while keeping
a bare resolution name. Full and file-scoped graph builds both materialize
callback and Python decorator registration edges from that ownership fact. - Builtin resolution is terminal before project-wide matching. ArkTS
$r
remains an external resource API instead of resolving to an unrelated
JavaScript symbol; ArkTS decoration references likewise remain framework
externals instead of generating Python-style callback edges. Overlapping
tree-sitter query captures are deduplicated by capture/node identity before
normalization. - ArkTS named function/method CFG is enabled through the shared TypeScript
walker at confidence 0.55. Branch/loop fixtures assert concrete nodes and
edges. ArkUI trailing blocks remain single statements and nested arrow
callbacks do not receive independent CFGs; official language restrictions
are not treated as validated invariants because Atlas does not run the ArkTS
compiler.
TypeScript module facts
- TypeScript/JavaScript/ArkTS imports now emit one
ImportDefper binding or
side effect instead of redundant module/name/alias rows. Default imports are
captured explicitly, aliases preserve source and local names, wildcard facts
are marked correctly, and every import range covers its complete statement.
Query-only predicate captures no longer leak normalization diagnostics. - Default imports and exports preserve their source-to-visible-name mapping.
Re-export resolution starts from actual module files and follows named
aliases, wildcard barrels, and default chains deterministically. Explicit
bindings remain unresolved when the target module does not export them,
including private same-name declarations; wildcard re-exports do not leak
default.ReferenceKind::Instantiationnow producesInstantiatesedges.
Release hardening
- Upgrade note: extraction and module-resolution facts changed without a schema
version change. Existing projects must remove.atlas/atlas.dband run
atlas index --project <path> --analysis <mode>to materialize 1.5.4 facts;
doctorcannot distinguish pre-1.5.4 facts with unchanged source hashes. - Workspace packages and release metadata advance to 1.5.4. Manual release
dispatches check out the requested tag, verify it matches the workspace
version, and gate platform builds on formatting, all-feature check, and
all-feature workspace tests.
Full Changelog: v1.5.3...v1.5.4