Repository navigation
v0.20.0 - Enchanted Refinements & Inventive
packer Update [0.20.0]
This release enhances functionality by adding an interactive debugger, text editor integration, and configuration options for AI prompts, cache thresholds, file size display, and TODO list checks. Additionally, it refines code by simplifying prompts, standardizing exception handling.
Installation
Available via:
- GitHub: GitHub Releases
- Third-party website (GoFile): Archive (click the download button).
Binary Downloads
When downloading, please choose the correct build for your operating system:
| File Name | Platform | Description |
|---|---|---|
packer |
Linux/macOS | Executable for Unix-based systems. |
packer.exe |
Windows | Executable for Windows systems. |
To install:
- GitHub:
Download the appropriate binary for your system from the Releases page. - Third-party website (GoFile):
Head to the website Archive and download the specific arhive with the appropriate version.
After installing, continue following instructions via the README.
Changes in 0.20.0
Added
- [77826a0]
format_sizefunction inetto able to easily format bytes into a string version of other sizes, like KiB, MiB and so on up to TiB. - [84dda6b] New configuration settings for cache and log size thresholds, along with auto-clear flags for both. The auto clearing runs after a release process in the run method of the
Packerclass. Thresholds are also displayed, but don't automatically clear in the CLI-pflag. - [84dda6b] Saving the software archive version size in
metadata.jsonto be able to compare in the nextrunmethod execution for the change in size. - [9ae426b] An interactive debugger in the
Global_exception_handler, if the user wants to try launching a post-mortem session to explore the problem further. - [9ae426b] The CLI
--no-aiflag to thechangecommand. If specified disables AI summaries for the change command. - [1cfa4f0]
input_queueandoutput_queueto theGlobal_exception_handlerto be able to use it easily in other interfaces as well, like a GUI and so on. - [9d8febb] Functionality to check for TODO lists before committing/packing, with configurable paths and identifiers.
- [a0e5863]
description_prompt_kwargsandtitle_prompt_kwargsconfiguration options to the Project model with default empty dict and specific options for title prompt. - [7bf8edc] New configuration option
suggestions_promptfor customizing AI suggestion prompts. - [7bf8edc] Text editor integration for input handling across the application.
Changed
- [77826a0]
-pflag in the CLI to also display the size of the item whether it's a file or a folder. Also made the path's relative to Home to shorten them. - [84dda6b]
CLI-pflag output to be colorful for the thresholds and also addedmetadata.jsonas one of the file paths. - [1cfa4f0] Updated
Global_exception_handlerto dynamically handle all std IO actions, like printing and requesting input to use queue if provided. - [1cfa4f0]
prompt_usertosimple_promptto simplify the code, since the prompts in the program are simple. - [a0e5863] Moved
optionswith temperature and word limitations to the kwargs, ofProjectsettings, so they are more configurable. - [7bf8edc] Refactored the text editor interaction logic in
change.pyto use a centralized_input_via_text_editorfunction instead of manually handling temporary files. - [7bf8edc] Simplified text editor usage by removing
which()checks and direct path resolution.
Fixed
- [ca30feb] List parsing logic to use
len(list_start_identifier)instead of hardcoded offset17for extracting task lists, improving robustness when the identifier length changes.
Tips
If you prefer to build from source via GitHub, you can clone the repository using:
git clone https://github.com/EMILIO888real/Packer --depth 1
Using --depth 1 creates a "shallow clone," which only downloads the latest commit, saving you significant time and storage space compared to a full repository clone.
While downloading the pre-compiled binaries (like packer or packer.exe) is usually the fastest way to get started, cloning the repository allows you to easily pull future updates with git pull as they are released.
Verification
To ensure the integrity of the downloaded files, you can verify their SHA256 checksums.
How to verify:
- Windows (PowerShell):
Open PowerShell and run the following command:
Get-FileHash .\packer.exe -Algorithm SHA256
- Linux/macOS (Terminal):
Open your terminal and run:
sha256sum packer
Compare the resulting hash with the one provided in the GitHub release assets list to ensure it matches.