@remnic/cli 1.0.2 → 1.0.4

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) 2025 Joshua Warren
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 ADDED
@@ -0,0 +1,77 @@
1
+ # @remnic/cli
2
+
3
+ CLI for Remnic memory -- init, query, daemon management, connectors, curation, and more.
4
+
5
+ Part of [Remnic](https://github.com/joshuaswarren/remnic), the universal memory layer for AI agents.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @remnic/cli
11
+ ```
12
+
13
+ This installs the `remnic` command (and a legacy `engram` forwarder).
14
+
15
+ ## Quick start
16
+
17
+ ```bash
18
+ remnic init # Create remnic.config.json
19
+ export OPENAI_API_KEY=sk-...
20
+ export REMNIC_AUTH_TOKEN=$(openssl rand -hex 32)
21
+ remnic daemon start # Start background server
22
+ remnic status # Verify it's running
23
+ remnic query "hello" --explain # Test query with tier breakdown
24
+ ```
25
+
26
+ ## Commands
27
+
28
+ | Command | Description |
29
+ |---------|-------------|
30
+ | `remnic init` | Create a config file |
31
+ | `remnic daemon start/stop/status` | Manage the background server |
32
+ | `remnic query <text>` | Search memories |
33
+ | `remnic doctor` | Diagnose configuration issues |
34
+ | `remnic connectors install <name>` | Connect Claude Code, Codex CLI, Replit, etc. |
35
+ | `remnic curate` | Interactive memory curation |
36
+ | `remnic dedup` | Find and merge duplicate memories |
37
+ | `remnic sync` | Diff-aware sync with external sources |
38
+ | `remnic spaces` | Manage memory namespaces |
39
+ | `remnic bench list` | List published benchmark packs |
40
+ | `remnic bench run` | Run one or more published benchmark packs |
41
+
42
+ Run `remnic --help` for the full command list.
43
+
44
+ ## Benchmarks
45
+
46
+ The phase-1 benchmark surface is exposed through `remnic bench`, with `remnic benchmark`
47
+ kept as a compatibility alias.
48
+
49
+ ```bash
50
+ remnic bench list
51
+ remnic bench run --quick longmemeval
52
+ remnic bench run longmemeval --dataset-dir ~/datasets/longmemeval
53
+ remnic benchmark run --quick longmemeval
54
+ ```
55
+
56
+ `--quick` uses the lightweight benchmark path with a single-item limit so you can
57
+ smoke-test the harness without running a full benchmark pass. When a benchmark
58
+ ships a bundled smoke fixture, `--quick` uses that tracked fixture by default;
59
+ full runs need a real benchmark dataset. In a repo checkout the CLI will use
60
+ `evals/datasets/<benchmark>` automatically; in packaged installs pass
61
+ `--dataset-dir <path>` explicitly.
62
+
63
+ ## Connecting agents
64
+
65
+ Once the daemon is running, connect any supported agent:
66
+
67
+ ```bash
68
+ remnic connectors install claude-code # Claude Code (hooks + MCP)
69
+ remnic connectors install codex-cli # Codex CLI (hooks + MCP)
70
+ remnic connectors install replit # Replit (MCP only)
71
+ ```
72
+
73
+ All agents share the same memory store.
74
+
75
+ ## License
76
+
77
+ MIT
package/bin/remnic.cjs CHANGED
File without changes