moodle-cli 0.7.0-alpha.4 → 0.7.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moodle-cli",
3
- "version": "0.7.0-alpha.4",
3
+ "version": "0.7.0-alpha.6",
4
4
  "description": "Terminal-first CLI for Moodle LMS",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,7 +1,11 @@
1
- # Local File Downloads
1
+ # Moodle File Retrieval
2
2
 
3
3
  Read this file when the user wants one or more Moodle files saved locally. The canonical command is `moodle download`; `moodle dl` is an optional alias.
4
4
 
5
+ ## MCP File Content
6
+
7
+ When Moodle is connected as an MCP server, call `get_file` with a positive resource activity ID, same-site resource URL, or a `pluginfile.php` URL from `file_entries`. The tool returns files up to 16 MiB directly as an embedded MCP resource, so do not ask the user to open an authenticated Moodle URL separately. For larger files or when the user names an exact local destination, use `moodle download` instead.
8
+
5
9
  ## One Resource
6
10
 
7
11
  When the caller has an activity but not a direct file URL, inspect it first: