github x-cmd/x-cmd v0.10.4

4 hours ago

👉 View Full Changelog on X-CMD Website
👉 Version compare: v0.10.3...v0.10.4

✅ Upgrade Guide

x upgrade 

📃 Changelog

x-cmd-v0104

agent

  • Added x agent tdown — the reverse of x agent setup (teardown).

tdown is short for teardown, which naturally pairs with setup: setup builds things in, tdown tears them down. The name is clear and easy to remember.

x agent setup auto-installs x-cmd prompts and skills into your editor/IDE environment. Feedback from GitHub discussion #459 made us realize we should give users a clear option: if you don't want them, you can remove them in one go.

x agent tdown does exactly that — rolls back everything x agent setup configured, removes x-cmd prompts and related skills, and restores your setup to its pre-setup state. x agent teardown is also available as an alias if that's your preference.

This choice is persistent. After running tdown, future x-cmd updates won't reinstall these by default. You can always opt back in by running x agent setup.

Example:

x agent tdown

Also, x agent setup no longer enables x rule as the default preference. Prompts and skills are still installed as usual, but the rule prompt is left off by default. Turn it on manually if you want it; otherwise it stays out of the way.

keyring

  • Fixed x keyring ls failing in git-bash / MSYS environments.

The keyring module reads from and writes to the system credential store (Windows Credential / macOS Keychain / Linux Secret Service) to manage passwords, tokens, and other sensitive data.

When git-bash's locale was C or POSIX, iconv was not given a source encoding, so UTF-8 characters in the script (like the in a comment) were parsed as ASCII and triggered cannot convert. The truncated UTF-16LE output then caused pwsh to complain about a Missing closing '}'.

The fix was to explicitly pass -f UTF-8 when converting the heredoc in lib/impl/windows, so it no longer depends on the environment locale.

Now x keyring ls works even with LANG=C LC_ALL=C.

Example:

LANG=C LC_ALL=C x keyring ls

Don't miss a new x-cmd release

NewReleases is sending notifications on new releases.