|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## 0.4.0 - 2026-04-17 |
4 | | - |
5 | | -### Changed |
6 | | - |
7 | | -- **Init scaffold:** example files created by `agentsmesh init` are now prefixed with `_` (`_example.md`, `skills/_example/SKILL.md`). Files and directories with a `_` prefix are excluded from generation, so the starter templates serve as visible reference only and do not produce tool-specific output. `_root.md` remains the sole `_`-prefixed file that is always included in generation. |
| 3 | +## 0.4.1 - 2026-04-23 |
8 | 4 |
|
9 | 5 | ### Added |
10 | 6 |
|
11 | | -- **Global mode** (`--global`, canonical `~/.agentsmesh/`) for **all** built-in targets — Claude Code, Cursor, Copilot, Continue, Junie, Kiro, Gemini CLI, Cline, Codex CLI, Windsurf, Antigravity, and Roo Code. Each target has a `descriptor.global` layout with project→user path rewriting, import/generate alignment where applicable, optional `~/.agents/skills/` mirroring when Codex CLI is not a global target, reference/link rewriting, and tests (including `generate-reference-rewrite` and global path rebase coverage). |
12 | | -- Contributor skill **`add-global-mode-target`** (`.agents/skills/` and mirrored agent skill dirs) for scoped work when extending or validating **one** target’s global-mode behavior at a time. |
13 | | -- Comprehensive structure validation test coverage for all 12 targets in both project and global modes (24 test suites, 39 global mode tests, 100% pass rate). |
| 7 | +- **JSON Schema for all config files** — `agentsmesh.yaml`, `agentsmesh.local.yaml`, `.agentsmesh/permissions.yaml`, `.agentsmesh/hooks.yaml`, `.agentsmesh/mcp.json`, and `.agentsmesh/packs/*/pack.yaml` now ship with JSON Schemas derived directly from Zod source schemas. Enables full IDE autocomplete, enum validation, and hover docs in VS Code, JetBrains, and any YAML/JSON Language Server with zero user configuration. Schemas are published to `schemas/` in the npm package and accessible at `https://unpkg.com/agentsmesh/schemas/*.json`. Run `pnpm schemas:generate` to regenerate after schema changes. |
| 8 | +- **`$schema` comment in generated config files** — `agentsmesh init` now writes a `# yaml-language-server: $schema=...` comment as the first line of both `agentsmesh.yaml` and `agentsmesh.local.yaml`, activating IDE validation without any manual setup. |
| 9 | +- **Global mode** (`--global`, canonical `~/.agentsmesh/`) for **all** built-in targets — Claude Code, Cursor, Copilot, Continue, Junie, Kiro, Gemini CLI, Cline, Codex CLI, Windsurf, Antigravity, and Roo Code. Each target has a `descriptor.global` layout with project→user path rewriting, import/generate alignment, optional `~/.agents/skills/` mirroring when Codex CLI is not a global target, reference/link rewriting, and comprehensive test coverage. |
| 10 | +- **Roo Code agents → custom modes**: canonical agents now generate `.roomodes` (project) and `settings/custom_modes.yaml` (global) with a `customModes` YAML structure. Roo Code agents capability upgraded from `—` to `partial`. |
| 11 | +- **Copilot global extras**: `~/.copilot/AGENTS.md` is now generated in global mode as a root-instructions compat file. |
| 12 | +- **Continue global config**: global mode generates `~/.continue/config.yaml` (aggregating rules as `rules:`, commands as `prompts:`, MCP as `mcpServers:`) and `~/.continue/AGENTS.md`. |
| 13 | +- **Copilot global skill mirror**: skills are now mirrored to both `~/.agents/skills/` and `~/.claude/skills/` in global mode. |
| 14 | +- **Cline global hooks round-trip**: `agentsmesh import --from cline` now reads hook scripts from `~/Documents/Cline/Hooks/` (global mode) and `.clinerules/hooks/` (project mode). Hook scripts embed a `# agentsmesh-event: <event>` metadata comment for lossless round-trip; the generator also includes this comment going forward. |
| 15 | +- `sharedArtifacts` field added to target descriptor — enables collision-free generation when multiple targets share an output path (e.g. `.agents/skills/`). |
| 16 | +- Lint hooks wired to all target descriptors. |
| 17 | +- Contributor skill **`add-global-mode-target`** for scoped work when extending or validating one target’s global-mode behavior. |
| 18 | +- Comprehensive structure validation test coverage for all 12 targets in both project and global modes. |
14 | 19 | - Shared validation helpers library (`tests/unit/targets/validation-helpers.ts`) with reusable helpers for JSON, Markdown, YAML, frontmatter, and file structure validation. |
15 | | -- Global mode test coverage for all targets verifying correct path transformations and feature support in user-level configurations. |
| 20 | + |
| 21 | +### Fixed |
| 22 | + |
| 23 | +- **Claude Code output-styles**: generated output-style files no longer carry `agent-` / `command-` filename prefixes — now `{name}.md` as documented. |
| 24 | +- **Windsurf**: `src/AGENTS.md` removed from `managedOutputs` (was incorrectly tracked as a managed file). |
| 25 | +- **Cline**: `.clinerules/` directory added to `managedOutputs.dirs` for correct stale-artifact cleanup after `generate`. |
| 26 | +- **Copilot global instructions**: path-specific instructions now aggregate into `~/.copilot/copilot-instructions.md` in global mode (previously suppressed). |
| 27 | +- **Windsurf MCP capability**: both project and global scopes now consistently `partial` (global was incorrectly `native`). |
| 28 | +- **Codex CLI detection**: detection paths expanded to include `AGENTS.md`, `AGENTS.override.md`, `.codex/config.toml`, `.codex/agents`, and `.codex/rules`. |
| 29 | +- **Link rebaser**: `.agentsmesh/` anchor preserved correctly in generated prose. |
16 | 30 |
|
17 | 31 | ### Changed |
18 | 32 |
|
19 | | -- **Documentation:** README quick start adds a **personal global config** section; CLI reference pages (`init`, `import`, `generate`, `install`, `diff`, `lint`, `watch`, `check`, `merge`, `matrix`, overview) document `--global` behavior and link to the [supported tools matrix](https://samplexbro.github.io/agentsmesh/reference/supported-tools/#global-mode). Antigravity global paths are documented as `~/.gemini/antigravity/GEMINI.md` (distinct from Gemini CLI’s `~/.gemini/GEMINI.md`). |
| 33 | +- **Init scaffold:** example files created by `agentsmesh init` are now prefixed with `_` (`_example.md`, `skills/_example/SKILL.md`). Files and directories with a `_` prefix are excluded from generation, so the starter templates serve as visible reference only and do not produce tool-specific output. `_root.md` remains the sole `_`-prefixed file that is always included in generation. |
| 34 | +- **Documentation:** README and website updated to reflect Roo Code agents support, Copilot and Continue global extras, and the new `schemas/` package contents. `generate.mdx` documents global mode path resolution (how `--global` maps to `homedir()` as `projectRoot`). |
| 35 | + |
| 36 | +### Refactored |
| 37 | + |
| 38 | +- Extracted `mirrorSkillsToAgents()` shared helper (`src/targets/catalog/skill-mirror.ts`) — replaces repeated `!activeTargets.includes(‘codex-cli’)` guards inline across 8 target files. |
| 39 | +- Consolidated import map builders; removed duplicate validation tests. |
| 40 | +- Extracted shared skill-import pipeline; deleted obsolete `skills-helpers` files. |
| 41 | +- Improved link rebaser resolution and managed embedding. |
| 42 | +- Removed unused `COPILOT_GLOBAL_MCP` / `COPILOT_GLOBAL_CONFIG` constants. |
20 | 43 |
|
21 | 44 | ## 0.3.1 - 2026-04-12 |
22 | 45 |
|
|
0 commit comments