guardian-framework 0.1.151 → 0.1.152
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
CHANGED
|
@@ -3206,7 +3206,7 @@ __export(exports_package, {
|
|
|
3206
3206
|
bin: () => bin,
|
|
3207
3207
|
author: () => author
|
|
3208
3208
|
});
|
|
3209
|
-
var name = "guardian-framework", version = "0.1.
|
|
3209
|
+
var name = "guardian-framework", version = "0.1.152", description = "Token-optimized agentic framework scaffolder with pi-first architecture", type = "module", main = "dist/exports.js", exports, types = "dist/exports.d.ts", bin, files, engines, scripts, publishConfig, pi, repository, homepage = "https://github.com/arman-jalili/guardian-framework#readme", bugs, dependencies, devDependencies, keywords, author = "Arman Wolkensteiner-Jalili", license = "MIT", package_default;
|
|
3210
3210
|
var init_package = __esm(() => {
|
|
3211
3211
|
exports = {
|
|
3212
3212
|
".": {
|
|
@@ -3400,10 +3400,13 @@ function renderTemplate(content, context) {
|
|
|
3400
3400
|
result = result.replaceAll(`[${alias}]`, value);
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
|
-
|
|
3404
|
-
const
|
|
3405
|
-
|
|
3406
|
-
|
|
3403
|
+
for (const key of Object.keys(context)) {
|
|
3404
|
+
const value = context[key];
|
|
3405
|
+
if (value === undefined)
|
|
3406
|
+
continue;
|
|
3407
|
+
const envStyle = key.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toUpperCase();
|
|
3408
|
+
result = result.replaceAll(`$${envStyle}`, String(value));
|
|
3409
|
+
}
|
|
3407
3410
|
return result;
|
|
3408
3411
|
}
|
|
3409
3412
|
function getDefaultContext(language, projectName, repoTool, buildTool, groupId) {
|
package/dist/exports.js
CHANGED
|
@@ -1991,7 +1991,7 @@ __export(exports_package, {
|
|
|
1991
1991
|
bin: () => bin,
|
|
1992
1992
|
author: () => author
|
|
1993
1993
|
});
|
|
1994
|
-
var name = "guardian-framework", version = "0.1.
|
|
1994
|
+
var name = "guardian-framework", version = "0.1.152", description = "Token-optimized agentic framework scaffolder with pi-first architecture", type = "module", main = "dist/exports.js", exports, types = "dist/exports.d.ts", bin, files, engines, scripts, publishConfig, pi, repository, homepage = "https://github.com/arman-jalili/guardian-framework#readme", bugs, dependencies, devDependencies, keywords, author = "Arman Wolkensteiner-Jalili", license = "MIT", package_default;
|
|
1995
1995
|
var init_package = __esm(() => {
|
|
1996
1996
|
exports = {
|
|
1997
1997
|
".": {
|
|
@@ -2185,10 +2185,13 @@ function renderTemplate(content, context) {
|
|
|
2185
2185
|
result = result.replaceAll(`[${alias}]`, value);
|
|
2186
2186
|
}
|
|
2187
2187
|
}
|
|
2188
|
-
|
|
2189
|
-
const
|
|
2190
|
-
|
|
2191
|
-
|
|
2188
|
+
for (const key of Object.keys(context)) {
|
|
2189
|
+
const value = context[key];
|
|
2190
|
+
if (value === undefined)
|
|
2191
|
+
continue;
|
|
2192
|
+
const envStyle = key.replace(/([a-z0-9])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toUpperCase();
|
|
2193
|
+
result = result.replaceAll(`$${envStyle}`, String(value));
|
|
2194
|
+
}
|
|
2192
2195
|
return result;
|
|
2193
2196
|
}
|
|
2194
2197
|
function getDefaultContext(language, projectName, repoTool, buildTool, groupId) {
|
package/package.json
CHANGED
|
@@ -154,8 +154,8 @@ if [ -z "$SELECTED" ]; then
|
|
|
154
154
|
fi
|
|
155
155
|
|
|
156
156
|
MODULES=()
|
|
157
|
-
while IFS= read -r
|
|
158
|
-
[ -n "$
|
|
157
|
+
while IFS= read -r modline; do
|
|
158
|
+
[ -n "$modline" ] && MODULES+=("$modline")
|
|
159
159
|
done <<<"$SELECTED"
|
|
160
160
|
|
|
161
161
|
echo "============================================"
|