@jini-ai/plugins 0.6.16 → 0.6.19

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @jini-ai/plugins
2
2
 
3
+ ## 0.6.19
4
+
5
+ - Redact failed widget diagnostics in the universal host without Node-only imports.
6
+
7
+ ## 0.6.17
8
+
9
+ ### Patch Changes
10
+
11
+ - Version bump only.
12
+
3
13
  ## 0.6.15
4
14
 
5
15
  ### Minor Changes
@@ -1,3 +1,4 @@
1
+ import { formatErrorForLog } from '@jini-ai/core';
1
2
  /** Executable contribution admission on the existing plugin loader, never a second loader.
2
3
  * Captures stay private until setup succeeds. A sealed generation cannot register from a timer.
3
4
  * Tier-3 currently runs with full in-process authority; a hardened worker at this boundary is
@@ -184,7 +185,7 @@ export async function renderPluginWidgetFragments(required, optional = {}) {
184
185
  fragments[widget.name] = required.validateHtml({ html });
185
186
  }
186
187
  catch (error) {
187
- (optional.onError ?? ((failure) => console.warn(`[plugins] Plugin '${failure.pluginId}' widget '${failure.widgetName}' failed`, failure.error)))({ pluginId: snapshot.pluginId, widgetName: widget.name, error }, {});
188
+ (optional.onError ?? (({ pluginId, widgetName, error: failureError }) => console.warn(`[plugins] Plugin '${pluginId}' widget '${widgetName}' failed`, formatErrorForLog({ error: failureError }))))({ pluginId: snapshot.pluginId, widgetName: widget.name, error }, {});
188
189
  fragments[widget.name] = '';
189
190
  }
190
191
  finally {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/plugins",
3
- "version": "0.6.16",
3
+ "version": "0.6.19",
4
4
  "description": "Host-independent extension glue and site-plugin runtime with injected SDK, trust, archive and storage ports.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "registry": "https://registry.npmjs.org"
79
79
  },
80
80
  "dependencies": {
81
- "@jini-ai/core": "^0.6.16"
81
+ "@jini-ai/core": "^0.6.19"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "@jini-ai/platform": "^0.6.10",
@@ -90,9 +90,9 @@
90
90
  "semver": "^7.6.2",
91
91
  "@types/semver": "^7.5.8",
92
92
  "kysely": "^0.29.6",
93
- "@jini-ai/platform": "^0.6.16",
94
- "@jini-ai/core": "^0.6.16",
95
- "@jini-ai/db": "0.6.16"
93
+ "@jini-ai/platform": "^0.6.19",
94
+ "@jini-ai/db": "0.6.19",
95
+ "@jini-ai/core": "^0.6.19"
96
96
  },
97
97
  "peerDependenciesMeta": {
98
98
  "@jini-ai/platform": {