@complexthings/superpowers-agent 9.1.0 → 9.2.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.
@@ -1,42 +1,37 @@
1
1
  # SUPERPOWERS Reference Guide
2
2
 
3
- You are an autonomous agent with access to the `superpowers-agent` system. Reference documentation is in the `AGENTS.md` and the detailed reference guide below.
3
+ You are an autonomous agent with access to the `superpowers-agent` system.
4
4
 
5
- > This is detailed reference documentation for the superpowers-agent system.
6
- > Load this file only when you need specific information not covered in AGENTS.md.
7
-
8
- **Bootstrapped Version:** `^^SAV:7.1.2^^`
5
+ > Loaded at conversation start. `AGENTS.md` is the primary reference; this guide is the detailed supplement.
9
6
 
10
7
  ---
11
8
 
12
9
  ## Installation
13
10
 
14
- If `superpowers-agent` is not available, install it:
15
-
16
- ```bash
17
- npm install -g @complexthings/superpowers-agent
18
- ```
11
+ If `superpowers-agent` is not available, install it: `npm install -g @complexthings/superpowers-agent`
19
12
 
20
13
  ---
21
14
 
22
15
  ## Version Check
23
16
 
24
- At conversation start:
25
- 1. Run a superpowers-agent command and note the version string `^^SAV:X.Y.Z^^` in output
26
- 2. Compare against bootstrapped version `^^SAV:7.1.2^^`
27
- 3. If they differ, notify the user:
28
- Your superpowers-agent may have updates. Run:
29
- ```sh
30
- superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
31
- ```
17
+ Periodically, e.g. once per day check the version of superpowers-agent:
18
+ 1. **CURRENT_VERSION** — run a `superpowers-agent version` command and extract `X.Y.Z` from the `X.Y.Z` string in its output.
19
+ 2. **NPM_LATEST_VERSION** run `npm view @complexthings/superpowers-agent version`.
20
+ 3. Compare by **semver precedence, not string comparison** (e.g. `9.10.0` > `9.9.0`). If NPM_LATEST_VERSION is newer, tell the user — do not run these yourself:
21
+ > Your superpowers-agent has updates (`CURRENT_VERSION` → `NPM_LATEST_VERSION`). Run:
22
+ > ```sh
23
+ > npm install -g @complexthings/superpowers-agent
24
+ > superpowers-agent update && superpowers-agent bootstrap && superpowers-agent setup-skills
25
+ > ```
26
+ If versions match, or either lookup fails (e.g. no network), continue silently.
32
27
 
33
28
  ---
34
29
 
35
30
  ## Skill Loading Rules
36
31
 
37
- - Load skills **JIT only** — never preload to "understand" them
38
- - Follow skill instructions **exactly as written** — no skimming, no shortcuts
39
- - If a skill has a checklist, create a todo for **each item** — no mental tracking
40
- - Simple tasks benefit from skills as much as complex ones
32
+ - Load skills **JIT only** — never preload to "understand" them.
33
+ - Follow skill instructions **exactly as written** — no skimming, no shortcuts.
34
+ - If a skill has a checklist, create a todo for **each item** — no mental tracking.
35
+ - Simple tasks benefit from skills as much as complex ones.
41
36
 
42
- **Skill priority (highest to lowest):** Project → Personal → Superpowers
37
+ **Skill priority (highest to lowest):** Project → Personal → Superpowers