agentapprove 0.1.46 → 0.2.0

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 +55 -0
  2. package/dist/cli.js +669 -528
  3. package/package.json +1 -2
package/README.md CHANGED
@@ -80,6 +80,20 @@ agentapprove restore # Restore from backup
80
80
  agentapprove help # Show help
81
81
  ```
82
82
 
83
+ ### Running a local checkout
84
+
85
+ Build with Bun, then run the compiled Node CLI in an interactive terminal:
86
+
87
+ ```bash
88
+ cd ~/git/agentapprove-beta
89
+ bun run --cwd installers/npm build
90
+ AGENTAPPROVE_API=https://api-beta.agentapprove.com node installers/npm/dist/cli.js
91
+ ```
92
+
93
+ Use the existing configuration and reuse the encryption key when updating. The installer downloads hooks from the selected API, so deploy the API before installing new hook versions. Running the prompt wizard directly with Bun can leave duplicate question headings with the current Clack version; the compiled Node CLI avoids that redraw issue.
94
+
95
+ Downloads honor HTTP 429 `Retry-After` with bounded retries (two per file, at most 125 seconds of waiting across the batch). If a required file is still missing, installation stops. Required download and validation failures leave existing hook files intact. Optional background-filter failures retain the previous helper/catalog pair and warn while allowing required hooks to install. Authentication failures stop the whole batch. Files are staged before replacement; a local rename failure can still leave some replacements applied and temporary files behind. Fix the disk issue and rerun before using the installation.
96
+
83
97
  ### Hermes profiles
84
98
 
85
99
  Hermes profiles are isolated instances — each has its own plugins and config —
@@ -146,3 +160,44 @@ agentapprove --no-e2e # Skip end-to-end encryption setup
146
160
  ## License
147
161
 
148
162
  Proprietary. Copyright (c) 2026 Agent Approve LLC. All rights reserved.
163
+
164
+ ### OpenClaw permissions
165
+
166
+ Run the installer in an interactive terminal. OpenClaw presents its own source
167
+ and capability reviews; declining either stops that installation. Replacing an
168
+ older plugin first asks whether you trust the pinned npm package and want to
169
+ replace it. The installer never automatically accepts capabilities.
170
+
171
+ Conversation observability is included in standard setup. The installer explains
172
+ prompt, response, and completed-conversation access immediately after selecting
173
+ OpenClaw, before setup begins, and configures `hooks.allowConversationAccess=true`
174
+ without a separate question. Reinstalling applies the same standard setup.
175
+ Privacy and encryption settings still apply. Other plugin settings and host
176
+ permissions are preserved; OpenClaw still handles its native capability review.
177
+
178
+ An already-current plugin still goes through OpenClaw's enable command, which
179
+ can require a capability review. If activation fails, the installer reports the
180
+ failure; inspect OpenClaw's output before retrying. No gateway restart is performed
181
+ by this installation step.
182
+
183
+ Fresh OpenClaw installs read API, privacy, failure, timeout, and encryption
184
+ settings from `~/.agentapprove/env`, including later account synchronization.
185
+ Plugin 0.2.18 removes manifest defaults that OpenClaw otherwise injected as
186
+ explicit overrides. Existing `plugins.entries.openclaw.config` overrides remain
187
+ intentional and take precedence, including values saved by older installers.
188
+
189
+ ### OpenClaw upgrade recovery
190
+
191
+ If OpenClaw reports an unfinished plugin data/settings upgrade, let any active
192
+ update finish, then run `openclaw update status`. Follow its repair guidance:
193
+
194
+ ```bash
195
+ openclaw update repair --no-restart
196
+ openclaw doctor --fix
197
+ ```
198
+
199
+ Rerun the Agent Approve installer and select OpenClaw. Confirm that
200
+ `openclaw plugins inspect openclaw --runtime --json` reports `loaded` and includes
201
+ `before_tool_call`. Restart your running gateway to load the updated plugin.
202
+ Keep existing settings and data while repairing; removing the plugin's config
203
+ entry does not complete its pending migration.