@xpert-ai/contracts 3.15.6 → 3.15.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/plugin.d.ts +25 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpert-ai/contracts",
3
- "version": "3.15.6",
3
+ "version": "3.15.7",
4
4
  "license": "AGPL-3.0",
5
5
  "repository": {
6
6
  "type": "git",
package/src/plugin.d.ts CHANGED
@@ -131,6 +131,11 @@ export interface XpertPluginMcpServerPolicy {
131
131
  export interface XpertPluginBundleManifest {
132
132
  name: string;
133
133
  version?: string;
134
+ /**
135
+ * Stable namespace claimed by bundle artifacts before install.
136
+ * Marketplace indexing uses this value to display and review artifact ownership.
137
+ */
138
+ artifactNamespace?: string;
134
139
  description?: string;
135
140
  author?: string;
136
141
  homepage?: string;
@@ -257,6 +262,11 @@ export interface PluginSourceConfig extends PluginCodeSourceConfig {
257
262
  export interface PluginMeta {
258
263
  name: PluginName;
259
264
  version: string;
265
+ /**
266
+ * Stable namespace used for plugin-owned artifacts such as database tables.
267
+ * Table artifacts must use names like `plugin_<artifactNamespace>_<tableKey>`.
268
+ */
269
+ artifactNamespace?: string;
260
270
  /**
261
271
  * Declares the plugin's operational level used for visibility and install/uninstall guardrails.
262
272
  */
@@ -319,6 +329,11 @@ export interface PluginMarketplaceRegistryItem {
319
329
  id: string;
320
330
  packageName: string;
321
331
  version?: string | null;
332
+ /**
333
+ * Optional artifact namespace declared by the registry for plugins that are not installed yet.
334
+ * When omitted, marketplace views may derive a default from the package name.
335
+ */
336
+ artifactNamespace?: string | null;
322
337
  displayName: string;
323
338
  description: string;
324
339
  category: string;
@@ -343,6 +358,11 @@ export type PluginMarketplaceRegistryItemResponse = PluginMarketplaceRegistryIte
343
358
  export interface PluginMarketplaceRegistryItemInput {
344
359
  packageName?: string;
345
360
  version?: string | null;
361
+ /**
362
+ * Explicit artifact namespace used during manual marketplace registration or review.
363
+ * Keep it aligned with the plugin manifest/meta when the plugin declares one.
364
+ */
365
+ artifactNamespace?: string | null;
346
366
  displayName?: string;
347
367
  description?: string;
348
368
  category?: string;
@@ -388,6 +408,11 @@ export interface PluginMarketplaceItem {
388
408
  displayName?: I18nObject | string;
389
409
  description?: I18nObject | string;
390
410
  version?: string | null;
411
+ /**
412
+ * Namespace shown to users/reviewers for plugin-owned artifacts such as tables.
413
+ * This may come from registry data, bundle manifest, runtime meta, or package-name derivation.
414
+ */
415
+ artifactNamespace?: string | null;
391
416
  level?: PluginLevel;
392
417
  deprecated?: boolean;
393
418
  deprecationMessage?: I18nObject | string | null;