@monadeo.com/grimoire-cli 0.14.4 → 0.14.5

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
@@ -27,34 +27,11 @@ 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
30
+ ## Access
31
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.
32
+ Sign in with `grimoire login`. Access to Grimoire is granted per account by its
33
+ operators; until then the CLI shows the account as authenticated without access.
34
+ Ask your administrator, quoting the subject that `grimoire login` prints.
58
35
 
59
36
  ## Retrieval
60
37
 
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.4" : "dev";
560
+ var VERSION = true ? "0.14.5" : "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.4",
3
+ "version": "0.14.5",
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.4"
15
+ "@monadeo.com/grimoire-core": "0.14.5"
16
16
  },
17
17
  "description": "Grimoire CLI — version-correct documentation retrieval for AI coding agents",
18
18
  "homepage": "https://grimoire.monadeo.com",