Repository navigation
Releases: new-tricks/tricks
Release list
v0.8.0
Added
cargo install tricks --lockedinstalls New Tricks from crates.io, where every release is published.tricks upgradeleaves a Cargo install to Cargo.
Changed
- The crate is at the root of the repository: from a checkout,
cargo install --path . --locked(was--path crates/newtricks).
v0.7.1
Fixes found in the 0.6.1 review (#11), carried over to 0.7.
Security
- Published provenance never contains credentials or local paths.
PROVENANCE.mdand theTricks-Source:commit trailer name the source repo by itsoriginremote with anyuser:token@removed, orlocal:<folder>when there is no remote. Before, a credentialed remote URL was published as is, and a source repo without a remote published its local path. If you published from a repo whoseoriginURL contains a token, check your distribution repository's history and rotate that token.
Fixes
tricks updateexits 1 when it stops on conflicts or a skill fails (--dry-runstill exits 0), so scripts and CI notice.- Inside an experiment's worktree,
tricks diff <skill>compares that checkout:workingandheadare the experiment's. - Links that are copies say
copyinstead ofliveinlink,list --linksand the VS Code Links view. - VS Code:
tricks.tomlcompletion and validation now match the configuration New Tricks reads (policiesreview,pinned,paused;lint.strict-spec; removed keys such asusedropped). A unit test keeps them in step.
Full Changelog: v0.7.0...v0.7.1
v0.7.0
Experiments
tricks experiment replaces edit, use and merge. An experiment is one skill on its own branch, experiment/<skill>/<name>, checked out in .tricks/work/.
tricks experiment start changelog-writer@terse # prints the skill's path in the worktree
tricks link changelog-writer@terse --to ~/code/my-app # this project's agents load it, live
tricks experiment commit changelog-writer@terse -m "Terser output"
tricks experiment merge changelog-writer@terse # or --pr; also: list, discard, shellmerge is a normal git merge --no-ff of the whole branch, then removes the branch and worktree (--keep to keep them). --pr pushes the branch and opens a pull request; run it again to push review fixes. use, tricks.work.toml, draft/<skill> and skill-only merges (--whole-branch) are gone.
What a link deploys
link <skill>: the skill in your main checkout as it is, whatever branch is checked out, uncommitted edits included. Links no longer stay on the committed version duringtricks update.link <skill>@<experiment|branch>: that branch's checkout, live. A branch that isn't checked out anywhere gets a worktree in.tricks/work/, removed with its last link.link <skill>@<tag|commit>: a frozen snapshot in the store.
Also
- Git commands that change your repositories are printed on stderr as
$ git …(-vfor all of them,-qor--jsonfor none). unlinkanduntrywithout a skill (or with--all), andexperiment discardwhen it would lose work, ask for confirmation (--yesto skip).- Agents are detected on first run and written to your user config. At user scope a skill goes into the fewest agent directories that reach all of them, so no agent loads it twice.
create -b <branch>andvendor -b <branch>switch the source repo to a branch first.search --sort relevance|installs|stars|updated|name,--min-installs,--min-stars, and--facetsto see how matches spread over categories, catalogs, owners, licences and trust.- "User scope" replaces "user level" throughout;
--globalis unchanged. - VS Code extension: Start, Commit, Merge and Discard Experiment, and Open Experiment Folder.
Docs: https://new-tricks.github.io/tricks/concepts/experiments/
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- 0.6: per-link branches; sync → update, self-update → upgrade; formula tricks by @juanheyns in #9
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- 0.5.0: trials apart from links, experiments in the repo, plain view by @juanheyns in #8
Full Changelog: v0.4.0...v0.5.0
v0.4.0
v0.3.0
What's Changed
- 0.3.0: single scope — the source repo by @juanheyns in #6
Full Changelog: v0.2.1...v0.3.0
v0.2.1
What's Changed
- Concurrent live search; webview UI tests by @juanheyns in #4
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- Ergonomics: repo-scoped init skill, remote publish targets, clearer terms by @juanheyns in #5
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- Close v0.1 gaps (items 9–14, 19) by @juanheyns in #1
- Lowercase org/repo names; Homebrew tap by @juanheyns in #2
- Add Tessl and ClawHub live-query adapters by @juanheyns in #3
New Contributors
- @juanheyns made their first contribution in #1
Full Changelog: https://github.com/new-tricks/tricks/commits/v0.1.0