zswarm 0.4.6 → 0.4.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zswarm",
3
- "version": "0.4.6",
3
+ "version": "0.4.8",
4
4
  "type": "module",
5
5
  "description": "Coordinate CLI agent crews in Zellij panes",
6
6
  "engines": {
@@ -23,8 +23,8 @@
23
23
  "skills"
24
24
  ],
25
25
  "dependencies": {
26
- "@zswarm/cli": "0.4.5",
27
- "@zswarm/mcp": "0.3.5"
26
+ "@zswarm/cli": "0.4.7",
27
+ "@zswarm/mcp": "0.3.7"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"
@@ -36,6 +36,19 @@ ZSWARM_SSH=user@host ZSWARM_SSH_MODE=interactive → list/send
36
36
  TEMP unless `ZSWARM_TMP` is set. `ZSWARM_REMOTE_BIN=zellij.exe` if `zellij` is
37
37
  not on the remote PATH. `ZSWARM_REMOTE_SHELL=cmd|sh` overrides quoting.
38
38
 
39
+ ## Gate: send-only keys (any OS)
40
+
41
+ When another machine should only be able to message chosen panes here, not log in:
42
+
43
+ ```bash
44
+ # receiver: allow that machine's key to send to one pane, under an id it cannot change
45
+ zswarm gate allow box-a --key-file box-a-gate.pub --session ops --pane ops-agent --from 100.64.0.10
46
+ # sender: an ssh alias that uses that key, then
47
+ zswarm send --gate ops-mac --session ops --to ops-agent --from my-pane --body "..."
48
+ ```
49
+
50
+ One ssh call; only `send` passes, to allowed panes; the message header shows `host=<id> via=gate`. Details: `docs/gate.md`.
51
+
39
52
  ## Serve (any OS)
40
53
 
41
54
  Run zswarm **next to Zellij**; the client talks over a tunnel. Use this when