agentinit 1.26.0 → 1.27.1

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +26 -1
  3. package/dist/cli.js +724 -84
  4. package/dist/cli.js.map +1 -1
  5. package/dist/commands/agentsMd.d.ts +3 -0
  6. package/dist/commands/agentsMd.d.ts.map +1 -0
  7. package/dist/commands/agentsMd.js +166 -0
  8. package/dist/commands/agentsMd.js.map +1 -0
  9. package/dist/commands/skills.d.ts.map +1 -1
  10. package/dist/commands/skills.js +49 -0
  11. package/dist/commands/skills.js.map +1 -1
  12. package/dist/commands/sync.d.ts +1 -0
  13. package/dist/commands/sync.d.ts.map +1 -1
  14. package/dist/commands/sync.js +11 -0
  15. package/dist/commands/sync.js.map +1 -1
  16. package/dist/core/agentsMdManager.d.ts +61 -0
  17. package/dist/core/agentsMdManager.d.ts.map +1 -0
  18. package/dist/core/agentsMdManager.js +204 -0
  19. package/dist/core/agentsMdManager.js.map +1 -0
  20. package/dist/core/skillsManager.d.ts +1 -0
  21. package/dist/core/skillsManager.d.ts.map +1 -1
  22. package/dist/core/skillsManager.js +66 -0
  23. package/dist/core/skillsManager.js.map +1 -1
  24. package/dist/core/wellKnownDiscovery.d.ts +22 -0
  25. package/dist/core/wellKnownDiscovery.d.ts.map +1 -0
  26. package/dist/core/wellKnownDiscovery.js +89 -0
  27. package/dist/core/wellKnownDiscovery.js.map +1 -0
  28. package/dist/types/lockfile.d.ts +1 -1
  29. package/dist/types/lockfile.d.ts.map +1 -1
  30. package/dist/types/plugins.d.ts +1 -1
  31. package/dist/types/plugins.d.ts.map +1 -1
  32. package/dist/types/skills.d.ts +4 -1
  33. package/dist/types/skills.d.ts.map +1 -1
  34. package/dist/types/skills.js.map +1 -1
  35. package/dist/utils/http.d.ts +15 -0
  36. package/dist/utils/http.d.ts.map +1 -0
  37. package/dist/utils/http.js +31 -0
  38. package/dist/utils/http.js.map +1 -0
  39. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [1.27.1](https://github.com/agentinit/agentinit/compare/v1.27.0...v1.27.1) (2026-05-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * stop skills add on default catalog miss ([652cb9d](https://github.com/agentinit/agentinit/commit/652cb9d7a973133c5e5f81c641144bcb3035fb08))
7
+
8
+ # [1.27.0](https://github.com/agentinit/agentinit/compare/v1.26.0...v1.27.0) (2026-05-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * harden well-known skills and agents md management ([9aa5fc5](https://github.com/agentinit/agentinit/commit/9aa5fc5725df3530b64585905241ed27e2336cfd))
14
+ * **types:** add well-known to union types and SkillInfo metadata ([fcf7852](https://github.com/agentinit/agentinit/commit/fcf7852d492d21ec9705d57b8f020652a5fb4f47))
15
+
16
+
17
+ ### Features
18
+
19
+ * well-known discovery, AGENTS.md management, sync symlink, MCP env ([084c608](https://github.com/agentinit/agentinit/commit/084c608b54de6067c695eb4facf363f27d2b8235))
20
+
1
21
  # [1.26.0](https://github.com/agentinit/agentinit/compare/v1.25.2...v1.26.0) (2026-05-03)
2
22
 
3
23
 
package/README.md CHANGED
@@ -149,8 +149,27 @@ agentinit sync # Sync configurations
149
149
  agentinit sync --agent claude cursor
150
150
  agentinit sync --dry-run # Preview changes
151
151
  agentinit sync --backup # Create backups
152
+ agentinit sync --symlink # Create CLAUDE.md -> AGENTS.md after syncing
152
153
  ```
153
154
 
155
+ `--symlink` refuses to overwrite an existing real `CLAUDE.md`; move or remove that file first if you want `AGENTS.md` to be the shared Claude alias.
156
+
157
+ ### `agentinit agents-md`
158
+
159
+ Manage `AGENTS.md` directly when you want a shared file for tools that support it.
160
+
161
+ ```bash
162
+ agentinit agents-md init
163
+ agentinit agents-md read
164
+ agentinit agents-md parse
165
+ agentinit agents-md set-section "Project Context" --body "Use strict TypeScript."
166
+ agentinit agents-md set-section "Testing" --file ./testing-notes.md --placement "after Project Context"
167
+ agentinit agents-md remove-section "Testing"
168
+ agentinit agents-md symlink-claude
169
+ ```
170
+
171
+ Section edits preserve unrelated markdown content and operate on the selected heading subtree. `symlink-claude` creates `CLAUDE.md -> AGENTS.md` but refuses to overwrite a real `CLAUDE.md`.
172
+
154
173
  ### `agentinit apply`
155
174
 
156
175
  Apply `agents.md` plus project-owned skills to supported agent files, and manage ignore entries for generated files.
@@ -235,6 +254,10 @@ Install, list, update, and remove reusable agent skills from marketplaces, local
235
254
  # Inspect a source before installing
236
255
  agentinit skills add owner/repo --list
237
256
 
257
+ # Discover a well-known skill catalog
258
+ agentinit skills discover https://example.com
259
+ agentinit skills discover https://example.com/.well-known/agent-skills/index.json
260
+
238
261
  # Install a bare skill name
239
262
  # Uses your configured default marketplace when one is set,
240
263
  # otherwise falls back to the public catalog (`vercel-labs/agent-skills`)
@@ -290,7 +313,9 @@ agentinit skills update openai-docs --everywhere
290
313
  agentinit skills remove openai-docs
291
314
  ```
292
315
 
293
- Skills are installed into a canonical store (`.agents/skills/` for project, `~/.agents/skills/` for global) with agent-specific paths symlinked automatically. Bare skill names resolve from your default marketplace or fall back to the public catalog at `vercel-labs/agent-skills`. Supports GitHub, GitLab, Bitbucket, local paths, and marketplace sources.
316
+ Skills are installed into a canonical store (`.agents/skills/` for project, `~/.agents/skills/` for global) with agent-specific paths symlinked automatically. Bare skill names resolve from your default marketplace or fall back to the public catalog at `vercel-labs/agent-skills`. Supports GitHub, GitLab, Bitbucket, local paths, well-known catalogs, and marketplace sources.
317
+
318
+ Well-known catalogs are JSON indexes at `/.well-known/agent-skills/index.json`, with fallback to `/.well-known/skills/index.json`. Each entry must include a `name` and a concrete skill `source`; direct index URLs are also supported.
294
319
 
295
320
  If a GitHub or local Claude bundle contains multiple plugins, `agentinit skills add` prompts you to choose one or more bundled plugins to inspect or install. Use `--all` to skip the prompt and install or inspect every bundled plugin. In non-interactive `--yes` mode, AgentInit can also auto-resolve bundled plugins from `--skill` when those skill names map uniquely; ambiguous selections still fail with guidance.
296
321