@mrciphersmith/keryx 0.2.156 → 0.2.159
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 +104 -43
- package/dist/cli.js +3285 -2349
- package/dist/core.js +632 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,12 +38,12 @@ recorded update with a reason, and completes only when every one is confirmed
|
|
|
38
38
|
against recorded evidence — under a named owner, with every confirmation and
|
|
39
39
|
the completion itself signed.
|
|
40
40
|
|
|
41
|
+
## Quick start
|
|
42
|
+
|
|
43
|
+
**Requirements:** `git` and `bun` (>= 1.3.14 — older Bun can close the terminal input of `keryx shell`; see [onboarding](docs/docs/onboarding.md#bun-version)).
|
|
44
|
+
|
|
41
45
|
```bash
|
|
42
46
|
npm install -g @mrciphersmith/keryx
|
|
43
|
-
|
|
44
|
-
cd path/to/your-project
|
|
45
|
-
keryx init --yes
|
|
46
|
-
keryx gdgraph build
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
No bun, git, or node? Install the standalone binary instead — same CLI, no
|
|
@@ -53,8 +53,73 @@ runtime dependency:
|
|
|
53
53
|
curl -fsSL https://raw.githubusercontent.com/MrCipherSmith/keryx/main/scripts/install-binary.sh | bash
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
> **The package is scoped, and the scope matters.** The unscoped name `keryx` on
|
|
57
|
+
> npm belongs to [an unrelated project](https://github.com/actionhero/keryx).
|
|
58
|
+
> Install `@mrciphersmith/keryx`; the executable it installs is called `keryx`.
|
|
59
|
+
|
|
60
|
+
All four install paths — the npm package above, the standalone binary, the
|
|
61
|
+
managed installer (`~/.keryx` with a wrapper in `~/.local/bin`) and a
|
|
62
|
+
project-local install — are compared side by side, with what each one needs on
|
|
63
|
+
the machine first, in the [onboarding guide](docs/docs/onboarding.md).
|
|
64
|
+
|
|
56
65
|
Local-first · deterministic core · offline by default · MIT
|
|
57
66
|
|
|
67
|
+
```bash
|
|
68
|
+
cd path/to/your-project
|
|
69
|
+
keryx init --yes
|
|
70
|
+
keryx gdgraph build # code dependency graph
|
|
71
|
+
keryx test analyze # testing context report
|
|
72
|
+
keryx health run --changed # normalized health report
|
|
73
|
+
keryx dash # human admin dashboard
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
`keryx init` creates the `.metaproject/` workspace and connects your existing
|
|
77
|
+
`AGENTS.md` / `CLAUDE.md` entrypoints to it, so agents are routed to the right
|
|
78
|
+
module automatically.
|
|
79
|
+
|
|
80
|
+
### Connect a model provider
|
|
81
|
+
|
|
82
|
+
`keryx shell` needs one configured provider. The first run with none
|
|
83
|
+
configured opens a picker: choose a built-in provider (Anthropic, Ollama,
|
|
84
|
+
OpenRouter, DeepSeek, Z.AI, Cerebras, Groq, Moonshot, Grok, …) or add a custom
|
|
85
|
+
OpenAI-compatible endpoint, paste an API key if the provider needs one, then
|
|
86
|
+
pick a model.
|
|
87
|
+
|
|
88
|
+
To set one up before the first run, or add another later:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
keryx providers list # providers you already have configured
|
|
92
|
+
keryx auth login <provider> # subscription login (device code / OAuth) or API key
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Inside a running session, `/provider` reopens the same add/reconfigure wizard
|
|
96
|
+
and `/connect` switches between providers you already configured.
|
|
97
|
+
|
|
98
|
+
### Your first session
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
keryx shell
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Bare `keryx` prints the main commands; `keryx shell` starts the agent harness
|
|
105
|
+
described [below](#the-agent-harness). A few commands worth knowing from the
|
|
106
|
+
first session:
|
|
107
|
+
|
|
108
|
+
- `/theme [name]` opens the theme picker; a choice applies immediately.
|
|
109
|
+
- `/mode [ask|trust|auto]` shows or switches the permission mode for the rest
|
|
110
|
+
of the session — see [permission modes](docs/docs/guides/permission-modes.md).
|
|
111
|
+
- `/help` lists every slash command available in the current mode.
|
|
112
|
+
- `/resume`, `/sessions`, `/new` move between sessions from inside the shell;
|
|
113
|
+
`keryx sessions list` does the same from outside it.
|
|
114
|
+
|
|
115
|
+
### Where to go next
|
|
116
|
+
|
|
117
|
+
Full documentation site: **<https://mrciphersmith.github.io/keryx/>**, starting
|
|
118
|
+
with [Onboarding](docs/docs/onboarding.md) for the complete first-run
|
|
119
|
+
walkthrough. `keryx help` groups every command by task; the same table is a
|
|
120
|
+
generated reference page, [Commands by task](docs/docs/commands-by-task.md).
|
|
121
|
+
Run `keryx <command> --help` for the live flag surface of any command.
|
|
122
|
+
|
|
58
123
|
## Why keryx
|
|
59
124
|
|
|
60
125
|
An agent starts every task by re-deriving what your repository already knows:
|
|
@@ -178,6 +243,40 @@ keryx shell --chat # chat without tools
|
|
|
178
243
|
keryx shell --provider ollama --model gemma4:e4b # fully local
|
|
179
244
|
```
|
|
180
245
|
|
|
246
|
+
### Finding a command
|
|
247
|
+
|
|
248
|
+
`keryx help` prints every command grouped by task — Start here; Connect a
|
|
249
|
+
model provider; Look and feel; Working in keryx shell; Project knowledge;
|
|
250
|
+
Managed work; Automation; External agents, ACP and MCP; Maintenance and
|
|
251
|
+
diagnostics — instead of one long alphabetical list. `keryx help <group>`
|
|
252
|
+
narrows to one group, and `keryx help <command>` (a CLI verb or a `keryx
|
|
253
|
+
shell` command like `/theme`) prints that command's own usage. `--help`,
|
|
254
|
+
`-h` and bare `keryx` are unchanged: they still print the flat usage block.
|
|
255
|
+
The same table is also a generated reference page: [Commands by
|
|
256
|
+
task](docs/docs/commands-by-task.md).
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
keryx help # every group
|
|
260
|
+
keryx help project-knowledge # one group
|
|
261
|
+
keryx help flow # one command's full usage
|
|
262
|
+
keryx help /theme # one shell command's detail
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Inside `keryx shell`'s TUI, `/help` opens the same grouping as a tabbed
|
|
266
|
+
modal — arrow keys to move, Enter for a command's detail, Esc to close. On
|
|
267
|
+
your very first `keryx shell` with no model provider configured yet, it
|
|
268
|
+
opens once on its "Connect a model provider" tab. The readline shell,
|
|
269
|
+
`--no-tui`, and the ACP host print the same grouping as text.
|
|
270
|
+
|
|
271
|
+
### Turn budgets
|
|
272
|
+
|
|
273
|
+
Agent mode protects each user turn with nested unique-signature budgets: `48`
|
|
274
|
+
total, including at most `40` risk-`read` signatures and `8` non-read (or
|
|
275
|
+
unknown-risk) signatures. An identical `tool + normalized input` may retry up
|
|
276
|
+
to three times while occupying one unique slot. Reaching a limit exactly still
|
|
277
|
+
gives the model a normal round to answer; only a new signature beyond a pool or
|
|
278
|
+
a no-progress repeat loop forces the final tool-free wrap-up.
|
|
279
|
+
|
|
181
280
|
### Version update advisory
|
|
182
281
|
|
|
183
282
|
`keryx shell` starts one bounded, non-blocking version check in the background.
|
|
@@ -553,44 +652,6 @@ Grouped by what you are trying to do, not by internal module layout.
|
|
|
553
652
|
`keryx modules` toggles modules by manifest key; `keryx status` shows what is
|
|
554
653
|
enabled. Nine modules are on after `init`; `mcp` is opt-in.
|
|
555
654
|
|
|
556
|
-
## Quick start
|
|
557
|
-
|
|
558
|
-
**Requirements:** `git` and `bun` (>= 1.3.14 — older Bun can close the terminal input of `keryx shell`; see [onboarding](docs/docs/onboarding.md#bun-version)).
|
|
559
|
-
|
|
560
|
-
```bash
|
|
561
|
-
npm install -g @mrciphersmith/keryx
|
|
562
|
-
|
|
563
|
-
cd path/to/your-project
|
|
564
|
-
keryx init
|
|
565
|
-
keryx gdgraph build # code dependency graph
|
|
566
|
-
keryx test analyze # testing context report
|
|
567
|
-
keryx health run --changed # normalized health report
|
|
568
|
-
keryx dash # human admin dashboard
|
|
569
|
-
```
|
|
570
|
-
|
|
571
|
-
`keryx init` creates the `.metaproject/` workspace and connects your existing
|
|
572
|
-
`AGENTS.md` / `CLAUDE.md` entrypoints to it, so agents are routed to the right
|
|
573
|
-
module automatically.
|
|
574
|
-
|
|
575
|
-
> **The package is scoped, and the scope matters.** The unscoped name `keryx` on
|
|
576
|
-
> npm belongs to [an unrelated project](https://github.com/actionhero/keryx).
|
|
577
|
-
> Install `@mrciphersmith/keryx`; the executable it installs is called `keryx`.
|
|
578
|
-
|
|
579
|
-
All four install paths — the npm package above, the standalone binary, the
|
|
580
|
-
managed installer (`~/.keryx` with a wrapper in `~/.local/bin`) and a
|
|
581
|
-
project-local install — are compared side by side, with what each one needs on
|
|
582
|
-
the machine first, in the [onboarding guide](docs/docs/onboarding.md).
|
|
583
|
-
|
|
584
|
-
Bare `keryx` prints the main commands; `keryx shell` starts the agent harness
|
|
585
|
-
described [above](#the-agent-harness).
|
|
586
|
-
|
|
587
|
-
Agent mode protects each user turn with nested unique-signature budgets: `48`
|
|
588
|
-
total, including at most `40` risk-`read` signatures and `8` non-read (or
|
|
589
|
-
unknown-risk) signatures. An identical `tool + normalized input` may retry up
|
|
590
|
-
to three times while occupying one unique slot. Reaching a limit exactly still
|
|
591
|
-
gives the model a normal round to answer; only a new signature beyond a pool or
|
|
592
|
-
a no-progress repeat loop forces the final tool-free wrap-up.
|
|
593
|
-
|
|
594
655
|
## Agent integrations
|
|
595
656
|
|
|
596
657
|
| Runtime | Integration |
|
|
@@ -765,7 +826,7 @@ Run `keryx <command> --help` for the live flag surface of any command.
|
|
|
765
826
|
```bash
|
|
766
827
|
bun ./src/cli.ts init
|
|
767
828
|
bun ./src/cli.ts status
|
|
768
|
-
bun run check # typecheck + tests
|
|
829
|
+
bun run check # lint + typecheck (src and scripts) + tests
|
|
769
830
|
```
|
|
770
831
|
|
|
771
832
|
Contributions are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
|