@cratis/screenplay-language 4.82.4 → 4.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bundles/{chunk-O6LQLQZA.js → chunk-L3LXZT3E.js} +25 -25
- package/dist/bundles/chunk-L3LXZT3E.js.map +7 -0
- package/dist/bundles/index.js +55 -54
- package/dist/bundles/index.js.map +4 -4
- package/dist/bundles/sub-languages/projection/index.js +1 -1
- package/dist/completion-items.d.ts +2 -0
- package/dist/completion-items.d.ts.map +1 -1
- package/dist/completion-planner.d.ts.map +1 -1
- package/dist/completions.d.ts.map +1 -1
- package/dist/dependency-completions.d.ts +4 -0
- package/dist/dependency-completions.d.ts.map +1 -0
- package/dist/dependency-target-analysis.d.ts +5 -0
- package/dist/dependency-target-analysis.d.ts.map +1 -0
- package/dist/response-analysis.d.ts +2 -0
- package/dist/response-analysis.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/bundles/chunk-O6LQLQZA.js.map +0 -7
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ monaco.editor.create(element, {
|
|
|
27
27
|
- **Highlighting** — all construct and clause keywords, slice types, concept attributes (`@pii`, `@sensitive`), context variables (`$context.*`, `$env.*`, `$eventContext.*`, `$.\*`), strings, numbers, and comments.
|
|
28
28
|
- **Embedded code blocks** — `csharp`, `typescript`, `react`, and `html` blocks between triple backticks are highlighted with Monaco's own language grammars.
|
|
29
29
|
- **Sub-languages** — the PDL (`projection`) and CDL (`capture`) bodies are tokenized by their own registered rules using Monarch's state stack.
|
|
30
|
-
- **Completions** — context-aware by enclosing construct (top level, module, feature, slice, command, produces, handler, screen, constraint, …), plus in-scope symbol names: policies after `authorize`, events after `on` and `produces`, concepts and primitives in type positions.
|
|
30
|
+
- **Completions** — context-aware by enclosing construct (top level, module, feature, slice, command, produces, handler, screen, constraint, …), plus in-scope symbol names: policies after `authorize`, events after `on` and `produces`, concepts and primitives in type positions, and resolvable module/feature targets after `depends on`, nearest scope first, excluding targets already declared.
|
|
31
31
|
- **Hover** — keyword documentation, concept definitions (primitive + attributes), policy require expressions, and event property lists.
|
|
32
32
|
- **Diagnostics** — unknown slice types, unknown primitive types, references to undeclared policies and events, tab indentation, and unclosed code fences. Every one of them carries the compiler's own `PLAY` code (`diagnosticCodes`), so a squiggle and a CLI diagnostic for the same condition are the same code.
|
|
33
33
|
|