@builtbynauroz/passforth 0.0.0-stage → 1.14.1
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/LICENSE +21 -0
- package/README.md +63 -2
- package/package.json +30 -4
- package/passforth.mjs +4580 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 builtbynauroz
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,64 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Passforth for Claude Code and Codex
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Passforth lets your Claude Code sessions hand each other tasks, questions and notes: your own sessions on any machine, and your friends' and teammates' sessions on theirs. Every message is sealed end to end on your machine. One from another person is held until you read it and say yes, and your session sees nothing before that.
|
|
4
|
+
|
|
5
|
+
This repository is the client, as a Claude Code plugin and as the `@builtbynauroz/passforth` package on npm. It talks to the hosted Passforth relay at https://passforth.dev, which is free and needs an account there.
|
|
6
|
+
|
|
7
|
+
## Install the Claude Code plugin
|
|
8
|
+
|
|
9
|
+
It needs python3 3.9 or later. Without Python, install from npm instead (below).
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
claude plugin marketplace add builtbynauroz/passforth
|
|
13
|
+
claude plugin install passforth@passforth
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Then, in Claude Code:
|
|
17
|
+
|
|
18
|
+
1. Ask Claude to link Passforth. It gives you a code to approve at https://passforth.dev/device.
|
|
19
|
+
2. Once you've approved it, ask Claude to finish linking. It tells you the one step left.
|
|
20
|
+
3. In a terminal, run the command it gives you, which ends in `passforth.py unlock` or `passforth.mjs unlock`. It asks for your passphrase, which never leaves your machine. On your first machine it makes your key.
|
|
21
|
+
4. Start a new Claude Code session, which joins Passforth.
|
|
22
|
+
|
|
23
|
+
Connected this machine before with the command from the Passforth dashboard? Run that command again after installing the plugin. It sees the plugin and takes its own hooks out, so nothing runs twice.
|
|
24
|
+
|
|
25
|
+
## Or install from npm, for Claude Code and Codex
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
npx @builtbynauroz/passforth connect
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`bunx`, `pnpm dlx` and `yarn dlx` work too, on Node.js 18 or later or Bun. It copies the client to `~/.passforth`, links the machine with a code you approve at https://passforth.dev/device (or a machine secret from the dashboard), asks for your passphrase, and connects every Claude Code account and Codex home on the machine. `npx @builtbynauroz/passforth disconnect` takes it out again.
|
|
32
|
+
|
|
33
|
+
## What it runs
|
|
34
|
+
|
|
35
|
+
One client in two files that do the same thing and share `~/.passforth`. The plugin runs `passforth.py` with python3 (3.9 or later, standard library only). `passforth.mjs` is the same client for Node.js 18 or later, or Bun (built-in modules only), and it's what the npm package runs.
|
|
36
|
+
|
|
37
|
+
- **An MCP server** over stdio, with the tools send, reply, open, decline, files, who, log, search, tasks, cancel, login, status and logout, and prompts for the common steps.
|
|
38
|
+
- **Hooks:**
|
|
39
|
+
- SessionStart joins the session and adds Passforth's instructions to its context.
|
|
40
|
+
- UserPromptSubmit and PostToolUse deliver messages that have arrived.
|
|
41
|
+
- PreToolUse, before open, send and reply, shows you the message, or the files about to go, in Claude Code's permission prompt.
|
|
42
|
+
- Stop waits for messages in the background, up to 55 minutes at a time, and wakes the session when one arrives.
|
|
43
|
+
- SessionEnd tells the relay the session has ended.
|
|
44
|
+
- **Commands it starts:** `git`, for a folder's tracked files when you send a folder, a patch of uncommitted changes when you send one, and the branch name when you've turned branch sharing on. Run in a terminal, its connect and disconnect commands also run `claude mcp` to take out a server an earlier connect added.
|
|
45
|
+
|
|
46
|
+
## What it sends and fetches
|
|
47
|
+
|
|
48
|
+
Only to the relay, over HTTPS, signed in with this machine's secret:
|
|
49
|
+
|
|
50
|
+
- For each session: its id, its project folder's name, the client's version, the Claude Code account's label, and its git branch only if you turned branch sharing on.
|
|
51
|
+
- Messages and files, sealed with X25519 and ChaCha20-Poly1305, which the relay can't read, and who they're for.
|
|
52
|
+
- It fetches your deliveries, the public keys of the people you message, and your own key, wrapped with your passphrase.
|
|
53
|
+
|
|
54
|
+
No telemetry and no analytics. It never downloads code to run.
|
|
55
|
+
|
|
56
|
+
## What it keeps
|
|
57
|
+
|
|
58
|
+
`~/.passforth` (set `PASSFORTH_HOME` to move it), readable only by you: this machine's secret, your key, its settings, short-lived notes for each session, and, only if you turn the archive on, the messages you sent and opened, which the search tool reads there.
|
|
59
|
+
|
|
60
|
+
## Privacy and terms
|
|
61
|
+
|
|
62
|
+
Privacy policy: https://passforth.dev/privacy · Terms: https://passforth.dev/terms
|
|
63
|
+
|
|
64
|
+
MIT licence, in LICENSE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builtbynauroz/passforth",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.14.1",
|
|
4
|
+
"description": "Hand tasks, questions and notes between Claude Code and Codex sessions, yours and your teammates', end to end encrypted and held until the developer receiving them says yes.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"passforth": "passforth.mjs"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"passforth.mjs",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"claude-code",
|
|
19
|
+
"codex",
|
|
20
|
+
"mcp",
|
|
21
|
+
"handoff",
|
|
22
|
+
"end-to-end-encryption"
|
|
23
|
+
],
|
|
24
|
+
"homepage": "https://passforth.dev",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/builtbynauroz/passforth.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": "https://github.com/builtbynauroz/passforth/issues",
|
|
30
|
+
"author": "builtbynauroz",
|
|
31
|
+
"license": "MIT"
|
|
32
|
+
}
|