@anatolykoptev/krolik-cli 0.9.0 → 0.10.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.
package/README.md CHANGED
@@ -39,12 +39,14 @@ One command replaces 10+ manual searches. AI gets complete project context insta
39
39
  ```bash
40
40
  krolik context --feature auth # Everything about auth feature
41
41
  krolik context --issue 42 # Context from GitHub issue
42
+ krolik context --search "tRPC" # Find code matching pattern
43
+ krolik context --changed-only # Only git-changed files
42
44
  krolik context --minimal # Ultra-compact (~1500 tokens)
43
45
  krolik context --quick # Compact with repo-map (~3500 tokens)
44
46
  krolik context --deep # Full analysis (~5s)
45
47
  ```
46
48
 
47
- **What it collects**: git state, database schema, API routes, project structure, types, past decisions, library docs.
49
+ **What it collects**: git state, database schema, API routes, project structure, types, past decisions, library docs, lib modules with signatures.
48
50
 
49
51
  ---
50
52
 
@@ -69,7 +71,10 @@ Memories are automatically included in context — AI sees what was decided befo
69
71
  Analyzes entire codebase and creates a prioritized report.
70
72
 
71
73
  ```bash
72
- krolik audit
74
+ krolik audit # All issues
75
+ krolik audit --mode release # Security + type-safety
76
+ krolik audit --mode queries # Duplicate Prisma/tRPC queries
77
+ krolik audit --mode pre-commit # Quick check before commit
73
78
  ```
74
79
 
75
80
  **Output**: `.krolik/AI-REPORT.md` with issues ranked by severity, files with most problems, and quick wins that can be auto-fixed.
@@ -133,6 +138,21 @@ krolik docs list # List cached libraries
133
138
 
134
139
  ---
135
140
 
141
+ ### `krolik modules` — Query Lib Modules
142
+
143
+ Discover reusable utilities in your codebase before writing new code.
144
+
145
+ ```bash
146
+ krolik modules # List all lib modules
147
+ krolik modules --search parse # Search exports by name
148
+ krolik modules --get fs # Details of specific module
149
+ krolik modules --paths # Show where modules are found
150
+ ```
151
+
152
+ **What it shows**: functions with signatures, types, constants — everything exported from `lib/@*` directories.
153
+
154
+ ---
155
+
136
156
  ### Other Commands
137
157
 
138
158
  | Command | What it does |