agentinit 1.19.0 → 1.20.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 CHANGED
@@ -1,3 +1,15 @@
1
+ # [1.20.0](https://github.com/agentinit/agentinit/compare/v1.19.0...v1.20.0) (2026-04-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **skills:** repair missing agent installs from canonical store ([c1b2c15](https://github.com/agentinit/agentinit/commit/c1b2c156880c96768cb29ccef659bca40b336cc0))
7
+
8
+
9
+ ### Features
10
+
11
+ * **lock:** add install lock tracking and skill updates ([ae27369](https://github.com/agentinit/agentinit/commit/ae27369378028370675fc78a10497526e954df2a))
12
+
1
13
  # [1.19.0](https://github.com/agentinit/agentinit/compare/v1.18.2...v1.19.0) (2026-04-12)
2
14
 
3
15
 
@@ -25,6 +37,11 @@
25
37
  ### Bug Fixes
26
38
 
27
39
  * **skills:** compare installed skill payloads before prompting for updates
40
+ * **lock:** treat global installs as shared targets and warn when lock persistence fails
41
+
42
+ ### Features
43
+
44
+ * **lock:** add lock inspection commands and tracked skill updates
28
45
 
29
46
  # [1.18.0](https://github.com/agentinit/agentinit/compare/v1.17.2...v1.18.0) (2026-04-04)
30
47
 
package/README.md CHANGED
@@ -171,7 +171,7 @@ agentinit rules add --global --agent claude --template git,write_tests
171
171
 
172
172
  ### `agentinit skills`
173
173
 
174
- Install, list, and remove reusable agent skills from marketplaces, local paths, or GitHub repositories.
174
+ Install, list, update, and remove reusable agent skills from marketplaces, local paths, or GitHub repositories.
175
175
 
176
176
  **Examples:**
177
177
  ```bash
@@ -214,6 +214,8 @@ agentinit skills add owner/repo --all
214
214
  # Review and clean up installed skills
215
215
  agentinit skills list
216
216
  agentinit skills list --agent agents
217
+ agentinit skills update openai-docs
218
+ agentinit skills update openai-docs --everywhere
217
219
  agentinit skills remove openai-docs
218
220
  ```
219
221
 
@@ -223,6 +225,29 @@ Skills are installed into a canonical store by default (`.agents/skills/` for pr
223
225
 
224
226
  When you re-run `agentinit skills add`, AgentInit now compares the installed skill payload with the source before overwriting anything. Unchanged skills are reported as already up to date. If an installed skill has changed, interactive runs ask for confirmation before replacing it, while `--yes` applies the update automatically.
225
227
 
228
+ `agentinit skills update [name]` replays tracked project-scoped installs from their original source in the current project. Use `agentinit skills update <name> --everywhere` to update that skill across every tracked target, including global installs.
229
+
230
+ ### `agentinit lock`
231
+
232
+ Inspect and maintain the global install lock at `~/.agentinit/lock.json`. The lock records successful skill, MCP, and rules changes so AgentInit can report current installations, find stale project paths, detect skill drift, and update tracked skills later.
233
+
234
+ **Examples:**
235
+ ```bash
236
+ # List current tracked installs across projects
237
+ agentinit lock list
238
+ agentinit lock list --kind skill --agent claude
239
+
240
+ # Show a summary and optionally compare skill files with their install hashes
241
+ agentinit lock status
242
+ agentinit lock status --check-drift
243
+
244
+ # Remove entries for projects that no longer exist
245
+ agentinit lock prune --dry-run
246
+ agentinit lock prune
247
+ ```
248
+
249
+ The lock is stored with user-only permissions when supported by the operating system. It can include absolute project paths, agent config paths, skill install paths, source repository or marketplace names, sanitized MCP URLs, and MCP command names. Do not share this file if those paths or source names are sensitive.
250
+
226
251
  ### `agentinit plugins`
227
252
 
228
253
  Install, inspect, search, and remove portable plugins from explicit marketplace sources, GitHub repositories, or local paths.
@@ -487,10 +512,13 @@ src/
487
512
  │ ├── init.ts # Project initialization
488
513
  │ ├── detect.ts # Stack detection
489
514
  │ ├── sync.ts # Configuration sync
490
- └── mcp.ts # MCP management
515
+ ├── mcp.ts # MCP management
516
+ │ ├── skills.ts # Skill installation and updates
517
+ │ └── lock.ts # Global install lock inspection
491
518
  ├── core/ # Core functionality
492
519
  │ ├── agentDetector.ts # Agent detection
493
520
  │ ├── stackDetector.ts # Stack analysis
521
+ │ ├── installLock.ts # Global install lock state
494
522
  │ ├── templateEngine.ts # Template processing
495
523
  │ └── propagator.ts # Config sync engine
496
524
  ├── registry/ # MCP registry