norn-cli 1.5.4 → 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 +27 -0
- package/README.md +35 -0
- package/dist/cli.js +1201 -1095
- 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/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.6.0",
|
|
6
6
|
"publisher": "Norn-PeterKrustanov",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Peter Krastanov"
|
|
@@ -45,7 +45,9 @@
|
|
|
45
45
|
"onChatParticipant:norn.chat",
|
|
46
46
|
"onView:norn.sidebarHome",
|
|
47
47
|
"onCommand:norn.importPostmanCollection",
|
|
48
|
-
"onCommand:norn.importPostmanEnvironment"
|
|
48
|
+
"onCommand:norn.importPostmanEnvironment",
|
|
49
|
+
"onCommand:norn.debugSequence",
|
|
50
|
+
"onDebugResolve:norn"
|
|
49
51
|
],
|
|
50
52
|
"main": "./dist/extension.js",
|
|
51
53
|
"contributes": {
|
|
@@ -60,6 +62,11 @@
|
|
|
60
62
|
"title": "Run Sequence",
|
|
61
63
|
"category": "Norn"
|
|
62
64
|
},
|
|
65
|
+
{
|
|
66
|
+
"command": "norn.debugSequence",
|
|
67
|
+
"title": "Debug Sequence",
|
|
68
|
+
"category": "Norn"
|
|
69
|
+
},
|
|
63
70
|
{
|
|
64
71
|
"command": "norn.clearCookies",
|
|
65
72
|
"title": "Clear Cookies",
|
|
@@ -207,6 +214,69 @@
|
|
|
207
214
|
"path": "./syntaxes/nornapi.tmLanguage.json"
|
|
208
215
|
}
|
|
209
216
|
],
|
|
217
|
+
"breakpoints": [
|
|
218
|
+
{
|
|
219
|
+
"language": "norn"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"debuggers": [
|
|
223
|
+
{
|
|
224
|
+
"type": "norn",
|
|
225
|
+
"label": "Norn",
|
|
226
|
+
"languages": [
|
|
227
|
+
"norn"
|
|
228
|
+
],
|
|
229
|
+
"breakpoints": [
|
|
230
|
+
{
|
|
231
|
+
"language": "norn"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"configurationAttributes": {
|
|
235
|
+
"launch": {
|
|
236
|
+
"required": [
|
|
237
|
+
"file",
|
|
238
|
+
"sequence"
|
|
239
|
+
],
|
|
240
|
+
"properties": {
|
|
241
|
+
"file": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "Absolute or workspace-relative path to the .norn file to debug."
|
|
244
|
+
},
|
|
245
|
+
"sequence": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Name of the sequence to debug."
|
|
248
|
+
},
|
|
249
|
+
"env": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Environment name for this debug session. If omitted, Norn uses the currently selected environment."
|
|
252
|
+
},
|
|
253
|
+
"stopOnEntry": {
|
|
254
|
+
"type": "boolean",
|
|
255
|
+
"default": true,
|
|
256
|
+
"description": "Stop on the first executable step."
|
|
257
|
+
},
|
|
258
|
+
"args": {
|
|
259
|
+
"type": "object",
|
|
260
|
+
"description": "Optional sequence argument overrides, keyed by parameter name.",
|
|
261
|
+
"additionalProperties": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"initialConfigurations": [
|
|
269
|
+
{
|
|
270
|
+
"type": "norn",
|
|
271
|
+
"request": "launch",
|
|
272
|
+
"name": "Debug Norn Sequence",
|
|
273
|
+
"file": "${file}",
|
|
274
|
+
"sequence": "YourSequenceName",
|
|
275
|
+
"stopOnEntry": true
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
],
|
|
210
280
|
"keybindings": [
|
|
211
281
|
{
|
|
212
282
|
"command": "norn.sendRequest",
|
|
@@ -1,409 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"urls": {
|
|
4
|
-
"https://petstore.swagger.io/v2/swagger.json": {
|
|
5
|
-
"baseUrl": "https://petstore.swagger.io/v2",
|
|
6
|
-
"fetchedAt": "2026-03-02T22:20:46.746Z",
|
|
7
|
-
"schemas": [
|
|
8
|
-
{
|
|
9
|
-
"operationId": "AddPet",
|
|
10
|
-
"method": "POST",
|
|
11
|
-
"path": "/pet",
|
|
12
|
-
"required": [
|
|
13
|
-
"name",
|
|
14
|
-
"photoUrls"
|
|
15
|
-
],
|
|
16
|
-
"schema": {
|
|
17
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
18
|
-
"title": "AddPet Request",
|
|
19
|
-
"type": "object",
|
|
20
|
-
"required": [
|
|
21
|
-
"name",
|
|
22
|
-
"photoUrls"
|
|
23
|
-
],
|
|
24
|
-
"properties": {
|
|
25
|
-
"id": {
|
|
26
|
-
"type": "integer",
|
|
27
|
-
"format": "int64"
|
|
28
|
-
},
|
|
29
|
-
"category": {
|
|
30
|
-
"type": "object",
|
|
31
|
-
"properties": {
|
|
32
|
-
"id": {
|
|
33
|
-
"type": "integer",
|
|
34
|
-
"format": "int64"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"type": "string"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"xml": {
|
|
41
|
-
"name": "Category"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"name": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"example": "doggie"
|
|
47
|
-
},
|
|
48
|
-
"photoUrls": {
|
|
49
|
-
"type": "array",
|
|
50
|
-
"xml": {
|
|
51
|
-
"wrapped": true
|
|
52
|
-
},
|
|
53
|
-
"items": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"xml": {
|
|
56
|
-
"name": "photoUrl"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"tags": {
|
|
61
|
-
"type": "array",
|
|
62
|
-
"xml": {
|
|
63
|
-
"wrapped": true
|
|
64
|
-
},
|
|
65
|
-
"items": {
|
|
66
|
-
"type": "object",
|
|
67
|
-
"properties": {
|
|
68
|
-
"id": {
|
|
69
|
-
"type": "integer",
|
|
70
|
-
"format": "int64"
|
|
71
|
-
},
|
|
72
|
-
"name": {
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"xml": {
|
|
77
|
-
"name": "Tag"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"status": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "pet status in the store",
|
|
84
|
-
"enum": [
|
|
85
|
-
"available",
|
|
86
|
-
"pending",
|
|
87
|
-
"sold"
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"xml": {
|
|
92
|
-
"name": "Pet"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"operationId": "UpdatePet",
|
|
98
|
-
"method": "PUT",
|
|
99
|
-
"path": "/pet",
|
|
100
|
-
"required": [
|
|
101
|
-
"name",
|
|
102
|
-
"photoUrls"
|
|
103
|
-
],
|
|
104
|
-
"schema": {
|
|
105
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
106
|
-
"title": "UpdatePet Request",
|
|
107
|
-
"type": "object",
|
|
108
|
-
"required": [
|
|
109
|
-
"name",
|
|
110
|
-
"photoUrls"
|
|
111
|
-
],
|
|
112
|
-
"properties": {
|
|
113
|
-
"id": {
|
|
114
|
-
"type": "integer",
|
|
115
|
-
"format": "int64"
|
|
116
|
-
},
|
|
117
|
-
"category": {
|
|
118
|
-
"type": "object",
|
|
119
|
-
"properties": {
|
|
120
|
-
"id": {
|
|
121
|
-
"type": "integer",
|
|
122
|
-
"format": "int64"
|
|
123
|
-
},
|
|
124
|
-
"name": {
|
|
125
|
-
"type": "string"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"xml": {
|
|
129
|
-
"name": "Category"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"name": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"example": "doggie"
|
|
135
|
-
},
|
|
136
|
-
"photoUrls": {
|
|
137
|
-
"type": "array",
|
|
138
|
-
"xml": {
|
|
139
|
-
"wrapped": true
|
|
140
|
-
},
|
|
141
|
-
"items": {
|
|
142
|
-
"type": "string",
|
|
143
|
-
"xml": {
|
|
144
|
-
"name": "photoUrl"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"tags": {
|
|
149
|
-
"type": "array",
|
|
150
|
-
"xml": {
|
|
151
|
-
"wrapped": true
|
|
152
|
-
},
|
|
153
|
-
"items": {
|
|
154
|
-
"type": "object",
|
|
155
|
-
"properties": {
|
|
156
|
-
"id": {
|
|
157
|
-
"type": "integer",
|
|
158
|
-
"format": "int64"
|
|
159
|
-
},
|
|
160
|
-
"name": {
|
|
161
|
-
"type": "string"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"xml": {
|
|
165
|
-
"name": "Tag"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"status": {
|
|
170
|
-
"type": "string",
|
|
171
|
-
"description": "pet status in the store",
|
|
172
|
-
"enum": [
|
|
173
|
-
"available",
|
|
174
|
-
"pending",
|
|
175
|
-
"sold"
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"xml": {
|
|
180
|
-
"name": "Pet"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"operationId": "PlaceOrder",
|
|
186
|
-
"method": "POST",
|
|
187
|
-
"path": "/store/order",
|
|
188
|
-
"required": [],
|
|
189
|
-
"schema": {
|
|
190
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
191
|
-
"title": "PlaceOrder Request",
|
|
192
|
-
"type": "object",
|
|
193
|
-
"properties": {
|
|
194
|
-
"id": {
|
|
195
|
-
"type": "integer",
|
|
196
|
-
"format": "int64"
|
|
197
|
-
},
|
|
198
|
-
"petId": {
|
|
199
|
-
"type": "integer",
|
|
200
|
-
"format": "int64"
|
|
201
|
-
},
|
|
202
|
-
"quantity": {
|
|
203
|
-
"type": "integer",
|
|
204
|
-
"format": "int32"
|
|
205
|
-
},
|
|
206
|
-
"shipDate": {
|
|
207
|
-
"type": "string",
|
|
208
|
-
"format": "date-time"
|
|
209
|
-
},
|
|
210
|
-
"status": {
|
|
211
|
-
"type": "string",
|
|
212
|
-
"description": "Order Status",
|
|
213
|
-
"enum": [
|
|
214
|
-
"placed",
|
|
215
|
-
"approved",
|
|
216
|
-
"delivered"
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
"complete": {
|
|
220
|
-
"type": "boolean"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"xml": {
|
|
224
|
-
"name": "Order"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"operationId": "CreateUsersWithListInput",
|
|
230
|
-
"method": "POST",
|
|
231
|
-
"path": "/user/createWithList",
|
|
232
|
-
"required": [],
|
|
233
|
-
"schema": {
|
|
234
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
235
|
-
"title": "CreateUsersWithListInput Request",
|
|
236
|
-
"type": "array",
|
|
237
|
-
"items": {
|
|
238
|
-
"type": "object",
|
|
239
|
-
"properties": {
|
|
240
|
-
"id": {
|
|
241
|
-
"type": "integer",
|
|
242
|
-
"format": "int64"
|
|
243
|
-
},
|
|
244
|
-
"username": {
|
|
245
|
-
"type": "string"
|
|
246
|
-
},
|
|
247
|
-
"firstName": {
|
|
248
|
-
"type": "string"
|
|
249
|
-
},
|
|
250
|
-
"lastName": {
|
|
251
|
-
"type": "string"
|
|
252
|
-
},
|
|
253
|
-
"email": {
|
|
254
|
-
"type": "string"
|
|
255
|
-
},
|
|
256
|
-
"password": {
|
|
257
|
-
"type": "string"
|
|
258
|
-
},
|
|
259
|
-
"phone": {
|
|
260
|
-
"type": "string"
|
|
261
|
-
},
|
|
262
|
-
"userStatus": {
|
|
263
|
-
"type": "integer",
|
|
264
|
-
"format": "int32",
|
|
265
|
-
"description": "User Status"
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
"xml": {
|
|
269
|
-
"name": "User"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"operationId": "UpdateUser",
|
|
276
|
-
"method": "PUT",
|
|
277
|
-
"path": "/user/{username}",
|
|
278
|
-
"required": [],
|
|
279
|
-
"schema": {
|
|
280
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
281
|
-
"title": "UpdateUser Request",
|
|
282
|
-
"type": "object",
|
|
283
|
-
"properties": {
|
|
284
|
-
"id": {
|
|
285
|
-
"type": "integer",
|
|
286
|
-
"format": "int64"
|
|
287
|
-
},
|
|
288
|
-
"username": {
|
|
289
|
-
"type": "string"
|
|
290
|
-
},
|
|
291
|
-
"firstName": {
|
|
292
|
-
"type": "string"
|
|
293
|
-
},
|
|
294
|
-
"lastName": {
|
|
295
|
-
"type": "string"
|
|
296
|
-
},
|
|
297
|
-
"email": {
|
|
298
|
-
"type": "string"
|
|
299
|
-
},
|
|
300
|
-
"password": {
|
|
301
|
-
"type": "string"
|
|
302
|
-
},
|
|
303
|
-
"phone": {
|
|
304
|
-
"type": "string"
|
|
305
|
-
},
|
|
306
|
-
"userStatus": {
|
|
307
|
-
"type": "integer",
|
|
308
|
-
"format": "int32",
|
|
309
|
-
"description": "User Status"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"xml": {
|
|
313
|
-
"name": "User"
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"operationId": "CreateUsersWithArrayInput",
|
|
319
|
-
"method": "POST",
|
|
320
|
-
"path": "/user/createWithArray",
|
|
321
|
-
"required": [],
|
|
322
|
-
"schema": {
|
|
323
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
324
|
-
"title": "CreateUsersWithArrayInput Request",
|
|
325
|
-
"type": "array",
|
|
326
|
-
"items": {
|
|
327
|
-
"type": "object",
|
|
328
|
-
"properties": {
|
|
329
|
-
"id": {
|
|
330
|
-
"type": "integer",
|
|
331
|
-
"format": "int64"
|
|
332
|
-
},
|
|
333
|
-
"username": {
|
|
334
|
-
"type": "string"
|
|
335
|
-
},
|
|
336
|
-
"firstName": {
|
|
337
|
-
"type": "string"
|
|
338
|
-
},
|
|
339
|
-
"lastName": {
|
|
340
|
-
"type": "string"
|
|
341
|
-
},
|
|
342
|
-
"email": {
|
|
343
|
-
"type": "string"
|
|
344
|
-
},
|
|
345
|
-
"password": {
|
|
346
|
-
"type": "string"
|
|
347
|
-
},
|
|
348
|
-
"phone": {
|
|
349
|
-
"type": "string"
|
|
350
|
-
},
|
|
351
|
-
"userStatus": {
|
|
352
|
-
"type": "integer",
|
|
353
|
-
"format": "int32",
|
|
354
|
-
"description": "User Status"
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
"xml": {
|
|
358
|
-
"name": "User"
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"operationId": "CreateUser",
|
|
365
|
-
"method": "POST",
|
|
366
|
-
"path": "/user",
|
|
367
|
-
"required": [],
|
|
368
|
-
"schema": {
|
|
369
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
370
|
-
"title": "CreateUser Request",
|
|
371
|
-
"type": "object",
|
|
372
|
-
"properties": {
|
|
373
|
-
"id": {
|
|
374
|
-
"type": "integer",
|
|
375
|
-
"format": "int64"
|
|
376
|
-
},
|
|
377
|
-
"username": {
|
|
378
|
-
"type": "string"
|
|
379
|
-
},
|
|
380
|
-
"firstName": {
|
|
381
|
-
"type": "string"
|
|
382
|
-
},
|
|
383
|
-
"lastName": {
|
|
384
|
-
"type": "string"
|
|
385
|
-
},
|
|
386
|
-
"email": {
|
|
387
|
-
"type": "string"
|
|
388
|
-
},
|
|
389
|
-
"password": {
|
|
390
|
-
"type": "string"
|
|
391
|
-
},
|
|
392
|
-
"phone": {
|
|
393
|
-
"type": "string"
|
|
394
|
-
},
|
|
395
|
-
"userStatus": {
|
|
396
|
-
"type": "integer",
|
|
397
|
-
"format": "int32",
|
|
398
|
-
"description": "User Status"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
"xml": {
|
|
402
|
-
"name": "User"
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
]
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"results": {
|
|
4
|
-
"tests/Regression/15-contract-validation.norn:15": {
|
|
5
|
-
"schemaPath": "tests/Regression/schemas/GET-todos-1.schema.json",
|
|
6
|
-
"sourceFile": "tests/Regression/15-contract-validation.norn",
|
|
7
|
-
"assertionLine": 15,
|
|
8
|
-
"status": "pass",
|
|
9
|
-
"lastRunTime": "2026-02-09T20:01:50.112Z"
|
|
10
|
-
},
|
|
11
|
-
"tests/Regression/15-contract-validation.norn:25": {
|
|
12
|
-
"schemaPath": "tests/Regression/schemas/GET-users-1.schema.json",
|
|
13
|
-
"sourceFile": "tests/Regression/15-contract-validation.norn",
|
|
14
|
-
"assertionLine": 25,
|
|
15
|
-
"status": "pass",
|
|
16
|
-
"lastRunTime": "2026-02-09T20:01:54.179Z"
|
|
17
|
-
},
|
|
18
|
-
"tests/Regression/15-contract-validation.norn:35": {
|
|
19
|
-
"schemaPath": "tests/Regression/schemas/GET-todos-1.schema.json",
|
|
20
|
-
"sourceFile": "tests/Regression/15-contract-validation.norn",
|
|
21
|
-
"assertionLine": 35,
|
|
22
|
-
"status": "pass",
|
|
23
|
-
"lastRunTime": "2026-02-08T20:17:12.506Z"
|
|
24
|
-
},
|
|
25
|
-
"tests/Regression/15-contract-validation.norn:39": {
|
|
26
|
-
"schemaPath": "tests/Regression/schemas/GET-todos-1.schema.json",
|
|
27
|
-
"sourceFile": "tests/Regression/15-contract-validation.norn",
|
|
28
|
-
"assertionLine": 39,
|
|
29
|
-
"status": "pass",
|
|
30
|
-
"lastRunTime": "2026-02-08T20:17:12.506Z"
|
|
31
|
-
},
|
|
32
|
-
"tests/Regression/04-sequences.norn:43": {
|
|
33
|
-
"schemaPath": "tests/Regression/schemas/GET-users-1.schema.json",
|
|
34
|
-
"sourceFile": "tests/Regression/04-sequences.norn",
|
|
35
|
-
"assertionLine": 43,
|
|
36
|
-
"status": "pass",
|
|
37
|
-
"lastRunTime": "2026-02-28T22:28:46.376Z"
|
|
38
|
-
},
|
|
39
|
-
"tests/Regression/04-sequences.norn:51": {
|
|
40
|
-
"schemaPath": "tests/Regression/schemas/GET-users-1.schema.json",
|
|
41
|
-
"sourceFile": "tests/Regression/04-sequences.norn",
|
|
42
|
-
"assertionLine": 51,
|
|
43
|
-
"status": "pass",
|
|
44
|
-
"lastRunTime": "2026-02-28T22:28:03.470Z"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|