3c2cd123b7
The plugin reaches a drive through aindrive's remote MCP endpoint with the drive's access token. Opening a connection asks which tools the token may call, so it works while the drive's machine sleeps. Listing, stat and reading map to list_files, stat and read_file; a read is statted first, and a file whose length changed in between is refused as a conflict. Reads decode only the window asked for, straight from the reply pieces, so any 1 MiB slice of a file up to aindrive's 8 MiB limit fits Memona's per-call fuel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
892 B
JSON
35 lines
892 B
JSON
{
|
|
"schemaVersion": 2,
|
|
"id": "memona/aindrive",
|
|
"name": "aindrive",
|
|
"version": "0.1.0",
|
|
"apiVersion": "0.1.0",
|
|
"description": "Open an aindrive drive as a folder, and let agents work in it.",
|
|
"license": "MIT",
|
|
"entry": "plugin.wasm",
|
|
"networkPorts": [],
|
|
"providers": [
|
|
{
|
|
"id": "aindrive",
|
|
"name": "aindrive",
|
|
"schemes": ["aindrive"],
|
|
"configFields": [
|
|
{
|
|
"key": "url",
|
|
"label": "Server URL",
|
|
"description": "From the drive's MCP panel in aindrive, for example https://aindrive.ainetwork.ai/mcp/d/AbCdEf123456",
|
|
"kind": "text",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "token",
|
|
"label": "Access token",
|
|
"description": "Generated under Access token in the same panel",
|
|
"kind": "password",
|
|
"required": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|