v1.2.0
Mods 1.2.0 introduces many of quality-of-life improvements: a TUI to write the prompt and choose the model to use, better handling of max tokens, gtp-4-1106-preview
/gpt-3.5-turbo-1106
support, JSON support (and custom formatting texts), and --delete-older-than
to tidy your local history cache.
Changelog
New Features
- 589758e: feat: --ask-model/-M (#192) (@caarlos0)
- fa19697: feat: --delete-older-than (@caarlos0)
- f85e6d5: feat: add gpt-4-1106-preview and gpt-3.5-turbo-1106 (#190) (@caarlos0)
- 9ad6a50: feat: cleaner error when the user simply exits huh (#194) (@meowgorithm)
- bef5df7: feat: implement word wrapping for formatted output (#171) (@cloudbridgeuy)
- 64381a4: feat: improve flag error handling (@caarlos0)
- da19b3b: feat: improve handling of max tokens (#189) (@caarlos0)
- e085c99: feat: support json (#188) (@caarlos0)
- 110b9e0: feat: when no args given, ask to choose model too (#191) (@caarlos0)
Bug fixes
- d85f256: fix: -p and -P (@caarlos0)
- 669bb20: fix: do not append formatting prompt to db save title (@caarlos0)
- ab291d6: fix: do not show prompt when --settings (@caarlos0)
- 5b90e0b: fix: drop leading newline in config template (@meowgorithm)
- 2d94c63: fix: handle missing prompt (#187) (@caarlos0)
- 5993b71: fix: improve --help (@caarlos0)
- 281437c: fix: improve duration flag parsing (@caarlos0)
- 3d6be47: fix: isNoArgs (@caarlos0)
- f929002: fix: lint complaining about capitalized errors (@caarlos0)
- 741c73a: fix: lint issue (@caarlos0)
- 5d32b49: fix: lint issue (@caarlos0)
- 3276472: fix: typo (@caarlos0)
- 4294c4f: fix: use hidden group (@caarlos0)
Documentation updates
Other work
- dd040f3: Copyedit for ask-model help + add argument doc to README (@meowgorithm)
- 69cd9d2: Minor copy edits (@meowgorithm)
- 2d255a3: Pin huh to fix keymap-modifier (@maaslalani)
- 66c3c6e: Remove focused state border and padding on huh fields (@meowgorithm)
Verifying the artifacts
First, download the checksums.txt
file, for example, with wget
:
wget 'https://github.com/charmbracelet/mods/releases/download/v1.2.0/checksums.txt'
Then, verify it using cosign
:
cosign verify-blob \
--certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--cert 'https://github.com/charmbracelet/mods/releases/download/v1.2.0/checksums.txt.pem' \
--signature 'https://github.com/charmbracelet/mods/releases/download/v1.2.0/checksums.txt.sig' \
./checksums.txt
If the output is Verified OK
, you can safely use it to verify the checksums of other artifacts you downloaded from the release using sha256sum
:
sha256sum --ignore-missing -c checksums.txt
Done! You artifacts are now verified!
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.