Repository navigation
Release v6.1.0
The screenplay CLI can now export the executable model, compare two model versions and rename declarations, and it reads a model folder's persisted identities the same way the MCP server does.
Added
screenplay export [<file.play|folder>] [--format esm] [--scope <Module>[.<Feature>...][.<Slice>]] [--output <path>]writes the canonical executable model bytes, identical toSemanticModelSerializer.Serialize, withschemaVersionandrevision.--scopekeeps one module, feature or slice together with the application-wide declarations its references need. (#1184)screenplay diff <before> <after> [--format text|json]compares two model versions with the library model comparison and prints added, removed, renamed and moved declarations, member changes, contract-breaking event changes, specification outcome changes and direct dependants. The JSON form carries the fullModelDifference.screenplay rename <address> <new-name> [<folder>] [--kind <kind>]renames a declaration through the same proposal and apply as MCP, keeping its semantic identity and writing.screenplay/identities.json. (#1188)ExecutableSemanticModelScope.Select(model, scope)narrows an executable model to one module, feature or slice from .NET.
Changed
screenplay test,export,diffandrenameopen a folder with its.screenplay/identities.jsonwhen present, so the CLI and MCP report the same semantic identities for the same model.exportanddiffrefuse a folder whose sources no longer match its identity file;testfalls back to address-derived ids in that case.