scopeblind-agent 1.0.0 → 1.0.2

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
@@ -149,7 +149,8 @@ async function createAgent(options = {}) {
149
149
  const getHeaders = (method, url, extraHeaders) => {
150
150
  return {
151
151
  ...extraHeaders,
152
- DPoP: createProof(method, url)
152
+ DPoP: createProof(method, url),
153
+ "X-Device-Identity": 'ScopeBlind/1.0; info="https://scopeblind.com/verify-agent"'
153
154
  };
154
155
  };
155
156
  const agentFetch = async (url, init) => {
@@ -157,6 +158,7 @@ async function createAgent(options = {}) {
157
158
  const dpop = createProof(method, url);
158
159
  const headers = new Headers(init?.headers);
159
160
  headers.set("DPoP", dpop);
161
+ headers.set("X-Device-Identity", 'ScopeBlind/1.0; info="https://scopeblind.com/verify-agent"');
160
162
  return globalThis.fetch(url, {
161
163
  ...init,
162
164
  headers
package/dist/index.mjs CHANGED
@@ -131,7 +131,8 @@ async function createAgent(options = {}) {
131
131
  const getHeaders = (method, url, extraHeaders) => {
132
132
  return {
133
133
  ...extraHeaders,
134
- DPoP: createProof(method, url)
134
+ DPoP: createProof(method, url),
135
+ "X-Device-Identity": 'ScopeBlind/1.0; info="https://scopeblind.com/verify-agent"'
135
136
  };
136
137
  };
137
138
  const agentFetch = async (url, init) => {
@@ -139,6 +140,7 @@ async function createAgent(options = {}) {
139
140
  const dpop = createProof(method, url);
140
141
  const headers = new Headers(init?.headers);
141
142
  headers.set("DPoP", dpop);
143
+ headers.set("X-Device-Identity", 'ScopeBlind/1.0; info="https://scopeblind.com/verify-agent"');
142
144
  return globalThis.fetch(url, {
143
145
  ...init,
144
146
  headers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scopeblind-agent",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Cryptographic device identity for AI agents and CLIs. DPoP proof-of-possession for ScopeBlind-protected APIs.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,10 +39,10 @@
39
39
  "homepage": "https://www.scopeblind.com",
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "https://github.com/nicosxt/scopeblind-gateway"
42
+ "url": "https://github.com/tomjwxf/scopeblind-gateway"
43
43
  },
44
44
  "bugs": {
45
- "url": "https://github.com/nicosxt/scopeblind-gateway/issues"
45
+ "url": "https://github.com/tomjwxf/scopeblind-gateway/issues"
46
46
  },
47
47
  "dependencies": {},
48
48
  "devDependencies": {
@@ -53,4 +53,4 @@
53
53
  "engines": {
54
54
  "node": ">=18.0.0"
55
55
  }
56
- }
56
+ }