@guilz-dev/belay 0.9.2 → 0.9.3
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 +1 -1
- package/dist/adapters/codex/runtime-entry.d.ts +3 -0
- package/dist/adapters/codex/runtime-entry.js +27 -4
- package/dist/adapters/cursor/cwd-resolution.d.ts +10 -0
- package/dist/adapters/cursor/cwd-resolution.js +58 -0
- package/dist/adapters/cursor/hooks.d.ts +1 -0
- package/dist/adapters/cursor/hooks.js +21 -0
- package/dist/adapters/cursor/runtime-entry.d.ts +1 -0
- package/dist/adapters/cursor/runtime-entry.js +107 -6
- package/dist/adapters/shared/gate-runtime.js +26 -3
- package/dist/adapters/shared/repo-root.js +20 -1
- package/dist/bundle/claude-runtime.mjs +855 -338
- package/dist/bundle/codex-runtime.mjs +877 -342
- package/dist/bundle/cursor-runtime.mjs +3886 -3141
- package/dist/cli.js +33 -3
- package/dist/commands/doctor.js +24 -1
- package/dist/commands/health-snapshot.d.ts +3 -0
- package/dist/commands/health-snapshot.js +56 -0
- package/dist/commands/report.js +14 -0
- package/dist/commands/status.js +15 -0
- package/dist/commands/where.d.ts +4 -0
- package/dist/commands/where.js +52 -0
- package/dist/core/approval-repo-lookup.d.ts +16 -0
- package/dist/core/approval-repo-lookup.js +48 -0
- package/dist/core/audit-io.d.ts +1 -1
- package/dist/core/audit-io.js +1 -1
- package/dist/core/audit-query.d.ts +1 -0
- package/dist/core/audit-query.js +7 -0
- package/dist/core/audit-serialize.d.ts +3 -0
- package/dist/core/audit-serialize.js +39 -3
- package/dist/core/audit-summary.d.ts +9 -0
- package/dist/core/audit-summary.js +58 -1
- package/dist/core/audit-types.d.ts +4 -0
- package/dist/core/effect-ir/shell-lower.js +93 -40
- package/dist/core/replay-scrub.d.ts +1 -0
- package/dist/core/replay-scrub.js +22 -3
- package/dist/core/shell-tokenizer.d.ts +28 -0
- package/dist/core/shell-tokenizer.js +111 -29
- package/dist/core/verdict/docker-compose-run.d.ts +18 -0
- package/dist/core/verdict/docker-compose-run.js +136 -0
- package/dist/core/verdict/launcher-resolve.js +28 -28
- package/dist/core/verdict/parser.d.ts +3 -0
- package/dist/core/verdict/parser.js +23 -40
- package/dist/core/verdict/recursive-invocation.d.ts +20 -0
- package/dist/core/verdict/recursive-invocation.js +224 -0
- package/dist/defaults.js +7 -0
- package/dist/installer/scope-config.d.ts +2 -2
- package/dist/installer.d.ts +10 -1
- package/dist/installer.js +43 -2
- package/dist/types.d.ts +34 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -2
- package/skills/belay/SKILL.md +5 -0
- package/skills/belay/belay-report.md +4 -1
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by scripts/sync-version.mjs — do not edit.
|
|
2
|
-
export const PACKAGE_VERSION = '0.9.
|
|
2
|
+
export const PACKAGE_VERSION = '0.9.3';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guilz-dev/belay",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "Belay-style approval and audit gating for agent runtimes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,10 +57,13 @@
|
|
|
57
57
|
"typecheck": "tsc --noEmit",
|
|
58
58
|
"test": "pnpm build && vitest run",
|
|
59
59
|
"test:structural": "pnpm build && vitest run src/__tests__/verdict/structural-suite.test.ts",
|
|
60
|
-
"test:docker": "pnpm build && vitest run src/__tests__/capability/boundary-container-isolation.test.ts src/__tests__/capability/boundary-driver-container.test.ts",
|
|
60
|
+
"test:docker": "pnpm build && vitest run --config vitest.live.config.ts src/__tests__/capability/boundary-container-isolation.test.ts src/__tests__/capability/boundary-container-workspace-mount.test.ts src/__tests__/capability/boundary-driver-container.test.ts src/__tests__/contained-execution-docker.integration.test.ts",
|
|
61
|
+
"test:llm": "pnpm build && vitest run --config vitest.live.config.ts src/__tests__/verdict/llm/judge-accuracy.test.ts",
|
|
61
62
|
"test:stable": "pnpm build && vitest run && vitest run && vitest run",
|
|
62
63
|
"corpus": "pnpm build && node scripts/corpus.mjs",
|
|
63
64
|
"probe:adversarial": "pnpm build && node scripts/adversarial-probe.mjs",
|
|
65
|
+
"probe:cursor-shell-rewrite": "node scripts/cursor-shell-rewrite-probe.mjs",
|
|
66
|
+
"probe:native-seatbelt-boundary": "node scripts/native-seatbelt-boundary-probe.mjs --live",
|
|
64
67
|
"probe:coverage": "pnpm build && node scripts/coverage-probe.mjs",
|
|
65
68
|
"probe:coverage:repeat": "pnpm build && node scripts/coverage-probe.mjs --repeat 3",
|
|
66
69
|
"corpus:ratchet": "pnpm build && node scripts/corpus-ratchet.mjs"
|
package/skills/belay/SKILL.md
CHANGED
|
@@ -54,6 +54,11 @@ To restore the legacy two-step UX (approve, then always retry manually), set
|
|
|
54
54
|
For why it was blocked, use `/belay why <command>` or `belay explain --command "<command>"`.
|
|
55
55
|
For the latest pending ask, use `/belay explain` or `belay explain`.
|
|
56
56
|
|
|
57
|
+
If `belay status` or `belay report` shows `Host denied after Belay allow`, the denial came from
|
|
58
|
+
the editor/agent host after Belay returned allow. There is no Belay approval ID to approve. Keep
|
|
59
|
+
host protection in Belay audit mode and approve only the exact host prompt when execution is
|
|
60
|
+
intended.
|
|
61
|
+
|
|
57
62
|
**Do not use command allowlists** (`overrides.allow`) or legacy standing-allow records
|
|
58
63
|
(shell, tool, or subagent) to fix blocks; none of them change runtime authorization.
|
|
59
64
|
Improve EffectPlan semantics, approve once with `/belay-approve`, or use an exact
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
Show audit visibility: ask/flag/allow counts, silent-pass rate,
|
|
1
|
+
Show audit visibility: ask/flag/allow counts, silent-pass rate, recent asks, and host
|
|
2
|
+
`permission_denied` failures correlated to a preceding Belay allow.
|
|
2
3
|
|
|
3
4
|
```bash
|
|
4
5
|
belay report
|
|
5
6
|
```
|
|
6
7
|
|
|
7
8
|
For full install health plus audit summary, use `belay status`.
|
|
9
|
+
|
|
10
|
+
`Host denied after Belay allow` is host-policy telemetry, not a pending Belay approval.
|