Skip to content

Release v6.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 16:54
3c0f024

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 to SemanticModelSerializer.Serialize, with schemaVersion and revision. --scope keeps 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 full ModelDifference.
  • 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, diff and rename open a folder with its .screenplay/identities.json when present, so the CLI and MCP report the same semantic identities for the same model. export and diff refuse a folder whose sources no longer match its identity file; test falls back to address-derived ids in that case.