@codrihub/memora 0.0.0-stage → 1.2.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Codrihub Tech
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,67 @@
1
- # Temporary Holding Version
1
+ # @codrihub/memora
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [Memora](https://github.com/Codrihub/memora) is a self-hosted memory vault for
4
+ AI agents: a folder of Markdown notes that agents read and write over MCP, with
5
+ a web UI to browse, edit and govern it. One process serves the web UI, the HTTP
6
+ API, MCP and realtime updates on a single port.
7
+
8
+ This package installs the prebuilt release binaries:
9
+
10
+ | Command | Role |
11
+ |---|---|
12
+ | `memora` | The server (default `127.0.0.1:8400`) |
13
+ | `memora-cli` | The operator console: setup codes, keys, backups, config |
14
+
15
+ ## Install
16
+
17
+ ```sh
18
+ npm install -g @codrihub/memora
19
+ ```
20
+
21
+ or run it without installing:
22
+
23
+ ```sh
24
+ npx @codrihub/memora --version
25
+ ```
26
+
27
+ Supported: Linux on x86_64 and arm64 (static binaries, glibc or musl), Node 18
28
+ or newer. npm picks the matching `@codrihub/memora-linux-*` package; nothing is
29
+ downloaded by an install script, so it works offline from a registry mirror and
30
+ with `--ignore-scripts`. On macOS and Windows use
31
+ [Docker](https://github.com/Codrihub/memora#docker-compose) or
32
+ [build from source](https://github.com/Codrihub/memora#from-source); on Windows
33
+ WSL 2 works too.
34
+
35
+ ## Run
36
+
37
+ ```sh
38
+ mkdir -p ~/memora && cd ~/memora
39
+ MEMORA_VAULT=./vault MEMORA_STATE=./state memora
40
+ # in a second terminal, same folder:
41
+ MEMORA_STATE=./state memora-cli # then type /web
42
+ ```
43
+
44
+ `/web` prints a one-time setup code. Open `http://127.0.0.1:8400/login`, enter
45
+ it, create the owner account, then connect an agent over MCP (`/mcp` in the
46
+ console prints a ready-made config).
47
+
48
+ The web UI ships in this package and is used unless `MEMORA_ASSETS` points
49
+ elsewhere. Every other setting is an environment variable or
50
+ `memora-cli config`; see
51
+ [Configuration](https://github.com/Codrihub/memora/blob/main/docs/CONFIGURATION.md).
52
+
53
+ For a long-running server, the
54
+ [native installer](https://github.com/Codrihub/memora#native-installer-linux-x86_64--aarch64-with-systemd)
55
+ sets up a hardened systemd service instead.
56
+
57
+ ## Update
58
+
59
+ ```sh
60
+ npm install -g @codrihub/memora@latest
61
+ ```
62
+
63
+ The state database is migrated on the next start.
64
+
65
+ ## License
66
+
67
+ MIT