@inquiryon/openclaw-amp-governance 1.0.3 → 1.0.4

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 (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -120,7 +120,7 @@ async function ampLog(instanceId, message, level = 'INFO') {
120
120
  async function requestHitlEval(instanceId, tool, params) {
121
121
  const res = await fetch(`${config.AMP_BACKEND_URL}/api/hitl/request`, {
122
122
  method: 'POST',
123
- headers: { 'Content-Type': 'application/json' },
123
+ headers: { 'X-API-Key': config.AMP_API_KEY, 'Content-Type': 'application/json' },
124
124
  body: JSON.stringify({
125
125
  caller_id: instanceId,
126
126
  instance_id: instanceId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquiryon/openclaw-amp-governance",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "AMP governance plugin for OpenClaw",
5
5
  "type": "module",
6
6
  "files": [