It scan all installed plugins on your computer for revision number then uses endpoint @"secret LMS API v1" to get actual revisions. Compares it and return plugins ready for updating.
scan_plugins — Get List of installed Plugins with Author, Revision, Date. Save to file list.json and Get the up-to-date revision for each plugin from online. Then adds it to the file list.json and returns which plugins need to renew (del/run)read_list — Just read file list.json content, if you want to look at full table of plugins, authors, revision.renew_plugin — tool for run shell lms get name/plugin -y, it will install latest revision instantly. Two arguments: name, plugin.When you delete a plugin, the old list.json is saved because it is located at a level above the plugin.
lmstudio/sdklms CLI)Used endpoint (https://lmstudio.ai/api/v1/artifacts/tupik/counter/revision/-1?action=tarball&bypassVersion=1) for example.
(-1) is the least. Also you can load any previous revisions of any plugin just edit URL link ... revision/1 ... revision/2 ... etc
You can't install from that loaded tar-file with lms command filename.tar.gz like or something.
Simply untar/gz all content from archive to dir. Then lms dev -i -y in that dir. Voila: the revision installed.
lms get tupik/revision -y