norn-cli 4.5.0 → 4.5.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/dist/cli.js +3 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -184895,7 +184895,8 @@ function getMcpOriginPath(origin2) {
|
|
|
184895
184895
|
return origin2.kind === "sidecar" ? origin2.sourcePath : origin2.filePath;
|
|
184896
184896
|
}
|
|
184897
184897
|
function resolveTemplate(template, declaration, directive, envVariables) {
|
|
184898
|
-
const
|
|
184898
|
+
const environment = envVariables ?? {};
|
|
184899
|
+
const scoped = attachEnvironmentScope({ ...environment }, environment);
|
|
184899
184900
|
const resolved = substituteVariables(template, scoped).replace(/\{\{\$env\.([a-zA-Z_][a-zA-Z0-9_]*)\}\}/g, (match2, name) => {
|
|
184900
184901
|
const value = process.env[name];
|
|
184901
184902
|
return value !== void 0 && value.trim() !== "" ? value : match2;
|
|
@@ -214474,7 +214475,7 @@ async function main() {
|
|
|
214474
214475
|
}
|
|
214475
214476
|
const args = rawArgs[0] === "run" ? rawArgs.slice(1) : rawArgs;
|
|
214476
214477
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V")) {
|
|
214477
|
-
console.log(`Norn CLI ${"4.5.
|
|
214478
|
+
console.log(`Norn CLI ${"4.5.1"}`);
|
|
214478
214479
|
return;
|
|
214479
214480
|
}
|
|
214480
214481
|
if (args.length === 0) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "norn-cli",
|
|
3
3
|
"displayName": "Norn",
|
|
4
4
|
"description": "Build version-controlled agentic flows in VS Code and run them from the CLI or CI.",
|
|
5
|
-
"version": "4.5.
|
|
5
|
+
"version": "4.5.1",
|
|
6
6
|
"publisher": "Norn-PeterKrustanov",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Peter Krastanov"
|