norn-cli 1.5.3 → 1.6.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/CHANGELOG.md +35 -0
- package/README.md +35 -0
- package/dist/cli.js +1417 -1337
- package/package.json +72 -2
- package/.norn-cache/secret-keys.json +0 -9
- package/.norn-cache/swagger-body-intellisense.json +0 -409
- package/.norn-cache/validation-results.json +0 -47
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,41 @@ All notable changes to the "Norn" extension will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.6.0] - 2026-03-04
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **Native VS Code Debugger for `.norn` Sequences (v1)**:
|
|
11
|
+
- Added Debug Adapter Protocol integration for debug type `norn`.
|
|
12
|
+
- Added line breakpoints in `.norn` files, including imported sequence sources.
|
|
13
|
+
- Added stepping controls: continue, pause, step over, step into sequence calls, step out, and stop.
|
|
14
|
+
- Added debugger variable scopes for runtime variables and response history (`$1`, `$2`, ...).
|
|
15
|
+
- Added launch support via `launch.json` with `file`, `sequence`, optional `env`, and `stopOnEntry`.
|
|
16
|
+
|
|
17
|
+
- **Debugger Entry Points**:
|
|
18
|
+
- Added `Debug Sequence` command (`norn.debugSequence`).
|
|
19
|
+
- Added `▷ Debug Sequence` CodeLens on runnable sequences.
|
|
20
|
+
- Added Testing sidebar `Debug Tests` profile (single-target debug in v1).
|
|
21
|
+
|
|
22
|
+
### Improved
|
|
23
|
+
- **Debugger Runtime Behavior**:
|
|
24
|
+
- Added breakpoint line verification/auto-adjust to nearest executable step in the same sequence.
|
|
25
|
+
- Added failure-stop behavior for request/assertion failures before session termination.
|
|
26
|
+
- Added source/line mapping across root and imported sequence files for call stack and stepping.
|
|
27
|
+
- Added smart launch default for `stopOnEntry` in command/test-driven debug starts (disabled when breakpoints already exist).
|
|
28
|
+
|
|
29
|
+
- **Documentation and Skills**:
|
|
30
|
+
- Added README debugger usage and `launch.json` example.
|
|
31
|
+
- Added debugger integration skill docs under `.github/skills/norn-debugger-integration`.
|
|
32
|
+
- Documented debugger as a VS Code-only v1 exception to CLI feature parity policy.
|
|
33
|
+
|
|
34
|
+
## [1.5.4] - 2026-03-02
|
|
35
|
+
|
|
36
|
+
### Improved
|
|
37
|
+
- **Norn Cache Git Ignore Behavior**:
|
|
38
|
+
- Stopped modifying the repository root `.gitignore` when secret keys are cached.
|
|
39
|
+
- Added local cache-level ignore behavior by writing `.norn-cache/.gitignore` with `*`.
|
|
40
|
+
- Keeps `.norn-cache` contents out of Git without mutating user-managed root ignore files.
|
|
41
|
+
|
|
7
42
|
## [1.5.3] - 2026-03-02
|
|
8
43
|
|
|
9
44
|
### Added
|
package/README.md
CHANGED
|
@@ -870,6 +870,41 @@ Run tests directly from VS Code's Testing sidebar:
|
|
|
870
870
|
- **Persistent Output**: Select a test to see its full output anytime
|
|
871
871
|
- **Failure Details**: Expected vs actual diffs, request/response info
|
|
872
872
|
|
|
873
|
+
### Debugging `.norn` Sequences (VS Code)
|
|
874
|
+
|
|
875
|
+
Norn supports native VS Code debugging for `.norn` sequences:
|
|
876
|
+
|
|
877
|
+
- Breakpoints in root and imported `.norn` files
|
|
878
|
+
- Continue, pause, step over, step into sequence calls, and step out
|
|
879
|
+
- Default `stopOnEntry: true`
|
|
880
|
+
- Variables pane scopes:
|
|
881
|
+
- Runtime Variables
|
|
882
|
+
- Responses (`$1`, `$2`, ...)
|
|
883
|
+
- Launch entry points:
|
|
884
|
+
- `🐞 Debug Sequence` CodeLens
|
|
885
|
+
- Testing sidebar `Debug Tests` profile (single target per debug session)
|
|
886
|
+
|
|
887
|
+
You can also define explicit launch configs in `.vscode/launch.json`:
|
|
888
|
+
|
|
889
|
+
```json
|
|
890
|
+
{
|
|
891
|
+
"version": "0.2.0",
|
|
892
|
+
"configurations": [
|
|
893
|
+
{
|
|
894
|
+
"type": "norn",
|
|
895
|
+
"request": "launch",
|
|
896
|
+
"name": "Debug LoginFlow",
|
|
897
|
+
"file": "${workspaceFolder}/tests/api-tests.norn",
|
|
898
|
+
"sequence": "LoginFlow",
|
|
899
|
+
"env": "prelive",
|
|
900
|
+
"stopOnEntry": true
|
|
901
|
+
}
|
|
902
|
+
]
|
|
903
|
+
}
|
|
904
|
+
```
|
|
905
|
+
|
|
906
|
+
Note: debugger support is currently VS Code-only by design. CLI behavior remains unchanged.
|
|
907
|
+
|
|
873
908
|
### Parameterized Tests
|
|
874
909
|
|
|
875
910
|
Use `@data` for data-driven testing - each data row becomes a separate test:
|