Repository navigation
Release v3.158.0
cratis ai can highlight profiles recommended by a corpus and keeps a project clean when the corpus drops agents, prompts or other files. This prepares projects for the v2 Cratis AI corpus (part of Cratis/AI#1370).
Added
- When the catalog marks profiles as featured, the table from
cratis ai profiles listand the interactive install prompt show those profiles and any descriptions the catalog provides. When none is featured, both show every profile.--alllists every profile; JSON always includes every profile with itsdescriptionandfeaturedfields.
Changed
- A harness is linked to an agents, prompts or hooks directory only when the corpus carries it. An update from a corpus that had them removes the unchanged links Cratis created; a link or file you edited is reported as a conflict and kept.
cratis ai updateandcratis ai uninstallremove each directory that a removed managed file or link leaves empty. A directory that still holds anything, linked directories,.cratisand the project root are kept.- Files inside the managed folders (
rules/,agents/,prompts/,hooks/,skills/<name>/,harnesses/<name>/) belong to the CLI. Keep your own rules inrules/project*(for examplerules/project.mdorrules/project-local/), which update and uninstall never touch. - Profiles not shown in a featured list are still selectable by ID with
--profiles. Existing.cratis/ai.jsonselections do not need to change for the v2 corpus.
Fixed
cratis ai updateandcratis ai uninstallonly act on manifest entries for paths the corpus can install: skills, rules, agents, prompts, hooks and harness assets, plus the integration links the CLI registers. Any other entry is ignored with a warning instead of stopping the command, so a local file named in the committed manifest is kept, also with--force(#670)- Manifest paths with
..,.or empty segments, backslashes, drive letters, a leading/, trailing dots or spaces, device names or non-normalized Unicode are ignored. - An integration entry must match a registered path and link target, and is removed only when the existing link points at that target, so a regular
AGENTS.mdorCLAUDE.mdis never removed. - A managed file that an update replaces keeps its Unix file mode; if the mode cannot be copied, the update warns and continues.
- A Copilot instruction file is installed only when the rule it copies is selected. Before, every copy reached
.github/instructions, so rules for other profiles applied to the project anyway. - When CodeScene is selected, the install now says that the project MCP configuration starts the
cs-mcpcommand and that you need to install it and sign in. Before, it said the CLI does not register the server, which was wrong.