shariq-pi-extensions 0.2.32 → 0.2.33

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.
@@ -292,7 +292,8 @@ const REQUIRED_SECTION_PATTERNS = [
292
292
 
293
293
  export function validateSummaryOutput(response: AssistantMessage): string {
294
294
  if (response.stopReason !== "stop") {
295
- throw new Error(`Compaction model did not complete successfully (stopReason="${response.stopReason}").`);
295
+ const errorDetails = response.errorMessage ? `: ${response.errorMessage}` : "";
296
+ throw new Error(`Compaction model did not complete successfully (stopReason="${response.stopReason}"${errorDetails}).`);
296
297
  }
297
298
 
298
299
  // Reject accidental tool calls
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shariq-pi-extensions",
3
- "version": "0.2.32",
3
+ "version": "0.2.33",
4
4
  "description": "Cross-platform extension suite for the Pi coding agent.",
5
5
  "license": "MIT",
6
6
  "author": "Shariq Riaz",