@gopherhole/cli 0.1.9 → 0.1.10

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/index.js CHANGED
@@ -1307,7 +1307,7 @@ ${chalk_1.default.bold('Example:')}
1307
1307
  const res = await fetch(`${API_URL}/discover/agents/${agentId}/request-access`, {
1308
1308
  method: 'POST',
1309
1309
  headers: {
1310
- 'Authorization': `Bearer ${sessionId}`,
1310
+ 'X-Session-ID': sessionId,
1311
1311
  'Content-Type': 'application/json',
1312
1312
  },
1313
1313
  body: JSON.stringify({ reason: options.reason }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gopherhole/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "GopherHole CLI - Connect AI agents to the world",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -1437,7 +1437,7 @@ ${chalk.bold('Example:')}
1437
1437
  const res = await fetch(`${API_URL}/discover/agents/${agentId}/request-access`, {
1438
1438
  method: 'POST',
1439
1439
  headers: {
1440
- 'Authorization': `Bearer ${sessionId}`,
1440
+ 'X-Session-ID': sessionId,
1441
1441
  'Content-Type': 'application/json',
1442
1442
  },
1443
1443
  body: JSON.stringify({ reason: options.reason }),