@engramx/client 0.16.0-rc.17 → 0.16.0-rc.18
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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ const files = await engram.readMemoryBatch(['MEMORY.md', 'memory/daily.md']);
|
|
|
66
66
|
> ```typescript
|
|
67
67
|
> const bundle = await engram.captureEvidence(receipt, 'memory/daily.md');
|
|
68
68
|
> // fs.writeFileSync('bundle.json', JSON.stringify(bundle));
|
|
69
|
-
> // npx @engramx/client@0.16.0-rc.
|
|
69
|
+
> // npx @engramx/client@0.16.0-rc.18 verify bundle.json → each link, the signed time, the entries walked
|
|
70
70
|
> ```
|
|
71
71
|
|
|
72
72
|
|
|
@@ -88,7 +88,7 @@ in-repo consumer as a reason to report what breaks, not as a warning that it doe
|
|
|
88
88
|
|
|
89
89
|
The 2026-08-17 charter diet (below) deleted a lot of caller-less methods and **deliberately kept
|
|
90
90
|
these two.** Zero in-repo callers was the reason to look at them; it was not the reason to decide.
|
|
91
|
-
Three facts decided it. They are what `npx @engramx/mcp@0.16.0-rc.
|
|
91
|
+
Three facts decided it. They are what `npx @engramx/mcp@0.16.0-rc.18 connect` *instructs* whoever builds a new
|
|
92
92
|
SDK-lane agent to call, verbatim, in the guide the dashboard's connect page renders — deleting a method
|
|
93
93
|
while still telling people to call it is the failure this whole exercise exists to prevent.
|
|
94
94
|
`startSession()` is the only read on the **update** path, so it is the only one the canister can
|
|
@@ -114,13 +114,13 @@ Pair your agent with an engram:
|
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
116
|
# Pair the agent on this machine with the engram and install the OpenClaw plugin
|
|
117
|
-
pnpm dlx @engramx/client@0.16.0-rc.
|
|
117
|
+
pnpm dlx @engramx/client@0.16.0-rc.18 pair <invite-code> --engram <canister-id> --target openclaw
|
|
118
118
|
|
|
119
119
|
# Replacement machine — after pairing, restore memory from the engram
|
|
120
|
-
pnpm dlx @engramx/client@0.16.0-rc.
|
|
120
|
+
pnpm dlx @engramx/client@0.16.0-rc.18 migrate --engram <canister-id> --recover
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
`pair` generates the key for this engram at `~/.engramx/session.key` (and, on the first pairing, the agent's lasting key at `~/.engramx/root.key`), pairs the agent — the CLI prints `Paired as an agent` — and installs the OpenClaw plugin. `migrate` then moves memory, saving a local checkpoint first — run `npx @engramx/client@0.16.0-rc.
|
|
123
|
+
`pair` generates the key for this engram at `~/.engramx/session.key` (and, on the first pairing, the agent's lasting key at `~/.engramx/root.key`), pairs the agent — the CLI prints `Paired as an agent` — and installs the OpenClaw plugin. `migrate` then moves memory, saving a local checkpoint first — run `npx @engramx/client@0.16.0-rc.18 rollback` to undo. Its default direction pushes local memory files to the engram; `--recover` instead restores database backups, and memory files sync automatically on next OpenClaw startup.
|
|
124
124
|
|
|
125
125
|
⟨2026-10-13⟩ `pair` moves no memory unless you add `--migrate`, and `--yes` never adds it. Without it, `pair` leaves any OpenClaw memory files on this machine where they are and prints one line: how many it found, and the `migrate` command that moves them. With `--migrate`, it runs that migration after pairing — each file is uploaded, then deleted here, and `rollback` restores them. Through 0.16.0-rc.11, `pair` ran the migration on every pairing, whatever the `--target` (Claude too), and answered its own question under `--yes`.
|
|
126
126
|
|
|
@@ -136,7 +136,7 @@ If the owner of the wallet allows it (a standing allowance they set for this age
|
|
|
136
136
|
page), the agent can open an engram of its own through the engram it works in. The owner may be a program. Whoever runs that program is the owner for every purpose on these pages.
|
|
137
137
|
|
|
138
138
|
```bash
|
|
139
|
-
npx @engramx/client@0.16.0-rc.
|
|
139
|
+
npx @engramx/client@0.16.0-rc.18 open-engram --engram <canister-id>
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
The engram it works in pays to open it, from its own balance, and the agent's lasting key
|
|
@@ -145,7 +145,7 @@ paid in is the agent's from the moment the new engram exists, and nothing is tak
|
|
|
145
145
|
reads the allowance first and stops, with nothing spent, when there is none; it never creates a
|
|
146
146
|
lasting key; and it prints the engram's own sentence when the engram refuses. It then prints the
|
|
147
147
|
owner kit's command that acts as the new engram's owner with the same file —
|
|
148
|
-
`npx @engramx/owner@0.16.0-rc.
|
|
148
|
+
`npx @engramx/owner@0.16.0-rc.18 --connect --key-file <that file> --registry <id>`, with both filled in — which
|
|
149
149
|
mints an invite for an agent to pair into it. The agent's lasting key is an owner key for the engram
|
|
150
150
|
it opened only; on the engram it works in it stays an agent. The agent's work in an engram its own
|
|
151
151
|
key owns is never counted on its track record. From code: `EngramClient.getChildAllowance(key)`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@engramx/client",
|
|
3
|
-
"version": "0.16.0-rc.
|
|
3
|
+
"version": "0.16.0-rc.18",
|
|
4
4
|
"description": "Client SDK for EngramX — persistent, decentralized memory for AI agents on the Internet Computer",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "EngramX <developer@engramx.ai>",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@icp-sdk/core": "^6.1.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@engramx/idl": "0.16.0-rc.
|
|
56
|
+
"@engramx/idl": "0.16.0-rc.18",
|
|
57
57
|
"@icp-sdk/core": "^6.1.0",
|
|
58
58
|
"@icp-sdk/vetkeys": "0.7.0",
|
|
59
59
|
"@noble/curves": "^2.4.0"
|