@invariant.guru/cli 0.5.1 → 0.5.2

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 (3) hide show
  1. package/README.md +6 -4
  2. package/dist/main.js +643 -630
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -86,17 +86,19 @@ invariant add everything-claude-code --sync
86
86
 
87
87
  Interactively select/unselect what's active — like `yarn upgrade-interactive`. Checked rows reflect the current activation state; checking adds, unchecking removes.
88
88
 
89
- By default it shows an **item-level tree** grouped per package and item type (agents / skills / commands / rules / contexts / instructions). Package and type rows are headers; you toggle the individual items below them (`space` toggles, `a` toggles all):
89
+ By default it shows a **hierarchical tree**: package item type (agents / skills / commands / rules / contexts / instructions) → item. Toggling a package or type **cascades** to all its items. Category rows show a `(selected/total)` count and a tri-state glyph — `◉` all, `◐` some, `◯` none:
90
90
 
91
91
  ```
92
- nest-clean-architecture@1.0.0 (1/3)
93
- agents (0/1)
92
+ nest-clean-architecture@1.0.0 (1/3)
93
+ agents (0/1)
94
94
  ◯ architect
95
- skills (1/2)
95
+ skills (1/2)
96
96
  ◉ qweqwe
97
97
  ◯ sdgsd
98
98
  ```
99
99
 
100
+ Keys: `↑↓` move · `space` toggle (cascades on a package/type row) · `a` all · `i` invert · `enter` confirm.
101
+
100
102
  ```bash
101
103
  # Item-level tree (default)
102
104
  invariant add-interactive