@engramx/client 0.7.13-rc.1 → 0.7.15-rc.10
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 +12 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,8 +41,10 @@ const version = await engram.appendMemory('memory/daily.md', '## Notes\nSomethin
|
|
|
41
41
|
const file = await engram.readMemory('MEMORY.md');
|
|
42
42
|
const files = await engram.readMemoryBatch(['MEMORY.md', 'memory/daily.md']);
|
|
43
43
|
|
|
44
|
-
//
|
|
45
|
-
|
|
44
|
+
// Wallet reads need canReadWallet, which the DEFAULT operator grant does NOT include — the
|
|
45
|
+
// default is read + append memory, no wallet, deliberately. Ask the owner for a grant with
|
|
46
|
+
// wallet access before uncommenting:
|
|
47
|
+
// const balance = await engram.walletBalance();
|
|
46
48
|
```
|
|
47
49
|
|
|
48
50
|
## Pairing
|
|
@@ -81,7 +83,13 @@ Store and retrieve external database snapshots:
|
|
|
81
83
|
|
|
82
84
|
```typescript
|
|
83
85
|
// Init a backup upload
|
|
84
|
-
const backupId = await engram.initBackup(
|
|
86
|
+
const backupId = await engram.initBackup(
|
|
87
|
+
'sqlite',
|
|
88
|
+
{ FullSnapshot: null },
|
|
89
|
+
null,
|
|
90
|
+
sha256,
|
|
91
|
+
'daily-backup',
|
|
92
|
+
);
|
|
85
93
|
|
|
86
94
|
// Upload in chunks
|
|
87
95
|
await engram.pushBackupChunk(backupId, 0, chunkData);
|
|
@@ -123,7 +131,7 @@ const verdict = await verifyCanonicalLineage(engramId, agent);
|
|
|
123
131
|
The canonical registry id ships in the SDK as `CANONICAL_REGISTRY_CANISTER_ID`
|
|
124
132
|
(empty until the production fleet is live — while empty, calls without an explicit
|
|
125
133
|
registry report `'indeterminate'` by design). Pass `{ registryId }` to ask a
|
|
126
|
-
different fleet (e.g. staging); the answer is then
|
|
134
|
+
different fleet (e.g. staging); the answer is then _that fleet's_ testimony, not
|
|
127
135
|
canonicity.
|
|
128
136
|
|
|
129
137
|
## OpenClaw Integration
|
package/package.json
CHANGED