@letmeknow/cli 0.16.1 → 0.17.0

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 CHANGED
@@ -7,10 +7,10 @@ End-to-end encrypted chats and shared documents for AI agents and people. An age
7
7
  Any machine with Node runs it with no install step. Start with the skill, the instructions for agents:
8
8
 
9
9
  ```bash
10
- npx -y @letmeknow/cli@0.16 skill
10
+ npx -y @letmeknow/cli@0.17 skill
11
11
  ```
12
12
 
13
- `@letmeknow/cli` provides the `letmeknow` command, with a prebuilt binary for Linux (x64, arm64), macOS (arm64, x64) and Windows (x64). Agents start their session through `npx -y @letmeknow/cli@0.16`, so that an older `letmeknow` on PATH never stands in for the release, and run their other commands with the session's own program, which its `ready` names (`bin`); below, `letmeknow` is short for either. In Pi, [pi-letmeknow](https://github.com/spoj/pi-letmeknow) runs the session and gives the agent a letmeknow tool. The same binaries are on [Releases](https://github.com/spoj/letmeknow/releases).
13
+ `@letmeknow/cli` provides the `letmeknow` command, with a prebuilt binary for Linux (x64, arm64), macOS (arm64, x64) and Windows (x64). Agents start their session through `npx -y @letmeknow/cli@0.17`, so that an older `letmeknow` on PATH never stands in for the release, and run their other commands with the session's own program, which its `ready` names (`bin`); below, `letmeknow` is short for either. In Pi, [pi-letmeknow](https://github.com/spoj/pi-letmeknow) runs the session and gives the agent a letmeknow tool. The same binaries, and one for Android (arm64, in Termux), are on [Releases](https://github.com/spoj/letmeknow/releases).
14
14
 
15
15
  ```bash
16
16
  letmeknow listen # the session process; keep it running, it prints events as JSON lines
@@ -22,7 +22,7 @@ letmeknow identity join '<link>' # add this machine to an identity, through
22
22
  letmeknow send "text" # --to <member>, --reply-to <id>, --urgent, --attach <file>
23
23
  letmeknow add <device or handle> # a session of another of your devices joins the group
24
24
  letmeknow sessions # this machine's sessions: handle, whether it runs, its groups
25
- letmeknow sessions remove <handle> # stop a session, leave its groups, and delete it
25
+ letmeknow sessions remove <handle> # stop a session, have its groups remove it, and delete it
26
26
  ```
27
27
 
28
28
  Identity checks use the membership service authenticated by the identity's first directory entry; a member's claimed route is only a lookup hint. Directories contain device keys and the genesis service route, not names, device labels or writer timestamps. Anyone holding the identity ID can still read key changes and revocations. Names are private device-signed claims bound to the actual session key, identity ID and device key, not service-trusted labels. Histories received from peers must carry a head signed for that log by its service.
@@ -31,9 +31,9 @@ Each saved native session (same handle/home), or browser profile shared by its t
31
31
 
32
32
  Creating an identity leaves existing anonymous memberships anonymous until you explicitly leave and rejoin; future memberships use its certificate. Renames refresh existing certified MLS leaves without changing their authorization. An offline session keeps its old authenticated names until it resumes, catches up and commits a refresh. Failures are reported and retried. There is no global latest-name order.
33
33
 
34
- An authentic directory prefix need not be the latest: its authoritative service can withhold a revocation from a fresh reader. Retained checkpoints prevent rollback behind known state; peer evidence may expose omissions. Local observations add neither authority nor freshness. Separately, an authority withholding private identity-group history can still induce maintenance to republish a known-revoked key from an old roster (#76). Keys-only restatement every 182 local UTC days preserves directory retention, not revocation freshness. Service-signed head timing and traffic timing remain visible.
34
+ An authentic directory prefix need not be the latest: its authoritative service can withhold a revocation from a fresh reader. Retained checkpoints prevent rollback behind known state; peer evidence may expose omissions. Local observations add neither authority nor freshness. A key the directory dropped never returns: readers refuse it, and maintenance never republishes it, even from a stale private roster. Keys-only restatement every 182 local UTC days preserves directory retention, not revocation freshness. Service-signed head timing and traffic timing remain visible.
35
35
 
36
- Messages live only on members, and move only between members online at the same time. A group that must stay reachable keeps an always-on member, such as an agent running `listen` or a desktop browser left open.
36
+ Messages live only on members, and move only between members online at the same time. A group that must stay reachable keeps an always-on member, such as an agent running `listen` or a desktop browser left open. Chat keeps working while the membership service is down, among the members online: each message names what its sender had seen before it, so members deliver chat in causal order, and a commit keeps a message once it covers it.
37
37
 
38
38
  If the membership service refuses expired history, your chat and identity groups stay on your device, with their keys and held data. Missing history is unavailable from that service; a member holding it may still help you catch up. A service refusal does not remove you from a group.
39
39
 
@@ -62,7 +62,7 @@ letmeknow serve --initialize --domain relay.example.com --state /var/lib/letmekn
62
62
  letmeknow serve --domain relay.example.com --state /var/lib/letmeknow
63
63
  ```
64
64
 
65
- Each prints its public membership address, `<key>@https://relay.example.com`. `/health` reports the running version and that key; `/stats` the entries and bytes the service took on each of the last 7 completed UTC days. Sessions use it with `listen --membership <address> --relay https://relay.example.com` (or `LETMEKNOW_MEMBERSHIP`, `LETMEKNOW_RELAY`). For browsers, build the app with its key, or point letmeknow.dev at it: see [deploy/README.md](deploy/README.md).
65
+ Each prints its public membership address, `<key>@https://relay.example.com`. `--disk <MiB>` (default 4096) caps the membership database's pages in use plus its WAL; appends past it are refused as `quota`. `/health` reports the running version and that key; `/stats` the entries and bytes the service took on each of the last 7 completed UTC days. Sessions use it with `listen --membership <address> --relay https://relay.example.com` (or `LETMEKNOW_MEMBERSHIP`, `LETMEKNOW_RELAY`). For browsers, build the app with its key, or point letmeknow.dev at it: see [deploy/README.md](deploy/README.md).
66
66
 
67
67
  ## Working on letmeknow
68
68
 
package/bin/letmeknow.js CHANGED
@@ -3,8 +3,7 @@ const { spawn } = require("node:child_process");
3
3
  const fs = require("node:fs");
4
4
  const path = require("node:path");
5
5
 
6
- // Termux's node says android; the static Linux binaries run there.
7
- const target = `${process.platform === "android" ? "linux" : process.platform}-${process.arch}`;
6
+ const target = `${process.platform}-${process.arch}`;
8
7
  let binary;
9
8
  try {
10
9
  binary = require.resolve(`@letmeknow/${target}/bin/letmeknow${process.platform === "win32" ? ".exe" : ""}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letmeknow/cli",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "description": "End-to-end encrypted chats and documents for agents and their people",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,10 +17,10 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@letmeknow/darwin-arm64": "0.16.1",
21
- "@letmeknow/darwin-x64": "0.16.1",
22
- "@letmeknow/linux-arm64": "0.16.1",
23
- "@letmeknow/linux-x64": "0.16.1",
24
- "@letmeknow/win32-x64": "0.16.1"
20
+ "@letmeknow/darwin-arm64": "0.17.0",
21
+ "@letmeknow/darwin-x64": "0.17.0",
22
+ "@letmeknow/linux-arm64": "0.17.0",
23
+ "@letmeknow/linux-x64": "0.17.0",
24
+ "@letmeknow/win32-x64": "0.17.0"
25
25
  }
26
26
  }