@justestif/pk 0.1.6 → 0.1.7

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 +8 -1
  2. package/dist/index.js +8166 -554
  3. package/package.json +35 -33
package/README.md CHANGED
@@ -39,7 +39,8 @@ recent decisions, active notes) automatically into every session.
39
39
 
40
40
  ```bash
41
41
  pk new <type> <title> [--tags tag1,tag2]
42
- pk search <query> [--context] [--limit 5]
42
+ pk search <query> [--context] [--limit 5] [--type] [--status] [--tag]
43
+ pk vocab [--json]
43
44
  pk synthesize [query] [--all] [--session-start]
44
45
  pk index
45
46
  pk lint
@@ -54,6 +55,7 @@ pk instructions <command>
54
55
  | `decision` | Chosen direction with rationale and consequences |
55
56
  | `question` | Unresolved uncertainty that blocks or informs work |
56
57
  | `source` | Raw input preserved for provenance |
58
+ | `index` | Navigation/map-of-content over a topic or tag |
57
59
 
58
60
  ### Example
59
61
 
@@ -81,8 +83,13 @@ knowledge/
81
83
  ```
82
84
 
83
85
  Search is powered by SQLite FTS5 with BM25 ranking and porter stemming.
86
+ Partial word matching works — `pk search migr` matches "migration", "migrate", etc.
87
+ Matching body context is shown under each result.
84
88
  The index is a derived artifact — delete it and run `pk index` to rebuild.
85
89
 
90
+ `pk vocab` lists all tags in the knowledge base by frequency. Useful for orienting
91
+ an agent before searching, without loading full note content.
92
+
86
93
  ## Agent hook
87
94
 
88
95
  `pk init` installs `.claude/hooks/pk-user-prompt-submit.ts` and registers it