norn-cli 1.3.21 → 1.4.1
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
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the "Norn" extension will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.4.1] - 2026-02-21
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Updated logo icon
|
|
9
|
+
|
|
10
|
+
## [1.4.0] - 2026-02-21
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **@norn Copilot Chat Participant**:
|
|
14
|
+
- New `@norn` chat participant for GitHub Copilot Chat integration.
|
|
15
|
+
- Slash commands: `/generate` (create Norn requests/sequences), `/explain` (understand existing code), `/convert` (cURL/HTTP to Norn).
|
|
16
|
+
- Inline LLM tools for file editing, workspace reading, Swagger parsing, diagnostics inspection, and test execution.
|
|
17
|
+
- `norn_runTest` tool allows the AI to run test sequences and report results directly in chat.
|
|
18
|
+
- `norn_applyEdit` and `norn_createFile` tools let the AI modify or create `.norn`, `.nornapi`, and `.nornenv` files.
|
|
19
|
+
- `norn_readSwagger` tool parses OpenAPI specs to help generate tests for APIs.
|
|
20
|
+
- `norn_getDiagnostics` tool inspects current errors/warnings in Norn files.
|
|
21
|
+
- Comprehensive system prompt teaches the AI the full Norn language specification.
|
|
22
|
+
- Gracefully skipped when GitHub Copilot is not installed.
|
|
23
|
+
|
|
24
|
+
### Improved
|
|
25
|
+
- **Test Execution (Chat Tools)**:
|
|
26
|
+
- Environment resolution for `norn_runTest` now auto-selects the first available environment when none is active.
|
|
27
|
+
- Test results in chat now display the environment used and available alternatives.
|
|
28
|
+
- Clear error messages when environment-specific variables fail to resolve.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
- **Chat Participant Robustness**:
|
|
32
|
+
- Added cancellation token checks to prevent runaway tool-calling loops.
|
|
33
|
+
- Ambiguous `searchText` in `norn_applyEdit` replace action now returns an error instead of silently replacing the first match.
|
|
34
|
+
- Glob pattern normalization in `norn_readWorkspaceFile` prevents double `**/` prefixes.
|
|
35
|
+
|
|
5
36
|
## [1.3.21] - 2026-02-17
|
|
6
37
|
|
|
7
38
|
### Fixed
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "norn-cli",
|
|
3
3
|
"displayName": "Norn - REST Client",
|
|
4
4
|
"description": "A powerful REST client for making HTTP requests with sequences, variables, scripts, and cookie support",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.4.1",
|
|
6
6
|
"publisher": "Norn-PeterKrustanov",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Peter Krastanov"
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"Other"
|
|
40
40
|
],
|
|
41
41
|
"activationEvents": [
|
|
42
|
-
"onLanguage:norn"
|
|
42
|
+
"onLanguage:norn",
|
|
43
|
+
"onChatParticipant:norn.chat"
|
|
43
44
|
],
|
|
44
45
|
"main": "./dist/extension.js",
|
|
45
46
|
"contributes": {
|
|
@@ -151,6 +152,41 @@
|
|
|
151
152
|
"when": "editorLangId == norn"
|
|
152
153
|
}
|
|
153
154
|
],
|
|
155
|
+
"chatParticipants": [
|
|
156
|
+
{
|
|
157
|
+
"id": "norn.chat",
|
|
158
|
+
"name": "norn",
|
|
159
|
+
"fullName": "Norn REST Client",
|
|
160
|
+
"description": "Ask questions about Norn syntax, generate requests, explain sequences, and convert cURL/HTTP to Norn",
|
|
161
|
+
"isSticky": true,
|
|
162
|
+
"commands": [
|
|
163
|
+
{
|
|
164
|
+
"name": "generate",
|
|
165
|
+
"description": "Generate a .norn request or sequence from a description"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "explain",
|
|
169
|
+
"description": "Explain a Norn file, sequence, or assertion"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "convert",
|
|
173
|
+
"description": "Convert a cURL command or HTTP request to Norn syntax"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"disambiguation": [
|
|
177
|
+
{
|
|
178
|
+
"category": "norn",
|
|
179
|
+
"description": "The user wants help writing, understanding, or debugging Norn REST client files (.norn, .nornapi, .nornenv).",
|
|
180
|
+
"examples": [
|
|
181
|
+
"How do I write an assertion in Norn?",
|
|
182
|
+
"Generate a POST request with JSON body",
|
|
183
|
+
"Explain this Norn sequence",
|
|
184
|
+
"Convert this cURL to a .norn file"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
],
|
|
154
190
|
"configurationDefaults": {
|
|
155
191
|
"editor.tokenColorCustomizations": {
|
|
156
192
|
"textMateRules": [
|