@bloklabs/mcp 2.0.0 → 2.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bloklabs/mcp",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "MCP server for Blok — lets outside agents read and edit Blok documents, in live rooms or stored.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JackUait",
package/types/index.d.ts CHANGED
@@ -86,7 +86,11 @@ export interface McpUploadContext {
86
86
  tool?: string;
87
87
  }
88
88
 
89
- /** The host's own uploader, which an agent's upload goes through. */
89
+ /**
90
+ * The host's own uploader, which an agent's upload goes through. When it throws, the agent sees
91
+ * TOOL_ACTION_FAILED "The upload failed." and the error goes to stderr. A string `agentMessage`
92
+ * on the thrown error is shown to the agent instead.
93
+ */
90
94
  export interface McpUploads {
91
95
  uploader: {
92
96
  /** A file card keeps `size` and `mimeType` when the host returns them. */