Compare commits
3 Commits
2c533887ea
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 79cc9f26c9 | |||
| b7c251314a | |||
| a76a8fa680 |
@@ -21,15 +21,27 @@ 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. |
|
| 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 |
|
| Access token | The `aind_pat_…` token, stored as a secret |
|
||||||
|
|
||||||
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.
|
Saving the connection checks the address and the token. With a wrong token the
|
||||||
|
connection shows as **Disconnected**:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
The check does not need the machine that shares the drive to be online, but its
|
||||||
|
files only answer while that machine runs aindrive. Until then the connection
|
||||||
|
stays **Connected** and the plugin reports the drive unavailable, which Memona
|
||||||
|
shows as a folder that cannot be read:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## What works
|
## What works
|
||||||
|
|
||||||
Browsing folders, and reading, saving and deleting files. A token generated
|
Browsing folders, and reading, saving and deleting files. A token generated
|
||||||
as **Read only** opens the drive read-only.
|
as **Read only** opens the drive read-only.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
aindrive reads a file whole, at most 8 MiB at a time, so a larger file is
|
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
|
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
|
size the drive reported a moment before, so a file that changes in between is
|
||||||
@@ -41,6 +53,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
|
conflict instead of being overwritten. A save into a folder that does not
|
||||||
exist yet creates that folder, as aindrive does.
|
exist yet creates that folder, as aindrive does.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Deleting takes one file. A folder is refused: aindrive deletes a folder with
|
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
|
everything in it, and leaves some entries, such as `.git`, out of every
|
||||||
listing, so a folder cannot be shown to be empty first.
|
listing, so a folder cannot be shown to be empty first.
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 52 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.5 KiB |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
"schemaVersion": 2,
|
||||||
"id": "memona/aindrive",
|
"id": "jopilgue/aindrive",
|
||||||
"name": "aindrive",
|
"name": "aindrive",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"apiVersion": "0.1.0",
|
"apiVersion": "0.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user