jjhub 0.1.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/README.md +35 -0
- package/dist/cli/jjh.mjs +95143 -0
- package/package.json +24 -0
- package/skills/jjhub-cli/SKILL.md +209 -0
- package/skills/jjhub-cli/agents-snippet.md +28 -0
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# jjhub — the `jjh` CLI
|
|
2
|
+
|
|
3
|
+
GitHub CLI with Jujutsu-native superpowers: stable change IDs, stacks,
|
|
4
|
+
platform-wide undo, and conflicts that wait — layered over plain GitHub
|
|
5
|
+
repos by a [JJHub](https://jjhub.johnhenry.me) server.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install -g jjhub # installs the `jjh` command
|
|
11
|
+
# or one-off:
|
|
12
|
+
npx jjhub --help
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Quick start
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
jjh auth login # device-flow sign-in to your JJHub server
|
|
19
|
+
jjh repo list # what the server tracks
|
|
20
|
+
jjh change create "Fix login" # a change with a STABLE id (survives rebases)
|
|
21
|
+
jjh change list
|
|
22
|
+
jjh undo # platform-wide undo, from the op log
|
|
23
|
+
jjh agents-md >> AGENTS.md # teach your repo's coding agents to prefer jjh
|
|
24
|
+
jjh mcp serve # stdio MCP server over the same API
|
|
25
|
+
jjh acp serve # ACP agent (Zed etc.)
|
|
26
|
+
jjh help # everything else
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The CLI talks to the JJHub server at `JJHUB_URL` (default
|
|
30
|
+
`http://localhost:3000`) — e.g. `JJHUB_URL=https://jjhub.johnhenry.me jjh repo list`,
|
|
31
|
+
or use `jjh auth login --url https://jjhub.johnhenry.me` once and the saved
|
|
32
|
+
config takes over.
|
|
33
|
+
|
|
34
|
+
This package is the standalone CLI build (single bundled file, no runtime
|
|
35
|
+
dependencies). The JJHub server itself is not included.
|