agentsmesh 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +41 -26
- package/dist/canonical.d.ts +2 -2
- package/dist/canonical.js +2030 -1051
- package/dist/canonical.js.map +1 -1
- package/dist/cli.js +131 -130
- package/dist/engine.d.ts +2 -2
- package/dist/engine.js +2172 -1187
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2184 -1199
- package/dist/index.js.map +1 -1
- package/dist/{schema-BTitJKiN.d.ts → schema-o4oXUVBP.d.ts} +6 -0
- package/dist/{target-descriptor-D-Y6BzCL.d.ts → target-descriptor--Nw5i4v3.d.ts} +1 -1
- package/dist/targets.d.ts +3 -3
- package/dist/targets.js +2030 -1051
- package/dist/targets.js.map +1 -1
- package/package.json +1 -1
- package/schemas/agentsmesh.json +12 -3
- package/schemas/pack.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f68ab67: feat(cli): add convert command for direct tool-to-tool migration
|
|
8
|
+
|
|
9
|
+
Adds `agentsmesh convert --from <source> --to <target>` for direct tool-to-tool conversion without going through canonical setup. Internally chains the existing import and generate pipelines via a temporary directory, producing destination tool files from source tool files in a single command. Supports `--dry-run` and `--json` flags.
|
|
10
|
+
|
|
11
|
+
- c8d58c0: feat(cli): add structured JSON output mode
|
|
12
|
+
|
|
13
|
+
Adds `--json` support across CLI commands so automation and CI can consume stable machine-readable command results. JSON mode returns structured success/error envelopes while keeping the existing human-readable output as the default.
|
|
14
|
+
|
|
15
|
+
## 0.12.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- 11c0d58: feat(amp): add Amp (Sourcegraph) as a new built-in target
|
|
20
|
+
|
|
21
|
+
Amp is a coding agent by Sourcegraph (ampcode.com). This adds full project and global mode support:
|
|
22
|
+
- **Rules**: `AGENTS.md` (root + embedded additional rules)
|
|
23
|
+
- **Skills**: `.agents/skills/*/SKILL.md` skill bundles (shared path with Codex CLI, consumer role)
|
|
24
|
+
- **MCP**: `.amp/settings.json` under `amp.mcpServers` key with settings merge
|
|
25
|
+
- **Global mode**: `~/.config/amp/AGENTS.md`, `~/.config/amp/skills/`, `~/.config/amp/settings.json`
|
|
26
|
+
- Commands and agents projected as skills via `supportsConversion`
|
|
27
|
+
- Lint warnings for unsupported features (hooks, ignore, permissions)
|
|
28
|
+
|
|
29
|
+
- fa8e208: feat(warp): add Warp as a new built-in target
|
|
30
|
+
|
|
31
|
+
Warp is an agentic development environment by Warp.dev. This adds project and global mode support:
|
|
32
|
+
- **Rules**: `AGENTS.md` (root + embedded additional rules); legacy `WARP.md` supported on import
|
|
33
|
+
- **Skills**: `.warp/skills/` with YAML frontmatter skill bundles
|
|
34
|
+
- **MCP**: `.mcp.json` at project root (standard format, shared with Claude Code)
|
|
35
|
+
- **Commands/Agents**: projected as skills via `supportsConversion`
|
|
36
|
+
- **Global mode**: `~/.warp/skills/` (skills only — global rules are UI-managed via Warp Drive)
|
|
37
|
+
- Lint warnings for unsupported features (hooks, ignore, permissions)
|
|
38
|
+
|
|
39
|
+
- bfc0a57: feat(zed): add Zed as a new built-in target
|
|
40
|
+
|
|
41
|
+
Zed is a modern code editor with a built-in AI assistant (zed.dev). This adds project and global mode support:
|
|
42
|
+
- **Rules**: `.rules` (root + embedded additional rules in a single file)
|
|
43
|
+
- **MCP**: `.zed/settings.json` under `context_servers` key with settings merge
|
|
44
|
+
- **Global mode**: `~/.config/zed/settings.json` (MCP only — no global rules file)
|
|
45
|
+
- Lint warnings for unsupported features (hooks, ignore, permissions)
|
|
46
|
+
|
|
3
47
|
## 0.11.0
|
|
4
48
|
|
|
5
49
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ Prefer a local install? `npm install -D agentsmesh` (also `pnpm add -D` / `yarn
|
|
|
85
85
|
If your repo already has `.cursor/`, `.claude/`, `.github/copilot-instructions.md`, or other native files, you don't have to delete them. The recommended flow imports them into `.agentsmesh/` first, lets you preview the projection, and only then trusts `generate`.
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
npx agentsmesh import --from cursor # or claude-code, copilot, codex-cli, gemini-cli, windsurf, ...
|
|
88
|
+
npx agentsmesh import --from cursor # or claude-code, copilot, codex-cli, gemini-cli, windsurf, amp, zed, warp, ...
|
|
89
89
|
npx agentsmesh diff # patch-style preview of what generate would change
|
|
90
90
|
npx agentsmesh generate # write native configs (back) from canonical
|
|
91
91
|
npx agentsmesh check # add to CI to detect drift
|
|
@@ -121,7 +121,7 @@ On macOS/Linux you can also run `tree .agentsmesh` if you have `tree` installed.
|
|
|
121
121
|
|
|
122
122
|
## Supported AI coding tools
|
|
123
123
|
|
|
124
|
-
AgentsMesh currently generates native config for every major AI coding assistant — Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Continue, Cline, Kiro, Codex CLI, Junie, Roo Code, Antigravity — plus plugin targets you can ship as standalone npm packages. Each tool's native vs. embedded support per feature is tracked in the [supported tools matrix](https://samplexbro.github.io/agentsmesh/reference/supported-tools/). The full matrix table is also embedded [further down this README](#supported-tools--feature-matrix).
|
|
124
|
+
AgentsMesh currently generates native config for every major AI coding assistant — Claude Code, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Continue, Cline, Kiro, Codex CLI, Junie, Roo Code, Antigravity, Amp, Zed, Warp — plus plugin targets you can ship as standalone npm packages. Each tool's native vs. embedded support per feature is tracked in the [supported tools matrix](https://samplexbro.github.io/agentsmesh/reference/supported-tools/). The full matrix table is also embedded [further down this README](#supported-tools--feature-matrix).
|
|
125
125
|
|
|
126
126
|
---
|
|
127
127
|
|
|
@@ -147,7 +147,7 @@ The reason `AGENTS.md` alone is not enough: most AI coding assistants expose con
|
|
|
147
147
|
- **GitHub Copilot** has `.github/copilot-instructions.md`, `.github/instructions/*.instructions.md`, agents, prompts, and (partial) hooks.
|
|
148
148
|
- **Gemini CLI** has `GEMINI.md`, `.gemini/settings.json` (MCP + hooks), `.gemini/commands/*.toml`, and agents.
|
|
149
149
|
- **Codex CLI** has `AGENTS.md` plus `.codex/config.toml`, `.codex/agents/*.toml`, and `.codex/rules/`.
|
|
150
|
-
- **Windsurf**, **Continue**, **Cline**, **Kiro**, **Junie**, **Roo Code**, **Antigravity** each have their own native rules, workflows, MCP servers, skills, and ignore files.
|
|
150
|
+
- **Windsurf**, **Continue**, **Cline**, **Kiro**, **Junie**, **Roo Code**, **Antigravity**, **Amp**, **Zed**, **Warp** each have their own native rules, workflows, MCP servers, skills, and ignore files.
|
|
151
151
|
|
|
152
152
|
AgentsMesh canonicalizes all of these — rules, commands, agents, skills, MCP servers, hooks, ignore patterns, permissions — so you don't pick one tool's surface as the lowest common denominator. When a tool has no native slot for a feature, AgentsMesh embeds it with round-trip metadata instead of dropping it.
|
|
153
153
|
|
|
@@ -183,6 +183,7 @@ Detailed contracts: [Canonical Config](https://samplexbro.github.io/agentsmesh/c
|
|
|
183
183
|
agentsmesh init [--global] [--yes]
|
|
184
184
|
agentsmesh generate [--global] [--targets <csv>] [--check] [--dry-run] [--force] [--refresh-cache]
|
|
185
185
|
agentsmesh import --from <target> [--global]
|
|
186
|
+
agentsmesh convert --from <target> --to <target> [--global] [--dry-run]
|
|
186
187
|
agentsmesh diff [--global] [--targets <csv>]
|
|
187
188
|
agentsmesh lint [--global] [--targets <csv>]
|
|
188
189
|
agentsmesh watch [--global] [--targets <csv>]
|
|
@@ -196,6 +197,20 @@ agentsmesh target scaffold <id> [--name <displayName>] [--force]
|
|
|
196
197
|
|
|
197
198
|
`agentsmesh --help` prints the same surface; `agentsmesh <cmd> --help` is also supported.
|
|
198
199
|
|
|
200
|
+
### Machine-readable output
|
|
201
|
+
|
|
202
|
+
All commands support `--json` for CI pipelines and scripting:
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
agentsmesh lint --json
|
|
206
|
+
# {"success":true,"command":"lint","data":{"diagnostics":[],"summary":{"errors":0,"warnings":0}}}
|
|
207
|
+
|
|
208
|
+
agentsmesh generate --check --json
|
|
209
|
+
# {"success":false,"command":"generate","error":"Command 'generate' failed","data":{"scope":"project","mode":"check","files":[...],...}}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
Every command emits a single JSON envelope to stdout: `{ success, command, data?, error? }`. Human output is fully suppressed. Exit codes are preserved. `--json` is not supported with `watch`.
|
|
213
|
+
|
|
199
214
|
### Global mode (personal AI assistant config)
|
|
200
215
|
|
|
201
216
|
`.agentsmesh/` at the project level is for teams. `~/.agentsmesh/` at the home level is for personal setup across every repo you touch:
|
|
@@ -338,33 +353,33 @@ Every public symbol resolves to a real `.d.ts` under strict TypeScript. Full ref
|
|
|
338
353
|
### Project scope (`agentsmesh generate`)
|
|
339
354
|
|
|
340
355
|
<!-- agentsmesh:support-matrix:project -->
|
|
341
|
-
| Feature | Antigravity | Claude Code | Cline | Codex CLI | Continue | Copilot | Cursor | Gemini CLI | Goose | Junie | Kilo Code | Kiro | OpenCode | Roo Code | Windsurf |
|
|
342
|
-
|
|
343
|
-
| Rules | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native |
|
|
344
|
-
| Additional Rules | Native | Native | Native | Native | Native | Native | Embedded | Embedded | Embedded | Native | Native | Native | Native | Native | Native |
|
|
345
|
-
| Commands | Partial (workflows) | Native | Native (workflows) | Embedded | Embedded | Native | Native | Native | — | Native | Native | — | Native | Native | Native (workflows) |
|
|
346
|
-
| Agents | — | Native | Embedded | Native | — | Native | Native | Native | — | Native | Native | Native | Native | Partial | Embedded |
|
|
347
|
-
| Skills | Native | Native | Native | Native | Embedded | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native |
|
|
348
|
-
| MCP Servers | — | Native | Native | Native | Native | — | Native | Native | — | Native | Native | Native | Native | Native | Partial |
|
|
349
|
-
| Hooks | — | Native | Native | — | — | Partial | Native | Partial | — | — | — | Native | — | — | Native |
|
|
350
|
-
| Ignore | — | Native | Native | — | — | — | Native | Native (settings-embedded) | Native | Native | Native | Native | — | Native | Native |
|
|
351
|
-
| Permissions | — | Native | — | — | — | — | Partial | Partial | — | — | — | — | — | — | — |
|
|
356
|
+
| Feature | Amp | Antigravity | Claude Code | Cline | Codex CLI | Continue | Copilot | Cursor | Gemini CLI | Goose | Junie | Kilo Code | Kiro | OpenCode | Roo Code | Warp | Windsurf | Zed |
|
|
357
|
+
|---|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
|
|
358
|
+
| Rules | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native |
|
|
359
|
+
| Additional Rules | Embedded | Native | Native | Native | Native | Native | Native | Embedded | Embedded | Embedded | Native | Native | Native | Native | Native | Embedded | Native | Embedded |
|
|
360
|
+
| Commands | — | Partial (workflows) | Native | Native (workflows) | Embedded | Embedded | Native | Native | Native | — | Native | Native | — | Native | Native | — | Native (workflows) | — |
|
|
361
|
+
| Agents | — | — | Native | Embedded | Native | — | Native | Native | Native | — | Native | Native | Native | Native | Partial | — | Embedded | — |
|
|
362
|
+
| Skills | Native | Native | Native | Native | Native | Embedded | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | — |
|
|
363
|
+
| MCP Servers | Native | — | Native | Native | Native | Native | — | Native | Native | — | Native | Native | Native | Native | Native | Native | Partial | Native |
|
|
364
|
+
| Hooks | — | — | Native | Native | — | — | Partial | Native | Partial | — | — | — | Native | — | — | — | Native | — |
|
|
365
|
+
| Ignore | — | — | Native | Native | — | — | — | Native | Native (settings-embedded) | Native | Native | Native | Native | — | Native | — | Native | — |
|
|
366
|
+
| Permissions | — | — | Native | — | — | — | — | Partial | Partial | — | — | — | — | — | — | — | — | — |
|
|
352
367
|
<!-- /agentsmesh:support-matrix:project -->
|
|
353
368
|
|
|
354
369
|
### Global scope (`agentsmesh generate --global`)
|
|
355
370
|
|
|
356
371
|
<!-- agentsmesh:support-matrix:global -->
|
|
357
|
-
| Feature | Antigravity | Claude Code | Cline | Codex CLI | Continue | Copilot | Cursor | Gemini CLI | Goose | Junie | Kilo Code | Kiro | OpenCode | Roo Code | Windsurf |
|
|
358
|
-
|
|
359
|
-
| Rules | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native |
|
|
360
|
-
| Additional Rules | Embedded | Native | Native | Embedded | Native | Native | Embedded | Embedded | Embedded | Embedded | Native | Native | Native | Native | Partial |
|
|
361
|
-
| Commands | Partial (workflows) | Native | Native (workflows) | Embedded | Native | Native | Native | Native | — | Native | Native | — | Native | Native | Native (workflows) |
|
|
362
|
-
| Agents | — | Native | Embedded | Native | — | Native | Native | Native | — | Native | Native | Native | Native | Partial | Embedded |
|
|
363
|
-
| Skills | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native |
|
|
364
|
-
| MCP Servers | Native | Native | Native | Native | Native | — | Native | Native | — | Native | Native | Native | Native | Native | Partial |
|
|
365
|
-
| Hooks | — | Native | Native | — | — | — | Native | Partial | — | — | — | — | — | — | Native |
|
|
366
|
-
| Ignore | — | Native | Native | — | — | — | Native | — | Native | — | Native | Native | — | Native | Native |
|
|
367
|
-
| Permissions | — | Native | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
372
|
+
| Feature | Amp | Antigravity | Claude Code | Cline | Codex CLI | Continue | Copilot | Cursor | Gemini CLI | Goose | Junie | Kilo Code | Kiro | OpenCode | Roo Code | Warp | Windsurf | Zed |
|
|
373
|
+
|---|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|:-----------:|
|
|
374
|
+
| Rules | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | — | Native | — |
|
|
375
|
+
| Additional Rules | Embedded | Embedded | Native | Native | Embedded | Native | Native | Embedded | Embedded | Embedded | Embedded | Native | Native | Native | Native | — | Partial | — |
|
|
376
|
+
| Commands | — | Partial (workflows) | Native | Native (workflows) | Embedded | Native | Native | Native | Native | — | Native | Native | — | Native | Native | — | Native (workflows) | — |
|
|
377
|
+
| Agents | — | — | Native | Embedded | Native | — | Native | Native | Native | — | Native | Native | Native | Native | Partial | — | Embedded | — |
|
|
378
|
+
| Skills | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | Native | — |
|
|
379
|
+
| MCP Servers | Native | Native | Native | Native | Native | Native | — | Native | Native | — | Native | Native | Native | Native | Native | — | Partial | Native |
|
|
380
|
+
| Hooks | — | — | Native | Native | — | — | — | Native | Partial | — | — | — | — | — | — | — | Native | — |
|
|
381
|
+
| Ignore | — | — | Native | Native | — | — | — | Native | — | Native | — | Native | Native | — | Native | — | Native | — |
|
|
382
|
+
| Permissions | — | — | Native | — | — | — | — | — | — | — | — | — | — | — | — | — | — | — |
|
|
368
383
|
<!-- /agentsmesh:support-matrix:global -->
|
|
369
384
|
|
|
370
385
|
See the [full feature matrix docs](https://samplexbro.github.io/agentsmesh/reference/supported-tools/) for native vs. embedded support details and per-tool global paths.
|
|
@@ -375,7 +390,7 @@ See the [full feature matrix docs](https://samplexbro.github.io/agentsmesh/refer
|
|
|
375
390
|
|
|
376
391
|
- **[Getting Started](https://samplexbro.github.io/agentsmesh/getting-started/installation/)** — installation, quick start
|
|
377
392
|
- **[Canonical Config](https://samplexbro.github.io/agentsmesh/canonical-config/)** — rules, commands, agents, skills, MCP, hooks, ignore, permissions
|
|
378
|
-
- **[CLI Reference](https://samplexbro.github.io/agentsmesh/cli/)** — `init`, `generate`, `import`, `install`, `diff`, `lint`, `watch`, `check`, `merge`, `matrix`, `plugin`, `target`
|
|
393
|
+
- **[CLI Reference](https://samplexbro.github.io/agentsmesh/cli/)** — `init`, `generate`, `import`, `convert`, `install`, `diff`, `lint`, `watch`, `check`, `merge`, `matrix`, `plugin`, `target`
|
|
379
394
|
- **[Configuration](https://samplexbro.github.io/agentsmesh/configuration/agentsmesh-yaml/)** — `agentsmesh.yaml`, local overrides, extends, collaboration, conversions
|
|
380
395
|
- **[Guides](https://samplexbro.github.io/agentsmesh/guides/existing-project/)** — adopting in existing projects · multi-tool teams · sharing config · CI drift detection · community packs · **building plugins**
|
|
381
396
|
- **[Reference](https://samplexbro.github.io/agentsmesh/reference/generation-pipeline/)** — supported tools matrix · generation pipeline · managed embedding
|
package/dist/canonical.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as CanonicalFiles, V as ValidatedConfig } from './schema-
|
|
2
|
-
export { C as CanonicalAgent, a as CanonicalCommand, c as CanonicalRule, d as CanonicalSkill, H as HookEntry, e as Hooks, I as IgnorePatterns, M as McpConfig, f as McpServer, P as Permissions, S as SkillSupportingFile, g as StdioMcpServer, U as UrlMcpServer } from './schema-
|
|
1
|
+
import { b as CanonicalFiles, V as ValidatedConfig } from './schema-o4oXUVBP.js';
|
|
2
|
+
export { C as CanonicalAgent, a as CanonicalCommand, c as CanonicalRule, d as CanonicalSkill, H as HookEntry, e as Hooks, I as IgnorePatterns, M as McpConfig, f as McpServer, P as Permissions, S as SkillSupportingFile, g as StdioMcpServer, U as UrlMcpServer } from './schema-o4oXUVBP.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|