Highlights
- Breaking: a YAML spec file holds one spec, so split a file that separates several with
---before you sync. - Breaking: OpenCode agents without
modenow sync as subagents, and Gemini project sync stops when none of an agent's tools map. OpenCode agents, Gemini agents. agnostic-ai use <tool> --dry-runshows what adding a tool would import, write and back up before it changes the project. use.
Upgrading from v0.100.0
- YAML files with several specs: hook, MCP, settings and environment files that hold a second spec after a
---line now fail to load. Earlier releases read the first spec and ignored the rest. Move each spec to its own file. A file whose top level is a list or a single value fails too. - OpenCode agents without
mode: an agent that sets neithermodenorx-opencode.modenow syncs withmode: subagent. This includes agents imported with an older release. To keep OpenCode's own default, setx-opencode: {mode: null}on that agent before you sync. See OpenCode agents. - Gemini agents with a
toolslist: project sync stops when none of the names map to a Gemini tool. Setx-gemini.toolsto the native tools the agent should use. See Gemini agents. - Scripts that call
validate --fix: the flag is deprecated. It runs the checks, changes no files and prints a notice on stderr. Remove it.
Then follow the upgrade page.
What changed
Preview before you add or import
use <tool> --dry-run runs the same steps in a temporary copy of the project. It prints the change to agnostic-ai.yaml, the import plan, the files sync would create, change or remove, and the .bak copies it would keep. A use that would fail says so and exits 1.
$ agnostic-ai use codex --dry-run
import --dry-run lists the files it would create or change, counts the unchanged ones and names the specs that need --overwrite. See use and import.
Read validation results in CI
validate --json prints errors and warnings in the lint --json format, with the exit code of plain validate. validate now also fails on a spec whose frontmatter opens with --- and never closes, as lint does with LINT006. Lint also catches more before a sync: misnamed spec folders, wrong value types and a bad rule scope. See validate.
Keep your files when a step fails
- A single-tool import that fails rolls back its writes.
import allkeeps the results from the tools that succeeded. - When
sync --backupcannot save a backup, the original file stays as it was. sync --untrackupdates the Git index only after a complete sync.revertchecks its arguments before it changes files.
See sync.
Stay where you were in the web interface and Companion
After a lost connection, the web interface keeps the last page readable with editing off and shows how to restart agnostic-ai view. An Add hook draft survives filters and finding links, and keyboard focus follows change previews. In Agnostic Companion, a dismissed message draft reopens with its text, and a list refresh keeps keyboard focus. See the web interface and the Companion.
See the release notes for the remaining fixes.