@mrciphersmith/keryx 0.3.36 → 0.3.38
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 +31 -0
- package/dist/cli.js +40562 -37878
- package/dist/core.js +24 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -367,6 +367,13 @@ What is in it today:
|
|
|
367
367
|
session that keeps its ancestry, without editing a transcript by hand.
|
|
368
368
|
`/status` is the session inspector (identity, context window and limits when
|
|
369
369
|
the provider reported them); `/session-info` and `/info` are not aliases.
|
|
370
|
+
- **`/rewind`: undo a turn.** Before the first mutating tool call of a turn,
|
|
371
|
+
keryx snapshots the work tree into a per-session shadow git repository (your
|
|
372
|
+
own `.git` is never touched). `/rewind` restores files, the conversation, or
|
|
373
|
+
both to before any of the last 50 turns, with a confirmation and an undo
|
|
374
|
+
point. It covers the project work tree only; `shell_exec` side effects
|
|
375
|
+
elsewhere are not undone. `KERYX_REWIND=off` disables it. See [the
|
|
376
|
+
guide](docs/docs/guides/rewind.md).
|
|
370
377
|
- **Agent Client Protocol server.** `keryx acp` speaks
|
|
371
378
|
[ACP](https://agentclientprotocol.com) v1 — newline-delimited JSON-RPC 2.0
|
|
372
379
|
over stdio — so an ACP client (an editor, typically) can launch keryx as a
|
|
@@ -970,6 +977,29 @@ repository checkout, since the evaluation corpus is not shipped in the npm
|
|
|
970
977
|
package. See
|
|
971
978
|
[run keryx in CI](docs/docs/guides/run-in-ci.md).
|
|
972
979
|
|
|
980
|
+
### Review bot on pull requests
|
|
981
|
+
|
|
982
|
+
A GitHub Action reviews each same-repository pull request, has a second model
|
|
983
|
+
turn try to refute every finding, and posts one review with inline comments:
|
|
984
|
+
|
|
985
|
+
```yaml
|
|
986
|
+
- uses: MrCipherSmith/keryx@main
|
|
987
|
+
with:
|
|
988
|
+
model-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
989
|
+
```
|
|
990
|
+
|
|
991
|
+
Set up the secret and copy [`docs/examples/review-bot.yml`](docs/examples/review-bot.yml)
|
|
992
|
+
(`permissions: contents: read, pull-requests: write`, trigger `pull_request`, never
|
|
993
|
+
`pull_request_target`). Fork pull requests are refused before any model call.
|
|
994
|
+
`keryx review bot post` is a dry run until you pass `--post`; the action's
|
|
995
|
+
`post: "false"` does the same. A run reviews at most `max-diff-bytes` of the diff
|
|
996
|
+
(default 200,000 bytes) with one reviewer turn plus one verifier turn per finding.
|
|
997
|
+
`keryx review metrics` (and `/reviews` in the shell) reports findings acted on,
|
|
998
|
+
dismissed, precision and resolved-before-merge; a ratio with no data prints
|
|
999
|
+
`n/a`. Metrics need the managed review packages on the machine where you run
|
|
1000
|
+
`keryx review complete`; the Action's runner keeps them only for the job and
|
|
1001
|
+
nothing uploads them. See [review as a pull request bot](docs/docs/guides/review-as-a-pr-bot.md).
|
|
1002
|
+
|
|
973
1003
|
## Documentation
|
|
974
1004
|
|
|
975
1005
|
Full documentation site: **<https://mrciphersmith.github.io/keryx/>**
|
|
@@ -983,6 +1013,7 @@ Full documentation site: **<https://mrciphersmith.github.io/keryx/>**
|
|
|
983
1013
|
- **[Workspace & lifecycle](docs/docs/workspace-and-lifecycle.md)** — the `.metaproject/` contract and `init`/`update` lifecycle.
|
|
984
1014
|
- **[Limitations](docs/docs/limitations.md)** — known gaps, platform caveats, and what to do instead.
|
|
985
1015
|
- **[Shared Agent Context](docs/docs/guides/shared-agent-context.md)** *(experimental)* — local-first work-context layer: FWK overview, proposals, runtime policy guard.
|
|
1016
|
+
- **[Review as a pull request bot](docs/docs/guides/review-as-a-pr-bot.md)** — the GitHub Action, secrets, the same-repository rule, dry run, cost, and the precision and resolved-before-merge metrics.
|
|
986
1017
|
- **[Permission modes](docs/docs/guides/permission-modes.md)** — `ask`/`trust`/`auto` for the interactive shell: how to set them and exactly where the per-project default is stored.
|
|
987
1018
|
- **[Changelog](CHANGELOG.md)** — what has landed since `v0.1.0`.
|
|
988
1019
|
|