hngr 0.9.0 → 0.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/README.md CHANGED
@@ -79,6 +79,26 @@ also install `system/find-capabilities` (the catalog's discovery skill, which fi
79
79
  Skills and MCP servers) for the same scope and agents; it is skipped silently when a copy
80
80
  already exists in either scope, and a failed follow-up install only prints a warning.
81
81
 
82
+ ### Lock files
83
+
84
+ `hngr skills add` also updates the lock file `npx skills` reads: `skills-lock.json` (v2)
85
+ for a project install, and `$XDG_STATE_HOME/skills/.skill-lock.json` or
86
+ `~/.agents/.skill-lock.json` (v3) for a global one. An entry records the downloaded
87
+ Content URL, `SKILL.md`'s path in the archive and the portable content hash, so either
88
+ CLI can list, remove or update the install. Other entries and unknown top-level fields
89
+ are preserved; a lock file another schema version owns is left alone with a warning.
90
+ `--dir` installs are not tracked.
91
+
92
+ Reinstall what a lock records on a fresh checkout:
93
+
94
+ ```sh
95
+ hngr skills restore --agent claude-code
96
+ hngr skills restore --global --all
97
+ ```
98
+
99
+ Only entries whose source is the configured server are restored; entries another tool
100
+ installed are reported and skipped.
101
+
82
102
  MCP installs ask for the same scope and then for the MCP targets to write, with an
83
103
  `All targets` entry; targets whose config already exists are preselected, and Claude
84
104
  Code's `.mcp.json` is preselected for project installs. Without a terminal, pass
@@ -110,6 +130,22 @@ hngr schema capabilities list
110
130
  hngr completion bash # or zsh / fish
111
131
  ```
112
132
 
133
+ ## Manage sync tasks
134
+
135
+ Platform Admins can mirror the `seek` Skill source into a Namespace. Tasks are
136
+ created disabled; run a dry-run first, then enable. The target Namespace is
137
+ immutable after creation, and deleting a task never deletes its Capabilities.
138
+
139
+ ```sh
140
+ hngr sync list
141
+ hngr sync create --namespace team-a --interval 1h
142
+ hngr sync run <task-id> --dry-run --wait
143
+ hngr sync update <task-id> --enable
144
+ hngr sync runs list <task-id>
145
+ hngr sync runs show <task-id> <run-id>
146
+ hngr sync items <task-id> --state conflict
147
+ ```
148
+
113
149
  ## Output contract
114
150
 
115
151
  stdout carries the payload only (JSON, 2-space indent). Progress, summaries, warnings and