guardian-framework 0.1.44 → 0.1.46
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
|
@@ -1335,7 +1335,7 @@ __export(exports_package, {
|
|
|
1335
1335
|
bin: () => bin,
|
|
1336
1336
|
author: () => author
|
|
1337
1337
|
});
|
|
1338
|
-
var name = "guardian-framework", version = "0.1.
|
|
1338
|
+
var name = "guardian-framework", version = "0.1.46", 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;
|
|
1339
1339
|
var init_package = __esm(() => {
|
|
1340
1340
|
exports = {
|
|
1341
1341
|
".": {
|
package/dist/exports.js
CHANGED
|
@@ -995,7 +995,7 @@ __export(exports_package, {
|
|
|
995
995
|
bin: () => bin,
|
|
996
996
|
author: () => author
|
|
997
997
|
});
|
|
998
|
-
var name = "guardian-framework", version = "0.1.
|
|
998
|
+
var name = "guardian-framework", version = "0.1.46", 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;
|
|
999
999
|
var init_package = __esm(() => {
|
|
1000
1000
|
exports = {
|
|
1001
1001
|
".": {
|
package/package.json
CHANGED
|
@@ -1121,7 +1121,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
1121
1121
|
" Enrich module stubs with full DDD architecture content",
|
|
1122
1122
|
"",
|
|
1123
1123
|
" /domain --validate <session-id>",
|
|
1124
|
-
" Validate exploration session structure"
|
|
1124
|
+
" Validate exploration session structure"
|
|
1125
1125
|
].join("\n");
|
|
1126
1126
|
},
|
|
1127
1127
|
});
|
|
@@ -1018,12 +1018,27 @@ export default function (pi: ExtensionAPI) {
|
|
|
1018
1018
|
issueContent || "Issue content not available.",
|
|
1019
1019
|
].join("\n");
|
|
1020
1020
|
|
|
1021
|
-
|
|
1021
|
+
// Send as followUp with triggerTurn so agent auto-continues
|
|
1022
|
+
pi.sendMessage(
|
|
1023
|
+
{ content: instructions, display: true },
|
|
1024
|
+
{ deliverAs: "followUp", triggerTurn: true },
|
|
1025
|
+
);
|
|
1026
|
+
return { content: [{ type: "text" as const, text: "Moving to next item — agent notified." }] };
|
|
1022
1027
|
}
|
|
1023
1028
|
|
|
1024
|
-
// Same item, next step —
|
|
1029
|
+
// Same item, next step — send followUp to keep agent moving
|
|
1025
1030
|
const nextInfo = getNextStepInfo(updatedState);
|
|
1026
|
-
|
|
1031
|
+
const stepPrompt = [
|
|
1032
|
+
nextInfo,
|
|
1033
|
+
"",
|
|
1034
|
+
"Call `pipeline_next_task` to get full context and continue.",
|
|
1035
|
+
"Do not ask for confirmation — just proceed with the next step.",
|
|
1036
|
+
].join("\n");
|
|
1037
|
+
pi.sendMessage(
|
|
1038
|
+
{ content: stepPrompt, display: true },
|
|
1039
|
+
{ deliverAs: "followUp", triggerTurn: true },
|
|
1040
|
+
);
|
|
1041
|
+
return { content: [{ type: "text" as const, text: "Step advanced — agent notified." }] };
|
|
1027
1042
|
},
|
|
1028
1043
|
});
|
|
1029
1044
|
|