agent-blocked 0.1.4 → 0.1.5
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 -3
- package/bin/agent-blocked.mjs +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,12 +27,10 @@ Agents should not notify during normal interactive paired work when the human is
|
|
|
27
27
|
- `low_confidence` when the agent can continue but the chance of being wrong is high.
|
|
28
28
|
- `hard_blocked` when no productive path remains without human input.
|
|
29
29
|
|
|
30
|
-
Set
|
|
30
|
+
Set the scoped token in the shell or secret store where the agent runs:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
export AGENT_BLOCKED_WEBHOOK_URL="https://agentblocked.com/api/agent-blocked"
|
|
34
33
|
export AGENT_BLOCKED_AGENT_TOKEN="your-scoped-token"
|
|
35
|
-
export AGENT_NAME="prod-agent"
|
|
36
34
|
```
|
|
37
35
|
|
|
38
36
|
Agents can report through the installed local reporter:
|
package/bin/agent-blocked.mjs
CHANGED
|
@@ -173,9 +173,7 @@ node .agent-blocked/report.mjs --event=needs_direction --severity=medium --reaso
|
|
|
173
173
|
Environment expected by the report command:
|
|
174
174
|
|
|
175
175
|
\`\`\`bash
|
|
176
|
-
export AGENT_BLOCKED_WEBHOOK_URL="https://agentblocked.com/api/agent-blocked"
|
|
177
176
|
export AGENT_BLOCKED_AGENT_TOKEN="your-scoped-token"
|
|
178
|
-
export AGENT_NAME="your-agent-name"
|
|
179
177
|
\`\`\`
|
|
180
178
|
|
|
181
179
|
Event types:
|
|
@@ -329,7 +327,7 @@ function install() {
|
|
|
329
327
|
installers[name]();
|
|
330
328
|
}
|
|
331
329
|
|
|
332
|
-
console.log("\nNext: set
|
|
330
|
+
console.log("\nNext: set AGENT_BLOCKED_AGENT_TOKEN in the shell or secret store where your agent runs.");
|
|
333
331
|
console.log("Manual report command: node .agent-blocked/report.mjs --event=needs_direction --severity=medium --reason=\"Need human direction\"");
|
|
334
332
|
}
|
|
335
333
|
|