diff --git a/README.md b/README.md index 0a08322..80f119d 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,23 @@ copy it; aindrive shows it only once. | Server URL | The drive's MCP server URL, for example `https://aindrive.ainetwork.ai/mcp/d/AbCdEf123456`. The drive's own page address, `…/d/AbCdEf123456`, works too, as does a self-hosted server. | | Access token | The `aind_pat_…` token, stored as a secret | +![The connection form](https://git.capsulizers.com/commons/memona-plugin-aindrive/raw/branch/main/images/connection-form.png) + Saving the connection checks the address and the token. It does not need the machine that shares the drive to be online, but its files only answer while that machine runs aindrive; until then they report the folder unavailable. +With a wrong token the connection shows as **Disconnected**: + +![A connected drive and one with a wrong token](https://git.capsulizers.com/commons/memona-plugin-aindrive/raw/branch/main/images/connections.png) + ## What works Browsing folders, and reading, saving and deleting files. A token generated as **Read only** opens the drive read-only. +![A drive's PAGE.md opened in Memona](https://git.capsulizers.com/commons/memona-plugin-aindrive/raw/branch/main/images/drive-page.png) + aindrive reads a file whole, at most 8 MiB at a time, so a larger file is refused as unsupported rather than cut short. A read is checked against the size the drive reported a moment before, so a file that changes in between is @@ -41,6 +49,8 @@ writes under one lock, so a file someone changed since is reported as a conflict instead of being overwritten. A save into a folder that does not exist yet creates that folder, as aindrive does. +![A file changed on the drive's machine while it was open in Memona](https://git.capsulizers.com/commons/memona-plugin-aindrive/raw/branch/main/images/changed-elsewhere.png) + Deleting takes one file. A folder is refused: aindrive deletes a folder with everything in it, and leaves some entries, such as `.git`, out of every listing, so a folder cannot be shown to be empty first. diff --git a/images/changed-elsewhere.png b/images/changed-elsewhere.png new file mode 100644 index 0000000..6bb3235 Binary files /dev/null and b/images/changed-elsewhere.png differ diff --git a/images/connection-form.png b/images/connection-form.png new file mode 100644 index 0000000..e3b1ba9 Binary files /dev/null and b/images/connection-form.png differ diff --git a/images/connections.png b/images/connections.png new file mode 100644 index 0000000..39fb61a Binary files /dev/null and b/images/connections.png differ diff --git a/images/drive-page.png b/images/drive-page.png new file mode 100644 index 0000000..ccff9b2 Binary files /dev/null and b/images/drive-page.png differ