agentinit 1.8.1 → 1.10.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 +15 -0
- package/README.md +27 -2
- package/dist/cli.js +25193 -24549
- package/dist/cli.js.map +1 -1
- package/dist/commands/apply.d.ts +1 -0
- package/dist/commands/apply.d.ts.map +1 -1
- package/dist/commands/apply.js +8 -1
- package/dist/commands/apply.js.map +1 -1
- package/dist/commands/plugins.d.ts.map +1 -1
- package/dist/commands/plugins.js +11 -2
- package/dist/commands/plugins.js.map +1 -1
- package/dist/commands/skills.d.ts.map +1 -1
- package/dist/commands/skills.js +64 -37
- package/dist/commands/skills.js.map +1 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +6 -0
- package/dist/commands/sync.js.map +1 -1
- package/dist/core/managedState.d.ts +1 -0
- package/dist/core/managedState.d.ts.map +1 -1
- package/dist/core/managedState.js +40 -8
- package/dist/core/managedState.js.map +1 -1
- package/dist/core/marketplaceRegistry.d.ts +5 -0
- package/dist/core/marketplaceRegistry.d.ts.map +1 -0
- package/dist/core/marketplaceRegistry.js +23 -0
- package/dist/core/marketplaceRegistry.js.map +1 -0
- package/dist/core/pluginManager.d.ts +2 -0
- package/dist/core/pluginManager.d.ts.map +1 -1
- package/dist/core/pluginManager.js +114 -54
- package/dist/core/pluginManager.js.map +1 -1
- package/dist/core/projectSkills.d.ts +3 -3
- package/dist/core/projectSkills.d.ts.map +1 -1
- package/dist/core/projectSkills.js +22 -18
- package/dist/core/projectSkills.js.map +1 -1
- package/dist/core/propagator.d.ts +2 -0
- package/dist/core/propagator.d.ts.map +1 -1
- package/dist/core/propagator.js +89 -21
- package/dist/core/propagator.js.map +1 -1
- package/dist/core/skillsManager.d.ts +32 -6
- package/dist/core/skillsManager.d.ts.map +1 -1
- package/dist/core/skillsManager.js +341 -108
- package/dist/core/skillsManager.js.map +1 -1
- package/dist/types/plugins.d.ts +4 -5
- package/dist/types/plugins.d.ts.map +1 -1
- package/dist/types/skills.d.ts +23 -3
- package/dist/types/skills.d.ts.map +1 -1
- package/dist/utils/fs.d.ts +5 -0
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +86 -1
- package/dist/utils/fs.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.10.0](https://github.com/agentinit/agentinit/compare/v1.9.0...v1.10.0) (2026-03-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **marketplace:** default bare plugin installs to agentinit ([71a888f](https://github.com/agentinit/agentinit/commit/71a888f67950a465445c16bb32b2a5a387a46cbe))
|
|
7
|
+
|
|
8
|
+
# [1.9.0](https://github.com/agentinit/agentinit/compare/v1.8.1...v1.9.0) (2026-03-29)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* canonicalize shared skills and rules aliases ([9a3b47b](https://github.com/agentinit/agentinit/commit/9a3b47b242578ba022f2e7266be92d2efa47674b))
|
|
14
|
+
|
|
1
15
|
## [1.8.1](https://github.com/agentinit/agentinit/compare/v1.8.0...v1.8.1) (2026-03-29)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -29,6 +43,7 @@
|
|
|
29
43
|
### Bug Fixes
|
|
30
44
|
|
|
31
45
|
* fix plugin scope handling for global MCP installs/removals and targeted removals
|
|
46
|
+
* preserve revert semantics for canonical project skills and keep `skills remove` project-scoped by default
|
|
32
47
|
* update docs and onboarding to the `mcp add|verify`, `rules add`, and `skills add` command model
|
|
33
48
|
|
|
34
49
|
# [1.7.0](https://github.com/agentinit/agentinit/compare/v1.6.0...v1.7.0) (2025-10-17)
|
package/README.md
CHANGED
|
@@ -96,6 +96,7 @@ agentinit apply # Sync + project skills + managed ignore
|
|
|
96
96
|
agentinit apply --agent claude cursor # Target specific agents
|
|
97
97
|
agentinit apply --dry-run # Preview changes
|
|
98
98
|
agentinit apply --backup # Create sibling .agentinit.backup files
|
|
99
|
+
agentinit apply --copy-skills # Copy project skills instead of using canonical symlink installs
|
|
99
100
|
agentinit apply --no-skills # Skip project-owned skills
|
|
100
101
|
agentinit apply --gitignore-local # Write ignore entries to .git/info/exclude
|
|
101
102
|
```
|
|
@@ -163,24 +164,40 @@ agentinit rules add --global --agent claude --template git,write_tests
|
|
|
163
164
|
|
|
164
165
|
### `agentinit skills`
|
|
165
166
|
|
|
166
|
-
Install, list, and remove reusable agent skills from local paths or GitHub repositories.
|
|
167
|
+
Install, list, and remove reusable agent skills from marketplaces, local paths, or GitHub repositories.
|
|
167
168
|
|
|
168
169
|
**Examples:**
|
|
169
170
|
```bash
|
|
170
171
|
# Inspect a source before installing
|
|
171
172
|
agentinit skills add owner/repo --list
|
|
172
173
|
|
|
173
|
-
# Install
|
|
174
|
+
# Install a public skill from the default catalog (`vercel-labs/agent-skills`)
|
|
175
|
+
agentinit skills add vercel-react-best-practices
|
|
176
|
+
|
|
177
|
+
# Install all discovered skills for detected agents using canonical storage
|
|
174
178
|
agentinit skills add ./skills
|
|
175
179
|
|
|
180
|
+
# Install marketplace-hosted skills explicitly
|
|
181
|
+
agentinit skills add claude/skill-creator
|
|
182
|
+
agentinit skills add skill-creator --from claude
|
|
183
|
+
|
|
176
184
|
# Install selected skills globally for a specific agent
|
|
177
185
|
agentinit skills add owner/repo --global --agent claude --skill openai-docs
|
|
178
186
|
|
|
187
|
+
# Force copied installs instead of canonical symlink installs
|
|
188
|
+
agentinit skills add ./skills --copy
|
|
189
|
+
|
|
179
190
|
# Review and clean up installed skills
|
|
180
191
|
agentinit skills list
|
|
181
192
|
agentinit skills remove openai-docs
|
|
182
193
|
```
|
|
183
194
|
|
|
195
|
+
Skills are installed into a canonical store by default: project installs use `.agents/skills/`, and global installs use `~/.agents/skills/`. Agent-specific paths are symlinked to that store when they differ. Use `--copy` or `--copy-skills` to force independent copies instead.
|
|
196
|
+
|
|
197
|
+
Bare skill names default to the public skills catalog used by the open agent skills ecosystem: `vercel-labs/agent-skills`. Use `./name` for a local path, `owner/repo` for an explicit GitHub repository, or `--from <marketplace>` / `<marketplace>/<name>` for marketplace-backed sources.
|
|
198
|
+
|
|
199
|
+
Marketplace-backed `skills add` installs only the discovered skills. If a marketplace source also contains MCP servers or other portable components, AgentInit warns and points you to `agentinit plugins install ...` for the full install.
|
|
200
|
+
|
|
184
201
|
### `agentinit plugins`
|
|
185
202
|
|
|
186
203
|
Install, inspect, search, and remove portable plugins from explicit marketplace sources, GitHub repositories, or local paths.
|
|
@@ -198,6 +215,7 @@ agentinit plugins install code-review --from claude
|
|
|
198
215
|
# Install from GitHub or a local path
|
|
199
216
|
agentinit plugins install owner/repo
|
|
200
217
|
agentinit plugins install ./plugins/code-review
|
|
218
|
+
agentinit plugins install ./plugins/code-review --copy-skills
|
|
201
219
|
|
|
202
220
|
# Inspect and remove installed plugins
|
|
203
221
|
agentinit plugins list
|
|
@@ -235,6 +253,8 @@ your-project/
|
|
|
235
253
|
├── CLAUDE.md # Claude-specific config (synced)
|
|
236
254
|
├── .cursorrules # Cursor-specific config (synced)
|
|
237
255
|
├── AGENTS.md # Shared AGENTS.md standard for supporting agents
|
|
256
|
+
├── .agents/skills/ # Canonical project skill storage
|
|
257
|
+
├── .claude/skills/ # Claude skill view (often symlinks into .agents/skills)
|
|
238
258
|
├── .windsurfrules # Windsurf-specific config (synced)
|
|
239
259
|
└── .agentinit/ # Managed state and internal backups
|
|
240
260
|
```
|
|
@@ -246,6 +266,9 @@ your-project/
|
|
|
246
266
|
The `agents.md` file is the single source of truth for all agent configurations:
|
|
247
267
|
|
|
248
268
|
```markdown
|
|
269
|
+
---
|
|
270
|
+
rules_alias: agents # optional: make AGENTS.md canonical and symlink CLAUDE.md to it
|
|
271
|
+
---
|
|
249
272
|
# Agent Configuration for MyProject
|
|
250
273
|
|
|
251
274
|
**Stack**: typescript with next.js
|
|
@@ -275,6 +298,8 @@ This is a TypeScript project using Next.js...
|
|
|
275
298
|
|
|
276
299
|
`AGENTS.md` is a shared standard used by multiple tools, so AgentInit does not use it by itself as an auto-detection signal.
|
|
277
300
|
|
|
301
|
+
When `rules_alias: agents` is set in `agents.md` frontmatter, AgentInit writes shared rules to `AGENTS.md` and makes `CLAUDE.md` a symlinked alias when Claude is targeted. If symlink creation fails, AgentInit falls back to writing a copied `CLAUDE.md`.
|
|
302
|
+
|
|
278
303
|
| Agent | Config File | Status |
|
|
279
304
|
|-------|-------------|--------|
|
|
280
305
|
| Claude | `CLAUDE.md` | ✅ |
|