Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 06:36
v0.4.0
7563df8

Changelog

Fixes

  • 9ef2b5f: fix(browser): find Chrome Beta, Dev and Canary and skip empty profiles (@KoukeNeko)
  • 2ace71b: fix(mcphost): check the passphrase and record a miss as one step (@KoukeNeko)
  • 3e20459: fix(moodle): encode the query of a page request (@KoukeNeko)
  • c72cb81: fix(moodle): mask credentials in the body excerpts of a response (@KoukeNeko)
  • d8797e9: fix(safety): treat view-recording functions as writes on every path (@KoukeNeko)

Features

  • d2f8437: feat(assignment): add overview, and serve it and quizzes over MCP (@KoukeNeko)
  • 5328b40: feat(cli): add mcp host, with a Cloudflare quick tunnel by default (@KoukeNeko)
  • 1dbe222: feat(mcp): serve the tools over Streamable HTTP (@KoukeNeko)
  • 17ac86f: feat(mcphost): add an OAuth-protected host for remote MCP clients (@KoukeNeko)
  • 3e6ae6b: feat(mcphost): end a sign-in when a spent code or refresh token is reused (@KoukeNeko)
  • 025234d: feat(tunnel): run a Cloudflare quick tunnel under a guard process (@KoukeNeko)
  • 28bede1: feat(update): tell interactive users when a newer release exists (@KoukeNeko)

Everything else

The macOS binaries carry a Developer ID signature and Apple notarization.
Windows binaries are not Authenticode-signed, so SmartScreen may warn.
On every platform, verify the archive against checksums.txt and its
keyless workflow signature before running it.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 17:14
v0.3.0
3ed0915

Added

moodle auth login --site school --method mobilelaunch

On macOS, press Enter to open the normal browser, complete institutional SSO, and let the CLI receive, verify, and save Moodle's Web Service token automatically. First sign-in installs a per-user URL handler in ~/Applications using macOS's built-in AppleScript compiler; Xcode and manual callback copying are not required. Linux retains its registered D-Bus callback handler.

The macOS helper receives an Apple Event and passes the callback through an anonymous stdin pipe and a private Unix socket. Token-bearing URLs are kept out of handler process arguments and temporary files. Registration preserves unrelated applications, supports repeated registration, and restores the previous helper if an update fails. The locally compiled helper is signed ad hoc; the distributed CLI retains Developer ID signing and Apple notarization.

Documentation and limitations

The English and Traditional Chinese README and handbook now explain the separate OAuth and mobile callbacks, token lifetime, signing in again, and choosing authentication for an agent harness. Harness guidance covers reusing credentials, explicit login methods, secure stdin/environment inputs, desktop browser sign-in, and headless credential provisioning.

An eCourse2 browser sign-in and subsequent Web Service course listing were verified on 2026-10-09. Its actual token expiry was not exposed by the APIs checked; Moodle's default token duration is not a confirmed expiry for that site. The CLI has no automatic token refresh or remote/device-code login flow. Windows automatic callbacks remain unsupported. mobilelaunch --no-input skips the Enter prompt but still requires a browser sign-in and callback, so it is not a headless login mode.

Contract

schema_version stays 1; no fields were added to the JSON contract.

Download the archive for your OS and CPU and verify it against checksums.txt and its keyless workflow signature. The macOS CLI binaries carry a Developer ID signature and Apple notarization. Windows binaries are not Authenticode-signed.

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 19:47
v0.2.1
ed117b5

Changelog

Fixes

Features

  • b066cf0: feat(auth): add setup, which asks the site and suggests a login method (@KoukeNeko)
  • c106714: feat(auth): read the QR content and browser session from stdin (@KoukeNeko)

The macOS binaries carry a Developer ID signature and Apple notarization.
Windows binaries are not Authenticode-signed, so SmartScreen may warn.
On every platform, verify the archive against checksums.txt and its
keyless workflow signature before running it.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 06:52
v0.2.0
3f1171f

Changelog

Fixes

Features

Everything else

The macOS binaries carry a Developer ID signature and Apple notarization.
Windows binaries are not Authenticode-signed, so SmartScreen may warn.
On every platform, verify the archive against checksums.txt and its
keyless workflow signature before running it.

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 25 Sep 13:03
v0.1.3
42539f8

Changelog

Fixes

The macOS binaries carry a Developer ID signature and Apple notarization.
Windows binaries are not Authenticode-signed, so SmartScreen may warn.
On every platform, verify the archive against checksums.txt and its
keyless workflow signature before running it.

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 25 Sep 12:09
v0.1.2
6e3aec6

Changelog

Fixes

Features

The macOS binaries carry a Developer ID signature and Apple notarization.
Windows binaries are not Authenticode-signed, so SmartScreen may warn.
On every platform, verify the archive against checksums.txt and its
keyless workflow signature before running it.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 05:19
v0.1.1
99040c8

Moodle CLI v0.1.1 — first public release

Moodle CLI is an independent command-line client for learners, educators, administrators, scripts,
and agents. v0.1.0 was a failed, unpublished release attempt; v0.1.1 is the first public release.

Highlights

  • Read courses, participants, groups, assignments, grades, forums, calendars, completion, workload,
    and files; use reviewed high-level writes when the active Moodle account has permission.
  • Inspect and call the typed registry of 780 core Web Service functions across Moodle 4.5.12, 5.1.7,
    and 5.2.3. Unknown and third-party functions remain available through moodle api call.
  • Use human-readable output or the versioned --json contract. MCP tools are read-only by default;
    write tools require an explicit opt-in.
  • Log in with a site-supported token, credentials, browser session, or mobile/browser flow. The
    automatic browser callback handler is currently Linux-only; manual callback works on all platforms.
  • Verify behavior against Docker-backed Moodle 4.5.12, 5.1.7, and 5.2.3 test sites, including
    ten-year academic scenarios. The separate scale fixture models 50,000 students and 1,000 courses.

Install

macOS or Linux with Homebrew:

brew tap KoukeNeko/tap
brew install koukeneko/tap/moodle-cli

Windows with Scoop:

scoop bucket add koukeneko https://github.com/KoukeNeko/scoop-bucket
scoop install koukeneko/moodle-cli

Or download the archive for your OS and CPU below. Compare it with checksums.txt; verify
checksums.txt.sigstore.json with Cosign and the release workflow's GitHub Actions identity.
The macOS binaries are Developer ID-signed and notarized. Windows binaries are not
Authenticode-signed, so SmartScreen may warn.

See the installation handbook,
繁體中文安裝手冊, and
complete command reference.