github superyngo/Wenget v0.5.0

latest releases: v3.8.1, v3.8.0, v3.7.0...
6 months ago

feat: v0.5.0 - Bucket script support and smart command naming

Major Features

Bucket Script Support

  • Add support for installing scripts from bucket manifests
  • Support PowerShell, Bash, Batch, and Python scripts
  • Unified search, info, and installation for scripts and packages
  • Automatic platform compatibility checking

Smart Command Name Normalization

  • Automatically remove platform suffixes from executable names
  • Examples: cate-windows-x86_64.exe → cate
  • Preserve multi-word tool names (git-lfs)
  • Can be overridden with --name parameter

Core Changes

Data Structures

  • Add ScriptItem structure for bucket script metadata
  • Add CachedScript for script cache storage
  • Extend SourceManifest with scripts field
  • Extend ManifestCache with scripts HashMap

Commands

  • Update search command to search both packages and scripts
  • Update info command to display script information
  • Update add command to install scripts from bucket cache
  • Update list command to show command names

Cache System

  • Extend build_cache() to process scripts from buckets
  • Add methods: add_script(), get_scripts(), find_script()
  • Backward compatible with existing cache files

Smart Naming

  • Add normalize_command_name() with platform keyword detection
  • Simplify from 70 lines to 25 lines of code
  • More flexible and maintainable

Documentation

  • Update README with script support examples
  • Add bucket manifest structure for scripts
  • Create comprehensive release notes
  • Update field descriptions

Backward Compatibility

  • Fully compatible with v0.4.0
  • Existing buckets continue to work
  • Old cache files automatically upgraded
  • No migration needed

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


📦 下載 / Downloads

請從下方選擇適合您系統的版本下載。
Please download the appropriate version for your system from below.

🔒 檔案校驗 / File Verification

使用 SHA256SUMS 檔案驗證下載的檔案完整性。
Use the SHA256SUMS file to verify the integrity of downloaded files.


📝 自動生成的變更日誌 / Auto-generated Changelog

Full Changelog: v0.4.0...v0.5.0

Don't miss a new Wenget release

NewReleases is sending notifications on new releases.