@letmeknow/cli 0.13.0 → 0.13.2

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.
Files changed (2) hide show
  1. package/README.md +4 -20
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -10,7 +10,7 @@ Any machine with Node runs it with no install step. Start with the skill, the in
10
10
  npx -y @letmeknow/cli@0.13 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). For git groups, install it (`npm i -g @letmeknow/cli`) and run once `git config --global alias.remote-lmk '!letmeknow git-remote-lmk'`, which makes `letmeknow` git's remote helper for `lmk::` remotes. 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). For git groups, run once `git config --global alias.remote-lmk '!npx -y @letmeknow/cli@0.13 git-remote-lmk'` (or `'!letmeknow git-remote-lmk'` once installed with `npm i -g @letmeknow/cli`), which makes `letmeknow` git's remote helper for `lmk::` remotes. The same binaries are on [Releases](https://github.com/spoj/letmeknow/releases).
14
14
 
15
15
  ```bash
16
16
  letmeknow listen --name "Matthew's agent, repo X" # the session process; keep it running, it prints events as JSON lines
@@ -18,6 +18,7 @@ letmeknow invite # new chat; prints a one-time link, valid f
18
18
  letmeknow invite --kind doc tasks.md # new doc, kept in step with tasks.md
19
19
  letmeknow invite --kind git --name app # new git repository: git remote add team lmk::app, then git push team main
20
20
  letmeknow join '<link>' # join through a link
21
+ letmeknow identity join '<link>' # add this machine to an identity, through a device link (invite --identity)
21
22
  letmeknow send "text" # --to <member>, --reply-to <id>, --urgent, --attach <file>
22
23
  ```
23
24
 
@@ -37,23 +38,6 @@ letmeknow serve --domain chat.example.com --state /var/lib/letmeknow --web web/d
37
38
 
38
39
  It prints its membership address, `<key>@https://chat.example.com`. Sessions use it with `listen --membership <address> --relay https://chat.example.com` (or `LETMEKNOW_MEMBERSHIP`, `LETMEKNOW_RELAY`). The web client at https://chat.example.com uses that membership service and relay by itself: it reads the address from `/membership`. `deploy/` holds letmeknow.dev's systemd unit, Litestream config and install script.
39
40
 
40
- ## Layout
41
+ ## Working on letmeknow
41
42
 
42
- - `crates/`: the Rust workspace. `session` is the `letmeknow` binary (CLI and session process); `kind-doc` is the doc kind's plugin, `letmeknow-kind-doc`, and the browser's in-page doc plugin; `kind-git` is the git kind's plugin, `letmeknow-kind-git`, with git's remote helper `git-remote-lmk`, and the browser's display-only git plugin; `node` is one member's session, and `client` the client core on it (requests, events, described members, plugin hosting), both shared by the CLI and the browser; `core` (MLS groups and the group log's entries, identities, storage), `net` (peers and files over iroh), `membership` (logs and their services), `proto` (wire formats), `transport` (connections and streams, iroh's or the simulator's), `serve` (`letmeknow serve`), `web` (the browser's WebAssembly bindings), and `sim`, the deterministic simulation (see DESIGN.md, Testing).
43
- - `web/`: the browser client; `npm run build` writes `web/dist`.
44
- - `npm/cli/`: the npm launcher, which runs the prebuilt `letmeknow`; the plugins and git's remote helper letmeknow ships are beside it.
45
- - `deploy/`: letmeknow.dev's deployment.
46
- - `test/e2e.py`: the end-to-end test, against a local `letmeknow serve`; `--no-browser` skips the browser client.
47
-
48
- ```bash
49
- cargo test --workspace
50
- python3 test/e2e.py # the browser part needs wasm-bindgen-cli 0.2.129, and `npm ci && npx playwright install chromium-headless-shell` in web/
51
- cargo run -p lmk-sim --release -- --seeds 0..300 # each failing seed prints the command that replays it
52
- ```
53
-
54
- ## Docs
55
-
56
- - [DESIGN.md](DESIGN.md): how it works, and why.
57
- - [PROTOCOL.md](PROTOCOL.md): the exact formats.
58
- - [SKILL.md](SKILL.md): the instructions agents get from `letmeknow skill`.
59
- - [IDEAS.md](IDEAS.md): explorations for later.
43
+ See AGENTS.md.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letmeknow/cli",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
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.13.0",
21
- "@letmeknow/darwin-x64": "0.13.0",
22
- "@letmeknow/linux-arm64": "0.13.0",
23
- "@letmeknow/linux-x64": "0.13.0",
24
- "@letmeknow/win32-x64": "0.13.0"
20
+ "@letmeknow/darwin-arm64": "0.13.2",
21
+ "@letmeknow/darwin-x64": "0.13.2",
22
+ "@letmeknow/linux-arm64": "0.13.2",
23
+ "@letmeknow/linux-x64": "0.13.2",
24
+ "@letmeknow/win32-x64": "0.13.2"
25
25
  }
26
26
  }