@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/README.md +24 -2
- package/dist/mcp.mjs +2467 -2221
- package/package.json +1 -1
- package/types/index.d.ts +5 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -86,7 +86,11 @@ export interface McpUploadContext {
|
|
|
86
86
|
tool?: string;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/**
|
|
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. */
|