norn-cli 3.1.0 → 3.3.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/CLAUDE.md +1 -0
- package/NOW.md +92 -76
- package/demos/knowledge-editor/README.md +74 -0
- package/demos/knowledge-editor/agents.nornagent +16 -0
- package/demos/knowledge-editor/api.nornapi +10 -0
- package/demos/knowledge-editor/handbook/ops/flow.svg +1 -0
- package/demos/knowledge-editor/handbook/ops/retired.md +9 -0
- package/demos/knowledge-editor/handbook/ops/runbook.md +14 -0
- package/demos/knowledge-editor/handbook/payments/charges.md +25 -0
- package/demos/knowledge-editor/handbook/payments/pricing-tiers.draft.md +7 -0
- package/demos/knowledge-editor/handbook/payments/refunds/policy.md +12 -0
- package/demos/knowledge-editor/support.norn +10 -0
- package/dist/cli.js +4599 -1258
- package/dist/knowledgeIndexWorker.js +10966 -0
- package/package.json +18 -5
- package/playground/ai_orchastration.nornagent +6 -1
- package/playground/knowedge_base/ACDC/testing_notes_new_clients.md +11 -0
- package/schemas/norn.config.schema.json +66 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "norn-cli",
|
|
3
3
|
"displayName": "Norn",
|
|
4
4
|
"description": "Version-controlled API and database tests. Author in VS Code, then run the same files from the CLI and CI.",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.3.0",
|
|
6
6
|
"publisher": "Norn-PeterKrustanov",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Peter Krastanov"
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"test automation"
|
|
33
33
|
],
|
|
34
34
|
"engines": {
|
|
35
|
-
"vscode": "^1.
|
|
36
|
-
"node": ">=
|
|
35
|
+
"vscode": "^1.133.0",
|
|
36
|
+
"node": ">=24.0.0"
|
|
37
37
|
},
|
|
38
38
|
"categories": [
|
|
39
39
|
"Testing",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"onLanguage:nornenv",
|
|
48
48
|
"onLanguage:nornk8s",
|
|
49
49
|
"onLanguage:nornagent",
|
|
50
|
+
"workspaceContains:**/*.nornagent",
|
|
50
51
|
"workspaceContains:**/norn.config.json",
|
|
51
52
|
"onChatParticipant:norn.chat",
|
|
52
53
|
"onView:norn.sidebarHome",
|
|
@@ -91,6 +92,11 @@
|
|
|
91
92
|
"title": "Show Agent Graph",
|
|
92
93
|
"category": "Norn"
|
|
93
94
|
},
|
|
95
|
+
{
|
|
96
|
+
"command": "norn.knowledge.toggleMarkup",
|
|
97
|
+
"title": "Knowledge: Toggle Markup",
|
|
98
|
+
"category": "Norn"
|
|
99
|
+
},
|
|
94
100
|
{
|
|
95
101
|
"command": "norn.clearCookies",
|
|
96
102
|
"title": "Clear Cookies",
|
|
@@ -389,6 +395,13 @@
|
|
|
389
395
|
"language": "nornagent",
|
|
390
396
|
"scopeName": "source.nornagent",
|
|
391
397
|
"path": "./syntaxes/nornagent.tmLanguage.json"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"scopeName": "markdown.norn.injection",
|
|
401
|
+
"path": "./syntaxes/norn-markdown.tmLanguage.json",
|
|
402
|
+
"injectTo": [
|
|
403
|
+
"text.html.markdown"
|
|
404
|
+
]
|
|
392
405
|
}
|
|
393
406
|
],
|
|
394
407
|
"semanticTokenScopes": [
|
|
@@ -623,10 +636,10 @@
|
|
|
623
636
|
"devDependencies": {
|
|
624
637
|
"@types/mocha": "^10.0.10",
|
|
625
638
|
"@types/mssql": "^9.1.9",
|
|
626
|
-
"@types/node": "
|
|
639
|
+
"@types/node": "24.x",
|
|
627
640
|
"@types/pg": "^8.18.0",
|
|
628
641
|
"@types/tough-cookie": "^4.0.5",
|
|
629
|
-
"@types/vscode": "^1.
|
|
642
|
+
"@types/vscode": "^1.125.0",
|
|
630
643
|
"@vscode/test-cli": "^0.0.15",
|
|
631
644
|
"@vscode/test-electron": "^3.1.0",
|
|
632
645
|
"@xterm/addon-fit": "^0.11.0",
|
|
@@ -12,12 +12,17 @@ end mcp
|
|
|
12
12
|
mcp Time
|
|
13
13
|
transport http
|
|
14
14
|
url http://localhost:8811/mcp
|
|
15
|
-
header Authorization: Bearer {{
|
|
15
|
+
header Authorization: Bearer {{OPENAI_API}}
|
|
16
16
|
end mcp
|
|
17
17
|
|
|
18
|
+
knowledge ACDC_Knowedge
|
|
19
|
+
source ./knowedge_base/ACDC
|
|
20
|
+
end knowledge
|
|
21
|
+
|
|
18
22
|
agent Nexus
|
|
19
23
|
model gpt4o
|
|
20
24
|
system file "./knowedge_base/nexus_system_prompt.md"
|
|
25
|
+
knowledge ACDC_Knowedge
|
|
21
26
|
mcp Playwright
|
|
22
27
|
end agent
|
|
23
28
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# New Clients Testing Notes
|
|
2
|
+
|
|
3
|
+
General informaftion on how to do testing in ACDC
|
|
4
|
+
|
|
5
|
+
## Guidelines and testing happy path
|
|
6
|
+
You can test by opening the portal and trying to onboard a customer
|
|
7
|
+
|
|
8
|
+
## How to test with new customer
|
|
9
|
+
1. Open the portal
|
|
10
|
+
2. navigate to the sign up button
|
|
11
|
+
3. Click the button and fill out the page
|
|
@@ -230,6 +230,25 @@
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
]
|
|
233
|
+
},
|
|
234
|
+
"knowledge": {
|
|
235
|
+
"allOf": [
|
|
236
|
+
{
|
|
237
|
+
"$ref": "#/definitions/knowledgeSection"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"defaultSnippets": [
|
|
241
|
+
{
|
|
242
|
+
"label": "Knowledge settings",
|
|
243
|
+
"description": "Configure topic-producing extensions and the markdown heading boundary.",
|
|
244
|
+
"body": {
|
|
245
|
+
"extensions": [
|
|
246
|
+
".md"
|
|
247
|
+
],
|
|
248
|
+
"headingDepth": 2
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
233
252
|
}
|
|
234
253
|
},
|
|
235
254
|
"definitions": {
|
|
@@ -246,6 +265,53 @@
|
|
|
246
265
|
}
|
|
247
266
|
]
|
|
248
267
|
},
|
|
268
|
+
"knowledgeSection": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"description": "Knowledge membership and markdown topic-boundary settings.",
|
|
272
|
+
"properties": {
|
|
273
|
+
"_comment": {
|
|
274
|
+
"$ref": "#/definitions/comment",
|
|
275
|
+
"description": "Optional human-readable guidance ignored by Norn at runtime."
|
|
276
|
+
},
|
|
277
|
+
"extensions": {
|
|
278
|
+
"type": "array",
|
|
279
|
+
"minItems": 1,
|
|
280
|
+
"uniqueItems": true,
|
|
281
|
+
"default": [
|
|
282
|
+
".md"
|
|
283
|
+
],
|
|
284
|
+
"items": {
|
|
285
|
+
"type": "string",
|
|
286
|
+
"pattern": "^\\.[A-Za-z0-9]+$"
|
|
287
|
+
},
|
|
288
|
+
"description": "Extensions that produce topics. Other files in a declared source remain members with zero topics."
|
|
289
|
+
},
|
|
290
|
+
"headingDepth": {
|
|
291
|
+
"type": "integer",
|
|
292
|
+
"minimum": 1,
|
|
293
|
+
"maximum": 6,
|
|
294
|
+
"default": 2,
|
|
295
|
+
"description": "Markdown heading depth used to split topics. The default 2 means ## only."
|
|
296
|
+
},
|
|
297
|
+
"domainInlineTokenLimit": {
|
|
298
|
+
"type": "integer", "minimum": 1, "default": 15000,
|
|
299
|
+
"description": "Maximum estimated authored tokens for one domain to be embedded whole."
|
|
300
|
+
},
|
|
301
|
+
"initialTokenLimit": {
|
|
302
|
+
"type": "integer", "minimum": 1, "default": 30000,
|
|
303
|
+
"description": "Maximum estimated manifest plus initially embedded knowledge per invocation."
|
|
304
|
+
},
|
|
305
|
+
"maxInitialDomains": {
|
|
306
|
+
"type": "integer", "minimum": 1, "default": 4,
|
|
307
|
+
"description": "Maximum domains selected by exact entity routing."
|
|
308
|
+
},
|
|
309
|
+
"toolTokenLimit": {
|
|
310
|
+
"type": "integer", "minimum": 1, "default": 30000,
|
|
311
|
+
"description": "Cumulative estimated knowledge returned by load_knowledge per invocation."
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
249
315
|
"httpSection": {
|
|
250
316
|
"type": "object",
|
|
251
317
|
"additionalProperties": false,
|