norn-cli 2.4.0 → 2.5.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/AGENTS.md +2 -2
- package/CHANGELOG.md +24 -1
- package/dist/cli.js +217 -77
- package/package.json +13 -4
- package/.claude/settings.local.json +0 -18
- package/.claude/skills/norn-social-campaign/SKILL.md +0 -70
- package/out/apiResponseIntellisenseCache.js +0 -394
- package/out/assertionRunner.js +0 -567
- package/out/cacheDir.js +0 -136
- package/out/chatParticipant.js +0 -763
- package/out/cli/colors.js +0 -127
- package/out/cli/formatters/assertion.js +0 -102
- package/out/cli/formatters/index.js +0 -23
- package/out/cli/formatters/response.js +0 -106
- package/out/cli/formatters/summary.js +0 -246
- package/out/cli/redaction.js +0 -237
- package/out/cli/reporters/html.js +0 -689
- package/out/cli/reporters/index.js +0 -22
- package/out/cli/reporters/junit.js +0 -226
- package/out/codeLensProvider.js +0 -351
- package/out/compareContentProvider.js +0 -85
- package/out/completionProvider.js +0 -3739
- package/out/contractAssertionSummary.js +0 -225
- package/out/contractDecorationProvider.js +0 -243
- package/out/coverageCalculator.js +0 -879
- package/out/coveragePanel.js +0 -597
- package/out/debug/breakpointResolver.js +0 -84
- package/out/debug/breakpoints.js +0 -52
- package/out/debug/nornDebugAdapter.js +0 -166
- package/out/debug/nornDebugSession.js +0 -613
- package/out/debug/sequenceLocationIndex.js +0 -77
- package/out/debug/types.js +0 -3
- package/out/deepClone.js +0 -21
- package/out/diagnosticProvider.js +0 -2554
- package/out/environmentParser.js +0 -736
- package/out/environmentProvider.js +0 -544
- package/out/environmentTemplates.js +0 -146
- package/out/errors/formatError.js +0 -113
- package/out/errors/nornError.js +0 -29
- package/out/formUrlEncoded.js +0 -89
- package/out/httpClient.js +0 -348
- package/out/httpRuntimeOptions.js +0 -16
- package/out/importErrors.js +0 -31
- package/out/inlayHintResolver.js +0 -70
- package/out/jsonFileReader.js +0 -323
- package/out/mcpClient.js +0 -193
- package/out/mcpConfig.js +0 -184
- package/out/mcpToolIntellisenseCache.js +0 -96
- package/out/mcpToolSchema.js +0 -50
- package/out/nornConfig.js +0 -132
- package/out/nornHoverProvider.js +0 -124
- package/out/nornInlayHintsProvider.js +0 -191
- package/out/nornPrompt.js +0 -755
- package/out/nornSqlParser.js +0 -286
- package/out/nornapiHoverProvider.js +0 -135
- package/out/nornapiInlayHintsProvider.js +0 -94
- package/out/nornapiParser.js +0 -324
- package/out/nornenvCodeActionProvider.js +0 -101
- package/out/nornenvDecorationProvider.js +0 -239
- package/out/nornenvFoldingProvider.js +0 -63
- package/out/nornenvHoverProvider.js +0 -114
- package/out/nornenvInlayHintsProvider.js +0 -99
- package/out/nornenvLanguageModel.js +0 -187
- package/out/nornenvRegionRefactor.js +0 -267
- package/out/nornsqlHoverProvider.js +0 -95
- package/out/nornsqlInlayHintsProvider.js +0 -114
- package/out/parser.js +0 -839
- package/out/pathAccess.js +0 -28
- package/out/postmanImportPanel.js +0 -732
- package/out/postmanImportPlanner.js +0 -1155
- package/out/postmanImportSidebarView.js +0 -532
- package/out/quotedString.js +0 -35
- package/out/requestPreparation.js +0 -179
- package/out/requestValidation.js +0 -146
- package/out/responsePanel.js +0 -7754
- package/out/schemaGenerator.js +0 -562
- package/out/scriptRunner.js +0 -419
- package/out/secrets/cliSecrets.js +0 -415
- package/out/secrets/crypto.js +0 -105
- package/out/secrets/envFileSecrets.js +0 -177
- package/out/secrets/keyStore.js +0 -259
- package/out/sequenceDeclaration.js +0 -15
- package/out/sequenceRunner.js +0 -3590
- package/out/sqlAdapterRunner.js +0 -122
- package/out/sqlBuiltInAdapters.js +0 -604
- package/out/sqlConfig.js +0 -184
- package/out/starterCatalog.js +0 -554
- package/out/stringUtils.js +0 -25
- package/out/swaggerBodyIntellisenseCache.js +0 -114
- package/out/swaggerParser.js +0 -464
- package/out/testProvider.js +0 -767
- package/out/theoryCaseLoader.js +0 -113
- package/out/validationCache.js +0 -211
package/out/pathAccess.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPathSegments = getPathSegments;
|
|
4
|
-
exports.getPathPartValue = getPathPartValue;
|
|
5
|
-
exports.getNestedPathValue = getNestedPathValue;
|
|
6
|
-
function getPathSegments(path) {
|
|
7
|
-
return path.replace(/\[(\d+)\]/g, '.$1').split('.').filter(part => part !== '');
|
|
8
|
-
}
|
|
9
|
-
function getPathPartValue(current, part) {
|
|
10
|
-
if (Array.isArray(current) && part === 'count') {
|
|
11
|
-
return current.length;
|
|
12
|
-
}
|
|
13
|
-
return current[part];
|
|
14
|
-
}
|
|
15
|
-
function getNestedPathValue(obj, path) {
|
|
16
|
-
if (!path || obj === null || obj === undefined) {
|
|
17
|
-
return obj;
|
|
18
|
-
}
|
|
19
|
-
let current = obj;
|
|
20
|
-
for (const part of getPathSegments(path)) {
|
|
21
|
-
if (current === null || current === undefined) {
|
|
22
|
-
return undefined;
|
|
23
|
-
}
|
|
24
|
-
current = getPathPartValue(current, part);
|
|
25
|
-
}
|
|
26
|
-
return current;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=pathAccess.js.map
|