@voltius/plugin-types 0.42.0 → 0.43.0

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/index.d.ts +5 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -316,6 +316,8 @@ export interface PluginTransfer {
316
316
  speed?: number;
317
317
  eta?: number;
318
318
  error?: string;
319
+ /** Remote paths left out because the local OS can't hold the name. */
320
+ skipped?: string[];
319
321
  /** Name of the MCP client that started it; absent for the user's own. */
320
322
  owner?: string;
321
323
  }
@@ -1463,9 +1465,10 @@ export interface PluginAPI {
1463
1465
  /**
1464
1466
  * CRDT-merge one or more remote encrypted blobs into local state, then
1465
1467
  * reload all entity stores. blobs: base64-encoded (same format as exportState).
1466
- * Requires sync:write.
1468
+ * Unreadable blobs are skipped and their indices returned; rejects if none
1469
+ * could be read. Requires sync:write.
1467
1470
  */
1468
- importStates(encKey: string, blobs: string[]): Promise<void>;
1471
+ importStates(encKey: string, blobs: string[]): Promise<{ unreadable: number[] }>;
1469
1472
  };
1470
1473
 
1471
1474
  // Inter-plugin communication (always available), plus plugin inventory and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltius/plugin-types",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "TypeScript definitions for the Voltius plugin API",
5
5
  "types": "index.d.ts",
6
6
  "files": [