@cratis/pi 2.0.5 → 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",
|