feat(scripts): Add community scripts subsystem: script index, runner, and CLI commands with background refresh; update docs and paths
This commit is contained in:
+32
-9
@@ -1,21 +1,43 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-10-27 - 1.1.0 - feat(cli)
|
||||
Add initial MOXYTOOL implementation, packaging, install/uninstall scripts, CI and release workflows
|
||||
## 2025-10-27 - 1.2.0 - feat(scripts)
|
||||
Add community scripts subsystem: script index, runner, and CLI commands with background refresh; update docs and paths
|
||||
|
||||
- Add core CLI implementation (mod.ts and ts/): vgpu-setup command, logging, paths and plugins integration
|
||||
- Add Deno config (deno.json) and build/test tasks
|
||||
- Add compilation and packaging scripts (scripts/compile-all.sh, scripts/install-binary.js) and binary wrapper (bin/moxytool-wrapper.js)
|
||||
- Add installer and uninstaller scripts (install.sh, uninstall.sh) for easy deployment
|
||||
- Add CI, build and release workflows (.gitea/workflows/) including multi-platform compilation and npm publish steps
|
||||
- Add documentation and metadata: readme.md, changelog.md, package.json and license
|
||||
- Add .gitignore and dist/binaries handling, plus release checksum generation in workflows
|
||||
- New `scripts` command with subcommands: list, search, info, run, refresh (implemented in ts/moxytool.cli.ts)
|
||||
- Added ScriptIndex (ts/moxytool.classes.scriptindex.ts) to fetch and cache ~400 community scripts with a 24h TTL and background refresh
|
||||
- Added ScriptRunner (ts/moxytool.classes.scriptrunner.ts) to execute community installation scripts interactively via bash/curl
|
||||
- Background index refresh at startup and explicit refresh command; cache saved under /etc/moxytool/scripts
|
||||
- README and changelog updated with scripts usage and features; Proxmox support range updated to 7.4-9.x
|
||||
- Updated module exports in mod.ts and minor logging change in ts/index.ts
|
||||
- Added script-related paths (scriptsCacheDir, scriptsIndexFile) to ts/moxytool.paths.ts
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.1.0] - 2025-01-27
|
||||
|
||||
### Added
|
||||
- `scripts` command for Proxmox community scripts management
|
||||
- Access to 400+ community-maintained installation scripts
|
||||
- Automatic daily index updates with local caching
|
||||
- Script search and filtering capabilities
|
||||
- Interactive script execution with full stdin/stdout/stderr passthrough
|
||||
- Support for both LXC containers and VM templates
|
||||
- Script metadata display (requirements, ports, credentials)
|
||||
|
||||
### Features
|
||||
- `moxytool scripts list` - List all available scripts
|
||||
- `moxytool scripts search <query>` - Search scripts by keyword
|
||||
- `moxytool scripts info <slug>` - View detailed script information
|
||||
- `moxytool scripts run <slug>` - Execute installation scripts
|
||||
- `moxytool scripts refresh` - Force update the script index
|
||||
|
||||
### Changed
|
||||
- Updated Proxmox version support to 7.4-9.x (from 7.4-8.x)
|
||||
- Updated vGPU installer to anomixer fork with Proxmox v9 support
|
||||
|
||||
## [1.0.0] - 2025-01-24
|
||||
|
||||
### Added
|
||||
@@ -33,4 +55,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Step-by-step installation process
|
||||
- Verification of Proxmox installation before setup
|
||||
|
||||
[1.1.0]: https://code.foss.global/serve.zone/moxytool/releases/tag/v1.1.0
|
||||
[1.0.0]: https://code.foss.global/serve.zone/moxytool/releases/tag/v1.0.0
|
||||
|
||||
Reference in New Issue
Block a user