@uge/payo 2.4.0 → 2.4.2

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.
Files changed (3) hide show
  1. package/README.md +12 -9
  2. package/dist/index.js +154 -154
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -128,7 +128,7 @@ setup, or a folder layout your project never adopted.
128
128
  an agent can skip prose. When you enable a guardrail, Payo also writes the
129
129
  mechanism that makes it fire: a git hook — in the runner you pick — that
130
130
  hard-blocks the commit or push, and a native pre-tool gate for Claude, Cursor,
131
- and Copilot. It plans both
131
+ Copilot, Codex, and Antigravity. It plans both
132
132
  layers together, so each check runs in exactly one place — the agent is told not
133
133
  to re-run what a hook already runs.
134
134
 
@@ -341,14 +341,17 @@ when you enable a guardrail, Payo also writes the hook that makes it fire regard
341
341
  runs and, by default, **leaves your setup completely untouched**. Anything it
342
342
  already covers is simply never added; for anything missing, Payo asks whether to
343
343
  append it or leave the file alone, and leaving it alone is the recommended answer.
344
- - **A native tool hook.** For **Claude, Cursor, and Copilot**, Payo writes a
345
- `PreToolUse` hook that fires when the agent runs `git commit` / `git push` or a
346
- destructive query. Confirm-push and DB-safety raise a **confirm prompt for you**.
347
- Change-audit instead **denies the command once** with an instruction back to the
348
- agent — a confirm prompt would just be approved and the audit skipped — and the
349
- retry for that same change goes through. It stores nothing outside `.git/` and runs
350
- no model. Tools without a pre-tool hook (Codex, Antigravity, Windsurf, Zed) are
351
- covered by the git hook above.
344
+ - **A native tool hook.** For **Claude, Cursor, Copilot, Codex, and Antigravity**,
345
+ Payo writes a pre-tool hook that fires when the agent runs `git commit` /
346
+ `git push` or a destructive query. Confirm-push and DB-safety raise a **confirm
347
+ prompt for you**. Change-audit instead **denies the command** with an instruction
348
+ back to the agent — a confirm prompt would just be approved and the audit skipped
349
+ — and the gate stays shut until the change-audit skill records a pass for *that
350
+ exact change*. The receipt it writes lives inside `.git/`, so it is never
351
+ committed, and a later commit moves the key it is stamped with, re-closing the
352
+ gate. It stores nothing outside `.git/` and runs no model. Codex needs one
353
+ one-time `/hooks` trust step, which Payo prints. Tools with no usable pre-tool
354
+ gate (Windsurf, Zed) are covered by the git hook above.
352
355
 
353
356
  Both are **idempotent** — re-running Payo never duplicates a hook — and are written
354
357
  only for the guardrails you actually enabled. Whatever a hook runs, the generated