@cratis/pi 2.0.4 → 2.0.6

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.
@@ -186,6 +186,7 @@ export default function (pi: ExtensionAPI) {
186
186
 
187
187
  // ── Stop → quality gate (re-runs the gates the change touched; keeps the model going on failure) ──
188
188
  pi.on("agent_settled", async (_event, ctx) => {
189
+ if (ctx.mode === "print" || ctx.mode === "json") return;
189
190
  if (!isInstalled(qualityGate)) return;
190
191
  const payload = JSON.stringify({
191
192
  session_id: ctx.sessionManager.getSessionId?.() ?? "nosession",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratis/pi",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Configuration-aware Cratis AI integration for Pi",
5
5
  "type": "module",
6
6
  "files": [