moodle-cli 0.7.0-alpha.3 → 0.7.0-alpha.5
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/README.md +3 -1
- package/SKILL.md +1 -1
- package/agents/openai.yaml +2 -2
- package/dist/moodle.js +688 -126
- package/dist/worker/worker.js +1028 -568
- package/package.json +2 -1
- package/references/downloads.md +5 -1
package/README.md
CHANGED
|
@@ -105,6 +105,8 @@ moodle mcp status
|
|
|
105
105
|
|
|
106
106
|
`moodle mcp deploy` validates Moodle access, deploys a Cloudflare Worker, uploads an encrypted Moodle session, verifies readiness, and installs session renewal. The guided [`ONBOARDING.md`](ONBOARDING.md) asks whether you want this after local setup and helps connect your web AI client.
|
|
107
107
|
|
|
108
|
+
The MCP `get_file` tool accepts a resource activity ID, resource URL, or `pluginfile.php` URL and returns files up to 16 MiB directly as an embedded MCP resource. The Moodle session stays inside the local server or private Worker; clients do not need to fetch an authenticated Moodle URL themselves.
|
|
109
|
+
|
|
108
110
|
### Update
|
|
109
111
|
|
|
110
112
|
```bash
|
|
@@ -174,7 +176,7 @@ moodle mcp bridge
|
|
|
174
176
|
|
|
175
177
|
The default client connection uses `moodle mcp bridge`, which keeps the Bearer token out of client configuration. Use `moodle mcp connect CLIENT --mode remote` for clients that support authenticated remote MCP headers.
|
|
176
178
|
|
|
177
|
-
Alpha version `0.7.0-alpha.
|
|
179
|
+
Alpha version `0.7.0-alpha.5` supports MCP `2026-07-28` and a stateless compatibility lane for `2025-11-25` clients.
|
|
178
180
|
|
|
179
181
|
### Configuration
|
|
180
182
|
|
package/SKILL.md
CHANGED
|
@@ -23,7 +23,7 @@ Resolve an unfamiliar unit name with `moodle units --json` before using a unit-s
|
|
|
23
23
|
- **Profile, course discovery, sections, or activity lists**: read [references/profile-and-courses.md](references/profile-and-courses.md).
|
|
24
24
|
- **Deadlines, todo items, alerts, or a combined snapshot**: read [references/deadlines-and-alerts.md](references/deadlines-and-alerts.md).
|
|
25
25
|
- **Grades or assignment, quiz, resource, link, page, and folder detail**: read [references/coursework-and-grades.md](references/coursework-and-grades.md).
|
|
26
|
-
- **
|
|
26
|
+
- **Retrieving a resource through MCP or downloading selected files to local paths**: read [references/downloads.md](references/downloads.md).
|
|
27
27
|
- **Forum discovery, search, discussions, posts, groups, or rendering checks**: read [references/forums.md](references/forums.md).
|
|
28
28
|
- **Output selection, field filtering, error handling, or exit codes**: read [references/output-and-errors.md](references/output-and-errors.md).
|
|
29
29
|
- **Updates, skill installation, or skill regeneration**: read [references/maintenance.md](references/maintenance.md).
|
package/agents/openai.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Moodle CLI"
|
|
3
|
-
short_description: "Inspect Moodle and
|
|
4
|
-
default_prompt: "Use $moodle-cli to inspect my Moodle data or download selected
|
|
3
|
+
short_description: "Inspect Moodle and retrieve authenticated course files"
|
|
4
|
+
default_prompt: "Use $moodle-cli to inspect my Moodle data, retrieve a file through MCP, or download selected files locally with the narrowest relevant operation."
|