Repository navigation
Release v5.11.0
A model can now declare the people a development or test session acts as, with user <name> ["<display name>"] [as <Persona>, ...], so a host such as Stage can offer them to tooling like Lens.
Added
userdeclarations at the top level, one line each. A user holds the roles of the personas it plays, may play several, and with no persona is authenticated with no roles. Like a persona, a user is authoring metadata and never part of the executable model, so there is no new ESM version and a model without users compiles exactly as before. See decision 0141.PLAY0887for a malformeduserline or a line nested under it (reported by both compilers),PLAY0888for a user that plays an unknown persona, andPLAY0889for a repeated user name.usersin the syntax JSON of an application, written only when present, and ausersconformance document held by both compilers.- Highlighting, hover, completion and the grammar for
userin the Monaco language service and the VS Code extension.
AI corpus: Cratis/AI#1042