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 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 these environment variables in the shell where the agent runs:
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:
@@ -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 AGENT_BLOCKED_WEBHOOK_URL, AGENT_BLOCKED_AGENT_TOKEN, and AGENT_NAME in the shell where your agent runs.");
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-blocked",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "CLI installer and reporter for Agent Blocked AI agent escalation alerts.",
5
5
  "type": "module",
6
6
  "bin": {