@cerefox/memory 1.1.0-beta.4 → 1.1.0-beta.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/dist/bin/cerefox.js +145 -5
- package/dist/frontend/assets/{index-BLqrpbNz.js → index-Co28kX04.js} +30 -30
- package/dist/frontend/assets/index-Co28kX04.js.map +1 -0
- package/dist/frontend/index.html +1 -1
- package/docs/guides/configuration.md +30 -3
- package/package.json +1 -1
- package/dist/frontend/assets/index-BLqrpbNz.js.map +0 -1
package/dist/frontend/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
href="https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap"
|
|
16
16
|
/>
|
|
17
17
|
<title>Cerefox</title>
|
|
18
|
-
<script type="module" crossorigin src="/app/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/app/assets/index-Co28kX04.js"></script>
|
|
19
19
|
<link rel="stylesheet" crossorigin href="/app/assets/index-C1JXZA9m.css">
|
|
20
20
|
</head>
|
|
21
21
|
<body>
|
|
@@ -367,8 +367,12 @@ enable it.
|
|
|
367
367
|
|
|
368
368
|
### How it works
|
|
369
369
|
|
|
370
|
-
A `cerefox_config` table in Postgres stores runtime configuration as key-value
|
|
371
|
-
|
|
370
|
+
A `cerefox_config` table in Postgres stores runtime configuration as key-value
|
|
371
|
+
pairs. The allow-list lives in the `cerefox_set_config` RPC; run `cerefox config
|
|
372
|
+
list` (or open **Settings** in the web UI) for the current set — today that is
|
|
373
|
+
usage tracking, the two requestor-identity keys, three retrieval tunables, and
|
|
374
|
+
`relations_enabled`. Usage logging is the illustrative case below: every logging
|
|
375
|
+
call goes through the
|
|
372
376
|
`cerefox_log_usage` RPC, which checks this config value first:
|
|
373
377
|
|
|
374
378
|
- If `usage_tracking_enabled` is `"true"` -- the RPC inserts a row into `cerefox_usage_log`
|
|
@@ -398,7 +402,30 @@ cerefox config set usage_tracking_enabled false
|
|
|
398
402
|
cerefox config get usage_tracking_enabled
|
|
399
403
|
```
|
|
400
404
|
|
|
401
|
-
|
|
405
|
+
**Via the web UI:** `cerefox web` → **Settings**. Every runtime key is listed
|
|
406
|
+
with its description, current value and default, grouped into Retrieval,
|
|
407
|
+
Governance and Features.
|
|
408
|
+
|
|
409
|
+
Two things the page does deliberately:
|
|
410
|
+
|
|
411
|
+
- **Keys that change what agents see require confirmation.** Turning on
|
|
412
|
+
`relations_enabled` adds four tools to every connected agent's tool list, and
|
|
413
|
+
`require_requestor_identity` starts rejecting agents that don't identify
|
|
414
|
+
themselves. Neither is a bare toggle — you get a dialog naming the
|
|
415
|
+
consequence first.
|
|
416
|
+
- **Local overrides are shown, read-only.** If the server has
|
|
417
|
+
`CEREFOX_MIN_SEARCH_SCORE` (or the `..._TERM_COVERAGE` / `..._SEARCH_ALPHA`
|
|
418
|
+
equivalents) in its environment, that value beats the stored one *on that
|
|
419
|
+
machine*, and the row says so. Without this the page would report a value the
|
|
420
|
+
server isn't using. The page never edits `.env` — that file holds your
|
|
421
|
+
service-role key, OpenAI key and database password, and the server only reads
|
|
422
|
+
it at boot.
|
|
423
|
+
|
|
424
|
+
The CLI (`cerefox config set <key> <value>` / `cerefox config get <key>`) remains
|
|
425
|
+
the canonical path and works whether or not the web server is running. Both go
|
|
426
|
+
through the same `cerefox_set_config` RPC, so they cannot disagree.
|
|
427
|
+
`/api/v1/config` (list) and `/api/v1/config/<key>` (read/write) expose the same
|
|
428
|
+
data for programmatic access while `cerefox web` runs.
|
|
402
429
|
|
|
403
430
|
### What gets logged
|
|
404
431
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerefox/memory",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.5",
|
|
4
4
|
"description": "Cerefox — user-owned shared memory for AI agents. CLI + stdio MCP server + web UI + ingestion for a knowledge base on your own Supabase project (or fully self-hosted with Cerefox Local).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/fstamatelopoulos/cerefox",
|