pullfrog 0.1.81 → 0.1.83
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/dist/agents/claudePretoolGate.d.ts +6 -6
- package/dist/agents/opencodePlugin.d.ts +5 -0
- package/dist/cli.mjs +376 -214
- package/dist/index.js +361 -202
- package/dist/internal.js +156 -95
- package/dist/mcp/searchIssues.d.ts +8 -0
- package/dist/mcp/server.d.ts +1 -0
- package/dist/utils/normalizeEnv.d.ts +1 -1
- package/dist/utils/overrides.d.ts +1 -1
- package/dist/utils/runContext.d.ts +1 -0
- package/dist/utils/runErrorRenderer.d.ts +5 -0
- package/dist/utils/secretCommands.d.ts +20 -0
- package/package.json +3 -2
|
@@ -59,16 +59,16 @@ export declare function buildClaudePretoolGateSource(deniedTools: readonly strin
|
|
|
59
59
|
* settings JSON file or a JSON string`), but we use a path so the script
|
|
60
60
|
* and its config sit side-by-side under `ctx.tmpdir`.
|
|
61
61
|
*
|
|
62
|
-
* `
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
62
|
+
* `denyRules` are the native tools to deny (`CLAUDE_DENIED_TOOLS` + their
|
|
63
|
+
* `Agent(...)` forms) at a settings-source rule — the authoritative,
|
|
64
|
+
* bypass-immune layer. `--disallowedTools` alone (a `cliArg` deny) was observed
|
|
65
|
+
* to leak under `--dangerously-skip-permissions`, so the deny is carried here
|
|
66
|
+
* too. The single consumer is `buildClaudeSettings`, which
|
|
67
67
|
* spreads `hooks` and folds `permissions.deny` into its richer deny list; that
|
|
68
68
|
* one object is then written to BOTH the `--settings` flag and the `/etc`
|
|
69
69
|
* managed file, which is what keeps the two surfaces from drifting (#1179).
|
|
70
70
|
*/
|
|
71
|
-
export declare function buildClaudePretoolGateSettings(scriptAbsolutePath: string,
|
|
71
|
+
export declare function buildClaudePretoolGateSettings(scriptAbsolutePath: string, denyRules: string[]): {
|
|
72
72
|
hooks: {
|
|
73
73
|
PreToolUse: Array<{
|
|
74
74
|
matcher: string;
|
|
@@ -81,5 +81,10 @@ export declare const PULLFROG_OPENCODE_PLUGIN_SOURCE: string;
|
|
|
81
81
|
* session via `tool.execute.before`, complementing the runtime backstops from
|
|
82
82
|
* PR #796 (action/mcp/checkout.ts, action/mcp/git.ts). Deny-list source of
|
|
83
83
|
* truth: `action/agents/subagentToolGates.ts`.
|
|
84
|
+
*
|
|
85
|
+
* Also hard-blocks the native `bash` tool for EVERY session. bash stays in the
|
|
86
|
+
* tool list because Zen's free tier rejects a request without it (2026-09-17);
|
|
87
|
+
* `permission.bash: "ask"` is the fail-closed backstop should this plugin ever
|
|
88
|
+
* not load. see wiki/security.md.
|
|
84
89
|
*/
|
|
85
90
|
export declare function buildOpencodeSubagentGateSource(deniedTools: readonly string[]): string;
|