norn-cli 1.6.1 → 1.7.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.
Files changed (40) hide show
  1. package/AGENTS.md +9 -1
  2. package/CHANGELOG.md +30 -0
  3. package/dist/cli.js +296 -96
  4. package/package.json +1 -1
  5. package/out/assertionRunner.js +0 -537
  6. package/out/chatParticipant.js +0 -722
  7. package/out/cli/colors.js +0 -129
  8. package/out/cli/formatters/assertion.js +0 -75
  9. package/out/cli/formatters/index.js +0 -23
  10. package/out/cli/formatters/response.js +0 -106
  11. package/out/cli/formatters/summary.js +0 -187
  12. package/out/cli/redaction.js +0 -237
  13. package/out/cli/reporters/html.js +0 -634
  14. package/out/cli/reporters/index.js +0 -22
  15. package/out/cli/reporters/junit.js +0 -211
  16. package/out/cli.js +0 -989
  17. package/out/codeLensProvider.js +0 -248
  18. package/out/compareContentProvider.js +0 -85
  19. package/out/completionProvider.js +0 -2404
  20. package/out/contractDecorationProvider.js +0 -243
  21. package/out/coverageCalculator.js +0 -837
  22. package/out/coveragePanel.js +0 -545
  23. package/out/diagnosticProvider.js +0 -1113
  24. package/out/environmentProvider.js +0 -442
  25. package/out/extension.js +0 -1114
  26. package/out/httpClient.js +0 -269
  27. package/out/jsonFileReader.js +0 -320
  28. package/out/nornPrompt.js +0 -580
  29. package/out/nornapiParser.js +0 -326
  30. package/out/parser.js +0 -725
  31. package/out/responsePanel.js +0 -4674
  32. package/out/schemaGenerator.js +0 -393
  33. package/out/scriptRunner.js +0 -419
  34. package/out/sequenceRunner.js +0 -3046
  35. package/out/swaggerBodyIntellisenseCache.js +0 -147
  36. package/out/swaggerParser.js +0 -419
  37. package/out/test/coverageCalculator.test.js +0 -100
  38. package/out/test/extension.test.js +0 -48
  39. package/out/testProvider.js +0 -658
  40. package/out/validationCache.js +0 -245
package/AGENTS.md CHANGED
@@ -48,12 +48,20 @@ Skills should capture lessons learned and patterns discovered during implementat
48
48
  **MANDATORY:** When the user asks to publish, prepare a release, bump version, or create a patch:
49
49
  1. **FIRST** invoke the Test Verification subagent using `runSubagent`
50
50
  2. Wait for it to complete and report results
51
- 3. Only proceed if all tests pass
51
+ 3. Only if all tests pass, invoke the Website Documentation Review subagent using `runSubagent`
52
+ 4. Only proceed if tests pass and the docs review reports either:
53
+ - website docs were updated and the website build passed, or
54
+ - no docs changes were needed because the release is only bug fixes, refactors, or design/styling work
52
55
 
53
56
  The Test Verification agent runs:
54
57
  - `npm run compile` (must have 0 errors)
55
58
  - `node ./dist/cli.js ./tests/Regression/ -e prelive` (all tests must pass)
56
59
 
60
+ The Website Documentation Review agent:
61
+ - reviews release changes in `/Users/petercrest/Worktable/Projects/vsApi`
62
+ - updates `/Users/petercrest/Worktable/Projects/norn_website` when user-facing features changed or new ones were added
63
+ - skips docs work for bug fixes, refactors, internal cleanup, and design/styling-only changes
64
+
57
65
  **Trigger words:** publish, release, version, patch, bump, deploy
58
66
 
59
67
  ## Publishing Ownership
package/CHANGELOG.md CHANGED
@@ -4,6 +4,36 @@ All notable changes to the "Norn" extension will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.7.0] - 2026-03-07
8
+
9
+ ### Added
10
+ - **Explicit Environment Lookup (Extension + CLI)**:
11
+ - Added `{{$env.name}}` so tests, sequences, endpoints, header groups, and interpolated strings can read directly from the active environment even when a file variable, local variable, or sequence parameter uses the same name.
12
+ - Added IntelliSense for the `$env` namespace and environment variable suggestions after typing `{{$env.`.
13
+ - Added diagnostics for invalid `{{$env...}}` references and warnings when local/file/parameter variables shadow environment variables.
14
+
15
+ ### Fixed
16
+ - **Assertion String Literal Escaping**:
17
+ - Fixed escaped quotes in assertion string literals and quoted `var` expressions so values like `\"{orderId}\"` compare correctly instead of failing with visually identical expected/actual output.
18
+
19
+ - **Parameterized Test Snippet UX**:
20
+ - Updated `@data` completion to insert `data()` with the cursor inside the parentheses instead of placeholder values.
21
+
22
+ - **Decorator Syntax Highlighting**:
23
+ - Fixed `.norn` syntax coloring so decorator lines such as `@data(...)` keep their highlighting when they follow request blocks like `DELETE ...`.
24
+
25
+ ## [1.6.2] - 2026-03-07
26
+
27
+ ### Fixed
28
+ - **`.nornenv` IntelliSense and Diagnostics**:
29
+ - Fixed `[env:` completion in `.nornenv` files so accepting the suggestion after typing `[` no longer inserts `[[env:`.
30
+ - Fixed `.nornenv` diagnostics and syntax highlighting so secret names that start with `var` (for example `secret varnaCityApiKey = ...`) are no longer flagged as invalid.
31
+
32
+ - **Encrypted Secret UX (Extension + CLI)**:
33
+ - Fixed secret-key cache placement so new secret-key caches are created in the project root `.norn-cache` instead of nested folders beside individual `.nornenv` files.
34
+ - Reused an existing secret-key cache when one is already present in the project, avoiding duplicate `.norn-cache` folders.
35
+ - Fixed Windows CRLF handling for `.nornenv` secret parsing so the `Encrypt Secret` CodeLens remains available reliably on Windows and secret rewrites preserve the file's original line endings.
36
+
7
37
  ## [1.6.1] - 2026-03-04
8
38
 
9
39
  ### Fixed