Repository navigation
Releases
Releases · WireCatLabs/ydisk-cli
0.3.0
Added
- Mirrors: a local folder and a Disk folder kept the same, both ways.
mirrors add <disk folder> <local folder>,
thenmirrors sync, ormirrors watchto keep syncing. A change on one side is copied to the other; a file
changed on both sides is reported and settled with--keep local|disk|both. A deletion goes to the other side's
trash, the Disk's or.wirecat-trash/in the folder, and only when the sync can prove it: a file missing from an
incomplete listing, or from a folder that was replaced, is never deleted.mirrors previewshows the plan, and a run that
would delete many files waits for--allow-deletions. See mirrors. mirrors versions list|restore: the version a sync replaced or deleted, on your computer or on the Disk, is kept for
30 days and can be put back.
Fixed
folders listnames each chosen folder and gives its Disk path, not only its id.api public-settings-updateno longer reports a write it could not confirm when the Disk answers with no body.- The token steps suggest an app name like
My laptop.
0.2.0
Added
ydisk store infoshows the shared store's file, size, format and row counts, so WireCat Desktop can say whether
Yandex Disk reads it.ydisk <profile> account remove --keep-data|--delete-datasigns the profile out and forgets it on this computer. It
keeps or deletes the chosen folders and the synced files.folders browsegives each folder akindand ahas_children. Yandex gives no child count, so it looks inside each
folder, one request each, when the level has 20 folders or fewer; with more,has_childrenisnull.
Fixed
- Published from GitHub Actions with npm provenance, so WireCat Desktop installs it: Desktop refuses a built-in tool's
release that its own repository's workflow did not build, and 0.1.0 was published from a computer. - The guides cover what the tool does, step by step. New pages: find a document (words,
word forms, meaning, file names), connect your agent (the skill,mcp add,mcp config, browser
apps and what an agent may change), recipes and compared with other tools.
Install and sign in walks through getting the Yandex token with Yandex's own labels,
troubleshooting is by symptom with the exit codes, and security
says what stays on your computer and how to remove it. The token steps now name the app type "For API access or
debugging", as Yandex's pages do. - The help and the error of
--cursorinfolders browseandfiles listnamepage.next_cursor, the key the answer
has, notpage.next.
0.1.0
Added
- Started from
@wirecat/cli-template0.25.0. - Sign in with a Yandex OAuth token pasted once:
session startreads it hidden or from stdin, checks it with
GET /v1/diskand keeps it in the system keyring;session status --checkanddoctor --onlinesay whose it is. - Chosen Disk folders as searchable text:
folders add <path>,sync,status,documents list|show|export,
search,catalog, tags, notes and memories, cli-core's shared documents commands. Each sync walks the chosen
folders again (the Disk API has no change feed) and reads only files whose MD5 changed; a moved file keeps its id,
tags and notes. Text from PDF, docx, xlsx, CSV, TSV, text and Markdown. Times are kept and answered in UTC. - The files live:
files list|show|download|upload|copy|move|create|delete|restore|publish|unpublish, by Disk
path.files deletemoves to the trash.--replaceandfiles deleteask asfiles.deletedoes,files publish
asfiles.sharedoes, and--dry-runshows each key the write checks.files publishanswers the public link, or
leavespublic_urlout when it cannot read it back. Downloads and uploads go to the address Yandex gives, without
the token. api: one command per operation of Yandex's Swagger 1.2 description, 20 in all. The three that answer a
download or upload link are left out, and a resource'sfile,previewandsizeslinks are taken out of every
answer.--allpages where the API pages. A permanent delete,overwrite=trueand a public link ask by
files.deleteandfiles.share. An operation that does what afilescommand does also checks that command's
key:files.move: denystopsapi resources-movetoo, in the run and in--dry-run.