guardian-framework 0.1.114 → 0.1.116

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
@@ -3202,7 +3202,7 @@ __export(exports_package, {
3202
3202
  bin: () => bin,
3203
3203
  author: () => author
3204
3204
  });
3205
- var name = "guardian-framework", version = "0.1.114", 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;
3205
+ var name = "guardian-framework", version = "0.1.116", 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;
3206
3206
  var init_package = __esm(() => {
3207
3207
  exports = {
3208
3208
  ".": {
package/dist/exports.js CHANGED
@@ -1987,7 +1987,7 @@ __export(exports_package, {
1987
1987
  bin: () => bin,
1988
1988
  author: () => author
1989
1989
  });
1990
- var name = "guardian-framework", version = "0.1.114", 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;
1990
+ var name = "guardian-framework", version = "0.1.116", 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;
1991
1991
  var init_package = __esm(() => {
1992
1992
  exports = {
1993
1993
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "guardian-framework",
3
- "version": "0.1.114",
3
+ "version": "0.1.116",
4
4
  "description": "Token-optimized agentic framework scaffolder with pi-first architecture",
5
5
  "type": "module",
6
6
  "main": "dist/exports.js",
@@ -104,7 +104,7 @@ type ExtensionAPI = {
104
104
  toolCallId: string,
105
105
  params: Record<string, unknown>,
106
106
  signal: AbortSignal,
107
- onUpdate: (update: { type: string; message: string }) => void,
107
+ onUpdate: (update: { type?: string; message?: string; content?: unknown }) => void,
108
108
  ctx: ExtensionContext,
109
109
  ): unknown | Promise<unknown>;
110
110
  }): void;
@@ -526,7 +526,7 @@ export default function (pi: ExtensionAPI) {
526
526
  }
527
527
  }
528
528
 
529
- onUpdate({ type: "update", message: "Domain exploration saved for session: " + sessionId });
529
+ onUpdate?.({ content: [{ type: "text", text: "Domain exploration saved for session: " + sessionId }] });
530
530
  return { content: [{ type: "text" as const, text: "Domain exploration saved for " + sessionId + ". Next: /domain --architect-scaffold " + sessionId + " or review .pi/domain/exploration.md" }] };
531
531
  },
532
532
  });
@@ -846,6 +846,9 @@ export default function (pi: ExtensionAPI) {
846
846
  "- If a message of yours is cut off mid-JSON, continue from exactly where you stopped in the",
847
847
  " NEXT message (never restart the whole model).",
848
848
  "- Never emit the full model in one response and never exceed ~1,500 tokens of JSON per message.",
849
+ "- HARD RULE: never narrate or reason in chat. No prose analysis, no relationship",
850
+ " deliberation, no summaries — those burn your output budget and truncate the JSON.",
851
+ " Emit ONLY the small JSON step for the current phase and stop.",
849
852
  "- After the last context, run /domain --validate " + sessionId + " and report the checks.",
850
853
  ].join("\n");
851
854
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-09-04T18:20:52Z",
2
+ "timestamp": "2026-09-04T18:49:55Z",
3
3
  "mode": "all",
4
4
  "stages_run": [],
5
5
  "summary": {
@@ -8,7 +8,7 @@
8
8
  "failed": 1,
9
9
  "skipped": 12
10
10
  },
11
- "duration_seconds": 1,
11
+ "duration_seconds": 0,
12
12
  "results": [
13
13
  {
14
14
  "name": "check_mr_traceability.sh",