@punica/editor 1.22.5 → 1.22.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punica/editor",
3
- "version": "1.22.5",
3
+ "version": "1.22.7",
4
4
  "description": "Punica Editor",
5
5
  "private": false,
6
6
  "type": "module",
@@ -25,6 +25,7 @@
25
25
  "check:copy": "node scripts/check-marketplace-copy.mjs",
26
26
  "check:permissions": "node scripts/check-permissions.mjs",
27
27
  "check:empty-states": "node scripts/check-empty-states.mjs",
28
+ "check:capability-handlers": "node scripts/check-capability-handlers.mjs",
28
29
  "test": "vitest run",
29
30
  "test:watch": "vitest",
30
31
  "test:ui": "vitest --ui",
@@ -332,6 +332,12 @@ declare module 'punica' {
332
332
  finalText?: string;
333
333
  /** Aggregated token/cost/latency roll-up for the run. */
334
334
  usage?: AgentRunUsage;
335
+ /**
336
+ * Why the run failed, when `finishReason === 'error'` — the provider's
337
+ * own message, verbatim. Carried so a failed turn states its cause
338
+ * instead of only reaching the developer console.
339
+ */
340
+ error?: string;
335
341
  }
336
342
 
337
343
  /**