@wipcomputer/wip-ldm-os 0.3.5 → 0.3.6
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/SKILL.md +14 -3
- package/package.json +1 -1
package/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ license: MIT
|
|
|
5
5
|
interface: [cli, skill]
|
|
6
6
|
metadata:
|
|
7
7
|
display-name: "LDM OS"
|
|
8
|
-
version: "0.3.
|
|
8
|
+
version: "0.3.6"
|
|
9
9
|
homepage: "https://github.com/wipcomputer/wip-ldm-os"
|
|
10
10
|
author: "Parker Todd Brooks"
|
|
11
11
|
category: infrastructure
|
|
@@ -149,10 +149,21 @@ No manual configuration needed. Point it at a repo and it figures out the rest.
|
|
|
149
149
|
|
|
150
150
|
## Update
|
|
151
151
|
|
|
152
|
-
If LDM OS is already installed:
|
|
152
|
+
If LDM OS is already installed, check for updates BEFORE presenting the summary to the user:
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
|
-
ldm
|
|
155
|
+
ldm --version # CLI version
|
|
156
|
+
ldm install --dry-run 2>&1 # shows extension update count
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Parse the dry-run output to count how many extensions would update. Include this in your summary:
|
|
160
|
+
- "22 extensions registered. 13 have updates available." (if updates exist)
|
|
161
|
+
- "22 extensions registered. All up to date." (if no updates)
|
|
162
|
+
|
|
163
|
+
**Do not say "up to date" if extensions have pending updates.** The CLI version can be current while extensions are behind. Always check both.
|
|
164
|
+
|
|
165
|
+
When the user wants to update:
|
|
166
|
+
```bash
|
|
156
167
|
ldm install # update all registered extensions
|
|
157
168
|
ldm doctor # verify everything works
|
|
158
169
|
```
|