greprag 5.15.0 → 5.15.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/dist/commands/checkpoint-helpers.js +1 -4
- package/dist/commands/checkpoint-helpers.js.map +1 -1
- package/dist/commands/corpus.js +130 -9
- package/dist/commands/corpus.js.map +1 -1
- package/dist/commands/inbox-watch-supervisor.d.ts +31 -0
- package/dist/commands/inbox-watch-supervisor.js +173 -0
- package/dist/commands/inbox-watch-supervisor.js.map +1 -0
- package/dist/commands/inbox-watch-util.d.ts +5 -0
- package/dist/commands/inbox-watch-util.js +13 -0
- package/dist/commands/inbox-watch-util.js.map +1 -0
- package/dist/commands/init.js +2 -74
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/lore.js +4 -6
- package/dist/commands/lore.js.map +1 -1
- package/dist/hook.js +7 -5
- package/dist/hook.js.map +1 -1
- package/dist/inbox-notify.d.ts +60 -0
- package/dist/inbox-notify.js +229 -0
- package/dist/inbox-notify.js.map +1 -0
- package/dist/index.js +8 -19
- package/dist/index.js.map +1 -1
- package/dist/session-id.d.ts +25 -30
- package/dist/session-id.js +33 -39
- package/dist/session-id.js.map +1 -1
- package/package.json +1 -2
- package/skill/greprag/docs/corpus.md +12 -1
- package/plugin/.claude-plugin/marketplace.json +0 -13
- package/plugin/plugins/greprag-inbox/.claude-plugin/plugin.json +0 -7
- package/plugin/plugins/greprag-inbox/monitors/monitors.json +0 -8
package/dist/session-id.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-id.js","sourceRoot":"","sources":["../src/session-id.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYH,8CAMC;
|
|
1
|
+
{"version":3,"file":"session-id.js","sourceRoot":"","sources":["../src/session-id.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A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
|
{
|
|
2
2
|
"name": "greprag",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.1",
|
|
4
4
|
"description": "GrepRAG — agent memory for Claude Code. 2-command setup.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"skill",
|
|
18
|
-
"plugin",
|
|
19
18
|
"scripts"
|
|
20
19
|
],
|
|
21
20
|
"devDependencies": {
|
|
@@ -49,8 +49,19 @@ greprag corpus search "<store name or UUID>" "<lexical query>" [--limit 5] [--se
|
|
|
49
49
|
|
|
50
50
|
Each result carries: `nodeId` (stable 8-char anchor), `position`, `headingPath`, `score`, `content`.
|
|
51
51
|
|
|
52
|
+
`--section` is forgiving: it matches a heading at any depth (a title H1 above the chapters is fine), case-/dash-/whitespace-insensitively, and the final segment matches as a word-boundary prefix — so `--section "Chapter 7"` selects Chapter 7 without retyping its "— Subtitle" or producing an em-dash. Pass a fuller `"A/B"` path to disambiguate.
|
|
53
|
+
|
|
52
54
|
### Multistore search
|
|
53
55
|
|
|
56
|
+
```bash
|
|
57
|
+
greprag corpus search "<query>" --all # every store under the tenant
|
|
58
|
+
greprag corpus search "<query>" --store A --store B # specific stores (UUID or name)
|
|
59
|
+
greprag corpus search "<query>" --kind book # all stores of one kind
|
|
60
|
+
[--limit 8] [--section "<heading>"]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Hits are RRF-fused across (store × query) and labeled by store name. For full control — multiple decomposed queries in one call, adjacency tuning — call the API directly:
|
|
64
|
+
|
|
54
65
|
```bash
|
|
55
66
|
curl -sf -X POST "$GREPRAG_API_URL/v1/search" \
|
|
56
67
|
-H "Authorization: Bearer $GREPRAG_API_KEY" \
|
|
@@ -65,7 +76,7 @@ curl -sf -X POST "$GREPRAG_API_URL/v1/search" \
|
|
|
65
76
|
}'
|
|
66
77
|
```
|
|
67
78
|
|
|
68
|
-
Omit `storeIds` to search every store under the calling tenant. RRF fuses across (store × query) pairs; adjacency boosts surface semantic clusters.
|
|
79
|
+
Omit `storeIds` (or use `--all`) to search every store under the calling tenant. RRF fuses across (store × query) pairs; adjacency boosts surface semantic clusters.
|
|
69
80
|
|
|
70
81
|
## Walk
|
|
71
82
|
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "greprag",
|
|
3
|
-
"owner": { "name": "GrepRAG", "email": "travis@greprag.com" },
|
|
4
|
-
"metadata": { "description": "GrepRAG bundled plugins." },
|
|
5
|
-
"plugins": [
|
|
6
|
-
{
|
|
7
|
-
"name": "greprag-inbox",
|
|
8
|
-
"description": "Auto-arms the GrepRAG inbox watcher (session-scoped) at session start so cross-session messages arrive mid-task without the agent invoking anything.",
|
|
9
|
-
"source": "./plugins/greprag-inbox",
|
|
10
|
-
"category": "productivity"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"name": "greprag-inbox-watch",
|
|
4
|
-
"when": "always",
|
|
5
|
-
"description": "GrepRAG inbox (session-scoped live tail)",
|
|
6
|
-
"command": "while true; do greprag inbox watch --session-from-env --json; echo '[greprag inbox watch] watcher exited, restarting in 1s' >&2; sleep 1; done"
|
|
7
|
-
}
|
|
8
|
-
]
|