@monadeo.com/grimoire-cli 0.14.2 → 0.14.3
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 +29 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -27,6 +27,35 @@ sign-on URL, opens it in your browser, and keeps a refresh token in
|
|
|
27
27
|
URL, for headless or remote machines. CI can set `GRIMOIRE_AUTH_TOKEN` with a machine
|
|
28
28
|
token instead of logging in. `GRIMOIRE_API_URL` overrides the API origin.
|
|
29
29
|
|
|
30
|
+
## Users and access
|
|
31
|
+
|
|
32
|
+
Anyone signs in with `grimoire login`; access is granted in Supabase Studio →
|
|
33
|
+
Authentication → Users → the user's **app metadata**. The `grimoire` object
|
|
34
|
+
there is the whole authorization:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{"grimoire": {"access": true, "staff": true, "quota_per_day": 2000,
|
|
38
|
+
"rerankers": ["openrouter/cohere/rerank-v3.5"]}}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
A regular user:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{"grimoire": {"access": true, "quota_per_day": 500}}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
| field | meaning |
|
|
48
|
+
|---|---|
|
|
49
|
+
| `access` | `true` turns the account on; `false` or a missing object means no access |
|
|
50
|
+
| `staff` | every `grimoire staff` command, and every reranker |
|
|
51
|
+
| `quota_per_day` | searches per day; 2000 when omitted |
|
|
52
|
+
| `rerankers` | OpenRouter rerankers the account may pick with `--reranker` or `config reranker`; omit to allow none |
|
|
53
|
+
|
|
54
|
+
The server reranks every search with its default reranker, whatever the
|
|
55
|
+
account lists; `rerankers` only widens what a user may choose. Changes apply at
|
|
56
|
+
the user's next token refresh, within an hour. A new user sees their subject in
|
|
57
|
+
`grimoire login`'s output; that is the id to look up in Studio.
|
|
58
|
+
|
|
30
59
|
## Retrieval
|
|
31
60
|
|
|
32
61
|
| Command | What it does |
|
package/dist/index.js
CHANGED
|
@@ -557,7 +557,7 @@ function requireFlagOneOf(parsed, name, allowed, usage) {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
// src/help.ts
|
|
560
|
-
var VERSION = true ? "0.14.
|
|
560
|
+
var VERSION = true ? "0.14.3" : "dev";
|
|
561
561
|
var HELP = `grimoire ${VERSION} \u2014 documentation retrieval for AI agents
|
|
562
562
|
|
|
563
563
|
grimoire login [--no-launch-browser] | logout | whoami
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monadeo.com/grimoire-cli",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@types/node": "^26.1.0",
|
|
14
14
|
"esbuild": "^0.28.1",
|
|
15
|
-
"@monadeo.com/grimoire-core": "0.14.
|
|
15
|
+
"@monadeo.com/grimoire-core": "0.14.3"
|
|
16
16
|
},
|
|
17
17
|
"description": "Grimoire CLI — version-correct documentation retrieval for AI coding agents",
|
|
18
18
|
"homepage": "https://grimoire.monadeo.com",
|