sigelo-contact 0.1.5 → 0.1.7
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 +5 -5
- package/carrier.mjs +553 -65
- package/enrol.mjs +402 -0
- package/file.mjs +113 -0
- package/invite.mjs +16 -9
- package/kdf.mjs +10 -2
- package/package.json +12 -3
- package/short.mjs +30 -5
- package/store.mjs +147 -10
- package/test-carrier.mjs +32 -2
- package/test-enrol.mjs +240 -0
- package/test-file.mjs +231 -0
- package/test-short.mjs +112 -3
- package/test-tier.mjs +240 -0
package/README.md
CHANGED
|
@@ -16,15 +16,16 @@ sigelo-agent inbox # what came since last time
|
|
|
16
16
|
|
|
17
17
|
Also `contacts`, `forget <did>`, and all as MCP tools
|
|
18
18
|
([`integrations/mcp/contact.mjs`](../integrations/mcp/contact.mjs)).
|
|
19
|
-
Each verb logs in once (
|
|
20
|
-
|
|
19
|
+
Each verb logs in once (30 a minute per network), never beside its `sigelo-agent watch` or `ui`
|
|
20
|
+
([one owner](../adapters/moadim/WATCH.md)).
|
|
21
|
+
The first login proves work (5–60 s on a phone). `SIGELO_RELAY` names the relay for new codes
|
|
21
22
|
(default `relay.sigelo.ai`); a Pro reader sets `SIGELO_RELAY_RETENTION_DAYS=90`. State sits
|
|
22
23
|
beside the identity file (0600); messages wait there in plaintext until `inbox` takes them.
|
|
23
24
|
`carrier.mjs`'s header is its API; with `onEvent`, nothing is kept.
|
|
24
25
|
|
|
25
26
|
## Tests
|
|
26
27
|
|
|
27
|
-
Node 22.18 or newer
|
|
28
|
+
Node 22.18 or newer.
|
|
28
29
|
|
|
29
30
|
```sh
|
|
30
31
|
node test-invite.mjs && node test-envelope.mjs
|
|
@@ -66,8 +67,7 @@ Key agreement is hybrid post-quantum (X25519 + ML-KEM-768), as in Signal and Sim
|
|
|
66
67
|
|
|
67
68
|
## What it does not do
|
|
68
69
|
|
|
69
|
-
- Find anyone (codes travel out of band), hide who talks to whom from the relay, or deny
|
|
70
|
-
(signed).
|
|
70
|
+
- Find anyone (codes travel out of band), hide who talks to whom from the relay, or deny.
|
|
71
71
|
- Heal inside an epoch after a key theft (no double ratchet): a stolen state file reads what
|
|
72
72
|
contacts write until the next weekly prekey replacement.
|
|
73
73
|
- Confirm delivery (the relay acknowledges, not the contact): a relay withholding an epoch's key
|